Definition Type: Element
Name: TourCodeInfo
Containing Schema: OTA_AirPreferences.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Documentation:
Provides the tour code.
Collapse XSD Schema Diagram:
Drilldown into PartyID in schema ota_airpreferences_xsd1 Drilldown into PromotionVendorCode in schema ota_commontypes_xsd1 Drilldown into PromotionCode in schema ota_commontypes_xsd1 Drilldown into PromotionCodeGroup in schema ota_commontypes_xsd Drilldown into YearNum in schema ota_airpreferences_xsd1 Drilldown into TourTypeCode in schema ota_airpreferences_xsd1XSD Diagram of TourCodeInfo in schema ota_airpreferences_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
TourTypeCode TourTypeCode Optional
YearNum YearNum Optional
PromotionCode PromotionCode Optional
PromotionVendorCode PromotionVendorCode Optional
PartyID PartyID Optional