File dump from old repo
This commit is contained in:
11
validations/IngredientValidation.js
Normal file
11
validations/IngredientValidation.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const Ingredient = {
|
||||
"id": "/IngredientValidation",
|
||||
"type": Object,
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
"description": { "type": "string" }
|
||||
},
|
||||
"required": ["name", "description"]
|
||||
};
|
||||
|
||||
module.exports = Ingredient;
|
||||
Reference in New Issue
Block a user