Schema FlightView.xsd


schema location:  FlightView.xsd
 
Elements  Complex types  Simple types 
Actual  DateType  AirborneType 
Airborne  FlightPlan  AirportCodeType 
Aircraft  TimeType  ApCodeContextType 
AircraftType  ArrivalScheduleStatusValues 
Airline  DepartureScheduleStatusValues 
AirlineId  ScheduleStatusValues 
AirlineName  YorN 
Airport 
AirportId 
AirportLocation 
AirportName 
Altitude 
Angle 
Arrival 
ArrivalScheduleStatus 
Cancelled 
CityName 
CodeShare 
CommercialAirline 
Coordinates 
CountryId 
CountryName 
Date 
DateTime 
Delayed 
DelayReason 
Departure 
DepartureScheduleStatus 
DownLineInfo 
East 
Elapsed 
Estimated 
Expected 
Flight 
FlightDuration 
FlightId 
FlightLeg 
FlightNumber 
FlightStatus 
FlightViewResults 
Heading 
InAir 
Landed 
Latitude 
Local 
Longitude 
Map 
North 
NoTakeoffInfo 
NumLegs 
OrigDate 
PastFlight 
Proposed 
ProvinceId 
ProvinceName 
QueryProcessingStamp 
RegionalCarrier 
RelativeTime 
Remaining 
Result 
ResultStatus 
Route 
SchedInfoPresent 
Scheduled 
ScheduleStatus 
SeqNum 
South 
Speed 
StateId 
StateName 
SvcType 
Time 
TimeSinceLanding 
Unknown 
UpLineInfo 
UTC 
West 


element Actual
diagram
used by
element DateTime
annotation
documentation 
Refers to true and accurate   values,  based a past  event, (e.g a landing).
source
<xsd:element name="Actual">
  <xsd:annotation>
    <xsd:documentation>Refers to true and accurate   values,  based a past  event, (e.g a landing).</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Airborne
diagram
children Altitude Speed Coordinates Heading
used by
element Flight
attributes
Name  Type  Use  Default  Fixed  Annotation
Type  AirborneType  optional  ASDI    
annotation
documentation 
The segment of a flight when the aircraft is in the air.
source
<xsd:element name="Airborne">
  <xsd:annotation>
    <xsd:documentation>The segment of a flight when the aircraft is in the air.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:all>
      <xsd:element ref="Altitude" minOccurs="0"/>
      <xsd:element ref="Speed" minOccurs="0"/>
      <xsd:element ref="Coordinates" minOccurs="0"/>
      <xsd:element ref="Heading" minOccurs="0"/>
    </xsd:all>
    <xsd:attribute name="Type" type="AirborneType" use="optional" default="ASDI"/>
  </xsd:complexType>
</xsd:element>

element Aircraft
diagram
children AircraftType OptionalEquipment WeightClass TailNumber
used by
element Flight
annotation
documentation 
Describes the aircraft for this flight.
source
<xsd:element name="Aircraft">
  <xsd:annotation>
    <xsd:documentation>Describes the aircraft for this flight.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="AircraftType" minOccurs="0"/>
      <xsd:element name="OptionalEquipment" type="xsd:string" minOccurs="0"/>
      <xsd:element name="WeightClass" type="xsd:string" minOccurs="0"/>
      <xsd:element name="TailNumber" type="xsd:string" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Aircraft/OptionalEquipment
diagram
type xsd:string
source
<xsd:element name="OptionalEquipment" type="xsd:string" minOccurs="0"/>

element Aircraft/WeightClass
diagram
type xsd:string
source
<xsd:element name="WeightClass" type="xsd:string" minOccurs="0"/>

element Aircraft/TailNumber
diagram
type xsd:string
source
<xsd:element name="TailNumber" type="xsd:string" minOccurs="0"/>

element AircraftType
diagram
type xsd:string
used by
element Aircraft
annotation
documentation 
The type of aircraft.
source
<xsd:element name="AircraftType" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The type of aircraft.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Airline
diagram
annotation
documentation 
Holds airline information for this flight
source
<xsd:element name="Airline">
  <xsd:annotation>
    <xsd:documentation>Holds airline information for this flight</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element AirlineId
diagram
children AirlineCode FAACode IATACode
used by
element CommercialAirline
annotation
documentation 
The two or three letter code for the airline.
source
<xsd:element name="AirlineId">
  <xsd:annotation>
    <xsd:documentation>The two or three letter code for the airline.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="AirlineCode" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Two or three letter airline unique code.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Code assigning organization.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="FAACode"/>
        <xsd:element name="IATACode"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element AirlineId/AirlineCode
diagram
type xsd:string
annotation
documentation 
Two or three letter airline unique code.
source
<xsd:element name="AirlineCode" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Two or three letter airline unique code.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AirlineId/FAACode
diagram
source
<xsd:element name="FAACode"/>

element AirlineId/IATACode
diagram
source
<xsd:element name="IATACode"/>

element AirlineName
diagram
type xsd:string
used by
element CommercialAirline
annotation
documentation 
The airline name.
source
<xsd:element name="AirlineName" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The airline name.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Airport
diagram
children AirportId AirportName AirportLocation Terminal Gate Baggage
used by
elements Arrival Departure
annotation
documentation 
Holds airport information for this flight's departure or arrival.
source
<xsd:element name="Airport">
  <xsd:annotation>
    <xsd:documentation>Holds airport information for this flight's departure or arrival.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="AirportId"/>
      <xsd:element ref="AirportName" minOccurs="0"/>
      <xsd:element ref="AirportLocation" minOccurs="0"/>
      <xsd:element name="Terminal" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>The aircraft's departure or arrival terminal.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Gate" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>The aircraft's depature or arrival gate.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Baggage" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>The flight's baggage claim area identifier for arrival.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Airport/Terminal
diagram
type xsd:string
annotation
documentation 
The aircraft's departure or arrival terminal.
source
<xsd:element name="Terminal" type="xsd:string" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The aircraft's departure or arrival terminal.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Airport/Gate
diagram
type xsd:string
annotation
documentation 
The aircraft's depature or arrival gate.
source
<xsd:element name="Gate" type="xsd:string" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The aircraft's depature or arrival gate.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Airport/Baggage
diagram
type xsd:string
annotation
documentation 
The flight's baggage claim area identifier for arrival.
source
<xsd:element name="Baggage" type="xsd:string" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The flight's baggage claim area identifier for arrival.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AirportId
diagram
children AirportCode FAACode IATACode
used by
element Airport
annotation
documentation 
Identifies airport using three to four letter code.
source
<xsd:element name="AirportId">
  <xsd:annotation>
    <xsd:documentation>Identifies airport using three to four letter code.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="AirportCode" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Three or four letter airport unique code.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Code assigning organization.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="FAACode"/>
        <xsd:element name="IATACode"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element AirportId/AirportCode
diagram
type xsd:string
annotation
documentation 
Three or four letter airport unique code.
source
<xsd:element name="AirportCode" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Three or four letter airport unique code.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AirportId/FAACode
diagram
source
<xsd:element name="FAACode"/>

element AirportId/IATACode
diagram
source
<xsd:element name="IATACode"/>

element AirportLocation
diagram
children CityName StateId StateName ProvinceId CountryId CountryName
used by
element Airport
annotation
documentation 
Holds location information for this airport.
source
<xsd:element name="AirportLocation">
  <xsd:annotation>
    <xsd:documentation>Holds location information for this airport.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="CityName" minOccurs="0"/>
      <xsd:element ref="StateId" minOccurs="0"/>
      <xsd:element ref="StateName" minOccurs="0"/>
      <xsd:element ref="ProvinceId" minOccurs="0"/>
      <xsd:element ref="CountryId" minOccurs="0"/>
      <xsd:element ref="CountryName" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element AirportName
diagram
type xsd:string
used by
element Airport
annotation
documentation 
The airport name.
source
<xsd:element name="AirportName" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The airport name.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Altitude
diagram
type xsd:unsignedInt
used by
element Airborne
annotation
documentation 
Altitude values are in feet from sea level
source
<xsd:element name="Altitude" type="xsd:unsignedInt">
  <xsd:annotation>
    <xsd:documentation>Altitude values are in feet from sea level</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Angle
diagram
type xsd:decimal
used by
elements Latitude Longitude
annotation
documentation 
The angle in degrees, as a fixed point number to 1/100 of a degree. Values to the right of the decimal point are not minutes, but fractions of one degree. 
source
<xsd:element name="Angle" type="xsd:decimal">
  <xsd:annotation>
    <xsd:documentation>The angle in degrees, as a fixed point number to 1/100 of a degree. Values to the right of the decimal point are not minutes, but fractions of one degree. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Arrival
diagram
children Airport DateTime Original Alternate ArrivalScheduleStatus DelayReason
used by
element Flight
annotation
documentation 
The segment of a flight where the aircraft has landed at its destination.
source
<xsd:element name="Arrival">
  <xsd:annotation>
    <xsd:documentation>The segment of a flight where the aircraft has landed at its destination.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:annotation>
        <xsd:documentation>Group of each of the elements, in order given.</xsd:documentation>
      </xsd:annotation>
      <xsd:element ref="Airport"/>
      <xsd:element ref="DateTime" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>A diverted flight can have an Alternate Arrival element.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="Original">
          <xsd:annotation>
            <xsd:documentation>This is the originally scheduled arrival point, it is not a diverted flight.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Alternate">
          <xsd:annotation>
            <xsd:documentation>This is an alternate arrival point, it is a diversion.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element ref="ArrivalScheduleStatus" minOccurs="0"/>
      <xsd:element ref="DelayReason" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Arrival/Original
diagram
annotation
documentation 
This is the originally scheduled arrival point, it is not a diverted flight.
source
<xsd:element name="Original">
  <xsd:annotation>
    <xsd:documentation>This is the originally scheduled arrival point, it is not a diverted flight.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Arrival/Alternate
diagram
annotation
documentation 
This is an alternate arrival point, it is a diversion.
source
<xsd:element name="Alternate">
  <xsd:annotation>
    <xsd:documentation>This is an alternate arrival point, it is a diversion.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ArrivalScheduleStatus
diagram
type ArrivalScheduleStatusValues
used by
element Arrival
facets
enumeration AO
enumeration AE
enumeration AD
annotation
documentation 
Arrival status compared to schedule of flight at the arrival airport
source
<xsd:element name="ArrivalScheduleStatus" type="ArrivalScheduleStatusValues">
  <xsd:annotation>
    <xsd:documentation>Arrival status compared to schedule of flight at the arrival airport</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Cancelled
diagram
used by
element FlightStatus
annotation
documentation 
Flight has been cancelled.
source
<xsd:element name="Cancelled">
  <xsd:annotation>
    <xsd:documentation>Flight has been cancelled.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element CityName
diagram
type xsd:string
used by
element AirportLocation
annotation
documentation 
The name of a city - for an airport's location.
source
<xsd:element name="CityName" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The name of a city - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CodeShare
diagram
children FlightNumber CommercialAirline
used by
element FlightId
annotation
documentation 
Identifies a commercial flight as code share and identifies the operating flight with FlightNumber and AirlineId elements. General aviation flights cannot be code shares.
source
<xsd:element name="CodeShare">
  <xsd:annotation>
    <xsd:documentation>Identifies a commercial flight as code share and identifies the operating flight with FlightNumber and AirlineId elements. General aviation flights cannot be code shares.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightNumber"/>
      <xsd:element ref="CommercialAirline"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element CommercialAirline
diagram
children AirlineId AirlineName
used by
elements CodeShare FlightId RegionalCarrier
annotation
documentation 
This is a commercial air carrier.
source
<xsd:element name="CommercialAirline">
  <xsd:annotation>
    <xsd:documentation>This is a commercial air carrier.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="AirlineId"/>
      <xsd:element ref="AirlineName" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Coordinates
diagram
children Longitude Latitude
used by
elements Airborne Route
annotation
documentation 
Holds the latitude and longitude values to identify position.
source
<xsd:element name="Coordinates">
  <xsd:annotation>
    <xsd:documentation>Holds the latitude and longitude values to identify position.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Longitude"/>
      <xsd:element ref="Latitude"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element CountryId
