{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/FlightContract", "title": "FlightContract", "required": [ "arrival", "codeshareStatus", "departure", "isCargo", "lastUpdatedUtc", "number", "status" ], "type": "object", "properties": { "greatCircleDistance": { "$ref": "#/components/schemas/Distance" }, "departure": { "$ref": "#/components/schemas/FlightAirportMovementContract" }, "arrival": { "$ref": "#/components/schemas/FlightAirportMovementContract" }, "flightPlan": { "$ref": "#/components/schemas/FlightPlanContract" }, "lastUpdatedUtc": { "type": "string", "description": "Time (UTC) of the latest update of flight information (excluding Location)", "format": "date-time" }, "number": { "minLength": 1, "type": "string", "description": "Flight Number" }, "callSign": { "type": "string", "description": "ATC call-sign of the flight", "nullable": true }, "status": { "$ref": "#/components/schemas/FlightStatus" }, "codeshareStatus": { "$ref": "#/components/schemas/CodeshareStatus" }, "isCargo": { "type": "boolean", "description": "Is cargo flight" }, "aircraft": { "$ref": "#/components/schemas/FlightAircraftContract" }, "airline": { "$ref": "#/components/schemas/FlightAirlineContract" }, "location": { "$ref": "#/components/schemas/FlightLocationContract" } }, "additionalProperties": false, "description": "Individiual flight contract" }