JSON Schema Definition 'FlightLegType'

Description

Top-level element describing a single flight

Diagram

Drilldown into /definitions/RouteType Drilldown into /definitions/PlanePositionType Drilldown into /definitions/FlightLegType/properties/AircraftPreviousFlightLeg Drilldown into /definitions/FlightLegType/properties/AircraftPreviousFlightLeg Drilldown into /definitions/FlightLegType/properties/AircraftPreviousFlightLeg Drilldown into /definitions/FlightLegType/properties/DownlineInfo Drilldown into /definitions/FlightLegType/properties/DownlineInfo Drilldown into /definitions/FlightLegType/properties/DownlineInfo Drilldown into /definitions/FlightLegType/properties/UplineInfo Drilldown into /definitions/FlightLegType/properties/UplineInfo Drilldown into /definitions/FlightLegType/properties/UplineInfo Drilldown into /definitions/FlightLegType/properties/AlternateDepartureAirport Drilldown into /definitions/FlightLegType/properties/AlternateDepartureAirport Drilldown into /definitions/FlightLegType/properties/AlternateDepartureAirport Drilldown into /definitions/FlightLegType/properties/AlternateArrivalAirport Drilldown into /definitions/FlightLegType/properties/AlternateArrivalAirport Drilldown into /definitions/FlightLegType/properties/AlternateArrivalAirport Drilldown into /definitions/FlightLegType/properties/Aircraft Drilldown into /definitions/FlightLegType/properties/Aircraft Drilldown into /definitions/FlightLegType/properties/Aircraft Drilldown into /definitions/FlightLegType/properties/InGate Drilldown into /definitions/FlightLegType/properties/InGate Drilldown into /definitions/FlightLegType/properties/InGate Drilldown into /definitions/FlightLegType/properties/Landed Drilldown into /definitions/FlightLegType/properties/Landed Drilldown into /definitions/FlightLegType/properties/Landed Drilldown into /definitions/FlightLegType/properties/InAir Drilldown into /definitions/FlightLegType/properties/InAir Drilldown into /definitions/FlightLegType/properties/InAir Drilldown into /definitions/FlightLegType/properties/OutGate Drilldown into /definitions/FlightLegType/properties/OutGate Drilldown into /definitions/FlightLegType/properties/OutGate Drilldown into /definitions/FlightLegType/properties/Codeshares Drilldown into /definitions/FlightLegType/properties/Codeshares Drilldown into /definitions/FlightLegType/properties/Codeshares Drilldown into /definitions/FlightLegType/properties/FaaId Drilldown into /definitions/FlightLegType/properties/FaaId Drilldown into /definitions/FlightLegType/properties/FaaId Drilldown into /definitions/AirlineType Drilldown into /definitions/FlightAcidType Drilldown into /definitions/FlightLegType/properties/ArrDelayReason Drilldown into /definitions/FlightLegType/properties/ArrDelayReason Drilldown into /definitions/FlightLegType/properties/ArrDelayReason Drilldown into /definitions/FlightLegType/properties/DepDelayReason Drilldown into /definitions/FlightLegType/properties/DepDelayReason Drilldown into /definitions/FlightLegType/properties/DepDelayReason Drilldown into /definitions/DateTimeType Drilldown into /definitions/DateTimeType Drilldown into /definitions/DateTimeType Drilldown into /definitions/FlightLegType/properties/ArrivalAirport Drilldown into /definitions/FlightLegType/properties/ArrivalAirport Drilldown into /definitions/FlightLegType/properties/ArrivalAirport Drilldown into /definitions/FlightLegType/properties/DepartureAirport Drilldown into /definitions/FlightLegType/properties/DepartureAirport Drilldown into /definitions/FlightLegType/properties/DepartureAirport Drilldown into /definitions/FlightAcidTypeJSON Schema Diagram of /definitions/FlightLegType

Value

Object

An object allowing any properties.

Source

