Version initiale schémas json

This commit is contained in:
Jean-Christophe Engel 2023-10-10 16:16:03 +02:00
parent ef004dcffb
commit fe71484946
5 changed files with 75 additions and 0 deletions

14
equipment.schema.json Normal file
View file

@ -0,0 +1,14 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"category" : {
"type": "string"
},
"designation": {
"description": "Désignation du matériel",
"type": "string"
}
},
"required": ["category", "designation"]
}