<xsd:complexType name="LoyaltyCertificate">
<xsd:annotation>
<xsd:documentation source="Description">Identifies the Loyalty Program, membership, form factor used by the certificate and its current status.</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LoyaltyCertificate</otm:OTA2Entity>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">LoyaltyCertificateGroup</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2:Empty">
<xsd:attribute name="iD" type="xsd:ID" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.</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">ID</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2398379983749</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="iD_Context" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Identifies the source of the code that identifies program or promotion within a loyalty scheme.</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">ID_Context</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Marriott Rewards</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="certificateNumber" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The loyalty redemption certificate identifier.</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">CertificateNumber</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">90374638372</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="memberNumber" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Unique identifier of 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">MemberNumber</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">283746397988</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="programName" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">This identifies the loyalty program.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ProgramName</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Marriott Rewards</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">0901</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">1022</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="numberOfNights" type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The number of accommodation nights that are covered by this certificate.</xsd:documentation>
<xsd:documentation source="Implementer">Changed type from {http://www.w3.org/2001/XMLSchema}nonNegativeInteger.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">NmbrOfNights</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">3</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="format" type="fin-0300:LoyaltyCertificateFormat_Enum" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Indicates what form the certificate is in e.g. Paper or Electronic.</xsd:documentation>
<xsd:documentation source="Implementer">LocalAnonymousType: LoyaltyCertificateGroup_Format</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Format</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" />
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="status" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Used to define the status of the certificate e.g. Available, Voided, Cancelled, Reserved, Used.</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">Status</otm:Equivalent>
<otm:Example context="fin" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Available</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expireDateExclusiveInd" 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:extension>
</xsd:simpleContent>
</xsd:complexType>
|