ups-ruby 0.14.1 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ups="http://www.ups.com/XMLSchema" elementFormDefault="qualified">
3
- <xsd:element name="AccessRequest">
4
- <xsd:complexType>
5
- <xsd:sequence>
6
- <xsd:element name="AccessLicenseNumber" type="xsd:string"/>
7
- <xsd:element name="UserId" type="xsd:string"/>
8
- <xsd:element name="Password" type="xsd:string"/>
9
- </xsd:sequence>
10
- </xsd:complexType>
11
- </xsd:element>
2
+ <xsd:schema xmlns:ups="http://www.ups.com/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="201601">
12
3
  <xsd:element name="ShipmentAcceptRequest">
13
4
  <xsd:complexType>
14
5
  <xsd:sequence>
@@ -21,16 +12,14 @@
21
12
  <xsd:sequence>
22
13
  <xsd:sequence>
23
14
  <xsd:element name="RequestAction" type="xsd:string"/>
24
-
25
- <xsd:element minOccurs="0" name="TransactionReference" type="TransactionReferenceType"/>
15
+ <xsd:element name="SubVersion" type="xsd:string" minOccurs="0"/>
16
+ <xsd:element name="TransactionReference" type="TransactionReferenceType" minOccurs="0"/>
26
17
  </xsd:sequence>
27
18
  </xsd:sequence>
28
19
  </xsd:complexType>
29
20
  <xsd:complexType name="TransactionReferenceType">
30
21
  <xsd:sequence>
31
- <xsd:element minOccurs="0" name="CustomerContext" type="xsd:string"/>
32
-
33
-
22
+ <xsd:element name="CustomerContext" type="xsd:string" minOccurs="0"/>
34
23
  </xsd:sequence>
35
24
  </xsd:complexType>
36
25
  </xsd:schema>
