<xs:element name="LoyaltyRedemption">
<xs:annotation>
<xs:documentation xml:lang="en">Details of a loyalty redemption arrangement. This is normally miles or points. </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="LoyaltyCertificate" minOccurs="0" maxOccurs="9">
<xs:annotation>
<xs:documentation xml:lang="en">A certificate may be needed in order to redeem miles or points. Certificates may be used in combination with each other as part of a reservation.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="LoyaltyCertificateGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Identifies the loyalty scheme, programs and promotions within the scheme, membership reference, format of the certificate, the number of nights it can be used and its current status.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="LoyaltyCertificateNumberGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Identifies the Loyalty scheme, programs and promotions within the scheme, membership reference, form factor used by the certificate, the number of nights it can be used for and its current status.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attributeGroup ref="PromotionCodeGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Used to provide a promotion code of the loyalty redemption.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attribute name="RedemptionQuantity" type="xs:positiveInteger" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The quantity of loyalty units being redeemed.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|