Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let schema = Joi.object().keys({
- date: Joi.string().required(),
- id: {
- name: Joi.string().required(),
- image: Joi.string().required(),
- price: {
- lite: Joi.string().required(),
- full: Joi.string().required()
- },
- description: {
- lite: Joi.string().required(),
- full: Joi.string().required()
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement