mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 20:18:16 +00:00
User: dan@sartography.com clicked save for examples/2-in-depth/2-4-messages/waiter/order-schema.json
This commit is contained in:
parent
42832aac19
commit
c18076b881
@ -1,22 +1,22 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"order": {
|
"order": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"table_number": {
|
"table_number": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The table number of the order",
|
"description": "The table number of the order",
|
||||||
"minimum": 1
|
"minimum": 1
|
||||||
},
|
},
|
||||||
"drink": {
|
"drink": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The drink ordered",
|
"description": "The drink ordered",
|
||||||
"pattern": "^[A-Z][a-z ]*$"
|
"pattern": "^[A-Z][a-z ]*$"
|
||||||
},
|
},
|
||||||
"meal": {
|
"meal": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The meal ordered",
|
"description": "The meal ordered",
|
||||||
"pattern": "^[A-Z][a-z ]*$"
|
"pattern": "^[A-Z][a-z ]*$"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"table_number",
|
"table_number",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user