@@ -1,361 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ups="http://www.ups.com/XMLSchema" elementFormDefault="qualified">
3
- <xsd:element name="InternationalForms" type="InternationalFormsType"/>
4
- <xsd:complexType name="InternationalFormsType">
5
- <xsd:sequence>
6
- <xsd:element name="FormType" type="xsd:string" maxOccurs="unbounded"/>
7
- <xsd:element name="UserCreatedForm" type="UserCreatedFormType" minOccurs="0"/>
8
- <xsd:element name="CN22Form" type="CN22FormType" minOccurs="0"/>
9
- <xsd:element name="UPSPremiumCareForm" type="UPSPremiumCareFormType" minOccurs="0"/>
10
- <xsd:element name="AdditionalDocumentIndicator" type="xsd:string" minOccurs="0"/>
11
- <xsd:element name="FormGroupIdName" type="xsd:string" minOccurs="0"/>
12
- <xsd:element name="SEDFilingOption" type="xsd:string" minOccurs="0"/>
13
- <xsd:element name="Contacts" type="ContactsType" minOccurs="0"/>
14
- <xsd:element name="Product" type="ProductType" maxOccurs="unbounded"/>
15
- <xsd:element ref="InvoiceNumber" minOccurs="0"/>
16
- <xsd:element name="InvoiceDate" type="xsd:string" minOccurs="0"/>
17
- <xsd:element name="PurchaseOrderNumber" type="xsd:string" minOccurs="0"/>
18
- <xsd:element ref="TermsOfShipment" minOccurs="0"/>
19
- <xsd:element ref="ReasonForExport" minOccurs="0"/>
20
- <xsd:element ref="Comments" minOccurs="0"/>
21
- <xsd:element ref="DeclarationStatement" minOccurs="0"/>
22
- <xsd:element name="Discount" type="DiscountType" minOccurs="0"/>
23
- <xsd:element name="FreightCharges" type="FreightChargesType" minOccurs="0"/>
24
- <xsd:element name="InsuranceCharges" type="InsuranceChargesType" minOccurs="0"/>
25
- <xsd:element name="OtherCharges" type="OtherChargesType" minOccurs="0"/>
26
- <xsd:element ref="CurrencyCode" minOccurs="0"/>
27
- <xsd:element name="BlanketPeriod" type="BlanketPeriodType" minOccurs="0"/>
28
- <xsd:element name="ExportDate" type="xsd:string" minOccurs="0"/>
29
- <xsd:element name="ExportingCarrier" type="xsd:string" minOccurs="0"/>
30
- <xsd:element ref="CarrierID" minOccurs="0"/>
31
- <xsd:element name="InBondCode" type="xsd:string" minOccurs="0"/>
32
- <xsd:element name="EntryNumber" type="xsd:string" minOccurs="0"/>
33
- <xsd:element name="PointOfOrigin" type="xsd:string" minOccurs="0"/>
34
- <xsd:element name="ModeOfTransport" type="xsd:string" minOccurs="0"/>
35
- <xsd:element name="PortOfExport" type="xsd:string" minOccurs="0"/>
36
- <xsd:element name="PortOfUnloading" type="xsd:string" minOccurs="0"/>
37
- <xsd:element name="LoadingPier" type="xsd:string" minOccurs="0"/>
38
- <xsd:element ref="PartiesToTransaction" minOccurs="0"/>
39
- <xsd:element name="RoutedExportTransactionIndicator" type="xsd:string" minOccurs="0"/>
40
- <xsd:element name="ContainerizedIndicator" type="xsd:string" minOccurs="0"/>
41
- <xsd:element name="License" type="LicenseType" minOccurs="0"/>
42
- <xsd:element name="ECCNNumber" type="xsd:string" minOccurs="0"/>
43
- <xsd:element name="ShipperMemo" type="xsd:string" minOccurs="0"/>
44
- <xsd:element name="OverridePaperlessIndicator" type="xsd:string" minOccurs="0"/>
45
- <xsd:element name="MultiCurrencyInvoiceLineTotal" type="xsd:string" minOccurs="0"/>
46
- <xsd:element name="PointOfOriginType" type="xsd:string" minOccurs="0"/>
47
- <xsd:element name="EEIFilingOption" type="EEIFilingOptionType" minOccurs="0"/>
48
- </xsd:sequence>
49
- </xsd:complexType>
50
- <xsd:complexType name="UPSPremiumCareFormType">
51
- <xsd:sequence>
52
- <xsd:element name="ShipmentDate" type="xsd:string"/>
53
- <xsd:element name="PageSize" type="xsd:string"/>
54
- <xsd:element name="PrintType" type="xsd:string"/>
55
- <xsd:element name="NumOfCopies" type="xsd:string"/>
56
- <xsd:element name="LanguageForUPSPremiumCare" type="LanguageForUPSPremiumCareType"/>
57
- </xsd:sequence>
58
- </xsd:complexType>
59
- <xsd:complexType name="LanguageForUPSPremiumCareType">
60
- <xsd:sequence>
61
- <xsd:element name="Language" type="xsd:string" maxOccurs="2"/>
62
- </xsd:sequence>
63
- </xsd:complexType>
64
- <xsd:complexType name="UserCreatedFormType">
65
- <xsd:sequence>
66
- <xsd:element name="DocumentID" type="xsd:string" maxOccurs="13"/>
67
- </xsd:sequence>
68
- </xsd:complexType>
69
- <xsd:complexType name="CN22FormType">
70
- <xsd:sequence>
71
- <xsd:element name="LabelSize" type="xsd:string" minOccurs="0"/>
72
- <xsd:element name="PrintsPerPage" type="xsd:string" minOccurs="0"/>
73
- <xsd:element name="LabelPrintType" type="xsd:string" minOccurs="0"/>
74
- <xsd:element name="CN22Type" type="xsd:string" minOccurs="0"/>
75
- <xsd:element name="CN22OtherDescription" type="xsd:string" minOccurs="0"/>
76
- <xsd:element name="FoldHereText" type="xsd:string" minOccurs="0"/>
77
- <xsd:element name="CN22Content" type="CN22ContentType" minOccurs="0" maxOccurs="3"/>
78
- </xsd:sequence>
79
- </xsd:complexType>
80
- <xsd:complexType name="CN22ContentType">
81
- <xsd:sequence>
82
- <xsd:element name="CN22ContentQuantity" type="xsd:string" minOccurs="0"/>
83
- <xsd:element name="CN22ContentDescription" type="xsd:string" minOccurs="0"/>
84
- <xsd:element name="CN22ContentWeight" type="ProductWeightType" minOccurs="0"/>
85
- <xsd:element name="CN22ContentTotalValue" type="xsd:string" minOccurs="0"/>
86
- <xsd:element name="CN22ContentCurrencyCode" type="xsd:string" minOccurs="0"/>
87
- <xsd:element name="CN22ContentCountryOfOrigin" type="xsd:string" minOccurs="0"/>
88
- <xsd:element name="CN22ContentTariffNumber" type="xsd:string" minOccurs="0"/>
89
- </xsd:sequence>
90
- </xsd:complexType>
91
- <xsd:element name="AddressLine1" type="xsd:string"/>
92
- <xsd:element name="AddressLine2" type="xsd:string"/>
93
- <xsd:element name="AddressLine3" type="xsd:string"/>
94
- <xsd:complexType name="AddressType">
95
- <xsd:sequence>
96
- <xsd:element ref="AddressLine1" minOccurs="0"/>
97
- <xsd:element ref="AddressLine2" minOccurs="0"/>
98
- <xsd:element ref="AddressLine3" minOccurs="0"/>
99
- <xsd:element ref="City" minOccurs="0"/>
100
- <xsd:element ref="StateProvinceCode" minOccurs="0"/>
101
- <xsd:element ref="PostalCode" minOccurs="0"/>
102
- <xsd:element ref="CountryCode"/>
103
- </xsd:sequence>
104
- </xsd:complexType>
105
- <xsd:element name="BeginDate" type="xsd:string"/>
106
- <xsd:complexType name="BlanketPeriodType">
107
- <xsd:sequence>
108
- <xsd:element ref="BeginDate"/>
109
- <xsd:element ref="EndDate"/>
110
- </xsd:sequence>
111
- </xsd:complexType>
112
- <xsd:element name="CarrierID" type="xsd:string"/>
113
- <xsd:element name="City" type="xsd:string"/>
114
- <xsd:complexType name="ContactsType">
115
- <xsd:sequence>
116
- <xsd:element name="ForwardAgent" type="ForwardAgentType" minOccurs="0"/>
117
- <xsd:element name="UltimateConsignee" type="UltimateConsigneeType" minOccurs="0"/>
118
- <xsd:element name="IntermediateConsignee" type="IntermediateConsigneeType" minOccurs="0"/>
119
- <xsd:element name="Producer" type="ProducerType" minOccurs="0"/>
120
- </xsd:sequence>
121
- </xsd:complexType>
122
- <xsd:element name="CompanyName" type="xsd:string"/>
123
- <xsd:element name="Code" type="xsd:string"/>
124
- <xsd:complexType name="CodeType">
125
- <xsd:sequence>
126
- <xsd:element ref="Code"/>
127
- <xsd:element ref="Description" minOccurs="0"/>
128
- </xsd:sequence>
129
- </xsd:complexType>
130
- <xsd:element name="CurrencyCode" type="xsd:string"/>
131
- <xsd:element name="CountryCode" type="xsd:string"/>
132
- <xsd:element name="Comments" type="xsd:string"/>
133
- <xsd:element name="CommodityCode" type="xsd:string"/>
134
- <xsd:element name="Date" type="xsd:string"/>
135
- <xsd:element name="DeclarationStatement" type="xsd:string"/>
136
- <xsd:element name="Description" type="xsd:string"/>
137
- <xsd:complexType name="DiscountType">
138
- <xsd:sequence>
139
- <xsd:element ref="MonetaryValue"/>
140
- </xsd:sequence>
141
- </xsd:complexType>
142
- <xsd:element name="EndDate" type="xsd:string"/>
143
- <xsd:element name="ExportDate" type="xsd:string"/>
144
- <xsd:element name="ExportingCarrier" type="xsd:string"/>
145
- <xsd:complexType name="ForwardAgentType">
146
- <xsd:sequence>
147
- <xsd:element ref="CompanyName" minOccurs="0"/>
148
- <xsd:element ref="TaxIdentificationNumber" minOccurs="0"/>
149
- <xsd:element name="Address" type="AddressType" minOccurs="0"/>
150
- </xsd:sequence>
151
- </xsd:complexType>
152
- <xsd:complexType name="FreightChargesType">
153
- <xsd:sequence>
154
- <xsd:element ref="MonetaryValue"/>
155
- </xsd:sequence>
156
- </xsd:complexType>
157
- <xsd:complexType name="InsuranceChargesType">
158
- <xsd:sequence>
159
- <xsd:element ref="MonetaryValue"/>
160
- </xsd:sequence>
161
- </xsd:complexType>
162
- <xsd:complexType name="IntermediateConsigneeType">
163
- <xsd:sequence>
164
- <xsd:element ref="CompanyName" minOccurs="0"/>
165
- <xsd:element name="Address" type="AddressType" minOccurs="0"/>
166
- </xsd:sequence>
167
- </xsd:complexType>
168
- <xsd:element name="InvoiceNumber" type="xsd:string"/>
169
- <xsd:complexType name="LicenseType">
170
- <xsd:sequence>
171
- <xsd:element ref="Number"/>
172
- <xsd:element ref="Date"/>
173
- <xsd:element name="ExceptionCode" type="xsd:string" minOccurs="0"/>
174
- </xsd:sequence>
175
- </xsd:complexType>
176
- <xsd:element name="MarksAndNumbers" type="xsd:string"/>
177
- <xsd:element name="MonetaryValue" type="xsd:string"/>
178
- <xsd:complexType name="NetCostDateRangeType">
179
- <xsd:sequence>
180
- <xsd:element ref="BeginDate"/>
181
- <xsd:element ref="EndDate"/>
182
- </xsd:sequence>
183
- </xsd:complexType>
184
- <xsd:element name="Number" type="xsd:string"/>
185
- <xsd:element name="NumberOfPackagesPerCommodity" type="xsd:string"/>
186
- <xsd:element name="OriginCountryCode" type="xsd:string"/>
187
- <xsd:complexType name="OtherChargesType">
188
- <xsd:sequence>
189
- <xsd:element ref="MonetaryValue"/>
190
- <xsd:element ref="Description" minOccurs="0"/>
191
- </xsd:sequence>
192
- </xsd:complexType>
193
- <xsd:element name="PartiesToTransaction" type="xsd:string"/>
194
- <xsd:element name="PartNumber" type="xsd:string"/>
195
- <xsd:complexType name="PhoneType">
196
- <xsd:sequence>
197
- <xsd:element name="Number" type="xsd:string"/>
198
- <xsd:element name="Extension" type="xsd:string" minOccurs="0"/>
199
- </xsd:sequence>
200
- </xsd:complexType>
201
- <xsd:element name="PostalCode" type="xsd:string"/>
202
- <xsd:complexType name="ProductType">
203
- <xsd:sequence>
204
- <xsd:element ref="Description" maxOccurs="unbounded"/>
205
- <xsd:element name="Unit" type="UnitType" minOccurs="0"/>
206
- <xsd:element ref="CommodityCode" minOccurs="0"/>
207
- <xsd:element ref="PartNumber" minOccurs="0"/>
208
- <xsd:element ref="OriginCountryCode" minOccurs="0"/>
209
- <xsd:element name="JointProductionIndicator" type="xsd:string" minOccurs="0"/>
210
- <xsd:element name="NetCostCode" type="xsd:string" minOccurs="0"/>
211
- <xsd:element name="NetCostDateRange" type="NetCostDateRangeType" minOccurs="0"/>
212
- <xsd:element name="PreferenceCriteria" type="xsd:string" minOccurs="0"/>
213
- <xsd:element name="ProducerInfo" type="xsd:string" minOccurs="0"/>
214
- <xsd:element ref="MarksAndNumbers" minOccurs="0"/>
215
- <xsd:element ref="NumberOfPackagesPerCommodity" minOccurs="0"/>
216
- <xsd:element name="ProductWeight" type="ProductWeightType" minOccurs="0"/>
217
- <xsd:element name="VehicleID" type="xsd:string" minOccurs="0"/>
218
- <xsd:element name="ScheduleB" type="ScheduleBType" minOccurs="0"/>
219
- <xsd:element name="ExportType" type="xsd:string" minOccurs="0"/>
220
- <xsd:element name="SEDTotalValue" type="xsd:string" minOccurs="0"/>
221
- <xsd:element name="ExcludeFromForm" type="ExcludeFromFormType" minOccurs="0"/>
222
- <xsd:element name="ProductCurrencyCode" type="xsd:string" minOccurs="0"/>
223
- <xsd:element name="PackingListInfo" type="PackingListInfoType" minOccurs="0"/>
224
- <xsd:element name="EEIInformation" type="EEIInformationType" minOccurs="0"/>
225
- </xsd:sequence>
226
- </xsd:complexType>
227
- <xsd:complexType name="ExcludeFromFormType">
228
- <xsd:sequence>
229
- <xsd:element name="FormType" type="xsd:string" maxOccurs="unbounded"/>
230
- </xsd:sequence>
231
- </xsd:complexType>
232
- <xsd:complexType name="ProducerType">
233
- <xsd:sequence>
234
- <xsd:element name="Option" type="xsd:string" minOccurs="0"/>
235
- <xsd:element ref="CompanyName" minOccurs="0"/>
236
- <xsd:element ref="TaxIdentificationNumber" minOccurs="0"/>
237
- <xsd:element name="Address" type="AddressType" minOccurs="0"/>
238
- <xsd:element name="AttentionName" type="xsd:string" minOccurs="0"/>
239
- <xsd:element name="Phone" type="PhoneType" minOccurs="0"/>
240
- <xsd:element name="EMailAddress" type="xsd:string" minOccurs="0"/>
241
- </xsd:sequence>
242
- </xsd:complexType>
243
- <xsd:complexType name="ProductWeightType">
244
- <xsd:sequence>
245
- <xsd:element ref="UnitOfMeasurement" minOccurs="0"/>
246
- <xsd:element ref="Weight"/>
247
- </xsd:sequence>
248
- </xsd:complexType>
249
- <xsd:element name="Quantity" type="xsd:string"/>
250
- <xsd:element name="ReasonForExport" type="xsd:string"/>
251
- <xsd:element name="StateProvinceCode" type="xsd:string"/>
252
- <xsd:complexType name="ScheduleBType">
253
- <xsd:sequence>
254
- <xsd:element ref="Number"/>
255
- <xsd:element ref="Quantity" minOccurs="0" maxOccurs="2"/>
256
- <xsd:element ref="UnitOfMeasurement" minOccurs="0" maxOccurs="2"/>
257
- </xsd:sequence>
258
- </xsd:complexType>
259
- <xsd:element name="TaxIdentificationNumber" type="xsd:string"/>
260
- <xsd:element name="TermsOfShipment" type="xsd:string"/>
261
- <xsd:complexType name="UltimateConsigneeType">
262
- <xsd:sequence>
263
- <xsd:element ref="CompanyName" minOccurs="0"/>
264
- <xsd:element name="Address" type="AddressType" minOccurs="0"/>
265
- <xsd:element name="UltimateConsigneeType" type="UltimateConsigneeTypeType" minOccurs="0"/>
266
- </xsd:sequence>
267
- </xsd:complexType>
268
- <xsd:complexType name="UnitType">
269
- <xsd:sequence>
270
- <xsd:element ref="Number"/>
271
- <xsd:element ref="Value"/>
272
- <xsd:element ref="UnitOfMeasurement"/>
273
- </xsd:sequence>
274
- </xsd:complexType>
275
- <xsd:complexType name="PackingListInfoType">
276
- <xsd:sequence>
277
- <xsd:element name="PackageAssociated" type="PackageAssociatedType" maxOccurs="unbounded"/>
278
- </xsd:sequence>
279
- </xsd:complexType>
280
- <xsd:complexType name="PackageAssociatedType">
281
- <xsd:sequence>
282
- <xsd:element name="PackageNumber" type="xsd:string" minOccurs="0"/>
283
- <xsd:element name="ProductAmount" type="xsd:string" minOccurs="0"/>
284
- </xsd:sequence>
285
- </xsd:complexType>
286
- <xsd:element name="UnitOfMeasurement" type="CodeType"/>
287
- <xsd:element name="Value" type="xsd:string"/>
288
- <xsd:element name="Weight" type="xsd:string"/>
289
- <xsd:complexType name="EEILicenseType">
290
- <xsd:sequence>
291
- <xsd:element name="Number" type="xsd:string" minOccurs="0"/>
292
- <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
293
- <xsd:element name="LicenseLineValue" type="xsd:string" minOccurs="0"/>
294
- <xsd:element name="ECCNNumber" type="xsd:string" minOccurs="0"/>
295
- </xsd:sequence>
296
- </xsd:complexType>
297
- <xsd:complexType name="EEIFilingOptionType">
298
- <xsd:sequence>
299
- <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
300
- <xsd:element name="EMailAddress" type="xsd:string" minOccurs="0"/>
301
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
302
- <xsd:element name="UPSFiled" type="UPSFiledType" minOccurs="0"/>
303
- <xsd:element name="ShipperFiled" type="ShipperFiledType" minOccurs="0"/>
304
- </xsd:sequence>
305
- </xsd:complexType>
306
- <xsd:complexType name="UPSFiledType">
307
- <xsd:sequence>
308
- <xsd:element name="POA" type="POAType"/>
309
- </xsd:sequence>
310
- </xsd:complexType>
311
- <xsd:complexType name="ShipperFiledType">
312
- <xsd:sequence>
313
- <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
314
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
315
- <xsd:element name="PreDepartureITNNumber" type="xsd:string" minOccurs="0"/>
316
- <xsd:element name="ExemptionLegend" type="xsd:string" minOccurs="0"/>
317
- </xsd:sequence>
318
- </xsd:complexType>
319
- <xsd:complexType name="EEIInformationType">
320
- <xsd:sequence>
321
- <xsd:element name="ExportInformation" type="xsd:string" minOccurs="0"/>
322
- <xsd:element name="License" type="EEILicenseType" minOccurs="0"/>
323
- <xsd:element name="DDTCInformation" type="DDTCInformationType" minOccurs="0"/>
324
- </xsd:sequence>
325
- </xsd:complexType>
326
- <xsd:complexType name="POAType">
327
- <xsd:sequence>
328
- <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
329
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
330
- </xsd:sequence>
331
- </xsd:complexType>
332
- <xsd:complexType name="UltimateConsigneeTypeType">
333
- <xsd:sequence>
334
- <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
335
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
336
- </xsd:sequence>
337
- </xsd:complexType>
338
- <xsd:complexType name="DDTCInformationType">
339
- <xsd:sequence>
340
- <xsd:element name="ITARExemptionNumber" type="xsd:string" minOccurs="0"/>
341
- <xsd:element name="USMLCategoryCode" type="xsd:string" minOccurs="0"/>
342
- <xsd:element name="EligiblePartyIndicator" type="xsd:string" minOccurs="0"/>
343
- <xsd:element name="RegistrationNumber" type="xsd:string" minOccurs="0"/>
344
- <xsd:element name="Quantity" type="xsd:string" minOccurs="0"/>
345
- <xsd:element name="UnitOfMeasurement" type="CodeType" minOccurs="0"/>
346
- <xsd:element name="SignificantMilitaryEquipmentIndicator" type="xsd:string" minOccurs="0"/>
347
- <xsd:element name="ACMNumber" type="xsd:string" minOccurs="0"/>
348
- </xsd:sequence>
349
- </xsd:complexType>
350
- <xsd:element name="AccessRequest">
351
- <xsd:complexType>
352
- <xsd:sequence>
353
- <xsd:element name="AccessLicenseNumber" type="xsd:string"/>
354
- <xsd:element name="UserId" type="xsd:string"/>
355
- <xsd:element name="Password" type="xsd:string"/>
356
- </xsd:sequence>
357
- </xsd:complexType>
358
- </xsd:element>
2
+ <xsd:schema xmlns:ups="http://www.ups.com/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="201801">
3
+ <xsd:include schemaLocation="IF.xsd"/>
359
4
  <xsd:element name="ShipmentConfirmRequest">