diagram
type xsd:string
used by
element AirportLocation
annotation
documentation 
The two letter code for a country - for an airport's location.
source
<xsd:element name="CountryId" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The two letter code for a country - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CountryName
diagram
type xsd:string
used by
element AirportLocation
annotation
documentation 
The name of the country - for an airport's location.
source
<xsd:element name="CountryName" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The name of the country - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Date
diagram
type DateType
used by
element DateTime
attributes
Name  Type  Use  Default  Fixed  Annotation
utc  xsd:date  optional      
local  xsd:date  optional      
annotation
documentation 
The date in yyyy-mm-dd format.
source
<xsd:element name="Date" type="DateType">
  <xsd:annotation>
    <xsd:documentation>The date in yyyy-mm-dd format.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DateTime
diagram
children Date Time UTC Local Actual Estimated Scheduled RunwayTime GateTime AirlineData ScheduleData FlightViewData
used by
elements Arrival Flight/AircraftPreviousFlightLeg/Arrival Departure QueryProcessingStamp
annotation
documentation 
Holds the date and time information. Typically only one instance is presented. If there is no time information, will be absent. May present more than one instance for different events or perspectives. 
source
<xsd:element name="DateTime">
  <xsd:annotation>
    <xsd:documentation>Holds the date and time information. Typically only one instance is presented. If there is no time information, will be absent. May present more than one instance for different events or perspectives. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Date" minOccurs="0"/>
      <xsd:element ref="Time"/>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Indicates the reference time zone or time event  for the given time.</xsd:documentation>
        </xsd:annotation>
        <xsd:element ref="UTC"/>
        <xsd:element ref="Local"/>
      </xsd:choice>
      <xsd:choice minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Indicates the level of accuracy of the given time.</xsd:documentation>
        </xsd:annotation>
        <xsd:element ref="Actual"/>
        <xsd:element ref="Estimated"/>
        <xsd:element name="Scheduled">
          <xsd:annotation>
            <xsd:documentation>Specifies that intended time and date values. </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:choice minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Indicates the position of aircraft at the given time. Will not be present if position  reference unspecified.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="RunwayTime">
          <xsd:annotation>
            <xsd:documentation>Time is relative to wheels up   off the runway or wheels down on the runway.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="GateTime">
          <xsd:annotation>
            <xsd:documentation>Time is relative to arrival at the gate or departure from the gate.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:choice minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Indicates the data source of the date and time data.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="AirlineData">
          <xsd:annotation>
            <xsd:documentation>Indicates that date and/or time date comes from airline data sources.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ScheduleData">
          <xsd:annotation>
            <xsd:documentation>Indicates that date and/or time data comes from schedule provider sources.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="FlightViewData">
          <xsd:annotation>
            <xsd:documentation>Indicates that date and/or time data comes from FlightView enhanced FAA data sources.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element DateTime/Scheduled
diagram
annotation
documentation 
Specifies that intended time and date values. 
source
<xsd:element name="Scheduled">
  <xsd:annotation>
    <xsd:documentation>Specifies that intended time and date values. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DateTime/RunwayTime
diagram
annotation
documentation 
Time is relative to wheels up   off the runway or wheels down on the runway.
source
<xsd:element name="RunwayTime">
  <xsd:annotation>
    <xsd:documentation>Time is relative to wheels up   off the runway or wheels down on the runway.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DateTime/GateTime
diagram
annotation
documentation 
Time is relative to arrival at the gate or departure from the gate.
source
<xsd:element name="GateTime">
  <xsd:annotation>
    <xsd:documentation>Time is relative to arrival at the gate or departure from the gate.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DateTime/AirlineData
diagram
annotation
documentation 
Indicates that date and/or time date comes from airline data sources.
source
<xsd:element name="AirlineData">
  <xsd:annotation>
    <xsd:documentation>Indicates that date and/or time date comes from airline data sources.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DateTime/ScheduleData
diagram
annotation
documentation 
Indicates that date and/or time data comes from schedule provider sources.
source
<xsd:element name="ScheduleData">
  <xsd:annotation>
    <xsd:documentation>Indicates that date and/or time data comes from schedule provider sources.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DateTime/FlightViewData
diagram
annotation
documentation 
Indicates that date and/or time data comes from FlightView enhanced FAA data sources.
source
<xsd:element name="FlightViewData">
  <xsd:annotation>
    <xsd:documentation>Indicates that date and/or time data comes from FlightView enhanced FAA data sources.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Delayed
diagram
used by
element FlightStatus
annotation
documentation 
Flight has been delayed.
source
<xsd:element name="Delayed">
  <xsd:annotation>
    <xsd:documentation>Flight has been delayed.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element DelayReason
diagram
children Code
used by
elements Arrival Departure
annotation
documentation 
Airline delay reason codes.
source
<xsd:element name="DelayReason">
  <xsd:annotation>
    <xsd:documentation>Airline delay reason codes.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Code" maxOccurs="unbounded">
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:pattern value="[a-zA-Z0-9]+"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element DelayReason/Code
diagram
type restriction of xsd:string
facets
pattern [a-zA-Z0-9]+
source
<xsd:element name="Code" maxOccurs="unbounded">
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="[a-zA-Z0-9]+"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:element>

element Departure
diagram
children Airport DateTime Original Alternate DepartureScheduleStatus DelayReason
used by
element Flight
annotation
documentation 
The segment of a flight where the aircraft will depart or has departed.
source
<xsd:element name="Departure">
  <xsd:annotation>
    <xsd:documentation>The segment of a flight where the aircraft will depart or has departed.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:annotation>
        <xsd:documentation>Group of each of the elements, in order given.</xsd:documentation>
      </xsd:annotation>
      <xsd:element ref="Airport"/>
      <xsd:element ref="DateTime" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>A diverted flight can have an Alternate Departure element.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="Original">
          <xsd:annotation>
            <xsd:documentation>This is the originally scheduled departure point, it is not a diversion recovery flight.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Alternate">
          <xsd:annotation>
            <xsd:documentation>This is an alternate to the originally scheduled departure point, it is a flight to recover from a diversion.  </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element ref="DepartureScheduleStatus" minOccurs="0"/>
      <xsd:element ref="DelayReason" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Departure/Original
diagram
annotation
documentation 
This is the originally scheduled departure point, it is not a diversion recovery flight.
source
<xsd:element name="Original">
  <xsd:annotation>
    <xsd:documentation>This is the originally scheduled departure point, it is not a diversion recovery flight.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Departure/Alternate
diagram
annotation
documentation 
This is an alternate to the originally scheduled departure point, it is a flight to recover from a diversion.  
source
<xsd:element name="Alternate">
  <xsd:annotation>
    <xsd:documentation>This is an alternate to the originally scheduled departure point, it is a flight to recover from a diversion.  </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DepartureScheduleStatus
