ldc-showroom/public/schemas/app.schema.json
2024-01-18 10:35:27 +01:00

33 lines
765 B
JSON

{
"$id": "schemas/app.schema.json",
"title": "Showroom Bo",
"description": "Showroom Bo json data format",
"type": "object",
"properties": {
"version": {
"description": "Version de l'application",
"$ref": "#/$defs/version"
},
"settings": {
"$ref": "settings.schema.json"
},
"items": {
"type": "array",
"items": {
"$ref": "brand.schema.json"
}
}
},
"$defs": {
"version": {
"description": "Version",
"pattern": "^[0-9]+?\\.[0-9]+?\\.[0-9]+?$",
"type": "string"
}
},
"required": [
"version",
"settings",
"items"
]
}