DGXAI/driftcall
0
1{
2 "$comment": "SPDX-License-Identifier: Apache-2.0. Copyright 2026 DriftCall Team. Cab v3 after fare_breakdown drift per DESIGN.md §5.2.",
3 "$id": "https://driftcall.dev/schemas/cab/v3.json",
4 "$schema": "https://json-schema.org/draft/2020-12/schema",
5 "additionalProperties": false,
6 "properties": {
7 "drop": {
8 "minLength": 1,
9 "type": "string"
10 },
11 "eta_min": {
12 "minimum": 0,
13 "type": "integer"
14 },
15 "fare_breakdown": {
16 "additionalProperties": false,
17 "properties": {
18 "base": {"minimum": 0, "type": "integer"},
19 "gst": {"minimum": 0, "type": "integer"},
20 "surge": {"minimum": 0, "type": "integer"},
21 "tolls": {"minimum": 0, "type": "integer"}
22 },
23 "required": ["base", "surge", "tolls", "gst"],
24 "type": "object"
25 },
26 "pickup": {
27 "minLength": 1,
28 "type": "string"
29 },
30 "total_inr": {
31 "minimum": 0,
32 "type": "integer"
33 },
34 "vehicle_class": {
35 "enum": ["mini", "sedan", "suv", "infant_seat_sedan"],
36 "type": "string"
37 }
38 },
39 "required": ["pickup", "drop", "vehicle_class", "fare_breakdown", "total_inr", "eta_min"],
40 "title": "Cab estimate (v3)",
41 "type": "object"
42}
43 