diagram
type DepartureScheduleStatusValues
used by
element Departure
facets
enumeration DO
enumeration DE
enumeration DD
annotation
documentation 
Departure status compared to schedule of flight at the departure airport.
source
<xsd:element name="DepartureScheduleStatus" type="DepartureScheduleStatusValues">
  <xsd:annotation>
    <xsd:documentation>Departure status compared to schedule of flight at the departure airport.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DownLineInfo
diagram
children FlightLeg
used by
element Flight
annotation
documentation 
Pairs of departure and arrival airports for all the downstream legs relative to this flight leg,
source
<xsd:element name="DownLineInfo">
  <xsd:annotation>
    <xsd:documentation>Pairs of departure and arrival airports for all the downstream legs relative to this flight leg,</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightLeg" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element East
diagram
used by
element Longitude
annotation
documentation 
Specifies that  longitude angle values are measured east from the prime  meridian.
source
<xsd:element name="East">
  <xsd:annotation>
    <xsd:documentation>Specifies that  longitude angle values are measured east from the prime  meridian.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Elapsed
diagram
used by
element RelativeTime
annotation
documentation 
Indicates how much time has passed since departure in hh:mm:ss format. Computed only for InAir flights.
source
<xsd:element name="Elapsed">
  <xsd:annotation>
    <xsd:documentation>Indicates how much time has passed since departure in hh:mm:ss format. Computed only for InAir flights.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Estimated
diagram
used by
element DateTime
annotation
documentation 
Specifies that the time and date values are estimated based on near-real time flight data and projections. 
source
<xsd:element name="Estimated">
  <xsd:annotation>
    <xsd:documentation>Specifies that the time and date values are estimated based on near-real time flight data and projections. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Expected
diagram
used by
element FlightStatus
annotation
documentation 
A FlightView data source indicates flight is expected to arrive at arrival airport.
source
<xsd:element name="Expected">
  <xsd:annotation>
    <xsd:documentation>A FlightView data source indicates flight is expected to arrive at arrival airport.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Flight
diagram
children FlightId Aircraft FlightStatus ScheduleStatus Departure Arrival SvcType SchedInfoPresent RelativeTime TimeSinceLanding FlightDuration Airborne Route Map SeqNum NumLegs AircraftPreviousFlightLeg UpLineInfo DownLineInfo
used by
element FlightViewResults
attributes
Name  Type  Use  Default  Fixed  Annotation
FlightId  xsd:string  required      
annotation
documentation 
Holds the information for a single flight. Attribute FlightId uniquely identifies a Flight within FlightViewResults.
source
<xsd:element name="Flight">
  <xsd:annotation>
    <xsd:documentation>Holds the information for a single flight. Attribute FlightId uniquely identifies a Flight within FlightViewResults.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightId"/>
      <xsd:element ref="Aircraft" minOccurs="0"/>
      <xsd:element ref="FlightStatus"/>
      <xsd:element ref="ScheduleStatus" minOccurs="0"/>
      <xsd:element ref="Departure" minOccurs="0" maxOccurs="2"/>
      <xsd:element ref="Arrival" minOccurs="0" maxOccurs="2"/>
      <xsd:element ref="SvcType" minOccurs="0"/>
      <xsd:element ref="SchedInfoPresent" minOccurs="0"/>
      <xsd:element ref="RelativeTime" minOccurs="0"/>
      <xsd:element ref="TimeSinceLanding" minOccurs="0"/>
      <xsd:element ref="FlightDuration" minOccurs="0"/>
      <xsd:element ref="Airborne" minOccurs="0"/>
      <xsd:element ref="Route" minOccurs="0"/>
      <xsd:element ref="Map" minOccurs="0"/>
      <xsd:element ref="SeqNum" minOccurs="0"/>
      <xsd:element ref="NumLegs" minOccurs="0"/>
      <xsd:element name="AircraftPreviousFlightLeg" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Identifies previous leg of the same aircraft</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element ref="FlightId"/>
            <xsd:element name="Arrival">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element ref="DateTime"/>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element ref="UpLineInfo" minOccurs="0"/>
      <xsd:element ref="DownLineInfo" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="FlightId" type="xsd:string" use="required"/>
  </xsd:complexType>
</xsd:element>

element Flight/AircraftPreviousFlightLeg
diagram
children FlightId Arrival
annotation
documentation 
Identifies previous leg of the same aircraft
source
<xsd:element name="AircraftPreviousFlightLeg" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Identifies previous leg of the same aircraft</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightId"/>
      <xsd:element name="Arrival">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element ref="DateTime"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Flight/AircraftPreviousFlightLeg/Arrival
diagram
children DateTime
source
<xsd:element name="Arrival">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="DateTime"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element FlightDuration
diagram
children Time
used by
element Flight
annotation
documentation 
Duration of the flight.
source
<xsd:element name="FlightDuration">
  <xsd:annotation>
    <xsd:documentation>Duration of the flight.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Time"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element FlightId
diagram
children FlightNumber CommercialAirline GeneralAviation RegionalCarrier OrigDate CodeShare OperatingFlight
used by
elements Flight/AircraftPreviousFlightLeg Flight
annotation
documentation 
Identifies the flight.
source
<xsd:element name="FlightId">
  <xsd:annotation>
    <xsd:documentation>Identifies the flight.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightNumber"/>
      <xsd:choice>
        <xsd:element ref="CommercialAirline"/>
        <xsd:element name="GeneralAviation">
          <xsd:annotation>
            <xsd:documentation>This is a General Aviation flight. (This flight information is not available for the general public.)</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element ref="RegionalCarrier" minOccurs="0"/>
      <xsd:element ref="OrigDate" minOccurs="0"/>
      <xsd:choice minOccurs="0">
        <xsd:element ref="CodeShare"/>
        <xsd:element name="OperatingFlight">
          <xsd:annotation>
            <xsd:documentation>Identifies a commercial flight as the operating flight in a code share. General aviation flights cannot be the operating flight in a code share.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element FlightId/GeneralAviation
diagram
annotation
documentation 
This is a General Aviation flight. (This flight information is not available for the general public.)
source
<xsd:element name="GeneralAviation">
  <xsd:annotation>
    <xsd:documentation>This is a General Aviation flight. (This flight information is not available for the general public.)</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightId/OperatingFlight
