<xs:attributeGroup name="DiscountPricingGroup">
<xs:annotation>
<xs:documentation xml:lang="en">The information needed for applying a discount to a fare.</xs:documentation>
</xs:annotation>
<xs:attribute name="Purpose" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Used to specify the purpose of the discount pricing.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Airline">
<xs:annotation>
<xs:documentation xml:lang="en">The discount pricing is from the airline.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Custom">
<xs:annotation>
<xs:documentation xml:lang="en">The discount pricing is a custom discount.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies the type of amount being sent.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Amount">
<xs:annotation>
<xs:documentation xml:lang="en">The discount is an amount.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Percent">
<xs:annotation>
<xs:documentation xml:lang="en">The discount is a percentage.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PlusUpAmount">
<xs:annotation>
<xs:documentation xml:lang="en">A discount on an international fare that is not a stored fare.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Usage" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Used to specify how the discount is to be applied.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Plus">
<xs:annotation>
<xs:documentation xml:lang="en">The discount being applied is an increase to the fare.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Minus">
<xs:annotation>
<xs:documentation xml:lang="en">The discount being applied is subtracted from the fare.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Discount" type="MoneyOrPercentageType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The monetary amount or percentage of discount that should be applied.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="TicketDesignatorCode" type="StringLength1to16" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies the code applicable to the fare that is being discounted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Text" type="StringLength1to128" use="optional" />
</xs:attributeGroup>
|