equipment/equipment.schema.json

20 lines
475 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["equipment"]
},
"category" : {
"description": "Clé de la catégorie",
"type": "string"
},
"designation": {
"description": "Désignation du matériel",
"type": "string"
}
},
"required": ["type", "category", "designation"]
}