Definition Type: ComplexType
Name: LoyaltyProgram
Namespace: http://www.opentravel.org/OTM/Common/v4
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Membership ID that is assigned to an individual. Membership ID that is assigned to an individual. Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength0to32 Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength0to32
Collapse XSD Schema Diagram:
Drilldown into ExtensionPoint in schema otm_builtins_xsd Drilldown into TravelSector in schema common_4_0_0_xsd Drilldown into ProgramCode in schema common_4_0_0_xsd Drilldown into primaryInd in schema common_4_0_0_xsd Drilldown into loyaltyLevel in schema common_4_0_0_xsd Drilldown into id in schema common_4_0_0_xsdXSD Diagram of LoyaltyProgram in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="LoyaltyProgram">
    <xsd:annotation>
        <xsd:documentation source="Description">Membership ID that is assigned to an individual.</xsd:documentation>
        <xsd:documentation source="Description">Membership ID that is assigned to an individual.</xsd:documentation>
        <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength0to32</xsd:documentation>
        <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength0to32</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LoyaltyProgram</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element minOccurs="0" name="ProgramCode" type="ota2-0400:Code">
            <xsd:annotation>
                <xsd:documentation source="Description">Identification of the loyalty program by code.</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to16</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ProgramCode</otm:Equivalent>
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="TravelSector" type="ota2-0300:TravelSector_Enum">
            <xsd:annotation>
                <xsd:documentation source="Description">Identifies the travel sector for the loyalty program.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2:ExtensionPoint" />
    </xsd:sequence>
    <xsd:attribute name="id" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Membership ID that is assigned to an individual.</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="loyaltyLevel" 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://chameleon.anonymous/ns}StringLength1to16</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LoyaltyLevel</otm:Equivalent>
                <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Platinum</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="primaryInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">When true, indicates this is the primary loyalty program and when absent or false, indicates this is not the primary loyalty program.</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
ProgramCode ota2-0400:ProgramCode 0 (1)
TravelSector ota2-0400:TravelSector 0 (1)
ExtensionPoint ota2:ExtensionPoint 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id ota2-0400:id Optional
loyaltyLevel ota2-0400:loyaltyLevel Optional
primaryInd ota2-0400:primaryInd Optional
Collapse Derivation Tree:
Collapse References:
ota2-0400:LoyaltyProgram