Definition Type: Element
Name: TravelPreferences
Namespace: http://www.opentravel.org/OTA/2003/05
Type: AirSearchPrefsType
Containing Schema: OTA_AirLowFareSearchRQ.xsd
MinOccurs 0
MaxOccurs 10
Abstract
Documentation:
Air Low Fare Search Request preference information.
Collapse XSD Schema Diagram:
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 OriginDestinationRPHs in schema ota_airlowfaresearchrq_xsd Drilldown into NoFareBreakIndicator in schema ota_airlowfaresearchrq_xsd Drilldown into FlexLevelIndicator in schema ota_airlowfaresearchrq_xsd Drilldown into FlexWeekendIndicator in schema ota_airlowfaresearchrq_xsd Drilldown into FlexDatePref in schema ota_airlowfaresearchrq_xsdXSD Diagram of TravelPreferences in schema ota_airlowfaresearchrq_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="TravelPreferences" minOccurs="0" maxOccurs="10">
    <xs:annotation>
        <xs:documentation xml:lang="en">Air Low Fare Search Request preference information.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:complexContent>
            <xs:extension base="AirSearchPrefsType">
                <xs:attribute name="FlexDatePref" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">To specify which portions of the journey the date is flexible.</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="Outbound">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Date is flexible on the outbound portion.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                            <xs:enumeration value="Return">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Date is flexible on the return portion.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                            <xs:enumeration value="Both">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Date is flexible on the entire journey.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="FlexWeekendIndicator" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If true, days before or after the weekend day should be searched.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="FlexLevelIndicator" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If true, eligible for widest flex searches.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="NoFareBreakIndicator" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">If true, no fare breaks in the itinerary apart from the turn point should be considered.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="OriginDestinationRPHs" type="ListOfRPH" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Refers to specific origin destination information within this request message.</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
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
FlexDatePref nsA:FlexDatePref Optional
FlexWeekendIndicator nsA:FlexWeekendIndicator Optional
FlexLevelIndicator nsA:FlexLevelIndicator Optional
NoFareBreakIndicator nsA:NoFareBreakIndicator Optional
OriginDestinationRPHs nsA:OriginDestinationRPHs Optional
Collapse Derivation Tree: