schémas json : déplacement fichiers ; ajout champ 'type'

This commit is contained in:
Jean-Christophe Engel 2023-10-12 13:48:49 +02:00
parent fe71484946
commit 2504650646
3 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["category"]
},
"name": {
"type": "string"
}
},
"required": ["name"]
}