forked from jeevanpingali/ndc-xsd-162
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FlightPriceRQ.xsd
323 lines (319 loc) · 15.2 KB
/
FlightPriceRQ.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2014 rel. 2 sp1 (x64) (http://www.altova.com) by JRT (JR Technologies, Inc.) -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.iata.org/IATA/EDIST" targetNamespace="http://www.iata.org/IATA/EDIST" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.000" id="IATA2016.2">
<xsd:include schemaLocation="edist_commontypes.xsd"/>
<xsd:include schemaLocation="edist_structures.xsd"/>
<!--
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
F L I G H T P R I C E R E Q U E S T B U S I N E S S O B J E C T
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-->
<xsd:element name="FlightPriceRQ">
<xsd:annotation>
<xsd:documentation source="DESCRIPTION" xml:lang="en">The FlightPrice transaction set may return two different sets of content. Based on request attributes, the response may initially provide additional a la carte ancillary services that are applicable and available for the selected offer.
If no ancillary services are available, the message returns a final pricing. If ancillary services are available, the modified pricing request includes selected services and returns a final pricing that includes service(s) selection. The response message also returns multi-media content at the message level with media references at the service level.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="PointOfSale" minOccurs="0"/>
<xsd:element ref="Document"/>
<xsd:element ref="Party"/>
<xsd:element name="Parameters" type="FltPriceReqParamsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Parameters that influence overall message results.
Note: These capabilities may not be supported by all NDC-enabled systems or may be supported by bilateral agreement only. The technical implementation of this capability is not dictated by this specification. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="Travelers"/>
<xsd:sequence>
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Choice between entering:
1) Cached Shopping Offer IDs
2) Detailed Flight Pricing Parameters</xsd:documentation>
</xsd:annotation>
<xsd:element ref="ShoppingResponseID" minOccurs="0"/>
<xsd:element name="Query" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="Description" xml:lang="en">Core Flight Pricing query parameters.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element name="OriginDestination" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Origin and Destination.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="FlightType"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Offers">
<xsd:annotation>
<xsd:documentation>Airline Offers.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Offer" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Offer Details.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OfferID" type="ItemID_Type">
<xsd:annotation>
<xsd:documentation>Globally unique Offer instance ID. It is not recommended to exceed 64, and it is not recommended to use dashes. Example: QWASZXERDFCVTYGHBNUIJKNMF67D5F9GHR567SWER41SD458F9456FMDIRTN34DF</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="OfferItemIDs">
<xsd:annotation>
<xsd:documentation>Offer items.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="OfferItemID" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:element ref="Preference" minOccurs="0"/>
<xsd:element ref="Qualifier" minOccurs="0"/>
<xsd:element name="JourneyData" type="ItineraryType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Existing Flight Itinerary Information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="InExchangeForTicket" type="TicketAutoExchangeType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Auto Exchange information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="DataLists" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Data Lists(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="DataListType"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Metadata" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Metadata List(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="FltPriceReqMetadataType"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element ref="Policies" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Message Policy information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="IATA_PayloadStdAttributes"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="FltPriceReqParamsType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">A data type for Flight Price Request Message Parameters.
Notes: Derived from MessageParamsBaseType.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="MessageParamsBaseType">
<xsd:sequence>
<xsd:element name="ServiceFilters" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Group and subgroup code(s) that specify the requested categories of Optional Services to be returned in the results.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AssociatedObjectBaseType">
<xsd:sequence>
<xsd:element name="ServiceFilter" type="ServiceFilterType" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Service group and subgroup code(s).</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Pricing" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Pricing Parameters, including Simple Pricing, Award Travel, Auto Exchange, Override Currency and Fee Exemption.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OverrideCurrency" type="CurrencySimpleType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Requested override currency code for pricing.
Example: EUR</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FeeExemption" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Fee exemption application for Offer pricing.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AssociatedObjectBaseType">
<xsd:sequence>
<xsd:element name="Fee" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Exemption(s) based on tax codes plus (optional) tax types within a tax code.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Code">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Exempt tax code.
Example: YQ/YR</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="CollectionPoint" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Airport code location for exempt ZP or XF taxes.
Example: MIA</xsd:documentation>
<xsd:documentation source="ENCODING" xml:lang="en">For maximum interoperability, it is recommended that IATA (three character) Airport/ City Code values be used. Use an IATA code or a proprietary string value.
http://www.iata.org/publications/Pages/code-search.aspx</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="TaxType" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Tax type(s) within the tax code. Examples: I, C</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="ObjAssociationAttrGroup"/>
</xsd:complexType>
</xsd:element>
<xsd:element ref="CountryCode" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="ProvinceCode" type="ProperNameSimpleType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Exempt province(s).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="GovernmentBody" type="ProperNameSimpleType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Entity name.</xsd:documentation>
<xsd:documentation source="Guidelines" xml:lang="en">=notes=:
1. This must be provided for certain exemptions in the Canadian market.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="AutoExchangeInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, this request is to be handled by an auto-exchange process.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="AwardIncludedInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, award eligible in addition to priced offers and fares is requested.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="AwardOnlyInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, only award eligible offers/ fares are requested.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SimpleInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, Simple Pricing for flight offers is requested.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FltPriceReqMetadataType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Flight Price Request Metadata definition.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Shopping" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Shopping Query-Related Metadata.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="ShopMetadataGroup"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Traveler" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Traveler Metadata List(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="TravelerMetadata"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Other" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Other Metadata Lists(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OtherMetadata" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Other Metadata List.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="ZoneMetadatas"/>
<xsd:element ref="StateProvMetadatas"/>
<xsd:element ref="RuleMetadatas"/>
<xsd:element ref="PriceMetadatas"/>
<xsd:element ref="PaymentFormMetadatas"/>
<xsd:element ref="PaymentCardMetadatas"/>
<xsd:element ref="LanguageMetadatas"/>
<xsd:element ref="EquivalentID_Metadatas"/>
<xsd:element ref="DescriptionMetadatas"/>
<xsd:element ref="CurrencyMetadatas"/>
<xsd:element ref="CountryMetadatas"/>
<xsd:element ref="ContentMetadatas"/>
<xsd:element ref="CodesetMetadatas"/>
<xsd:element ref="CityMetadatas"/>
<xsd:element ref="AirportMetadatas"/>
<xsd:element ref="AircraftMetadatas"/>
<xsd:element ref="AddressMetadatas"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>