Definition Type: ComplexType
Name: FlightSegmentBaseType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Construct for holding a flight segment availability object.
Collapse XSD Schema Diagram:
Drilldown into Equipment in schema ota_commontypes_xsd Drilldown into OperatingAirline in schema ota_commontypes_xsd Drilldown into ArrivalAirport in schema ota_commontypes_xsd Drilldown into DepartureAirport in schema ota_commontypes_xsd Drilldown into InfoSource in schema ota_commontypes_xsd1 Drilldown into RPH in schema ota_commontypes_xsd1 Drilldown into StopQuantity in schema ota_commontypes_xsd1 Drilldown into ArrivalDateTime in schema ota_commontypes_xsd1 Drilldown into DepartureDateTime in schema ota_commontypes_xsd1XSD Diagram of FlightSegmentBaseType in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="FlightSegmentBaseType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Construct for holding a flight segment availability object.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="DepartureAirport" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Departure point of flight segment.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="AirportLocationGroup">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Identifies the airport location for the departure.</xs:documentation>
                    </xs:annotation>
                </xs:attributeGroup>
            </xs:complexType>
        </xs:element>
        <xs:element name="ArrivalAirport" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Arrival point of flight segment.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="AirportLocationGroup">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Identifies the airport location for the arrival.</xs:documentation>
                    </xs:annotation>
                </xs:attributeGroup>
            </xs:complexType>
        </xs:element>
        <xs:element name="OperatingAirline" type="OperatingAirlineType" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en"> The operating airline of the flight if it is a codeshare  flight.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="Equipment" type="EquipmentType" minOccurs="0" maxOccurs="2">
            <xs:annotation>
                <xs:documentation xml:lang="en"> The type of equipment  used for the  flight..</xs:documentation>
            </xs:annotation>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="DepartureDateTime" type="xs:dateTime" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The date and time of the flight segment departure.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ArrivalDateTime" type="xs:dateTime" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Specifies the arrival date and time of a flight.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="StopQuantity" type="xs:nonNegativeInteger" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en"> The number of stops the flight makes</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="RPH" type="RPH_Type" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Reference place holder for this flight segment.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="InfoSource" type="InfoSourceType" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Used to specify the source of the data being exchanged as determined by trading partners. </xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DepartureAirport DepartureAirport 0 (1)
ArrivalAirport ArrivalAirport 0 (1)
OperatingAirline OperatingAirline 0 (1)
Equipment Equipment 0 2
Collapse Child Attributes:
Name Type Default Value Use
DepartureDateTime DepartureDateTime Optional
ArrivalDateTime ArrivalDateTime Optional
StopQuantity StopQuantity Optional
RPH RPH Optional
InfoSource InfoSource Optional