<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage" elementFormDefault="qualified"
           version="11.002" xmlns:cns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes"
           xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage"
           id="IATA2021.3.4">
    <xs:import namespace="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes"
               schemaLocation="IATA_OffersAndOrdersCommonTypes.xsd"/>
    <xs:element name="IATA_OrderHistoryRS">
        <xs:annotation>
            <xs:documentation>The OrderHistory transaction set requests the transaction history and audit trail for a specified Order. Note
                that this transaction is only available to the order creation requestor.
            </xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:choice minOccurs="1" maxOccurs="1">
                    <xs:element name="Error" type="cns:ErrorType" minOccurs="1" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>Contains information related to errors detected during processing of the preceding request.
                            </xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Response" type="cns:OrderHistoryResponseType" minOccurs="1" maxOccurs="1">
                        <xs:annotation>
                            <xs:documentation>Order History RS response information.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:choice>
                <xs:element name="AugmentationPoint" type="cns:AugmentationPointType" minOccurs="0" maxOccurs="1">
                    <xs:annotation>
                        <xs:documentation>Implementer-Augmented Structure.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="DistributionChain" type="cns:DistributionChainType" minOccurs="0" maxOccurs="1">
                    <xs:annotation>
                        <xs:documentation>An instance of a distribution channel. That is, the set of organizations involved in the
                            development of the current transaction.
                        </xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="PayloadAttributes" type="cns:IATA_PayloadStandardAttributesType" minOccurs="0" maxOccurs="1">
                    <xs:annotation>
                        <xs:documentation>IATA standard payload attributes</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>
