Definition Type: ComplexType
Name: OriginDestinationInformationType
Type: TravelDateTimeType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Origin and Destination location, and time information for the request. Also includes the ability to specify a connection location for the search.
Collapse XSD Schema Diagram:
Drilldown into ConnectionLocations in schema ota_commontypes_xsd Drilldown into DestinationLocation in schema ota_commontypes_xsd Drilldown into OriginLocation in schema ota_commontypes_xsd Drilldown into ArrivalDateTime in schema ota_commontypes_xsd Drilldown into DepartureDateTime in schema ota_commontypes_xsd Drilldown into TravelDateTimeType in schema ota_commontypes_xsdXSD Diagram of OriginDestinationInformationType in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="OriginDestinationInformationType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Origin and Destination location, and time information for the request. Also includes the ability to specify a connection location for the search.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
        <xs:extension base="TravelDateTimeType">
            <xs:sequence>
                <xs:element name="OriginLocation">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Travel Origin Location - for example, air uses the IATA 3 letter code.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                        <xs:simpleContent>
                            <xs:extension base="LocationType">
                                <xs:attribute name="MultiAirportCityInd" type="xs:boolean" use="optional">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">If true, other airports within this city may be considered (i.e., EWR, JFK when origin location is LGA.)</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                                <xs:attribute name="AlternateLocationInd" type="xs:boolean" use="optional">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">If true, alternate locations may be considered.</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                            </xs:extension>
                        </xs:simpleContent>
                    </xs:complexType>
                </xs:element>
                <xs:element name="DestinationLocation">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Travel Destination Location - for example, air uses the IATA 3 letter code.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                        <xs:simpleContent>
                            <xs:extension base="LocationType">
                                <xs:attribute name="MultiAirportCityInd" type="xs:boolean" use="optional">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">If true, other airports within this city may be considered (i.e., EWR, JFK when origin location is LGA.)</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                                <xs:attribute name="AlternateLocationInd" type="xs:boolean" use="optional">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">If true, alternate locations may be considered.</xs:documentation>
                                    </xs:annotation>
                                </xs:attribute>
                            </xs:extension>
                        </xs:simpleContent>
                    </xs:complexType>
                </xs:element>
                <xs:element name="ConnectionLocations" type="ConnectionType" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Travel Connection Location - for example, air uses the IATA 3 letter code.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DepartureDateTime DepartureDateTime (1) (1)
ArrivalDateTime ArrivalDateTime (1) (1)
OriginLocation OriginLocation (1) (1)
DestinationLocation DestinationLocation (1) (1)
ConnectionLocations ConnectionLocations 0 (1)
Collapse Derivation Tree: