Definition Type: Element
Name: TravelPreferences
Namespace: http://www.opentravel.org/OTA/2003/05
Type: AirSearchPrefsType
Containing Schema: OTA_AirFareDisplayRQ.xsd
MinOccurs 0
MaxOccurs (1)
Abstract
Documentation:
Contains travel preference information.
Collapse XSD Schema Diagram:
Drilldown into GlobalIndicatorPref in schema ota_airfaredisplayrq_xsd Drilldown into PricingPrefs in schema ota_airfaredisplayrq_xsd Drilldown into BookingClassPref in schema ota_airfaredisplayrq_xsd Drilldown into FareAccessTypePref in schema ota_airfaredisplayrq_xsd Drilldown into FareTypePref in schema ota_airfaredisplayrq_xsd Drilldown into FareApplicationTypePref in schema ota_airfaredisplayrq_xsd Drilldown into TicketDistribPref in schema ota_airpreferences_xsd Drilldown into CabinPref in schema ota_airpreferences_xsd Drilldown into EquipPref in schema ota_airpreferences_xsd Drilldown into FareRestrictPref in schema ota_airpreferences_xsd Drilldown into FlightTypePref in schema ota_airpreferences_xsd Drilldown into VendorPref in schema ota_airpreferences_xsd Drilldown into End in schema ota_commontypes_xsd1 Drilldown into Duration in schema ota_commontypes_xsd1 Drilldown into Start in schema ota_commontypes_xsd1 Drilldown into DateTimeSpanGroup in schema ota_commontypes_xsd1 Drilldown into MaxStopsQuantity in schema ota_airpreferences_xsd1 Drilldown into ETicketDesired in schema ota_airpreferences_xsd1 Drilldown into OnTimeRate in schema ota_airpreferences_xsd1 Drilldown into SmokingAllowed in schema ota_commontypes_xsd1 Drilldown into SmokingIndicatorGroup in schema ota_commontypes_xsd1 Drilldown into AirSearchPrefsType in schema ota_airpreferences_xsd Drilldown into ReqFareLoadDateInd in schema ota_airfaredisplayrq_xsd Drilldown into HistoricalFareInfoDate in schema ota_airfaredisplayrq_xsd Drilldown into TicketDesignatorCode in schema ota_airfaredisplayrq_xsd Drilldown into DistributorInfoInd in schema ota_airfaredisplayrq_xsdXSD Diagram of TravelPreferences in schema ota_airfaredisplayrq_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="TravelPreferences" minOccurs="0">
    <xs:annotation>
        <xs:documentation xml:lang="en">Contains travel preference information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:complexContent>
            <xs:extension base="AirSearchPrefsType">
                <xs:sequence>
                    <xs:element name="FareApplicationTypePref" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Indicates the journey type for which fares are required e.g. OneWay, Return, HalfReturn </xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="FareApplicationType" type="FareApplicationType" use="required">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The journey type for which fares are required can be OneWay, Return or HalfReturn</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="PreferLevel" type="PreferLevelType" use="optional" />
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="FareTypePref" minOccurs="0" maxOccurs="5">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Indicates the type of fare required e.g. unrestricted, excursion etc.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attributeGroup ref="FareTypePrefGroup">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The type of fare preferred and the preference level for this fare type.</xs:documentation>
                                </xs:annotation>
                            </xs:attributeGroup>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="FareAccessTypePref" minOccurs="0" maxOccurs="5">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Indicates the fare calculation type e.g. (PointToPoint, Through, Joint, Private)</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="NegotiatedFareCodes" minOccurs="0">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Container for multiple negotiated fare codes</xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="NegotiatedFareCode" maxOccurs="99">
                                                <xs:annotation>
                                                    <xs:documentation xml:lang="en">Account code required to access fares</xs:documentation>
                                                </xs:annotation>
                                                <xs:complexType>
                                                    <xs:simpleContent>
                                                        <xs:extension base="xs:string">
                                                            <xs:attribute name="Code" type="StringLength1to16" use="required">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">Negotiated fare code to use when retrieving fare contracts</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                            <xs:attribute name="CodeContext" type="StringLength1to32" use="optional">
                                                                <xs:annotation>
                                                                    <xs:documentation xml:lang="en">Optional indicator to specify code list used</xs:documentation>
                                                                </xs:annotation>
                                                            </xs:attribute>
                                                        </xs:extension>
                                                    </xs:simpleContent>
                                                </xs:complexType>
                                            </xs:element>
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                            <xs:attribute name="FareAccess" type="FareAccessPrefType" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Fare calculation type (e.g. PointToPoint, Through, Joint, Private)</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="PreferLevel" type="PreferLevelType" use="optional" />
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="BookingClassPref" minOccurs="0" maxOccurs="5">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Booking Classes (RBD's) to include or exclude)</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="ResBookDesigCode" type="AlphaLength1to2" use="required">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The booking class code</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="PreferLevel" type="PreferLevelType" use="optional" />
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="PricingPrefs" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specify whether prices returned should include Taxes, ServicesFees</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="ExchangeRates" minOccurs="0">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Container for exchange rate elements </xs:documentation>
                                    </xs:annotation>
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="ExchangeRate" maxOccurs="10">
                                                <xs:annotation>
                                                    <xs:documentation xml:lang="en">Specify a particular exchange rate to use in the response.</xs:documentation>
                                                </xs:annotation>
                                                <xs:complexType>
                                                    <xs:attributeGroup ref="ExchangeRateGroup">
                                                        <xs:annotation>
                                                            <xs:documentation xml:lang="en">Group of attributes used to express an Exchange Rate between 2 currencies</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:attributeGroup>
                                                </xs:complexType>
                                            </xs:element>
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                            <xs:attribute name="IncludeTaxInd" type="xs:boolean" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">When true, response should include taxes.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="IncludeServiceFeesInd" type="xs:boolean" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">When true, response should include service fee information.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="OverrideCurrency" type="AlphaLength3" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Specifies the currency for pricing that overrides that in point of sale. Use ISO 4217, 3 alpha code.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="AlternateCurrency" type="AlphaLength3" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Specifies the alternate currency for pricing other than that in point of sale or the override currency. Use ISO 4217, 3 alpha code.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="IncludeBaseAmtInd" type="xs:boolean" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">If true, the base amount should be returned in the response.  If false, it does not need to be returned.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="MaxRateAmount" type="Money" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The maximum rate that a traveler is willing to pay.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="MaxCalculatedRateAmount" type="Money" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The maximum calculated rate that a traveler is willing to pay.
</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="CurrencyOption" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">May be used to specify why an override currency is being included.</xs:documentation>
                                </xs:annotation>
                                <xs:simpleType>
                                    <xs:restriction base="xs:NMTOKEN">
                                        <xs:enumeration value="FilingCurrency">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Display fares filed in a specific currency (i.e., the override currency).</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="ConvertToCurrency">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Convert fares to a specific currency
 (i.e., the override currency).</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="GlobalIndicatorPref" minOccurs="0" maxOccurs="5">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specify global direction preferences (e.g. AP- Atlantic Ocean, PA, Pacific Ocean etc.)</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="GlobalIndicatorCode" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">AP - Atlantic Ocean
PA - Pacific Ocean
WH - Western Hemisphere
EH - Eastern Hemisphere
PO - Polar Route
TS - Trans Siberia Route
AP - Atlantic/Pacific Round-the-World</xs:documentation>
                                </xs:annotation>
                                <xs:simpleType>
                                    <xs:restriction base="xs:NMTOKEN">
                                        <xs:enumeration value="AT" />
                                        <xs:enumeration value="PA" />
                                        <xs:enumeration value="WH" />
                                        <xs:enumeration value="EH" />
                                        <xs:enumeration value="PO" />
                                        <xs:enumeration value="TS">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Trans Siberian.</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="AP">
                                            <xs:annotation>
                                                <xs:documentation xml:lang="en">Atlantic Pacific.</xs:documentation>
                                            </xs:annotation>
                                        </xs:enumeration>
                                        <xs:enumeration value="SP" />
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:attribute>
                            <xs:attribute name="CodeContext" type="StringLength1to32" use="optional" default="IATA">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The code list from which the global indicator code is valid</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="PreferLevel" type="PreferLevelType" use="optional" />
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="DistributorInfoInd" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en"> If true, the distributor information should be returned with the fare. </xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="TicketDesignatorCode" type="StringLength1to16" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Specifies that the fare being requested is for this ticket designator code.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="HistoricalFareInfoDate" type="DateOrDateTimeType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If the fare request is for a previously issued ticket, this is the date on which it was issued.
</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ReqFareLoadDateInd" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If true, the fare load date information is being requested.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
VendorPref VendorPref 0 99
FlightTypePref FlightTypePref 0 3
FareRestrictPref FareRestrictPref 0 4
EquipPref EquipPref 0 9
CabinPref CabinPref 0 3
TicketDistribPref TicketDistribPref 0 3
FareApplicationTypePref nsA:FareApplicationTypePref 0 (1)
FareTypePref nsA:FareTypePref 0 5
FareAccessTypePref nsA:FareAccessTypePref 0 5
BookingClassPref nsA:BookingClassPref 0 5
PricingPrefs nsA:PricingPrefs 0 (1)
GlobalIndicatorPref nsA:GlobalIndicatorPref 0 5
Collapse Child Attributes:
Name Type Default Value Use
SmokingAllowed SmokingAllowed false Optional
OnTimeRate OnTimeRate Optional
ETicketDesired ETicketDesired false Optional
MaxStopsQuantity MaxStopsQuantity Optional
Start Start Optional
Duration Duration Optional
End End Optional
DistributorInfoInd nsA:DistributorInfoInd Optional
TicketDesignatorCode nsA:TicketDesignatorCode Optional
HistoricalFareInfoDate nsA:HistoricalFareInfoDate Optional
ReqFareLoadDateInd nsA:ReqFareLoadDateInd Optional
Collapse Derivation Tree: