forked from jeevanpingali/ndc-xsd-162
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AirDocRefundRS.xsd
216 lines (216 loc) · 10.8 KB
/
AirDocRefundRS.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
<?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"/>
<!--
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
A I R D O C U M E N T R E F U N D 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="AirDocRefundRS">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">The AirDocRefund transaction set requests an Airline to refund, part refund (or void if not reported) flight (ET) and/or ancillary (EMD) document(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Document"/>
<xsd:choice>
<xsd:sequence>
<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="Response">
<xsd:annotation>
<xsd:documentation>Query Results.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="AirDocRefundProcessing" minOccurs="0"/>
<xsd:element name="TicketDocInfos" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Ticket/ document information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TicketDocInfo" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Ticket/document detail.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Traveler" type="CouponTravelerDetailType">
<xsd:annotation>
<xsd:documentation>Traveler information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AgentIDs" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Booking and Servicing Agent information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="AgentID" maxOccurs="2"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element ref="IssuingAirlineInfo" minOccurs="0"/>
<xsd:element ref="BookingReferences" minOccurs="0"/>
<xsd:element name="Payments" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Payment information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Payment" type="AcceptedPaymentFormType" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Payment detail.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="OriginDestination" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Origin and Destination Airport/ City.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Origin" type="AirportCitySimpleType">
<xsd:annotation>
<xsd:documentation>The origin city code.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Destination" type="AirportCitySimpleType">
<xsd:annotation>
<xsd:documentation>The destination city code.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="EndorsementText" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Endorsement/ Restriction text.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="[0-9a-zA-Z]{1,70}"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AddlReferenceIDs" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional Reference information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="AddlReferenceID" maxOccurs="5"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="FareInfo" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Fare Information</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="BaseFare" minOccurs="0" maxOccurs="3"/>
<xsd:element ref="EquivFare" minOccurs="0" maxOccurs="3"/>
<xsd:element ref="Total" minOccurs="0" maxOccurs="3"/>
<xsd:element name="Taxes" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Fare Tax information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="TaxDetailType"/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element ref="UnstructuredFareCalcInfo" minOccurs="0" maxOccurs="3"/>
<xsd:element ref="FareInfo" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element ref="TicketDocument" maxOccurs="4"/>
<xsd:element name="OrderReference" type="CouponOrderKeyType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Associated Order ID(s) information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Commission" type="CommissionType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Commission information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="CarrierFeeInfo" minOccurs="0"/>
<xsd:element ref="OriginalIssueInfo" minOccurs="0"/>
<xsd:element ref="PricingInfo" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:element ref="Errors"/>
</xsd:choice>
</xsd:sequence>
<xsd:attributeGroup ref="IATA_PayloadStdAttributes"/>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="AirDocRefundResProcessType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Air Doc Refund Response Message Processing.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Alerts" minOccurs="0"/>
<xsd:element ref="Notices" minOccurs="0"/>
<xsd:element ref="MarketingMessages" minOccurs="0"/>
<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="ObjAssociationAttrGroup"/>
<xsd:attribute name="AlertInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, processing alerts have been generated and the Alerts node should be parsed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="MarketingInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, supplemental marketing information has been generated and the Notifications/ MarketingMessage node should be parsed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="WarningInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, business warnings have been generated and the Notification/Warning node should be parsed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="NoticeInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">When TRUE, notices have been generated and the Notifications/Notice node should be parsed.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="AirDocRefundProcessing" type="AirDocRefundResProcessType">
<xsd:annotation>
<xsd:documentation>Transaction Processing Results, including processing status, payload content notifices, , business warnings and supplemental marketing messages.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>