Definition Type: Element
Name: TourCodePref
Containing Schema: OTA_AirPreferences.xsd
MinOccurs 0
MaxOccurs unbounded
Abstract
Documentation:
Provides the contract code for a negotiated fare.
Collapse XSD Schema Diagram:
Drilldown into StaffTourCodeInfo in schema ota_airpreferences_xsd1 Drilldown into TourCodeInfo in schema ota_airpreferences_xsd1 Drilldown into TransferAction in schema ota_airpreferences_xsd1 Drilldown into AirlineVendorPrefRPH in schema ota_airpreferences_xsd1 Drilldown into PassengerTypeCode in schema ota_airpreferences_xsd1XSD Diagram of TourCodePref in schema ota_airpreferences_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="TourCodePref" minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>Provides the contract code for a negotiated fare.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:choice>
            <xs:element name="TourCodeInfo">
                <xs:annotation>
                    <xs:documentation>Provides the tour code.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="TourTypeCode" type="StringLength1to8" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Type of tour (e.g., IT=inclusive Tour, BT= Bulk Tour, NR=Net Remit).</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="YearNum" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Last digit of the year of the tour code creation.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                            <xs:restriction base="xs:integer">
                                <xs:minInclusive value="0" />
                                <xs:maxInclusive value="9" />
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                    <xs:attributeGroup ref="PromotionCodeGroup">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Used to provide a promotion code and the associated vendor.</xs:documentation>
                        </xs:annotation>
                    </xs:attributeGroup>
                    <xs:attribute name="PartyID" type="StringLength1to8" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Identifier assigned to a tour group by the airline.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
            <xs:element name="StaffTourCodeInfo">
                <xs:annotation>
                    <xs:documentation>Provides a tour code for airline staff.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="StaffType" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Defines the type of staff covered by the TourCode.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                            <xs:restriction base="xs:NMTOKEN">
                                <xs:enumeration value="Current">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Staff currently employed (i.e., not retired)</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="Duty">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Staff travelling on duty (e.g., deadheading crew).</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="CabinCrew">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Cabin crew staff.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="Retired">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Retired staff.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="TechCrew">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Staff travelling as technical crew.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="UnaccompaniedFamilyMember">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Family travelling without the airline staff family member.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                                <xs:enumeration value="OtherAirlinePersonnel">
                                    <xs:annotation>
                                        <xs:documentation xml:lang="en">Personnel employed by another airline.</xs:documentation>
                                    </xs:annotation>
                                </xs:enumeration>
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                    <xs:attribute name="EmployeeID" type="StringLength1to16" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Identifier of the staff member.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="VendorCode" type="StringLength1to8" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The airline to which the EmployeeID is associated.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="Description" type="StringLength1to128" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Description of the staff tour code.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
        </xs:choice>
        <xs:attribute name="PassengerTypeCode" type="AlphaLength3" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Code used to indicate the type of traveler (e.g., ADT, CHD, INF, GRP).</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="AirlineVendorPrefRPH" type="ListOfRPH" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Reference to one or more airlines in AirlinePrefType/VendorPref.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="TransferAction" type="TransferActionType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">Indicates under what conditions this element will be transfered to the booking.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
TourCodeInfo TourCodeInfo (1) (1)
StaffTourCodeInfo StaffTourCodeInfo (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
PassengerTypeCode PassengerTypeCode Optional
AirlineVendorPrefRPH AirlineVendorPrefRPH Optional
TransferAction TransferAction Optional