mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-25 01:48:13 +00:00
User: dan@sartography.com clicked save for examples/2-in-depth/data-stores/key-value-data-store/foods-schema.json
This commit is contained in:
parent
e829141423
commit
c852de09ac
@ -1,30 +1,30 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the favorite food",
|
||||
"minLength": 1
|
||||
},
|
||||
"cuisine": {
|
||||
"type": "string",
|
||||
"description": "Cuisine type of the food (optional)",
|
||||
"nullable": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Optional description of the food",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number",
|
||||
"description": "Rating of the food on a scale from 1 to 5 (optional)",
|
||||
"minimum": 1,
|
||||
"maximum": 5,
|
||||
"nullable": true
|
||||
}
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the favorite food",
|
||||
"minLength": 1
|
||||
},
|
||||
"cuisine": {
|
||||
"type": "string",
|
||||
"description": "Cuisine type of the food (optional)",
|
||||
"nullable": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Optional description of the food",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number",
|
||||
"description": "Rating of the food on a scale from 1 to 5 (optional)",
|
||||
"minimum": 1,
|
||||
"maximum": 5,
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": ["name"]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user