Definition Type: ComplexType
Name: CustomerLoyalty
Namespace: http://www.opentravel.org/OTM/finance/v3
Containing Schema: Finance_3_0_0.xsd
Abstract
Documentation:
Program rewarding frequent use by accumulating credits for services provided by vendors. Program rewarding frequent use by accumulating credits for services provided by vendors.
Collapse XSD Schema Diagram:
Drilldown into ExtensionPoint in schema otm_builtins_xsd Drilldown into VendorCode in schema finance_3_0_0_xsd Drilldown into Privacy in schema finance_3_0_0_xsd Drilldown into TravelSector in schema finance_3_0_0_xsd Drilldown into primaryLoyaltyIndicatorInd in schema finance_3_0_0_xsd Drilldown into expireDateExclusiveIndicatorInd in schema finance_3_0_0_xsd Drilldown into expireDate in schema finance_3_0_0_xsd Drilldown into effectiveDate in schema finance_3_0_0_xsd Drilldown into signupDate in schema finance_3_0_0_xsd Drilldown into singleVendorInd in schema finance_3_0_0_xsd Drilldown into loyalLevelCode in schema finance_3_0_0_xsd Drilldown into loyalLevel in schema finance_3_0_0_xsd Drilldown into password in schema finance_3_0_0_xsd Drilldown into customerValue in schema finance_3_0_0_xsd Drilldown into customerType in schema finance_3_0_0_xsd Drilldown into allianceLoyaltyLevelName in schema finance_3_0_0_xsd Drilldown into membershipID in schema finance_3_0_0_xsd Drilldown into programID in schema finance_3_0_0_xsd Drilldown into id in schema finance_3_0_0_xsdXSD Diagram of CustomerLoyalty in schema finance_3_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="CustomerLoyalty">
    <xsd:annotation>
        <xsd:documentation source="Description">Program rewarding frequent use by accumulating credits for services provided by vendors.</xsd:documentation>
        <xsd:documentation source="Description">Program rewarding frequent use by accumulating credits for services provided by vendors.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">CustomerLoyalty</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element minOccurs="0" name="TravelSector" type="ota2-0300:TravelSector_Enum">
            <xsd:annotation>
                <xsd:documentation source="Description">Identifies the travel sector. Refer to OpenTravel Code List Travel Sector (TVS).</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}OTA_CodeType</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">TravelSector</otm:Equivalent>
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="Privacy" type="ota2-0400:Privacy">
            <xsd:annotation>
                <xsd:documentation source="Description">Permission for sharing data for synchronization of information held by other travel service providers.</xsd:documentation>
                <xsd:documentation source="Implementer">LocalAnonymousType: CustomerLoyaltyGroup_ShareSynchInd</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ShareSynchInd</otm:Equivalent>
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="VendorCode" type="ota2-0400:Code">
            <xsd:annotation>
                <xsd:documentation source="Description">Indicate the partner(s)/vendor(s) for which the customer loyalty number is valid.</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}ListOfStringLength1to8</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">VendorCode</otm:Equivalent>
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2:ExtensionPoint" />
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:ID" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">A reference placeholder for this loyalty membership.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}RPH_Type</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RPH</otm:Equivalent>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="programID" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Identifier to indicate the company owner of the loyalty program.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to16</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ProgramID</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2342</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="membershipID" type="ota2-0400:StringTiny" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Unique identifier of the member in the program (membership number, account number, etc.).</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to32</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">MembershipID</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">30293837653</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="allianceLoyaltyLevelName" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Name of the alliance loyalty level (e.g.,OneWorld  uses Emerald, Ruby, etc and SkyTeam uses Elite, etc.)</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to128</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">AllianceLoyaltyLevelName</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Emerald</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="customerType" type="ota2-0400:StringTiny" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Original assessment of the customer by the travel agent.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to8</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">CustomerType</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Businessman</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="customerValue" type="ota2-0400:StringTiny" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">The supplier&amp;apos;s ranking of the customer (e.g., VIP, numerical ranking).</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to8</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">CustomerValue</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">VIP</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="password" type="ota2-0400:StringTiny" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">The password for the member in the program.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to32</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Password</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Password1</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="loyalLevel" type="ota2-0400:StringTiny" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Indicates special privileges in program assigned to individual.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to16</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LoyalLevel</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Platinum</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="loyalLevelCode" type="xsd:positiveInteger" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Provides a numeric code assigned to a particular loyalty level.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}Numeric1to3</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LoyalLevelCode</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">5</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="singleVendorInd" type="fin-0300:SingleVendor_Enum" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Indicates if program is affiliated with a group of related offers accumulating credits.</xsd:documentation>
            <xsd:documentation source="Implementer">LocalAnonymousType: CustomerLoyaltyGroup_SingleVendorInd</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">SingleVendorInd</otm:Equivalent>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="signupDate" type="xsd:date" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Indicates when the member signed up for the loyalty program.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}date</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">SignupDate</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">1999-07-16</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="effectiveDate" type="xsd:date" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Indicates the starting date.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}date</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">EffectiveDate</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">1999-07-16</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="expireDate" type="xsd:date" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Indicates the ending date.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}date</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ExpireDate</otm:Equivalent>
                <otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2007-07-16</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="expireDateExclusiveIndicatorInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">When true, indicates that the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15  the last date of the period is Oct 14).</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="primaryLoyaltyIndicatorInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}boolean</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
TravelSector fin-0300:TravelSector 0 (1)
Privacy fin-0300:Privacy 0 (1)
VendorCode fin-0300:VendorCode 0 (1)
ExtensionPoint ota2:ExtensionPoint 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id fin-0300:id Optional
programID fin-0300:programID Optional
membershipID fin-0300:membershipID Optional
allianceLoyaltyLevelName fin-0300:allianceLoyaltyLevelName Optional
customerType fin-0300:customerType Optional
customerValue fin-0300:customerValue Optional
password fin-0300:password Optional
loyalLevel fin-0300:loyalLevel Optional
loyalLevelCode fin-0300:loyalLevelCode Optional
singleVendorInd fin-0300:singleVendorInd Optional
signupDate fin-0300:signupDate Optional
effectiveDate fin-0300:effectiveDate Optional
expireDate fin-0300:expireDate Optional
expireDateExclusiveIndicatorInd fin-0300:expireDateExclusiveIndicatorInd Optional
primaryLoyaltyIndicatorInd fin-0300:primaryLoyaltyIndicatorInd Optional
Collapse Derivation Tree:
Collapse References:
fin-0300:CustomerLoyalty