Definition Type: ComplexType
Name: CommonPrefType
Containing Schema: OTA_CommonPrefs.xsd
Abstract
Documentation:
Identifies preferences for common travel needs not associated with a specific travel service.
Collapse XSD Schema Diagram:
Drilldown into TPA_Extensions in schema ota_commontypes_xsd Drilldown into EmployeeLevelInfo in schema ota_commonprefs_xsd Drilldown into ContactPref in schema ota_commonprefs_xsd Drilldown into RelatedTravelerPref in schema ota_commonprefs_xsd Drilldown into SpecRequestPref in schema ota_commonprefs_xsd Drilldown into LoyaltyPref in schema ota_commonprefs_xsd Drilldown into MealPref in schema ota_commonprefs_xsd Drilldown into PetInfoPref in schema ota_commonprefs_xsd Drilldown into MediaEntertainPref in schema ota_commonprefs_xsd Drilldown into TicketDistribPref in schema ota_commonprefs_xsd Drilldown into SeatingPref in schema ota_commonprefs_xsd Drilldown into InsurancePref in schema ota_commonprefs_xsd Drilldown into InterestPref in schema ota_commonprefs_xsd Drilldown into PaymentFormPref in schema ota_commonprefs_xsd Drilldown into AddressPref in schema ota_commonprefs_xsd Drilldown into PhonePref in schema ota_commonprefs_xsd Drilldown into NamePref in schema ota_commonprefs_xsd Drilldown into AltLangID in schema ota_commontypes_xsd1 Drilldown into AltLangID_Group in schema ota_commontypes_xsd Drilldown into PrimaryLangID in schema ota_commontypes_xsd1 Drilldown into PrimaryLangID_Group in schema ota_commontypes_xsd Drilldown into SmokingAllowed in schema ota_commontypes_xsd1 Drilldown into SmokingIndicatorGroup in schema ota_commontypes_xsd Drilldown into ShareMarketInd in schema ota_commontypes_xsd1 Drilldown into ShareSynchInd in schema ota_commontypes_xsd1 Drilldown into PrivacyGroup in schema ota_commontypes_xsdXSD Diagram of CommonPrefType in schema ota_commonprefs_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="CommonPrefType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Identifies preferences for common travel needs not associated with a specific travel service.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="NamePref" type="NamePrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for name information.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="PhonePref" type="PhonePrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for telephone information.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="AddressPref" type="AddressPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for address information.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="PaymentFormPref" type="PaymentFormPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for form of payment.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="InterestPref" type="InterestPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for a traveler's interests.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="InsurancePref" type="InsurancePrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for insurance.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="SeatingPref" type="SeatingPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for seating.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="TicketDistribPref" type="TicketDistribPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for a method of ticket distribution.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="MediaEntertainPref" type="MediaEntertainPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for media and entertainment.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="PetInfoPref" type="PetInfoPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for pet information.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="MealPref" type="MealPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for food and beverage.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="LoyaltyPref" type="LoyaltyPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for a loyalty program.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="SpecRequestPref" type="SpecRequestPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for a special request.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="RelatedTravelerPref" type="RelatedTravelerPrefType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">Enables a preference to be indicated for a related traveler.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="ContactPref" minOccurs="0" maxOccurs="99">
            <xs:annotation>
                <xs:documentation>The traveller's preferred means of being contacted.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attribute name="PreferLevel" type="PreferLevelType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Level of preference for this method of being contacted.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ContactMethodCode" type="OTA_CodeType" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Method of contact. Refer to OpenTravel Code List DistributionType (DTB).</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
        <xs:element name="EmployeeLevelInfo" type="EmployeeInfoType" minOccurs="0">
            <xs:annotation>
                <xs:documentation>Defines the category of the traveler and the purpose of the trip for which these preferences apply. Typically used for company profiles. </xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element ref="TPA_Extensions" minOccurs="0" />
    </xs:sequence>
    <xs:attributeGroup ref="PrivacyGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Allows for control of the sharing of common preferences between parties.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="SmokingIndicatorGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Used to indicate if smoking is preferred.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="PrimaryLangID_Group">
        <xs:annotation>
            <xs:documentation xml:lang="en">Used to specify the preferred language.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="AltLangID_Group">
        <xs:annotation>
            <xs:documentation xml:lang="en">Used to specify the preferred alternate language.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
NamePref NamePref 0 unbounded
PhonePref PhonePref 0 unbounded
AddressPref AddressPref 0 unbounded
PaymentFormPref PaymentFormPref 0 unbounded
InterestPref InterestPref 0 unbounded
InsurancePref InsurancePref 0 unbounded
SeatingPref SeatingPref 0 unbounded
TicketDistribPref TicketDistribPref 0 unbounded
MediaEntertainPref MediaEntertainPref 0 unbounded
PetInfoPref PetInfoPref 0 unbounded
MealPref MealPref 0 unbounded
LoyaltyPref LoyaltyPref 0 unbounded
SpecRequestPref SpecRequestPref 0 unbounded
RelatedTravelerPref RelatedTravelerPref 0 unbounded
ContactPref ContactPref 0 99
EmployeeLevelInfo EmployeeLevelInfo 0 (1)
TPA_Extensions TPA_Extensions 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
ShareSynchInd ShareSynchInd Optional
ShareMarketInd ShareMarketInd Optional
SmokingAllowed SmokingAllowed false Optional
PrimaryLangID PrimaryLangID Optional
AltLangID AltLangID Optional
Collapse Derivation Tree:
  • CommonPrefType
    • Unresolved link to commonpref1
Collapse References:
Unresolved link to commonpref1