360
5
  <xsd:complexType>
361
6
  <xsd:sequence>
@@ -371,6 +16,7 @@
371
16
  <xsd:sequence>
372
17
  <xsd:element name="RequestAction" type="xsd:string"/>
373
18
  <xsd:element name="RequestOption" type="xsd:string" minOccurs="0"/>
19
+ <xsd:element name="SubVersion" type="xsd:string" minOccurs="0"/>
374
20
  <xsd:element name="TransactionReference" type="TransactionReferenceType" minOccurs="0"/>
375
21
  </xsd:sequence>
376
22
  </xsd:sequence>
@@ -405,14 +51,27 @@
405
51
  <xsd:element name="MILabelCN22Indicator" type="xsd:string" minOccurs="0"/>
406
52
  <xsd:element name="SubClassification" type="xsd:string" minOccurs="0"/>
407
53
  <xsd:element name="CostCenter" type="xsd:string" minOccurs="0"/>
54
+ <xsd:element name="CostCenterBarcodeIndicator" type="xsd:string" minOccurs="0"/>
408
55
  <xsd:element name="PackageID" type="xsd:string" minOccurs="0"/>
56
+ <xsd:element name="PackageIDBarcodeIndicator" type="xsd:string" minOccurs="0"/>
409
57
  <xsd:element name="IrregularIndicator" type="xsd:string" minOccurs="0"/>