diagram
annotation
documentation 
Identifies a commercial flight as the operating flight in a code share. General aviation flights cannot be the operating flight in a code share.
source
<xsd:element name="OperatingFlight">
  <xsd:annotation>
    <xsd:documentation>Identifies a commercial flight as the operating flight in a code share. General aviation flights cannot be the operating flight in a code share.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightLeg
diagram
used by
elements DownLineInfo UpLineInfo
attributes
Name  Type  Use  Default  Fixed  Annotation
Departure  AirportCodeType  required      
DepContext  ApCodeContextType  required      
Arrival  AirportCodeType  required      
ArrContext  ApCodeContextType  required      
annotation
documentation 
Single pair of departure and arrival airports for an upstream/downstream leg.
source
<xsd:element name="FlightLeg">
  <xsd:annotation>
    <xsd:documentation>Single pair of departure and arrival airports for an upstream/downstream leg.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Departure" type="AirportCodeType" use="required"/>
    <xsd:attribute name="DepContext" type="ApCodeContextType" use="required"/>
    <xsd:attribute name="Arrival" type="AirportCodeType" use="required"/>
    <xsd:attribute name="ArrContext" type="ApCodeContextType" use="required"/>
  </xsd:complexType>
</xsd:element>

element FlightNumber
diagram
type xsd:string
used by
elements CodeShare FlightId RegionalCarrier
annotation
documentation 
Commercial Flights:  one to four characters, first character is always a digit; if more than one character then all must be digits except the last one which can be a digit or a letter.  General Aviation Flights:  one letter followed by one to six letters or digits (this can be the tail number).
source
<xsd:element name="FlightNumber" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Commercial Flights:  one to four characters, first character is always a digit; if more than one character then all must be digits except the last one which can be a digit or a letter.  General Aviation Flights:  one letter followed by one to six letters or digits (this can be the tail number).</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus
diagram
children Scheduled Proposed InAir Landed Cancelled Delayed NoTakeoffInfo Unknown Holding OutGate InGate Expected PastFlight Original Diverted Recovery Remark
used by
element Flight
annotation
documentation 
Holds the status of a flight, such as whether it's in the air, landed, etc.
source
<xsd:element name="FlightStatus">
  <xsd:annotation>
    <xsd:documentation>Holds the status of a flight, such as whether it's in the air, landed, etc.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Flight status relative to its plan.</xsd:documentation>
        </xsd:annotation>
        <xsd:element ref="Scheduled"/>
        <xsd:element ref="Proposed" minOccurs="0"/>
        <xsd:element ref="InAir"/>
        <xsd:element ref="Landed"/>
        <xsd:element ref="Cancelled"/>
        <xsd:element ref="Delayed"/>
        <xsd:element ref="NoTakeoffInfo"/>
        <xsd:element ref="Unknown"/>
        <xsd:element name="Holding" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>(reserved element for flight status)</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="OutGate" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>Flight has left the gate and is awaiting take-off.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="InGate" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>Flight has arrived in the gate.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element ref="Expected" minOccurs="0"/>
        <xsd:element ref="PastFlight" minOccurs="0"/>
      </xsd:choice>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Flight status relative to diversion cases.</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="Original">
          <xsd:annotation>
            <xsd:documentation>Flight is on its original flight plan.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Diverted">
          <xsd:annotation>
            <xsd:documentation>Flight is diverted from its original flight plan.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Recovery">
          <xsd:annotation>
            <xsd:documentation>Flight is a recovery from a previous diversion.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="Remark" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>This optional element value is a recomended display value of the actual flight status.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element FlightStatus/Holding
diagram
annotation
documentation 
(reserved element for flight status)
source
<xsd:element name="Holding" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>(reserved element for flight status)</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus/OutGate
diagram
annotation
documentation 
Flight has left the gate and is awaiting take-off.
source
<xsd:element name="OutGate" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Flight has left the gate and is awaiting take-off.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus/InGate
diagram
annotation
documentation 
Flight has arrived in the gate.
source
<xsd:element name="InGate" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Flight has arrived in the gate.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus/Original
diagram
annotation
documentation 
Flight is on its original flight plan.
source
<xsd:element name="Original">
  <xsd:annotation>
    <xsd:documentation>Flight is on its original flight plan.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus/Diverted
diagram
annotation
documentation 
Flight is diverted from its original flight plan.
source
<xsd:element name="Diverted">
  <xsd:annotation>
    <xsd:documentation>Flight is diverted from its original flight plan.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus/Recovery
diagram
annotation
documentation 
Flight is a recovery from a previous diversion.
source
<xsd:element name="Recovery">
  <xsd:annotation>
    <xsd:documentation>Flight is a recovery from a previous diversion.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightStatus/Remark
diagram
annotation
documentation 
This optional element value is a recomended display value of the actual flight status.
source
<xsd:element name="Remark" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>This optional element value is a recomended display value of the actual flight status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element FlightViewResults
diagram
children QueryProcessingStamp Flight
annotation
documentation 
Holds the information from one query for flight information. May contain none, one, or many flights.
source
<xsd:element name="FlightViewResults">
  <xsd:annotation>
    <xsd:documentation>Holds the information from one query for flight information. May contain none, one, or many flights.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="QueryProcessingStamp"/>
      <xsd:element ref="Flight" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Heading
diagram
type xsd:nonNegativeInteger
used by
element Airborne
annotation
documentation 
Holds the information about the aircraft's directional heading. The range  is 0 to 359 degrees.
source
<xsd:element name="Heading" type="xsd:nonNegativeInteger">
  <xsd:annotation>
    <xsd:documentation>Holds the information about the aircraft's directional heading. The range  is 0 to 359 degrees.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element InAir
diagram
used by
element FlightStatus
annotation
documentation 
Flight is off the ground, in the air.
source
<xsd:element name="InAir">
  <xsd:annotation>
    <xsd:documentation>Flight is off the ground, in the air.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Landed
diagram
used by
element FlightStatus
annotation
documentation 
Flight has landed, i.e. on the ground after being in the air.
source
<xsd:element name="Landed">
  <xsd:annotation>
    <xsd:documentation>Flight has landed, i.e. on the ground after being in the air.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Latitude
