Definition Type: Element
Name: Flights
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_AirFareDisplayRS.xsd
MinOccurs 0
MaxOccurs (1)
Abstract
Documentation:
Container for flight number restrictions
Collapse XSD Schema Diagram:
Drilldown into Flight in schema ota_airfaredisplayrs_xsdXSD Diagram of Flights in schema ota_airfaredisplayrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="Flights" minOccurs="0">
    <xs:annotation>
        <xs:documentation xml:lang="en">Container for flight number restrictions</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <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>
        </xs:sequence>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Flight nsA:Flight (1) 99