410
58
  <xsd:element name="ShipmentServiceOptions" type="ShipmentServiceOptionsType" minOccurs="0"/>
411
59
  <xsd:element name="Package" type="PackageType" maxOccurs="unbounded"/>
412
- <xsd:element name="ItemizedChargesRequestedIndicator" type="xsd:string" minOccurs="0"/>
60
+ <xsd:element name="MIDualReturnShipmentKey" type="xsd:string" minOccurs="0"/>
61
+ <xsd:element name="MIDualReturnShipmentIndicator" type="xsd:string" minOccurs="0"/>
413
62
  <xsd:element name="RatingMethodRequestedIndicator" type="xsd:string" minOccurs="0"/>
414
63
  <xsd:element name="TaxInformationIndicator" type="xsd:string" minOccurs="0"/>
415
64
  <xsd:element name="ShipmentIndicationType" type="IndicationType" minOccurs="0" maxOccurs="unbounded"/>
65
+ <xsd:element name="PromotionalDiscountInformation" type="PromotionalDiscountInformationType" minOccurs="0"/>
66
+ <xsd:element name="DGSignatoryInfo" type="DGSignatoryInfoType" minOccurs="0"/>
67
+ <xsd:element name="MasterCartonID" type="xsd:string" minOccurs="0"/>
68
+ <xsd:element name="MasterCartonIndicator" type="xsd:string" minOccurs="0"/>
69
+ </xsd:sequence>
70
+ </xsd:complexType>
71
+ <xsd:complexType name="PromotionalDiscountInformationType">
72
+ <xsd:sequence>
73
+ <xsd:element name="PromoCode" type="xsd:string"/>
74
+ <xsd:element name="PromoAliasCode" type="xsd:string"/>
416
75
  </xsd:sequence>
