CoolFace
Apppublic

DGXAI/driftcall

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes
v3.json46 linesDownload Raw Back to restaurant
1{
2  "$comment": "SPDX-License-Identifier: Apache-2.0. Copyright 2026 DriftCall Team. Restaurant v3 after items_shape_bump / veg_filter_semantic per DESIGN.md §5.3.",
3  "$id": "https://driftcall.dev/schemas/restaurant/v3.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          "modifiers": {
17            "items": {"type": "string"},
18            "type": "array"
19          },
20          "price": {"minimum": 0, "type": "integer"},
21          "qty": {"minimum": 1, "type": "integer"}
22        },
23        "required": ["dish_id", "qty", "price", "modifiers"],
24        "type": "object"
25      },
26      "minItems": 1,
27      "type": "array"
28    },
29    "min_order_inr": {
30      "const": 299,
31      "type": "integer"
32    },
33    "restaurant_id": {
34      "minLength": 1,
35      "type": "string"
36    },
37    "total": {
38      "minimum": 0,
39      "type": "integer"
40    }
41  },
42  "required": ["restaurant_id", "items", "total", "eta_min", "min_order_inr"],
43  "title": "Restaurant order (v3)",
44  "type": "object"
45}
46