diagram
children Angle North South
used by
element Coordinates
source
<xsd:element name="Latitude">
  <xsd:complexType>
    <xsd:annotation>
      <xsd:documentation>Angle values in degrees range from 0.0 to 90.0</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element ref="Angle"/>
      <xsd:choice>
        <xsd:element ref="North"/>
        <xsd:element ref="South"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Local
diagram
used by
element DateTime
annotation
documentation 
Indicates that the date and/or time is local to the time-zone of the associated location.
source
<xsd:element name="Local">
  <xsd:annotation>
    <xsd:documentation>Indicates that the date and/or time is local to the time-zone of the associated location.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Longitude
diagram
children Angle West East
used by
element Coordinates
source
<xsd:element name="Longitude">
  <xsd:complexType>
    <xsd:annotation>
      <xsd:documentation>Angle values in degrees range from 0.0 to 180.0</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element ref="Angle"/>
      <xsd:choice>
        <xsd:element ref="West"/>
        <xsd:element ref="East"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Map
diagram
type xsd:anyURI
used by
element Flight
annotation
documentation 
Holds the reference to a graphic map of the flight's course when the aircraft is in the air.
source
<xsd:element name="Map" type="xsd:anyURI">
  <xsd:annotation>
    <xsd:documentation>Holds the reference to a graphic map of the flight's course when the aircraft is in the air.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element North
diagram
used by
element Latitude
annotation
documentation 
Specifies that latitude angle values are measured north from the equator.
source
<xsd:element name="North">
  <xsd:annotation>
    <xsd:documentation>Specifies that latitude angle values are measured north from the equator.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element NoTakeoffInfo
diagram
used by
element FlightStatus
annotation
documentation 
No takeoff information.
source
<xsd:element name="NoTakeoffInfo">
  <xsd:annotation>
    <xsd:documentation>No takeoff information.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element NumLegs
diagram
type xsd:string
used by
element Flight
annotation
documentation 
Total number of legs in the multi-leg flight that this leg belongs to
source
<xsd:element name="NumLegs" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Total number of legs in the multi-leg flight that this leg belongs to</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element OrigDate
diagram
type DateType
used by
element FlightId
attributes
Name  Type  Use  Default  Fixed  Annotation
utc  xsd:date  optional      
local  xsd:date  optional      
annotation
documentation 
The local origination date for this flight
source
<xsd:element name="OrigDate" type="DateType">
  <xsd:annotation>
    <xsd:documentation>The local origination date for this flight</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element PastFlight
diagram
used by
element FlightStatus
annotation
documentation 
Operational window for the flight has passed and departure/arrival information is no longer available.
source
<xsd:element name="PastFlight">
  <xsd:annotation>
    <xsd:documentation>Operational window for the flight has passed and departure/arrival information is no longer available.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Proposed
diagram
used by
element FlightStatus
annotation
documentation 
(reserved element for flight status)
source
<xsd:element name="Proposed">
  <xsd:annotation>
    <xsd:documentation>(reserved element for flight status)</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element ProvinceId
diagram
type xsd:string
used by
element AirportLocation
annotation
documentation 
The code for a province - for an airport's location.
source
<xsd:element name="ProvinceId" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The code for a province - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ProvinceName
diagram
type xsd:string
annotation
documentation 
 The name of a province - for an airport's location.
source
<xsd:element name="ProvinceName" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation> The name of a province - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element QueryProcessingStamp
diagram
children DateTime QueryServer QueryRequest Result
used by
element FlightViewResults
attributes
Name  Type  Use  Default  Fixed  Annotation
QueryProcessingStampId  xsd:string  required      
annotation
documentation 
 Holds general and identifying  information on this query transaction. Attribute QueryProcessingStampId identifies transaction in the form of: [UTCDate]|[UTCTime]|QueryServer]|[QueryString]|unique number]
source
<xsd:element name="QueryProcessingStamp">
  <xsd:annotation>
    <xsd:documentation> Holds general and identifying  information on this query transaction. Attribute QueryProcessingStampId identifies transaction in the form of: [UTCDate]|[UTCTime]|QueryServer]|[QueryString]|unique number]</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="DateTime"/>
      <xsd:element name="QueryServer">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Host" type="xsd:string"/>
            <xsd:element name="XMLGenerator">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="Name" type="xsd:string"/>
                  <xsd:element name="Version" type="xsd:string"/>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="QueryRequest" type="xsd:string"/>
      <xsd:element ref="Result"/>
    </xsd:sequence>
    <xsd:attribute name="QueryProcessingStampId" type="xsd:string" use="required"/>
  </xsd:complexType>
</xsd:element>

element QueryProcessingStamp/QueryServer
diagram
children Host XMLGenerator
source
<xsd:element name="QueryServer">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Host" type="xsd:string"/>
      <xsd:element name="XMLGenerator">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Name" type="xsd:string"/>
            <xsd:element name="Version" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element QueryProcessingStamp/QueryServer/Host
diagram
type xsd:string
source
<xsd:element name="Host" type="xsd:string"/>

element QueryProcessingStamp/QueryServer/XMLGenerator
diagram
children Name Version
source
<xsd:element name="XMLGenerator">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Name" type="xsd:string"/>
      <xsd:element name="Version" type="xsd:string"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element QueryProcessingStamp/QueryServer/XMLGenerator/Name
diagram
type xsd:string
source
<xsd:element name="Name" type="xsd:string"/>

element QueryProcessingStamp/QueryServer/XMLGenerator/Version
diagram
type xsd:string
source
<xsd:element name="Version" type="xsd:string"/>

element QueryProcessingStamp/QueryRequest
diagram
type xsd:string
source
<xsd:element name="QueryRequest" type="xsd:string"/>

element RegionalCarrier
diagram
children FlightNumber CommercialAirline
used by
element FlightId
annotation
documentation 
Regional Carrier operating this flight and/or owning the aircraft used for this flight.
source
<xsd:element name="RegionalCarrier">
  <xsd:annotation>
    <xsd:documentation>Regional Carrier operating this flight and/or owning the aircraft used for this flight.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightNumber" minOccurs="0"/>
      <xsd:element ref="CommercialAirline"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element RelativeTime
