AeroDataBox · Schema
FlightContract
Individiual flight contract
AviationFlightsAerospaceFlight DataAirport Data
Properties
| Name | Type | Description |
|---|---|---|
| greatCircleDistance | object | |
| departure | object | |
| arrival | object | |
| flightPlan | object | |
| lastUpdatedUtc | string | Time (UTC) of the latest update of flight information (excluding Location) |
| number | string | Flight Number |
| callSign | string | ATC call-sign of the flight |
| status | object | |
| codeshareStatus | object | |
| isCargo | boolean | Is cargo flight |
| aircraft | object | |
| airline | object | |
| location | object |
JSON Schema
{
"$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"
}