User: dan@sartography.com clicked save for examples/2-in-depth/2-4-messages/waiter/order-schema.json

This commit is contained in:
sartography-automated-committer 2024-02-21 04:21:34 +00:00
parent 42832aac19
commit c18076b881

View File

@ -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",