This repository has been archived on 2026-06-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
auracle-api/validations/IngredientValidation.js
2021-07-18 15:48:01 +02:00

11 lines
257 B
JavaScript

const Ingredient = {
"id": "/IngredientValidation",
"type": Object,
"properties": {
"name": { "type": "string" },
"description": { "type": "string" }
},
"required": ["name", "description"]
};
module.exports = Ingredient;