-
Notifications
You must be signed in to change notification settings - Fork 2
/
AirShoppingRQ.xsd
executable file
·587 lines (566 loc) · 28.4 KB
/
AirShoppingRQ.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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<?xml version="1.0" encoding="UTF-8"?>
<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="2.000" id="IATA2015.2">
<xsd:include schemaLocation="edist_commontypes.xsd"/>
<xsd:include schemaLocation="edist_structures.xsd"/>
<!--
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
A I R S H O P P I N G R E Q U E S T B U S I N E S S O B J E C T
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-->
<xsd:element name="AirShoppingRQ">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">The AirShopping transaction set supports both demanding and flexible shopping experiences for anonymous or personalized shopping.
The combination of functionally-rich attribute and affinity shopping support date range or specific month (calendar) shopping as an example.
The response returns offers which may include branded offers or itinerary-priced offers with or without ancillary services. It also returns applicable rules for the integrated fares as well as for each service.
The message also returns multi-media content at message level as well as media references at the individual offer 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="AirShopReqParamsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Parameters that influence overall message results.
Supported Parameter Groups: Inventory Guarantee (offer-associated); Service Filter (offer-associated); Pricing.
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:element name="CoreQuery" nillable="false">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Core Air Shopping information by supported Air Shopping Query type.
Shopping Query Input may be specified as:
1) Prior Shopping Session Basket
2) Attribute Shopping Query
3) Affinity Shopping Query</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="Affinity"/>
<xsd:element name="OriginDestinations" type="AirShopReqAttributeQueryType">
<xsd:annotation>
<xsd:documentation>ATTRIBUTE Query ORIGIN/ DESTINATION qualifiers and preferences.
Note:
1. An Attribute Query is a search specifying one or more attributes to get more focused results Note that this node only contains Origin/ Destination Airport/ City code information which are mandatory.
2. Other Attribute Query parameters that may be specified (in other document nodes) include Aircraft Equipment preferences, Seat types and characteristics, Meal preferences and Special Need qualifiers.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="FlightSpecific"/>
<xsd:element ref="ShoppingResponseIDs"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element name="Qualifiers" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Traveler requested qualifiers to influence search results (e.g. offers and/ or offer pricing), including Payment Card, Programs, Promotions, Social Media, Special Fares and Special Needs.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Qualifier" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Qualifier choices.
Notes:
1. These qualifiers may be specified for (e.g. apply to) both Attribute and Affinity queries.
2. These capabilities may not be supported by all NDC-enabled systems or may be supported by bilateral agreement only. If supported, the technical implementation of the capability is not dictated by this specification. </xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="BaggagePricingQualifier"/>
<xsd:element ref="ExistingOrderQualifier"/>
<xsd:element ref="PaymentCardQualifiers"/>
<xsd:element ref="ProgramQualifiers"/>
<xsd:element ref="PromotionQualifiers"/>
<xsd:element ref="SeatQualifier"/>
<xsd:element ref="ServiceQualifier"/>
<xsd:element ref="SocialMediaQualifiers"/>
<xsd:element ref="SpecialFareQualifiers"/>
<xsd:element ref="SpecialNeedQualifiers"/>
<xsd:element ref="TripPurposeQualifier"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Preferences" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Shopping Preference(s), including Airline Supplier, Alliance Program, Fare, Flight and Transfer/ Connection Points.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Preference" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Preference choices.
Notes:
1. These preferences may be specified for (e.g. apply to) both Attribute and Affinity queries.
2. These capabilities may not be supported by all NDC-enabled systems or may be supported by bilateral agreement only. If supported, the technical implementation of the capability is not dictated by this specification. </xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="AirlinePreferences"/>
<xsd:element ref="AlliancePreferences"/>
<xsd:element ref="FarePreferences"/>
<xsd:element ref="FlightPreferences"/>
<xsd:element ref="PricingMethodPreference"/>
<xsd:element ref="SegMaxTimePreferences"/>
<xsd:element ref="ServicePricingOnlyPreference"/>
<xsd:element ref="TransferPreferences"/>
<xsd:element ref="CabinPreferences"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Metadata" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Metadata List(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AirShopReqMetadataType"/>
</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="AirShopReqMetadataType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Air Shopping 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="AddressMetadatas"/>
<xsd:element ref="AircraftMetadatas"/>
<xsd:element ref="AirportMetadatas"/>
<xsd:element ref="CityMetadatas"/>
<xsd:element ref="CodesetMetadatas"/>
<xsd:element ref="ContactMetadatas"/>
<xsd:element ref="CurrencyMetadatas"/>
<xsd:element ref="DescriptionMetadatas"/>
<xsd:element ref="EquivalentID_Metadatas"/>
<xsd:element ref="LanguageMetadatas"/>
<xsd:element ref="PaymentCardMetadatas"/>
<xsd:element ref="PaymentFormMetadatas"/>
<xsd:element ref="PriceMetadatas"/>
<xsd:element ref="RuleMetadatas"/>
<xsd:element ref="StateProvMetadatas"/>
<xsd:element ref="ZoneMetadatas"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AirShopReqParamsType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">A data type for Air Shopping Request Message Parameters.
Notes:
1. Derived from MessageParamsBaseType.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="MessageParamsBaseType">
<xsd:sequence>
<xsd:element name="Inventory" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Inventory guarantee for Offers in search results.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="GuaranteeInd" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, inventory guarantee is requested for applicable Optional Services.
Note: This capability may not be supported by all NDC-enabled systems or may be supported by bilateral agreement only. If supported, the technical implementation of this capability is not dictated by this specification. </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<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:element name="Group" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Group-related Offer Information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="PrimaryContact" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!--
===================================================
=== S H O P P I N G Q U E R Y T Y P E
===================================================-->
<xsd:element name="Affinity" type="AirShopReqAffinityQueryType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">AFFINITY QUERY Qualifiers and Preferences.
Notes:
1. An affinity search is a wide search defining a range of criteria including:
-Origin/ Destination Location: Airport/ City, State/ Province, Reference Point (includes Search Proximity.) Note that one instance of Departure (origin) location must be specified, but Arrival (destination) is optional as it may be calculated by the airline and returned in priced flight offers.
-Trip Time Periods: Date Range, Season (include with minimum and maximum day qualifiers)
-Travel Budget: Per Person, Per Group
-Keyword Value pairs may be used to specify a variety of affinity qualifiers, such as Climate, Activity, and Point of Interest.
-Trip Travel Time, Duration
2. 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:complexType name="AirShopFlightSpecificType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">AirShopReq Business Object: FLIGHT SPECIFIC definition.</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element name="FlightSegment" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>FlighSegment information. Contains details flight segment information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Departure"/>
<xsd:element ref="Arrival"/>
<xsd:element name="MarketingAirline" type="MarketingCarrierFlightType">
<xsd:annotation>
<xsd:documentation>Marketing Carrier information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="OperatingAirline" type="OperatingCarrierFlightType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Operating Carrier information.
Note: This is the carrier that holds the Air Operator’s Certificate for the aircraft used for that flight.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="SegmentKey" type="xsd:int" use="required">
<xsd:annotation>
<xsd:documentation>A globally unique identifier for this Flight Segment instance. Example: segment1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="Flight" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Flight information. Flight can be made of one to multiple FlightSegment elements. For example Flight can be made of flight segment BA123 and BA34.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Journey" type="TotalJourneyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Flight journey information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="SegmentReferences"/>
</xsd:sequence>
<xsd:attributeGroup ref="ObjAssociationAttrGroup"/>
<xsd:attribute name="FlightKey" type="KeyIdentifier">
<xsd:annotation>
<xsd:documentation>A globally unique identifier for this Flight instance. Example: flight1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element ref="OriginDestination" maxOccurs="unbounded"/>
<xsd:element ref="ShoppingResponseIDs" minOccurs="0"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="AirShopReqAttributeQueryType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">A data type for AirShopReq Business Object: ATTRIBUTE QUERY definition.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="OriginDestination" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Flight origin/ destination information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AssociatedObjectBaseType">
<xsd:sequence>
<xsd:element ref="Departure">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">FLIGHT DEPARTURE (ORIGIN).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="Arrival">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">FLIGHT ARRIVAL (DESTINATION).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="SegMaxTimePreferences" minOccurs="0"/>
<xsd:element ref="ShoppingResponseIDs" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Flight-related shopping response IDs, including the unique (master) Shopping Session ID, Offer IDs, Offer Item IDs and Service IDs.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="MarketingCarrierAirline" minOccurs="0"/>
<xsd:element name="CalendarDates" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Indicates a calendar search request with days before and/or days after the specified date.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="DaysBefore" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Number of days befiore the specified date.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DaysAfter" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Number of days after the specified date.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="OriginDestinationKey">
<xsd:annotation>
<xsd:documentation>A globally unique identifier for this OriginDestination instance. Example: origDest1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AirShopReqAffinityQueryType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">AirShopReq Business Object: AFFINITY QUERY definition.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="OriginDestination" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Flight origin/ destination information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AssociatedObjectBaseType">
<xsd:sequence>
<xsd:element ref="AirportCityDeparture" minOccurs="0"/>
<xsd:element ref="CountryDeparture" minOccurs="0"/>
<xsd:element ref="ReferencePointDeparture" minOccurs="0"/>
<xsd:element ref="StateProvDeparture" minOccurs="0"/>
<xsd:element ref="AirportCityArrival" minOccurs="0"/>
<xsd:element ref="CountryArrival" minOccurs="0"/>
<xsd:element ref="ReferencePointArrival" minOccurs="0"/>
<xsd:element ref="StateProvArrival" minOccurs="0"/>
<xsd:element ref="SegMaxTimePreferences" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element ref="StayPeriodDateRange" minOccurs="0"/>
<xsd:element ref="StayPeriodSeason" minOccurs="0"/>
<xsd:element ref="TripDistance" minOccurs="0"/>
<xsd:element ref="TripTime" minOccurs="0"/>
<xsd:element name="Budget" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Trip Budget.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="GroupBudget"/>
<xsd:element ref="PerPersonBudget"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element name="KeywordPreferences" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Affinity Query Keyword(s) with optional preference level.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="KeywordPreference" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Keyword/ Value Search Criteria.
Note: Keyword-Value pairs may be used to specify a variety of affinity qualifiers, such as Climate, Activity, and Point of Interest.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="KeyWordType">
<xsd:attributeGroup ref="PreferenceAttrGroup"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element ref="ShoppingResponseIDs" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Attribute" type="AirShopReqAttributeQueryType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">ATTRIBUTE Query ORIGIN/ DESTINATION qualifiers and preferences.
Note:
1. An Attribute Query is a search specifying one or more attributes to get more focused results Note that this node only contains Origin/ Destination Airport/ City code information which are mandatory.
2. Other Attribute Query parameters that may be specified (in other document nodes) include Aircraft Equipment preferences, Seat types and characteristics, Meal preferences and Special Need qualifiers.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FlightSpecific" type="AirShopFlightSpecificType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">FLIGHT SPECIFIC QUERY Qualifiers and Preferences.
Notes:
1. A flight specific search is a search for fares for specific listed flights only.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!---->
</xsd:schema>