diagram
children Time Remaining Elapsed
used by
element Flight
annotation
documentation 
Holds a relative time value calculated for an active flight.
source
<xsd:element name="RelativeTime">
  <xsd:annotation>
    <xsd:documentation>Holds a relative time value calculated for an active flight.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Time" minOccurs="0"/>
      <xsd:choice>
        <xsd:element ref="Remaining"/>
        <xsd:element ref="Elapsed"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Remaining
diagram
used by
element RelativeTime
annotation
documentation 
Indicates how much time remains until arrival in hh:mm:ss format. Computed only for InAir flights.
source
<xsd:element name="Remaining">
  <xsd:annotation>
    <xsd:documentation>Indicates how much time remains until arrival in hh:mm:ss format. Computed only for InAir flights.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Result
diagram
children ResultStatus ResultCode ResultMessage
used by
element QueryProcessingStamp
annotation
documentation 
Holds general information about the query results for this query processing transaction.
source
<xsd:element name="Result">
  <xsd:annotation>
    <xsd:documentation>Holds general information about the query results for this query processing transaction.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ResultStatus"/>
      <xsd:element name="ResultCode" type="xsd:integer">
        <xsd:annotation>
          <xsd:documentation>Numerical identifier to speciify result condition.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="ResultMessage" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Supplemental information regarding the query results.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Result/ResultCode
diagram
type xsd:integer
annotation
documentation 
Numerical identifier to speciify result condition.
source
<xsd:element name="ResultCode" type="xsd:integer">
  <xsd:annotation>
    <xsd:documentation>Numerical identifier to speciify result condition.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Result/ResultMessage
diagram
type xsd:string
annotation
documentation 
Supplemental information regarding the query results.
source
<xsd:element name="ResultMessage" type="xsd:string" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Supplemental information regarding the query results.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ResultStatus
diagram
children Empty Error OK
used by
element Result
annotation
documentation 
General result from given query.
source
<xsd:element name="ResultStatus">
  <xsd:annotation>
    <xsd:documentation>General result from given query.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice>
      <xsd:element name="Empty">
        <xsd:annotation>
          <xsd:documentation>No flights found for given query.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Error">
        <xsd:annotation>
          <xsd:documentation>Query submission invalid or processing exception. No flights presented.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="OK">
        <xsd:annotation>
          <xsd:documentation>At least one flight found for given query.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

element ResultStatus/Empty
diagram
annotation
documentation 
No flights found for given query.
source
<xsd:element name="Empty">
  <xsd:annotation>
    <xsd:documentation>No flights found for given query.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ResultStatus/Error
diagram
annotation
documentation 
Query submission invalid or processing exception. No flights presented.
source
<xsd:element name="Error">
  <xsd:annotation>
    <xsd:documentation>Query submission invalid or processing exception. No flights presented.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ResultStatus/OK
diagram
annotation
documentation 
At least one flight found for given query.
source
<xsd:element name="OK">
  <xsd:annotation>
    <xsd:documentation>At least one flight found for given query.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Route
diagram
children FlightPlan Coordinates
used by
element Flight
annotation
documentation 
Holds information on the flight path.
source
<xsd:element name="Route">
  <xsd:annotation>
    <xsd:documentation>Holds information on the flight path.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="FlightPlan" type="FlightPlan" minOccurs="0" maxOccurs="2"/>
      <xsd:element ref="Coordinates" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Route/FlightPlan
diagram
type FlightPlan
attributes
Name  Type  Use  Default  Fixed  Annotation
Type  xsd:string  required      
source
<xsd:element name="FlightPlan" type="FlightPlan" minOccurs="0" maxOccurs="2"/>

element SchedInfoPresent
diagram
type YorN
used by
element Flight
facets
enumeration Y
enumeration N
annotation
documentation 
Indicates whether schedule information is available
source
<xsd:element name="SchedInfoPresent" type="YorN">
  <xsd:annotation>
    <xsd:documentation>Indicates whether schedule information is available</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Scheduled
diagram
used by
element FlightStatus
annotation
documentation 
Flight is scheduled, but has not yet taken off.
source
<xsd:element name="Scheduled">
  <xsd:annotation>
    <xsd:documentation>Flight is scheduled, but has not yet taken off.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element ScheduleStatus
diagram
type ScheduleStatusValues
used by
element Flight
facets
enumeration DO
enumeration DE
enumeration DD
enumeration AO
enumeration AE
enumeration AD
annotation
documentation 
Additional status information relative to FlightStatus.
source
<xsd:element name="ScheduleStatus" type="ScheduleStatusValues">
  <xsd:annotation>
    <xsd:documentation>Additional status information relative to FlightStatus.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element SeqNum
diagram
type xsd:string
used by
element Flight
annotation
documentation 
Sequence number of this flight leg in a multi-leg flight
source
<xsd:element name="SeqNum" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Sequence number of this flight leg in a multi-leg flight</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element South
diagram
used by
element Latitude
annotation
documentation 
Specifies that latitude angle values are measured south from the equator.
source
<xsd:element name="South">
  <xsd:annotation>
    <xsd:documentation>Specifies that latitude angle values are measured south from the equator.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element Speed
diagram
type xsd:unsignedInt
used by
element Airborne
annotation
documentation 
Speed values are in knots.
source
<xsd:element name="Speed" type="xsd:unsignedInt">
  <xsd:annotation>
    <xsd:documentation>Speed values are in knots.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StateId
diagram
type xsd:string
used by
element AirportLocation
annotation
documentation 
The two letter code for a state - for an airport's location.
source
<xsd:element name="StateId" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The two letter code for a state - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StateName
diagram
type xsd:string
used by
element AirportLocation
annotation
documentation 
The name for a state - for an airport's location.
source
<xsd:element name="StateName" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>The name for a state - for an airport's location.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element SvcType
diagram
type xsd:string
used by
element Flight
annotation
documentation 
Holds Service Type value
source
<xsd:element name="SvcType" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Holds Service Type value</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Time
diagram
type TimeType
used by
elements DateTime FlightDuration RelativeTime TimeSinceLanding
attributes
Name  Type  Use  Default  Fixed  Annotation
utc  xsd:time  optional      
local  xsd:time  optional      
type  xsd:string  optional      
annotation
documentation 
The time in hh:mm:ss 24-hour format.
source
<xsd:element name="Time" type="TimeType">
  <xsd:annotation>
    <xsd:documentation>The time in hh:mm:ss 24-hour format.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element TimeSinceLanding
