Walidacja Joi Enum
const schema = Joi.object().keys({
type: Joi.string().valid(['ios', 'android']),
});
Ehmed
const schema = Joi.object().keys({
type: Joi.string().valid(['ios', 'android']),
});