schémas json : déplacement fichiers ; ajout champ 'type'
This commit is contained in:
parent
fe71484946
commit
2504650646
3 changed files with 61 additions and 0 deletions
14
categories/category.schema.json
Normal file
14
categories/category.schema.json
Normal 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"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue