-
Notifications
You must be signed in to change notification settings - Fork 2
/
BaggageAllowanceRS.xsd
executable file
·286 lines (283 loc) · 13.8 KB
/
BaggageAllowanceRS.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
<?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"/>
<!--
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
B AG G A G E A L L O W A N C E R E S P O N S E B U S I N E S S O B J E C T
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-->
<xsd:element name="BaggageAllowanceRS">
<xsd:annotation>
<xsd:documentation source="DESCRIPTION" xml:lang="en">The BaggageAllowance transaction set provides checked and carry-on baggage allowance details. Request qualifiers may include Traveler, origin/ destination, point of sale, flight-specific and ticketed fare information.
The response returns the baggage allowance, whether or not IATA Reso 302 or DOT rules are applicable, baggage weight, dimensions and size information by origin/ destination pair. Implementers may also obtain an additional catalog of applicable embargoes and charges within the same origin and destination pair.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:sequence>
<xsd:element ref="Document"/>
<xsd:element name="Success" type="SuccessType">
<xsd:annotation>
<xsd:documentation>The presence of the empty Success element explicitly indicates that the message succeeded.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Warnings" type="WarningsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Used in conjunction with the Success element to define one or more business errors.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Processing" type="ProcessingResultType" minOccurs="0"/>
<xsd:element name="Parameters" type="BagAllowResParamsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Search Result 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="ShoppingResponseIDs" minOccurs="0"/>
<xsd:element name="OriginDestination" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Baggage Allowance by Origin/ Destination.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="DepartureCode"/>
<xsd:element ref="ArrivalCode"/>
<xsd:element ref="CheckedBags" minOccurs="0"/>
<xsd:element ref="CarryOnBags" minOccurs="0"/>
<xsd:element name="Services" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Service(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Service" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Service detail.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ServiceDetailType"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="USDOT" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">US Department of Transportation (DOT) Reservation or Disclosure Baggage Rule.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="BagDisclosureType">
<xsd:sequence>
<xsd:element ref="BagDisclosureKey" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="DataLists" type="DataListType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Data Lists(s).</xsd:documentation>
</xsd:annotation>
</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="BagAllowResMetadataType"/>
</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:sequence>
<xsd:element ref="Errors"/>
</xsd:sequence>
</xsd:choice>
<xsd:attributeGroup ref="IATA_PayloadStdAttributes"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="BagAllowResParamsType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Baggage Allowance Response Parameters definition.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="MessageParamsBaseType">
<xsd:sequence>
<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>When TRUE, fare information for one or more Offer Items has been returned from an auto-exchanging application.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="AwardIncludedInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>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>When TRUE, only award eligible offers/ fares have been returned.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SimpleInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation>When TRUE, Simple Pricing for flight offers has been applied.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BagAllowResMetadataType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Baggage Allowance Response 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="AircraftMetadatas"/>
<xsd:element ref="AirportMetadatas"/>
<xsd:element ref="CityMetadatas"/>
<xsd:element ref="CodesetMetadatas"/>
<xsd:element ref="ContactMetadatas"/>
<xsd:element ref="CountryMetadatas"/>
<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:element ref="AddressMetadatas"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>