const prodOptional = {
  is: 'production',
  then: Joi.string().required(),
  otherwise: Joi.string().optional()
};