DGXAI/driftcall
0
1{
2 "$comment": "SPDX-License-Identifier: Apache-2.0. Copyright 2026 DriftCall Team. Restaurant v1 baseline per DESIGN.md §5.3.",
3 "$id": "https://driftcall.dev/schemas/restaurant/v1.json",
4 "$schema": "https://json-schema.org/draft/2020-12/schema",
5 "additionalProperties": false,
6 "properties": {
7 "eta_min": {
8 "minimum": 0,
9 "type": "integer"
10 },
11 "items": {
12 "items": {
13 "additionalProperties": false,
14 "properties": {
15 "dish_id": {"minLength": 1, "type": "string"},
16 "price": {"minimum": 0, "type": "integer"},
17 "qty": {"minimum": 1, "type": "integer"}
18 },
19 "required": ["dish_id", "qty", "price"],
20 "type": "object"
21 },
22 "minItems": 1,
23 "type": "array"
24 },
25 "min_order_inr": {
26 "minimum": 0,
27 "type": "integer"
28 },
29 "restaurant_id": {
30 "minLength": 1,
31 "type": "string"
32 },
33 "total": {
34 "minimum": 0,
35 "type": "integer"
36 }
37 },
38 "required": ["restaurant_id", "items", "total", "eta_min", "min_order_inr"],
39 "title": "Restaurant order (v1)",
40 "type": "object"
41}
42 