"FlightLegType": {
    "type": "object",
    "title": "",
    "description": "Top-level element describing a single flight",
    "additionalProperties": false,
    "properties": {
        "FlightGuid": {
            "type": [
                "string",
                "null"
            ]
        },
        "Acid": {
            "$ref": "#/definitions/FlightAcidType"
        },
        "DepartureAirport": {
            "title": "",
            "description": "Departure airport of flight",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "$ref": "#/definitions/AirportType"
                }
            ]
        },
        "ArrivalAirport": {
            "title": "",
            "description": "Arrival airport of flight",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "$ref": "#/definitions/AirportType"
                }
            ]
        },
        "OriginationDate": {
            "$ref": "#/definitions/DateTimeType"
        },
        "ScheduledDeparture": {
            "$ref": "#/definitions/DateTimeType"
        },
        "ScheduledArrival": {
            "$ref": "#/definitions/DateTimeType"
        },
        "Scheduled": {
            "type": "boolean",
            "title": "",
            "description": "Boolean flag indicating whether or not this flight was scheduled."
        },
        "GeneralAviation": {
            "type": "boolean",
            "title": "",
            "description": "Boolean flag indicating if this is a general aviation flight or not."
        },
        "Status": {
            "type": "string",
            "title": "",
            "description": "Status of flight. For possible values see integration guide."
        },
        "DepartureScheduleStatus": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "Departure schedule status as provided by the airline."
        },
        "ArrivalScheduleStatus": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "Arrival schedule status as provided by the airline."
        },
        "DiversionStatus": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "Indicator whether or not this flight was diverted. Reads as Diverted or Recovery. Original flight reads as empty string."
        },
        "DepDelayReason": {
            "title": "",
            "description": "Reason for departure delay as provided by the airline.",
            "oneOf": [
                {
                    "$ref": "#/definitions/DelayReasonCodes"
                },
                {
                    "type": "null"
                }
            ]
        },
        "ArrDelayReason": {
            "title": "",
            "description": "Reason for departure delay as provided by the airline.",
            "oneOf": [
                {
                    "$ref": "#/definitions/DelayReasonCodes"
                },
                {
                    "type": "null"
                }
            ]
        },
        "OperatingAcId": {
            "$ref": "#/definitions/FlightAcidType"
        },
        "RegionalCarrier": {
            "$ref": "#/definitions/AirlineType"
        },
        "FaaId": {
            "title": "",
            "description": "FAA Flight ID",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "$ref": "#/definitions/FaaIdType"
                }
            ]
        },
        "Codeshares": {
            "type": [
                "array",
                "null"
            ],
            "title": "",
            "description": "Codeshare details for the flight, if any.",
            "items": {
                "$ref": "#/definitions/FlightAcidType"
            }
        },
        "OutGate": {
            "title": "",
            "description": "Details about the OutGate time for this flight.",
            "oneOf": [
                {
                    "$ref": "#/definitions/OooiTimeType"
                },
                {
                    "type": "null"
                }
            ]
        },
        "InAir": {
            "title": "",
            "description": "Details about the InGate time for this flight.",
            "oneOf": [
                {
                    "$ref": "#/definitions/OooiTimeType"
                },
                {
                    "type": "null"
                }
            ]
        },
        "Landed": {
            "title": "",
            "description": "Details about the Landed time for this flight.",
            "oneOf": [
                {
                    "$ref": "#/definitions/OooiTimeType"
                },
                {
                    "type": "null"
                }
            ]
        },
        "InGate": {
            "title": "",
            "description": "Details about the InGate time for this flight.",
            "oneOf": [
                {
                    "$ref": "#/definitions/OooiTimeType"
                },
                {
                    "type": "null"
                }
            ]
        },
        "DepartureTerminal": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The departure terminal for this flight."
        },
        "DepartureGate": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The depature gate for this flight."
        },
        "CheckinCounter": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The check-in counter for this flight."
        },
        "ArrivalTerminal": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The arrival terminal for this flight."
        },
        "ArrivalGate": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The arrival gate for this flight."
        },
        "Baggage": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The baggage carousel identifier for this flight."
        },
        "ServiceType": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "The IATA-defined service type for this flight."
        },
        "LegSequenceNumber": {
            "type": "number",
            "title": "",
            "description": "Identifies which leg of a flight this is."
        },
        "NumLegs": {
            "type": "number",
            "title": "",
            "description": "Number of legs for this flight."
        },
        "Aircraft": {
            "type": [
                "object",
                "null"
            ],
            "title": "",
            "description": "Details on the aircraft for this flight.",
            "additionalProperties": false,
            "properties": {
                "Code": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "",
                    "description": "Equipment type for this flight."
                },
                "CodeNamespace": {
                    "$ref": "#/definitions/AircraftCodeNamespaceType"
                },
                "OptionalEquipment": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "",
                    "description": "Optional description of aircraft."
                },
                "WeightClass": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "",
                    "description": "Weight class for the aircraft."
                },
                "TailNumber": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "title": "",
                    "description": "Tail number for this flight."
                }
            },
            "required": [
                "Code",
                "CodeNamespace"
            ]
        },
        "AlternateArrivalAirport": {
            "title": "",
            "description": "Alternate arrival airport for this flight, if diverted.",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "$ref": "#/definitions/AirportType"
                }
            ]
        },
        "AlternateDepartureAirport": {
            "title": "",
            "description": "Alternate departure airport for this flight, if this is the recovery leg.",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "$ref": "#/definitions/AirportType"
                }
            ]
        },
        "UplineInfo": {
            "title": "",
            "description": "Airport codes for previous flight legs of a multi-leg flight",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/AirportPairType"
                    }
                }
            ]
        },
        "DownlineInfo": {
            "title": "",
            "description": "Airport code for next flight legs of a multi-leg flight",
            "oneOf": [
                {
                    "type": "null"
                },
                {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/AirportPairType"
                    }
                }
            ]
        },
        "AircraftPreviousFlightLeg": {
            "title": "",
            "description": "Details of the previous flight for this aircraft.",
            "oneOf": [
                {
                    "$ref": "#/definitions/PrevAcLegType"
                },
                {
                    "type": "null"
                }
            ]
        },
        "RemainingTime": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "Remaining time for this flight, as HH:MM:SS."
        },
        "ElapsedTime": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "Elapsed time for this flight, as HH:MM:SS."
        },
        "ScheduledDuration": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "Scheduled duration for this flight, as HH:MM:SS."
        },
        "Position": {
            "$ref": "#/definitions/PlanePositionType"
        },
        "Map": {
            "type": [
                "string",
                "null"
            ],
            "title": "",
            "description": "URL that will display a map of this flight."
        },
        "Route": {
            "$ref": "#/definitions/RouteType"
        }
    },
    "required": [
        "FlightGuid",
        "Acid",
        "DepartureAirport",
        "ArrivalAirport",
        "OriginationDate",
        "ScheduledDeparture",
        "ScheduledArrival",
        "Scheduled",
        "GeneralAviation",
        "Status",
        "DepartureScheduleStatus",
        "ArrivalScheduleStatus",
        "DiversionStatus",
        "DepDelayReason",
        "ArrDelayReason",
        "FaaId",
        "Codeshares",
        "OutGate",
        "InAir",
        "Landed",
        "InGate",
        "DepartureTerminal",
        "DepartureGate",
        "CheckinCounter",
        "ArrivalTerminal",
        "ArrivalGate",
        "Baggage",
        "ServiceType",
        "LegSequenceNumber",
        "NumLegs",
        "Aircraft",
        "AlternateDepartureAirport",
        "AlternateArrivalAirport",
        "UplineInfo",
        "DownlineInfo",
        "AircraftPreviousFlightLeg"
    ]
}
C:\LocalFv\Fv\Doc\JSON\FlightStatus.schema.json (69:10)
Documentation for FvXml JSON Schema
Generated using Liquid Studio 2019 - Data Designer Edition 17.1.2.9490