417
76
  </xsd:complexType>
418
77
  <xsd:complexType name="ReturnServiceType">
@@ -624,6 +283,8 @@
624
283
  <xsd:sequence>
625
284
  <xsd:element name="NegotiatedRatesIndicator" type="xsd:string"/>
626
285
  <xsd:element name="RateChartIndicator" type="xsd:string"/>
286
+ <xsd:element name="TPFCNegotiatedRatesIndicator" type="xsd:string" minOccurs="0"/>
287
+ <xsd:element name="UserLevelDiscountIndicator" type="xsd:string" minOccurs="0"/>
627
288
  </xsd:sequence>
628
289
  </xsd:complexType>
629
290
  <xsd:complexType name="ReferenceNumberType">
@@ -648,9 +309,11 @@
648
309
  <xsd:complexType name="ShipmentServiceOptionsType">
649
310
  <xsd:sequence>
650
311
  <xsd:element name="SaturdayDelivery" type="xsd:string" minOccurs="0"/>
312
+ <xsd:element name="SaturdayPickupIndicator" type="xsd:string" minOccurs="0"/>
651
313
  <xsd:element name="COD" type="ShipmentServiceOptionsCODType" minOccurs="0"/>
652
314
  <xsd:element name="AccessPointCOD" type="ShipmentServiceOptionsAccessPointCODType" minOccurs="0"/>
