<xs:schema xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.opentravel.org/OTA/2003/05" elementFormDefault="qualified" version="9.000" id="OTA2017B">
<xs:annotation>
<xs:documentation source="Description" xml:lang="en">ALL SCHEMA FILES IN THE OPENTRAVEL ALLIANCE SPECIFICATION ARE MADE AVAILABLE ACCORDING TO THE TERMS DEFINED BY THE OPENTRAVEL LICENSE AGREEMENT AT http://www.opentravel.org/Specifications/Default.aspx.</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="OTA_AirCommonTypes.xsd"/>
<xs:element name="OTA_AirBookRS">
<xs:annotation>
<xs:documentation xml:lang="en">The Book Response message contains the itinerary, passenger and pricing information sent in the request, along with a Booking reference number (PNR Locator) and ticketing information if the booking was successful. This message contains similar information to a standard airline CRS or GDS Display PNR message.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:sequence maxOccurs="2">
<xs:element name="Success" type="SuccessType">
<xs:annotation>
<xs:documentation xml:lang="en"> Standard way to indicate successful processing of an OpenTravel message. Returning an empty element of this type indicates success.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Warnings" type="WarningsType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en"> Standard way to indicate successful processing of an OpenTravel message, but one in which warnings are generated.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AirReservation" minOccurs="0" maxOccurs="9">
<xs:annotation>
<xs:documentation xml:lang="en">Contains all booking response information pertaining to a completed reservation.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="AirReservationType">
<xs:sequence>
<xs:element name="Offer" type="AirOfferChoiceType" minOccurs="0">
<xs:annotation>
<xs:documentation source="Description" xml:lang="en">Merchandising offer information.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="CreateDateTime" type="DateOrDateTimeType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Provides the original PNR creation date/time.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:element name="Errors" type="ErrorsType">
<xs:annotation>
<xs:documentation xml:lang="en"> A collection of errors that occurred during the processing of a message.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="Cancel" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en"> AWG to revisit. </xs:documentation>
<xs:documentation xml:lang="en">
<LegacyDefaultValue>false</LegacyDefaultValue>
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="OTA_PayloadStdAttributes">
<xs:annotation>
<xs:documentation xml:lang="en"> The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel messages.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attribute name="PriceInd" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">When true, pricing was requested along with the booking.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
|