CoolFace
Apppublic

DGXAI/driftcall

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes
v3.json40 linesDownload Raw Back to airline
1{
2  "$comment": "SPDX-License-Identifier: Apache-2.0. Copyright 2026 DriftCall Team. Airline v3 after pax_required drift per DESIGN.md §5.1.",
3  "$id": "https://driftcall.dev/schemas/airline/v3.json",
4  "$schema": "https://json-schema.org/draft/2020-12/schema",
5  "additionalProperties": false,
6  "properties": {
7    "depart": {
8      "format": "date-time",
9      "type": "string"
10    },
11    "flight_id": {
12      "pattern": "^[0-9A-Z]{2}-[0-9]{4}$",
13      "type": "string"
14    },
15    "from": {
16      "pattern": "^[A-Z]{3}$",
17      "type": "string"
18    },
19    "passenger_count": {
20      "minimum": 1,
21      "type": "integer"
22    },
23    "seats_left": {
24      "minimum": 0,
25      "type": "integer"
26    },
27    "to": {
28      "pattern": "^[A-Z]{3}$",
29      "type": "string"
30    },
31    "total_fare_inr": {
32      "minimum": 0,
33      "type": "integer"
34    }
35  },
36  "required": ["flight_id", "from", "to", "depart", "total_fare_inr", "seats_left", "passenger_count"],
37  "title": "Airline search result (v3)",
38  "type": "object"
39}
40