Definition Type: Element
Name: StaffTourCodeInfo
Containing Schema: OTA_AirPreferences.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Documentation:
Provides a tour code for airline staff.
Collapse XSD Schema Diagram:
Drilldown into Description in schema ota_airpreferences_xsd1 Drilldown into VendorCode in schema ota_airpreferences_xsd1 Drilldown into EmployeeID in schema ota_airpreferences_xsd1 Drilldown into StaffType in schema ota_airpreferences_xsd1XSD Diagram of StaffTourCodeInfo in schema ota_airpreferences_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
StaffType StaffType Optional
EmployeeID EmployeeID Optional
VendorCode VendorCode Optional
Description Description Optional