diagram
children Time
used by
element Flight
annotation
documentation 
Holds the time elapsed since landing. Applies only for Landed flights.
source
<xsd:element name="TimeSinceLanding">
  <xsd:annotation>
    <xsd:documentation>Holds the time elapsed since landing. Applies only for Landed flights.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Time"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element Unknown
diagram
used by
element FlightStatus
annotation
documentation 
Flight status is not currently known.
source
<xsd:element name="Unknown">
  <xsd:annotation>
    <xsd:documentation>Flight status is not currently known.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element UpLineInfo
diagram
children FlightLeg
used by
element Flight
annotation
documentation 
Pairs of departure and arrival airports for all the upstream legs relative to this flight leg,
source
<xsd:element name="UpLineInfo">
  <xsd:annotation>
    <xsd:documentation>Pairs of departure and arrival airports for all the upstream legs relative to this flight leg,</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="FlightLeg" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element UTC
diagram
used by
element DateTime
annotation
documentation 
Indicates that the date and/or time is in Coordinated Universal Time.
source
<xsd:element name="UTC">
  <xsd:annotation>
    <xsd:documentation>Indicates that the date and/or time is in Coordinated Universal Time.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

element West
diagram
used by
element Longitude
annotation
documentation 
Specifies that  longitude angle values are measured west from the prime  meridian.
source
<xsd:element name="West">
  <xsd:annotation>
    <xsd:documentation>Specifies that  longitude angle values are measured west from the prime  meridian.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType/>
</xsd:element>

complexType DateType
diagram
type extension of xsd:date
used by
elements Date OrigDate
attributes
Name  Type  Use  Default  Fixed  Annotation
utc  xsd:date  optional      
local  xsd:date  optional      
source
<xsd:complexType name="DateType">
  <xsd:simpleContent>
    <xsd:extension base="xsd:date">
      <xsd:attribute name="utc" type="xsd:date" use="optional"/>
      <xsd:attribute name="local" type="xsd:date" use="optional"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType FlightPlan
diagram
type extension of xsd:string
used by
element Route/FlightPlan
attributes
Name  Type  Use  Default  Fixed  Annotation
Type  xsd:string  required      
source
<xsd:complexType name="FlightPlan">
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:attribute name="Type" type="xsd:string" use="required"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType TimeType
diagram
type extension of xsd:time
used by
element Time
attributes
Name  Type  Use  Default  Fixed  Annotation
utc  xsd:time  optional      
local  xsd:time  optional      
type  xsd:string  optional      
source
<xsd:complexType name="TimeType">
  <xsd:simpleContent>
    <xsd:extension base="xsd:time">
      <xsd:attribute name="utc" type="xsd:time" use="optional"/>
      <xsd:attribute name="local" type="xsd:time" use="optional"/>
      <xsd:attribute name="type" type="xsd:string" use="optional"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

simpleType AirborneType
type restriction of xsd:string
used by
attribute Airborne/@Type
facets
enumeration ASDI
enumeration Estimated
source
<xsd:simpleType name="AirborneType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="ASDI"/>
    <xsd:enumeration value="Estimated"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType AirportCodeType
type restriction of xsd:string
used by
attributes FlightLeg/@Arrival FlightLeg/@Departure
facets
pattern [a-zA-Z0-9]{3,4}
annotation
documentation 
IATA or ICAO airport code. Allowed between 3 and 4 characters.
source
<xsd:simpleType name="AirportCodeType">
  <xsd:annotation>
    <xsd:documentation>IATA or ICAO airport code. Allowed between 3 and 4 characters.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[a-zA-Z0-9]{3,4}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType ApCodeContextType
type restriction of xsd:string
used by
attributes FlightLeg/@ArrContext FlightLeg/@DepContext
facets
enumeration IATA
enumeration ICAO
source
<xsd:simpleType name="ApCodeContextType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="IATA"/>
    <xsd:enumeration value="ICAO"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType ArrivalScheduleStatusValues
type restriction of xsd:string
used by
element ArrivalScheduleStatus
facets
enumeration AO
enumeration AE
enumeration AD
annotation
documentation 
Values for ArrivalScheduleStatus
source
<xsd:simpleType name="ArrivalScheduleStatusValues">
  <xsd:annotation>
    <xsd:documentation>Values for ArrivalScheduleStatus</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="AO">
      <xsd:annotation>
        <xsd:documentation>Arrived on time.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="AE">
      <xsd:annotation>
        <xsd:documentation>Arrived early.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="AD">
      <xsd:annotation>
        <xsd:documentation>Arrival delay.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType DepartureScheduleStatusValues
type restriction of xsd:string
used by
element DepartureScheduleStatus
facets
enumeration DO
enumeration DE
enumeration DD
annotation
documentation 
Values for DepartureScheduleStatus
source
<xsd:simpleType name="DepartureScheduleStatusValues">
  <xsd:annotation>
    <xsd:documentation>Values for DepartureScheduleStatus</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="DO">
      <xsd:annotation>
        <xsd:documentation>Departed on time.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="DE">
      <xsd:annotation>
        <xsd:documentation>Departed early.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="DD">
      <xsd:annotation>
        <xsd:documentation>Departure delay.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType ScheduleStatusValues
type restriction of xsd:string
used by
element ScheduleStatus
facets
enumeration DO
enumeration DE
enumeration DD
enumeration AO
enumeration AE
enumeration AD
annotation
documentation 
Additional status information relative to FlightStatus.
source
<xsd:simpleType name="ScheduleStatusValues">
  <xsd:annotation>
    <xsd:documentation>Additional status information relative to FlightStatus.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="DO">
      <xsd:annotation>
        <xsd:documentation>Departed on time.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="DE">
      <xsd:annotation>
        <xsd:documentation>Departed early.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="DD">
      <xsd:annotation>
        <xsd:documentation>Departure delay.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="AO">
      <xsd:annotation>
        <xsd:documentation>Arrived on time.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="AE">
      <xsd:annotation>
        <xsd:documentation>Arrived early.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="AD">
      <xsd:annotation>
        <xsd:documentation>Arrival delay.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType YorN
type restriction of xsd:string
used by
element SchedInfoPresent
facets
enumeration Y
enumeration N
source
<xsd:simpleType name="YorN">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="Y"/>
    <xsd:enumeration value="N"/>
  </xsd:restriction>
</xsd:simpleType>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy