Definition Type: Element
Name: OriginDestinationInformation
Namespace: http://www.opentravel.org/OTA/2003/05
Type: OriginDestinationInformationType
Containing Schema: OTA_AirAvailRS.xsd
MinOccurs 0
MaxOccurs 5
Abstract
Documentation:
Information on the locations between which availability was requested.
Collapse XSD Schema Diagram:
Drilldown into OriginDestinationOptions in schema ota_airavailrs_xsd Drilldown into ConnectionLocations in schema ota_commontypes_xsd1 Drilldown into DestinationLocation in schema ota_commontypes_xsd1 Drilldown into OriginLocation in schema ota_commontypes_xsd1 Drilldown into ArrivalDateTime in schema ota_commontypes_xsd1 Drilldown into DepartureDateTime in schema ota_commontypes_xsd1 Drilldown into TravelDateTimeType in schema ota_commontypes_xsd1 Drilldown into OriginDestinationInformationType in schema ota_commontypes_xsd1 Drilldown into RPH in schema ota_airavailrs_xsd Drilldown into SameAirportInd in schema ota_airavailrs_xsdXSD Diagram of OriginDestinationInformation in schema ota_airavailrs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="OriginDestinationInformation" minOccurs="0" maxOccurs="5">
    <xs:annotation>
        <xs:documentation xml:lang="en">Information on the locations between which availability was requested.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:complexContent>
            <xs:extension base="OriginDestinationInformationType">
                <xs:sequence>
                    <xs:element name="OriginDestinationOptions">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">A container for origin destination option information.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="OriginDestinationOption" maxOccurs="999">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Holds the collection of flight options for this origin-destination pair.  There maybe limits imposed by individual supplier that are below the maximum occurrences for this element.</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="FlightSegment" maxOccurs="8">
                                                <xs:annotation>
                                                    <xs:documentation xml:lang="en">Details of the flight option for an origin destination pair.</xs:documentation>
                                                </xs:annotation>
                                                <xs:complexType>
                                                    <xs:annotation>
                                                        <xs:documentation xml:lang="en"> Flight segment information returned for an availability request including ancillary information. </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:complexContent>
                                                        <xs:extension base="FlightSegmentType">
                                                            <xs:sequence>
                                                                <xs:element name="TrafficRestrictionInfo" minOccurs="0" maxOccurs="99">
                                                                    <xs:annotation>
                                                                        <xs:documentation xml:lang="en">Traffic restriction information for a specific flight.</xs:documentation>
                                                                    </xs:annotation>
                                                                    <xs:complexType>
                                                                        <xs:simpleContent>
                                                                            <xs:extension base="FreeTextType">
                                                                                <xs:attribute name="Code" type="OTA_CodeType" use="optional">
                                                                                    <xs:annotation>
                                                                                        <xs:documentation xml:lang="en">The traffic restriction that applies to this flight segment. Refer to OTA code list TRC (Traffic Restriction Code).</xs:documentation>
                                                                                    </xs:annotation>
                                                                                </xs:attribute>
                                                                            </xs:extension>
                                                                        </xs:simpleContent>
                                                                    </xs:complexType>
                                                                </xs:element>
                                                                <xs:element name="Comment" type="FreeTextType" minOccurs="0" maxOccurs="10">
                                                                    <xs:annotation>
                                                                        <xs:documentation xml:lang="en">Any special comments on the leg. eg. operated by  XX. </xs:documentation>
                                                                    </xs:annotation>
                                                                </xs:element>
                                                                <xs:element name="MarketingCabin" type="MarketingCabinType" minOccurs="0" maxOccurs="9">
                                                                    <xs:annotation>
                                                                        <xs:documentation xml:lang="en">The airline specific branding for cabins.</xs:documentation>
                                                                    </xs:annotation>
                                                                </xs:element>
                                                                <xs:element name="BookingClassAvail" minOccurs="0" maxOccurs="99">
                                                                    <xs:annotation>
                                                                        <xs:documentation xml:lang="en">Booking codes available to be sold for a particular flight segment.</xs:documentation>
                                                                    </xs:annotation>
                                                                    <xs:complexType>
                                                                        <xs:sequence>
                                                                            <xs:element name="Meal" minOccurs="0" maxOccurs="5">
                                                                                <xs:annotation>
                                                                                    <xs:documentation xml:lang="en">The meal service for this booking class.</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                    <xs:attribute name="MealService" type="MealServiceType" use="required">
                                                                                        <xs:annotation>
                                                                                            <xs:documentation xml:lang="en">Used to designate a meal or beverage service.</xs:documentation>
                                                                                        </xs:annotation>
                                                                                    </xs:attribute>
                                                                                </xs:complexType>
                                                                            </xs:element>
                                                                        </xs:sequence>
                                                                        <xs:attributeGroup ref="BookingClassAvailabilityGroup" />
                                                                        <xs:attribute name="RPH" type="RPH_Type" use="optional">
                                                                            <xs:annotation>
                                                                                <xs:documentation xml:lang="en">RPH refers back to Marketing Cabin Type.</xs:documentation>
                                                                            </xs:annotation>
                                                                        </xs:attribute>
                                                                    </xs:complexType>
                                                                </xs:element>
                                                                <xs:element name="StopLocation" minOccurs="0" maxOccurs="9">
                                                                    <xs:annotation>
                                                                        <xs:documentation xml:lang="en">A location where the flight is scheduled to stop en route to its destination for this flight segment.</xs:documentation>
                                                                    </xs:annotation>
                                                                    <xs:complexType>
                                                                        <xs:attributeGroup ref="LocationGroup">
                                                                            <xs:annotation>
                                                                                <xs:documentation xml:lang="en">A location where the flight is scheduled to stop en route to its destination for this flight segment.</xs:documentation>
                                                                            </xs:annotation>
                                                                        </xs:attributeGroup>
                                                                    </xs:complexType>
                                                                </xs:element>
                                                            </xs:sequence>
                                                            <xs:attribute name="JourneyDuration" type="xs:duration" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The duration of the flight from departure location to destination location.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attributeGroup ref="SmokingIndicatorGroup">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">Specifies if the flight is smoking or not.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attributeGroup>
                                                            <xs:attribute name="OnTimeRate" type="Percentage" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">Specifies the Dept. of Transport on time rate of the  flight.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="Ticket" type="TicketType" default="Paper">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">Specifies if the flight is e-ticketable or not.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="ParticipationLevelCode" type="OTA_CodeType" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">To specify the level of participation by a vendor in another system. Refer to OTA Code List 'Participation Level Code' (PLC).</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="GroundDuration" type="xs:duration" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The duration of a ground stop.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="AccumulatedDuration" type="xs:duration" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The total duration time of the flight. This is the combination of both JourneyDuration and GroundDuration.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="Distance" type="xs:nonNegativeInteger" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">Miles acquired per flight segment, usually used for earning of frequent flyer miles.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="CodeshareInd" type="xs:boolean" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">When true, this flight is a codeshare flight.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="FlifoInd" type="xs:boolean" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">When true, FLIFO information exists for this flight.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="DateChangeNbr" type="xs:string" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">When present, contains the number of days by which the flight's arrival date differs from its departure date (e.g., +1, -1).</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="SequenceNumber" type="Numeric1to999" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">The sequence number of this flight segment with respect to all flight segments returned in the response.</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                        </xs:extension>
                                                    </xs:complexContent>
                                                </xs:complexType>
                                            </xs:element>
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SameAirportInd" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If true, the return departure must be from the same airport as the outbound arrival.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="RPH" type="RPH_Type" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Uniquely identifies this origin destination information.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
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)
OriginDestinationOptions nsA:OriginDestinationOptions (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
SameAirportInd nsA:SameAirportInd Optional
RPH nsA:RPH Optional
Collapse Derivation Tree: