{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/aerodatabox/refs/heads/main/json-schema/aerodatabox-flight-leg-delay-contract-schema.json", "title": "FlightLegDelayContract", "description": "Delay statistics of a flight leg", "type": "object", "properties": { "number": { "minLength": 1, "type": "string", "description": "Flight number" }, "origins": { "type": "array", "items": { "$ref": "#/components/schemas/FlightDelayContract" }, "description": "Delay statistics of flight on departure at origins", "nullable": true }, "destinations": { "type": "array", "items": { "$ref": "#/components/schemas/FlightDelayContract" }, "description": "Delay statistics of flight on arrival at destinations", "nullable": true } }, "required": [ "number" ], "additionalProperties": false }