forked from jeevanpingali/ndc-xsd-162
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrderHistoryNotif.xsd
273 lines (269 loc) · 13.6 KB
/
OrderHistoryNotif.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
<?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"/>
<!---->
<!--
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
O R D E R H I S T O R Y N O T I F R E Q U E S T B U S I N E S S O B J E C T
= / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / = / =
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-->
<xsd:element name="OrderHistoryNotif">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">The OrderHistoryNotif transaction set sends an unsolicited order history change notification message. The Acknowledgement message may be returned to acknowledge receipt of the notification request.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Document"/>
<xsd:element ref="Party"/>
<xsd:element name="Query">
<xsd:annotation>
<xsd:documentation>Order History Notification.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Actions">
<xsd:annotation>
<xsd:documentation>Order Action(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Action" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Order Action.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ActionType">
<xsd:annotation>
<xsd:documentation>Order Action. Examples: Cancel, Create, Update, Delete, Reissue, Reprice</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="OrderItemActionListType">
<xsd:attribute name="Context" type="ContextSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>Action Type Context.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Date" type="xsd:date">
<xsd:annotation>
<xsd:documentation>Action Date.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Entity">
<xsd:annotation>
<xsd:documentation>Entity that performed the action.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="EntityID" type="UniqueStringID_SimpleType">
<xsd:annotation>
<xsd:documentation>Entity ID. Examples: ABC123, jsmith</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Name" type="ProperNameSimpleType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Entity Name. Examples: Carson Travel, Jane Smith</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="TransactionType" type="ProperNameSimpleType">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Transaction Type. Example: OrderCreate</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Details" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Order Action Details.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Commission" type="CommissionType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Commission information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Group" type="GroupType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Group Information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="OrderItems" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Order Item(s).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OrderItem" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Order Item detail.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="BaggageItem"/>
<xsd:element ref="FlightItem"/>
<xsd:element ref="SeatItem"/>
<xsd:element ref="OtherItem"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Passengers" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Passenger Information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Passenger" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Passenger Detail.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Name">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Passenger Name information.
Note: Detailed Name information, such as prefix, title and suffix, are specified in PassengerMetadata.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Surname">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Family (last or sur) name. Example: SMITH</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="ProperNameSimpleType">
<xsd:attributeGroup ref="ObjAssociationAttrGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Given" minOccurs="0" maxOccurs="5">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Family (first or given) name. Example: JOHN</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="ProperNameSimpleType">
<xsd:attributeGroup ref="ObjAssociationAttrGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Middle" minOccurs="0" maxOccurs="3">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Middle name or initial. Examples: G, GEORGE</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="ObjAssociationAttrGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="ObjectPolicyMetaAttrGroup"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="ProfileID" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Agent customer profile ID.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="ObjAssociationAttrGroup"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<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="OrderPaymentMethodType" 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="TotalOrderPrice" type="DetailCurrencyPriceType" minOccurs="0">
<xsd:annotation>
<xsd:documentation source="description" xml:lang="en">Total Order Price. Example: 3400 USD
Note: This is a sub-total of all associated Order Item prices.</xsd:documentation>
<xsd:documentation source="Capability" xml:lang="en">Currency, Redemption and Partial Pricing</xsd:documentation>
</xsd:annotation>
</xsd:element>
<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 information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<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="TicketDocument" maxOccurs="4"/>
<xsd:element ref="CarrierFeeInfo" minOccurs="0"/>
<xsd:element ref="OriginalIssueInfo" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="IATA_PayloadStdAttributes"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>