Definition Type: Element
Name: Flight
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirFareDisplayRS.xsd
MinOccurs (1)
MaxOccurs 99
Abstract
Documentation:
Include or exclude a specific flight number
Collapse XSD Schema Diagram:
Drilldown into IncludeExcludeUseInd in schema ota_airfaredisplayrs_xsd Drilldown into FlightNumber in schema ota_airfaredisplayrs_xsd Drilldown into AirlineCode in schema ota_airfaredisplayrs_xsdXSD Diagram of Flight in schema ota_airfaredisplayrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="Flight" maxOccurs="99">
    <xs:annotation>
        <xs:documentation xml:lang="en">Include or exclude a specific flight number</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="AirlineCode" type="StringLength3" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The airline code of the restricted flight</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="FlightNumber" type="FlightNumberType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The number of the restricted flight</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="IncludeExcludeUseInd" type="xs:boolean" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">When true, the flight number should be included (i.e., travel allowed on this flight)</xs:documentation>
                <xs:documentation xml:lang="en">When false, the flight number should be excluded (i.e., no travel allowed on this flight)</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
AirlineCode nsA:AirlineCode Optional
FlightNumber nsA:FlightNumber Optional
IncludeExcludeUseInd nsA:IncludeExcludeUseInd Optional