Definition Type: AttributeGroup
Name: LoyaltyCertificateGroup
Containing Schema: OTA_CommonTypes.xsd
Documentation:
Identifies the Loyalty Program, membership, form factor used by the certificate and its current status
Collapse XSD Schema Diagram:
Drilldown into Status in schema ota_commontypes_xsd1 Drilldown into Format in schema ota_commontypes_xsd1 Drilldown into NmbrOfNights in schema ota_commontypes_xsd1 Drilldown into ExpireDateExclusiveIndicator in schema ota_commontypes_xsd1 Drilldown into ExpireDate in schema ota_commontypes_xsd1 Drilldown into EffectiveDate in schema ota_commontypes_xsd1 Drilldown into EffectiveExpireOptionalDateGroup in schema ota_commontypes_xsd Drilldown into ProgramName in schema ota_commontypes_xsd1 Drilldown into MemberNumber in schema ota_commontypes_xsd1 Drilldown into CertificateNumber in schema ota_commontypes_xsd1 Drilldown into LoyaltyCertificateNumberGroup in schema ota_commontypes_xsd Drilldown into ID_Context in schema ota_commontypes_xsd1 Drilldown into ID in schema ota_commontypes_xsd1 Drilldown into ID_OptionalGroup in schema ota_commontypes_xsdXSD Diagram of LoyaltyCertificateGroup in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:attributeGroup name="LoyaltyCertificateGroup">
    <xs:annotation>
        <xs:documentation xml:lang="en">Identifies the Loyalty Program, membership, form factor used by the certificate and its current status</xs:documentation>
    </xs:annotation>
    <xs:attributeGroup ref="ID_OptionalGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Identifies the individual program or promotion within a loyalty scheme</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attribute name="ID_Context" type="StringLength1to32" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Identifies the source of the code that identifies program or promotion within a loyalty scheme</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="LoyaltyCertificateNumberGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Identifies the unique certificate number and the loyalty program and the membership ID associated with this certificate</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="EffectiveExpireOptionalDateGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Identifies either the date range when the Certificate is valid or the dates against which the certificate is being applied</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attribute name="NmbrOfNights" type="xs:nonNegativeInteger" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The number of nights of the hotel stay that are used to calculate the redemption amount.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Format" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Indicates what form the certificate is in e.g. Paper or Electronic</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="Paper" />
                <xs:enumeration value="Electronic" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Status" type="StringLength1to16" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Used to define the status of the certificate e.g. Available, Voided, Cancelled, Reserved, Used.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:attributeGroup>
Collapse Child Attributes:
Name Type Default Value Use
ID ID Optional
ID_Context ID_Context Optional
CertificateNumber CertificateNumber Optional
MemberNumber MemberNumber Optional
ProgramName ProgramName Optional
EffectiveDate EffectiveDate Optional
ExpireDate ExpireDate Optional
ExpireDateExclusiveIndicator ExpireDateExclusiveIndicator Optional
NmbrOfNights NmbrOfNights Optional
Format Format Optional
Status Status Optional