- Added models to the API data

This commit is contained in:
Alexis
2020-05-16 14:57:17 +02:00
parent c297ed24eb
commit 4571dd93f3
2 changed files with 51 additions and 0 deletions

12
models/School.js Normal file
View File

@@ -0,0 +1,12 @@
const School = {
"id": "/SchoolModel",
"type": Object,
"properties": {
"name": { "type": "string" },
"description": { "type": "string" },
"meta_school": { "type": "number" },
},
"required": ["name", "description"]
}
module.exports = School