653
315
  <xsd:element name="DeliverToAddresseeOnlyIndicator" type="xsd:string" minOccurs="0"/>
316
+ <xsd:element name="DirectDeliveryOnlyIndicator" type="xsd:string" minOccurs="0"/>
654
317
  <xsd:element name="Notification" type="ShipmentServiceOptionsNotificationType" minOccurs="0" maxOccurs="3"/>
655
318
  <xsd:element name="LabelDelivery" type="LabelDeliveryType" minOccurs="0"/>
656
319
  <xsd:element name="InternationalForms" type="InternationalFormsType" minOccurs="0"/>
@@ -667,6 +330,21 @@
667
330
  <xsd:element name="LiftGateForPickUpIndicator" type="xsd:string" minOccurs="0"/>
668
331
  <xsd:element name="LiftGateForDeliveryIndicator" type="xsd:string" minOccurs="0"/>
669
332
  <xsd:element name="SDLShipmentIndicator" type="xsd:string" minOccurs="0"/>
333
+ <xsd:element name="EPRAReleaseCode" type="xsd:string" minOccurs="0"/>
334
+ <xsd:element name="RestrictedArticles" type="RestrictedArticlesType" minOccurs="0"/>
335
+ <xsd:element name="InsideDelivery" type="xsd:string" minOccurs="0"/>
336
+ <xsd:element name="ItemDisposal" type="xsd:string" minOccurs="0"/>
337
+ </xsd:sequence>
338
+ </xsd:complexType>
339
+ <xsd:complexType name="RestrictedArticlesType">
340
+ <xsd:sequence>
341
+ <xsd:element name="DiagnosticSpecimensIndicator" type="xsd:string" minOccurs="0"/>
342
+ <xsd:element name="AlcoholicBeveragesIndicator" type="xsd:string" minOccurs="0"/>
343
+ <xsd:element name="PerishablesIndicator" type="xsd:string" minOccurs="0"/>
344
+ <xsd:element name="PlantsIndicator" type="xsd:string" minOccurs="0"/>
345
+ <xsd:element name="SeedsIndicator" type="xsd:string" minOccurs="0"/>
346
+ <xsd:element name="SpecialExceptionsIndicator" type="xsd:string" minOccurs="0"/>
347
+ <xsd:element name="TobaccoIndicator" type="xsd:string" minOccurs="0"/>
670
348
  </xsd:sequence>
671
349
  </xsd:complexType>
672
350
  <xsd:complexType name="PreAlertNotificationType">
@@ -699,12 +377,6 @@
699
377
  <xsd:element name="PhoneNumber" type="xsd:string"/>
700
378
  </xsd:sequence>
701
379
  </xsd:complexType>
702
- <xsd:complexType name="PickupDetailsContactInfoType">
703
- <xsd:sequence>
704
- <xsd:element name="Name" type="xsd:string"/>
705
- <xsd:element name="PhoneNumber" type="xsd:string" minOccurs="0"/>
706
- </xsd:sequence>
707
- </xsd:complexType>
708
380
  <xsd:complexType name="ShipmentServiceOptionsCODType">
709
381
  <xsd:sequence>
710
382
  <xsd:element name="CODCode" type="xsd:string"/>
@@ -777,11 +449,13 @@
777
449
  <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
778
450
  <xsd:element name="PackagingType" type="PackagingTypeType" minOccurs="0"/>
779
451
  <xsd:element name="Dimensions" type="DimensionsType" minOccurs="0"/>
452
+ <xsd:element name="DimWeight" type="PackageWeightType" minOccurs="0"/>
780
453
  <xsd:element name="PackageWeight" type="PackageWeightType" minOccurs="0"/>
781
454
  <xsd:element name="LargePackageIndicator" type="xsd:string" minOccurs="0"/>
782
455
  <xsd:element name="ReferenceNumber" type="ReferenceNumberType" minOccurs="0" maxOccurs="unbounded"/>
783
456
  <xsd:element name="AdditionalHandling" type="xsd:string" minOccurs="0"/>
784
457
  <xsd:element name="PackageServiceOptions" type="PackageServiceOptionsType" minOccurs="0"/>
458
+ <xsd:element name="HazMatPackageInformation" type="HazMatPackageInformationType" minOccurs="0"/>
785
459
  </xsd:sequence>
786
460
  </xsd:complexType>
787
461
  <xsd:complexType name="PackagingTypeType">
@@ -819,8 +493,13 @@
819
493
  <xsd:element name="VerbalConfirmation" type="VerbalConfirmationType" minOccurs="0"/>
820
494
  <xsd:element name="ShipperReleaseIndicator" type="xsd:string" minOccurs="0"/>
821
495
  <xsd:element name="Notification" type="PackageServiceOptionsNotificationType" minOccurs="0"/>
496
+ <xsd:element name="HazMat" type="HazMatType" minOccurs="0" maxOccurs="3"/>
822
497
  <xsd:element name="DryIce" type="DryIceType" minOccurs="0"/>
823
498
  <xsd:element name="UPSPremiumCareIndicator" type="xsd:string" minOccurs="0"/>
499
+ <xsd:element name="ProactiveIndicator" type="xsd:string" minOccurs="0"/>
500
+ <xsd:element name="PackageIdentifier" type="xsd:string" minOccurs="0"/>
501
+ <xsd:element name="ClinicalTrialsID" type="xsd:string" minOccurs="0"/>
502
+ <xsd:element name="RefrigerationIndicator" type="xsd:string" minOccurs="0"/>
824
503
  </xsd:sequence>
825
504
  </xsd:complexType>
826
505
  <xsd:complexType name="PackageServiceOptionsDeliveryConfirmationType">
@@ -898,6 +577,7 @@
898
577
  <xsd:element name="LabelStockSize" type="LabelStockSizeType" minOccurs="0"/>
899
578
  <xsd:element name="LabelImageFormat" type="LabelImageFormatCodeDescriptionType"/>
900
579
  <xsd:element name="Instruction" type="InstructionCodeDescriptionType" minOccurs="0" maxOccurs="unbounded"/>
580
+ <xsd:element name="CharacterSet" type="xsd:string" minOccurs="0"/>
901
581
  </xsd:sequence>
902
582
  </xsd:complexType>
903
583
  <xsd:complexType name="InstructionCodeDescriptionType">
@@ -928,6 +608,48 @@
928
608
  </xsd:sequence>
929
609
  </xsd:sequence>
930
610
  </xsd:complexType>
