AeroDataBox · Schema

AirportFlightContract

Flight data contract represented in airport schedule

AviationFlightsAerospaceFlight DataAirport Data

Properties

Name Type Description
movement object
departure object
arrival object
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
View JSON Schema on GitHub

JSON Schema

aerodatabox-airportflightcontract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AirportFlightContract",
  "title": "AirportFlightContract",
  "required": [
    "codeshareStatus",
    "isCargo",
    "number",
    "status"
  ],
  "type": "object",
  "properties": {
    "movement": {
      "$ref": "#/components/schemas/FlightAirportMovementContract"
    },
    "departure": {
      "$ref": "#/components/schemas/FlightAirportMovementContract"
    },
    "arrival": {
      "$ref": "#/components/schemas/FlightAirportMovementContract"
    },
    "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": "Flight data contract represented in airport schedule"
}