611
+ <xsd:complexType name="HazMatPackageInformationType">
612
+ <xsd:sequence>
613
+ <xsd:element name="AllPackedInOneIndicator" type="xsd:string" minOccurs="0"/>
614
+ <xsd:element name="OverPackedIndicator" type="xsd:string" minOccurs="0"/>
615
+ <xsd:element name="QValue" type="xsd:string" minOccurs="0"/>
616
+ <xsd:element name="OuterPackagingType" type="xsd:string" minOccurs="0" />
617
+ </xsd:sequence>
618
+ </xsd:complexType>
619
+ <xsd:complexType name="HazMatType">
620
+ <xsd:sequence>
621
+ <xsd:element name="PackagingTypeQuantity" type="xsd:string" minOccurs="0"/>
622
+ <xsd:element name="RecordIdentifier1" type="xsd:string" minOccurs="0"/>
623
+ <xsd:element name="RecordIdentifier2" type="xsd:string" minOccurs="0"/>
624
+ <xsd:element name="RecordIdentifier3" type="xsd:string" minOccurs="0"/>
625
+ <xsd:element name="SubRiskClass" type="xsd:string" minOccurs="0"/>
626
+ <xsd:element name="aDRItemNumber" type="xsd:string" minOccurs="0"/>
627
+ <xsd:element name="aDRPackingGroupLetter" type="xsd:string" minOccurs="0"/>
628
+ <xsd:element name="TechnicalName" type="xsd:string" minOccurs="0"/>
629
+ <xsd:element name="HazardLabelRequired" type="xsd:string" minOccurs="0"/>
630
+ <xsd:element name="ClassDivisionNumber" type="xsd:string"/>
631
+ <xsd:element name="ReferenceNumber" type="xsd:string" minOccurs="0"/>
632
+ <xsd:element name="Quantity" type="xsd:string"/>
633
+ <xsd:element name="UOM" type="xsd:string"/>
634
+ <xsd:element name="PackagingType" type="xsd:string"/>
635
+ <xsd:element name="IDNumber" type="xsd:string"/>
636
+ <xsd:element name="ProperShippingName" type="xsd:string"/>
637
+ <xsd:element name="AdditionalDescription" type="xsd:string" minOccurs="0"/>
638
+ <xsd:element name="PackagingGroupType" type="xsd:string" minOccurs="0"/>
639
+ <xsd:element name="PackagingInstructionCode" type="xsd:string" minOccurs="0"/>
640
+ <xsd:element name="EmergencyPhone" type="xsd:string" minOccurs="0"/>
641
+ <xsd:element name="EmergencyContact" type="xsd:string" minOccurs="0"/>
642
+ <xsd:element name="ReportableQuantity" type="xsd:string" minOccurs="0"/>
643
+ <xsd:element name="RegulationSet" type="xsd:string"/>
644
+ <xsd:element name="TransportationMode" type="xsd:string"/>
645
+ <xsd:element name="CommodityRegulatedLevelCode" type="xsd:string" minOccurs="0"/>
646
+ <xsd:element name="TransportCategory" type="xsd:string" minOccurs="0"/>
647
+ <xsd:element name="TunnelRestrictionCode" type="xsd:string" minOccurs="0"/>
648
+ <xsd:element name="ChemicalRecordIdentifier" type="xsd:string" minOccurs="0"/>
649
+ <xsd:element name="LocalTechnicalName" type="xsd:string" minOccurs="0"/>
650
+ <xsd:element name="LocalProperShippingName" type="xsd:string" minOccurs="0"/>
651
+ </xsd:sequence>
652
+ </xsd:complexType>
931
653
  <xsd:complexType name="DryIceType">
932
654
  <xsd:sequence>
933
655
  <xsd:element name="RegulationSet" type="xsd:string"/>
@@ -978,13 +700,13 @@
978
700
  </xsd:complexType>
979
701
  <xsd:complexType name="ADLAddressType">
980
702
  <xsd:sequence>
981
- <xsd:element name="AddressLine" type="xsd:string" maxOccurs="3"/>
703
+ <xsd:element name="AddressLine1" type="xsd:string"/>
704
+ <xsd:element name="AddressLine2" type="xsd:string" minOccurs="0"/>
705
+ <xsd:element name="AddressLine3" type="xsd:string" minOccurs="0"/>
982
706
  <xsd:element name="City" type="xsd:string"/>
983
707
  <xsd:element name="StateProvinceCode" type="xsd:string" minOccurs="0"/>
984
708
  <xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
985
709
  <xsd:element name="CountryCode" type="xsd:string"/>
986
- <xsd:element name="ResidentialAddressIndicator" type="xsd:string" minOccurs="0"/>
987
- <xsd:element name="POBoxIndicator" type="xsd:string" minOccurs="0"/>
988
710
  </xsd:sequence>
989
711
  </xsd:complexType>
990
712
  <xsd:complexType name="TaxIDCodeDescType">
@@ -993,4 +715,14 @@
993
715
  <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
994
716
  </xsd:sequence>
995
717
  </xsd:complexType>
718
+ <xsd:complexType name="DGSignatoryInfoType">
719
+ <xsd:sequence>
720
+ <xsd:element name="Name" type="xsd:string" minOccurs="0"/>
721
+ <xsd:element name="Title" type="xsd:string" minOccurs="0"/>
722
+ <xsd:element name="Place" type="xsd:string" minOccurs="0"/>
723
+ <xsd:element name="Date" type="xsd:string" minOccurs="0"/>
724
+ <xsd:element name="ShipperDeclaration" type="xsd:string" minOccurs="0"/>
725
+ <xsd:element name="UploadOnlyIndicator" type="xsd:string" minOccurs="0"/>
726
+ </xsd:sequence>
727
+ </xsd:complexType>
996
728
  </xsd:schema>