@api-client/core 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/build/browser.d.ts +3 -3
  2. package/build/browser.js.map +1 -1
  3. package/build/index.d.ts +3 -3
  4. package/build/index.js.map +1 -1
  5. package/build/oauth-popup.html +29 -0
  6. package/build/src/amf/AmfShapeGenerator.d.ts +2 -0
  7. package/build/src/amf/AmfShapeGenerator.js +2 -0
  8. package/build/src/amf/AmfShapeGenerator.js.map +1 -1
  9. package/build/src/amf/ApiSchemaValues.d.ts +4 -4
  10. package/build/src/amf/ApiSchemaValues.js.map +1 -1
  11. package/build/src/amf/Utils.js +3 -1
  12. package/build/src/amf/Utils.js.map +1 -1
  13. package/build/src/amf/data-node/XmlDataNodeGenerator.js +2 -1
  14. package/build/src/amf/data-node/XmlDataNodeGenerator.js.map +1 -1
  15. package/build/src/amf/shape/ShapeBase.d.ts +1 -1
  16. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js +4 -2
  17. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
  18. package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts +13 -13
  19. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +25 -7
  20. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
  21. package/build/src/authorization/OAuth2Authorization.d.ts +4 -4
  22. package/build/src/authorization/OAuth2Authorization.js +7 -7
  23. package/build/src/authorization/OAuth2Authorization.js.map +1 -1
  24. package/build/src/authorization/OidcAuthorization.js +0 -1
  25. package/build/src/authorization/OidcAuthorization.js.map +1 -1
  26. package/build/src/data/XmlReader.js +2 -0
  27. package/build/src/data/XmlReader.js.map +1 -1
  28. package/build/src/events/CustomEvent.d.ts +1 -1
  29. package/build/src/events/CustomEvent.js +1 -1
  30. package/build/src/lib/logging/DefaultLogger.js +1 -0
  31. package/build/src/lib/logging/DefaultLogger.js.map +1 -1
  32. package/build/src/lib/parsers/UriTemplate.js +1 -1
  33. package/build/src/lib/parsers/UrlEncoder.js +1 -0
  34. package/build/src/lib/parsers/UrlEncoder.js.map +1 -1
  35. package/build/src/mocking/LegacyInterfaces.d.ts +1 -2
  36. package/build/src/mocking/LegacyMock.js +0 -1
  37. package/build/src/mocking/LegacyMock.js.map +1 -1
  38. package/build/src/mocking/legacy/Http.js +1 -1
  39. package/build/src/mocking/legacy/Http.js.map +1 -1
  40. package/build/src/models/data/DataNamespace.d.ts +0 -1
  41. package/build/src/models/data/DataNamespace.js +1 -1
  42. package/build/src/models/data/DataNamespace.js.map +1 -1
  43. package/build/src/models/store/Permission.js.map +1 -1
  44. package/build/src/models/transformers/ArcLegacyTransformer.js +1 -0
  45. package/build/src/models/transformers/ArcLegacyTransformer.js.map +1 -1
  46. package/build/src/models/transformers/PostmanV21Transformer.d.ts +1 -2
  47. package/build/src/models/transformers/PostmanV21Transformer.js +2 -0
  48. package/build/src/models/transformers/PostmanV21Transformer.js.map +1 -1
  49. package/build/src/models/transformers/PostmanV2Transformer.js +2 -0
  50. package/build/src/models/transformers/PostmanV2Transformer.js.map +1 -1
  51. package/build/src/runtime/store/AuthSdk.js +1 -0
  52. package/build/src/runtime/store/AuthSdk.js.map +1 -1
  53. package/build/src/runtime/store/SdkBase.js.map +1 -1
  54. package/build/src/testing/TestCliHelper.js.map +1 -1
  55. package/data/apis/APIC-187/APIC-187.raml +21 -0
  56. package/data/apis/APIC-187/dataType.raml +132 -0
  57. package/data/apis/APIC-187/example.raml +84 -0
  58. package/data/apis/APIC-188/APIC-188.raml +21 -0
  59. package/data/apis/APIC-188/dataType.raml +132 -0
  60. package/data/apis/APIC-188/example.raml +84 -0
  61. package/data/apis/APIC-233/APIC-233.raml +15 -0
  62. package/data/apis/APIC-391/APIC-391.raml +44 -0
  63. package/data/apis/APIC-391/examples/post-body-request-example.raml +7 -0
  64. package/data/apis/APIC-483/APIC-483.raml +16 -0
  65. package/data/apis/APIC-483/example/list-of-bank-succ.json +32 -0
  66. package/data/apis/APIC-483/schema/response-retrieve-list-bank.json +68 -0
  67. package/data/apis/APIC-487/APIC-487.raml +36 -0
  68. package/data/apis/APIC-655/APIC-655.raml +44 -0
  69. package/data/apis/APIC-655/delivery.json +12 -0
  70. package/data/apis/APIC-689/APIC-689.raml +20 -0
  71. package/data/apis/APIC-690/APIC-690.raml +17 -0
  72. package/data/apis/APIC-690/datatypes/Address.raml +10 -0
  73. package/data/apis/APIC-690/datatypes/Customer.raml +17 -0
  74. package/data/apis/APIC-690/examples/CustomerExample2.raml +17 -0
  75. package/data/apis/APIC-690/examples/CustomersExample.raml +34 -0
  76. package/data/apis/SE-10469/Purchase-Order-oagis-id-dd32f9c6c01048a19e15c423c9c741ae.json +1383 -0
  77. package/data/apis/SE-10469/SE-10469.raml +11 -0
  78. package/data/apis/SE-13092/Examples/PersonExample.raml +7 -0
  79. package/data/apis/SE-13092/SE-13092.raml +37 -0
  80. package/data/apis/SE-13092/datatypes/Address.raml +5 -0
  81. package/data/apis/SE-13092/datatypes/InlineType.raml +5 -0
  82. package/data/apis/SE-13092/datatypes/Person.raml +15 -0
  83. package/data/apis/SE-22063/SE-22063.raml +14 -0
  84. package/data/apis/SE-22063/stock.raml +41 -0
  85. package/data/apis/arc-demo-api/arc-demo-api.raml +468 -0
  86. package/data/apis/arc-demo-api/examples/e400.xml +4 -0
  87. package/data/apis/arc-demo-api/examples/e401.xml +4 -0
  88. package/data/apis/arc-demo-api/examples/e404.xml +4 -0
  89. package/data/apis/arc-demo-api/examples/image.xml +5 -0
  90. package/data/apis/arc-demo-api/examples/messages-example.json +22 -0
  91. package/data/apis/arc-demo-api/examples/messages-sent-example.json +15 -0
  92. package/data/apis/arc-demo-api/examples/person.json +14 -0
  93. package/data/apis/arc-demo-api/examples/person.url.encoded +1 -0
  94. package/data/apis/arc-demo-api/examples/person.xml +14 -0
  95. package/data/apis/arc-demo-api/examples/product.xml +9 -0
  96. package/data/apis/arc-demo-api/library.raml +36 -0
  97. package/data/apis/arc-demo-api/resourceTypes/app-person.raml +49 -0
  98. package/data/apis/arc-demo-api/resourceTypes/example-types.raml +45 -0
  99. package/data/apis/arc-demo-api/resourceTypes/image.raml +23 -0
  100. package/data/apis/arc-demo-api/resourceTypes/message-sent-type.raml +23 -0
  101. package/data/apis/arc-demo-api/resourceTypes/message-type.raml +33 -0
  102. package/data/apis/arc-demo-api/resourceTypes/product.raml +52 -0
  103. package/data/apis/arc-demo-api/resourceTypes/resource.raml +11 -0
  104. package/data/apis/arc-demo-api/schemas/error-response.xsd +11 -0
  105. package/data/apis/arc-demo-api/schemas/image.xsd +11 -0
  106. package/data/apis/arc-demo-api/schemas/person.json +104 -0
  107. package/data/apis/arc-demo-api/schemas/person.xsd +26 -0
  108. package/data/apis/arc-demo-api/schemas/product.xsd +17 -0
  109. package/data/apis/arc-demo-api/securitySchemes/basic.raml +5 -0
  110. package/data/apis/arc-demo-api/securitySchemes/oauth_2_0.raml +29 -0
  111. package/data/apis/arc-demo-api/securitySchemes/x-custom.raml +26 -0
  112. package/data/apis/arc-demo-api/traits/adminable.raml +23 -0
  113. package/data/apis/arc-demo-api/traits/pagination.raml +83 -0
  114. package/data/apis/arc-demo-api/traits/rate-limited.raml +9 -0
  115. package/data/apis/example-generator-api/contact-email-example.raml +6 -0
  116. package/data/apis/example-generator-api/contact-example.raml +5 -0
  117. package/data/apis/example-generator-api/contact-fax-example.raml +5 -0
  118. package/data/apis/example-generator-api/contact-website-example.raml +2 -0
  119. package/data/apis/example-generator-api/example-1.raml +6 -0
  120. package/data/apis/example-generator-api/example-2.raml +9 -0
  121. package/data/apis/example-generator-api/example-3.raml +4 -0
  122. package/data/apis/example-generator-api/example-4.raml +2 -0
  123. package/data/apis/example-generator-api/example-5.raml +4 -0
  124. package/data/apis/example-generator-api/example-6.raml +2 -0
  125. package/data/apis/example-generator-api/example-7.raml +5 -0
  126. package/data/apis/example-generator-api/example-generator-api.raml +423 -0
  127. package/data/apis/example-generator-api/example.json +14 -0
  128. package/data/apis/example-generator-api/example.xml +15 -0
  129. package/data/apis/example-generator-api/example.xsd +26 -0
  130. package/data/apis/example-generator-api/examples/employee.raml +7 -0
  131. package/data/apis/example-generator-api/examples/employees.raml +7 -0
  132. package/data/apis/example-generator-api/linked-named-example.raml +21 -0
  133. package/data/apis/example-generator-api/named-example-with-link.raml +5 -0
  134. package/data/apis/example-generator-api/named-example.raml +9 -0
  135. package/data/apis/example-generator-api/user-json-example.raml +17 -0
  136. package/data/apis/example-generator-api/user-raml-example.raml +37 -0
  137. package/data/apis/example-generator-api/user.json +8 -0
  138. package/data/apis/example-generator-api/user.raml +18 -0
  139. package/data/apis/example-generator-api/users-json-example.raml +17 -0
  140. package/data/apis/example-generator-api/users-raml-example.raml +32 -0
  141. package/data/apis/example-generator-api/users.json +8 -0
  142. package/data/apis/oas-3-api/oas-3-api.yaml +356 -0
  143. package/data/apis/petstore/petstore.yaml +954 -0
  144. package/data/apis/schema-api/schema-api.raml +13 -1
  145. package/data/apis/secured-api/oauth-2-custom-settings.raml +143 -0
  146. package/data/apis/secured-api/oauth2-header-delivery.raml +13 -0
  147. package/data/apis/secured-api/oauth2-no-delivery.raml +8 -0
  148. package/data/apis/secured-api/oauth2-no-grants.raml +12 -0
  149. package/data/apis/secured-api/oauth2-pkce.raml +13 -0
  150. package/data/apis/secured-api/oauth2-query-delivery.raml +13 -0
  151. package/data/apis/secured-api/oauth_1_0.raml +8 -0
  152. package/data/apis/secured-api/oauth_1_0_no-settings.raml +3 -0
  153. package/data/apis/secured-api/oauth_1_0_no-signature.raml +7 -0
  154. package/data/apis/secured-api/oauth_1_0_signature.raml +8 -0
  155. package/data/apis/secured-api/passthrough-querystring.raml +16 -0
  156. package/data/apis/secured-api/passthrough.raml +24 -0
  157. package/data/apis/secured-api/secured-api.raml +231 -0
  158. package/data/apis/secured-api/x-custom.raml +33 -0
  159. package/data/apis/secured-api/x-other.raml +29 -0
  160. package/data/apis/secured-api/x-query-string.raml +16 -0
  161. package/data/apis/tracked-examples/datatypes/employee.raml +5 -0
  162. package/data/apis/tracked-examples/examples/employee.raml +4 -0
  163. package/data/apis/tracked-examples/examples/employees.raml +8 -0
  164. package/data/apis/tracked-examples/tracked-to-linked.raml +28 -0
  165. package/data/model.js +19 -0
  166. package/data/models/APIC-187.json +11398 -0
  167. package/data/models/APIC-188.json +11398 -0
  168. package/data/models/APIC-233.json +539 -0
  169. package/data/models/APIC-391.json +1872 -0
  170. package/data/models/APIC-483.json +3067 -0
  171. package/data/models/APIC-487.json +1225 -0
  172. package/data/models/APIC-655.json +3109 -0
  173. package/data/models/APIC-689.json +761 -0
  174. package/data/models/APIC-690.json +5992 -0
  175. package/data/models/SE-10469.json +22882 -0
  176. package/data/models/SE-13092.json +2715 -0
  177. package/data/models/SE-22063.json +2276 -0
  178. package/data/models/arc-demo-api.json +52694 -0
  179. package/data/models/example-generator-api.json +44978 -0
  180. package/data/models/oas-3-api.json +10464 -0
  181. package/data/models/petstore.json +27277 -0
  182. package/data/models/schema-api.json +436 -428
  183. package/data/models/secured-api.json +19067 -0
  184. package/data/models/tracked-to-linked.json +1790 -0
  185. package/package.json +6 -5
  186. package/src/amf/AmfShapeGenerator.ts +5 -3
  187. package/src/amf/ApiSchemaValues.ts +5 -5
  188. package/src/amf/Utils.ts +6 -4
  189. package/src/amf/data-node/XmlDataNodeGenerator.ts +2 -1
  190. package/src/amf/shape/ShapeBase.ts +1 -1
  191. package/src/amf/shape/ShapeJsonSchemaGenerator.ts +4 -2
  192. package/src/amf/shape/ShapeXmlSchemaGenerator.ts +85 -66
  193. package/src/authorization/OAuth2Authorization.ts +33 -32
  194. package/src/authorization/OidcAuthorization.ts +3 -4
  195. package/src/data/XmlReader.ts +7 -5
  196. package/src/events/CustomEvent.ts +1 -1
  197. package/src/lib/logging/DefaultLogger.ts +1 -0
  198. package/src/lib/parsers/UriTemplate.ts +1 -1
  199. package/src/lib/parsers/UrlEncoder.ts +1 -0
  200. package/src/mocking/LegacyInterfaces.ts +1 -2
  201. package/src/mocking/LegacyMock.ts +0 -1
  202. package/src/mocking/legacy/Http.ts +1 -1
  203. package/src/models/data/DataNamespace.ts +2 -2
  204. package/src/models/store/Permission.ts +1 -1
  205. package/src/models/transformers/ArcLegacyTransformer.ts +1 -0
  206. package/src/models/transformers/PostmanV21Transformer.ts +3 -2
  207. package/src/models/transformers/PostmanV2Transformer.ts +2 -0
  208. package/src/runtime/store/AuthSdk.ts +1 -0
  209. package/src/runtime/store/SdkBase.ts +1 -0
  210. package/src/testing/TestCliHelper.ts +1 -0
@@ -0,0 +1,1383 @@
1
+ {
2
+ "$schema" : "http://json-schema.org/draft-04/schema#",
3
+ "id" : "http://www.openapplications.org/oagis/10",
4
+ "required" : [ "purchaseOrder" ],
5
+ "additionalProperties" : false,
6
+ "properties" : {
7
+ "purchaseOrder" : {
8
+ "id" : "#purchaseOrder",
9
+ "type" : "object",
10
+ "additionalProperties" : false,
11
+ "properties" : {
12
+ "typeCode" : {
13
+ "description" : "valid types include DirectShip, Normal, TransferOrder (e.g., the PO side of the transfer order)",
14
+ "$ref" : "#/definitions/token"
15
+ },
16
+ "actionCode" : {
17
+ "description" : "options include Original, Change, Cancel",
18
+ "$ref" : "#/definitions/token"
19
+ },
20
+ "purchaseOrderHeader" : {
21
+ "type" : "object",
22
+ "additionalProperties" : false,
23
+ "properties" : {
24
+ "identifier" : {
25
+ "description" : "This is the PurchaseOrder identifier generated by the sender's business application.",
26
+ "$ref" : "#/definitions/normalizedString"
27
+ },
28
+ "documentIdentifierSet" : {
29
+ "type" : "array",
30
+ "items" : {
31
+ "type" : "object",
32
+ "required" : [ "identifier" ],
33
+ "additionalProperties" : false,
34
+ "properties" : {
35
+ "identifier" : {
36
+ "description" : "This is an alternate identifier for the PurchaseOrder, requires the use of the typeCode qualifier. This could be a system level key.",
37
+ "type" : "array",
38
+ "minItems" : 1,
39
+ "items" : {
40
+ "type" : "object",
41
+ "required" : [ "content", "typeCode" ],
42
+ "additionalProperties" : false,
43
+ "properties" : {
44
+ "content" : {
45
+ "$ref" : "#/definitions/normalizedString"
46
+ },
47
+ "typeCode" : {
48
+ "$ref" : "#/definitions/token"
49
+ },
50
+ "schemeAgencyIdentifier" : {
51
+ "$ref" : "#/definitions/token"
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "lastModificationDateTime" : {
60
+ "description" : "ISO 8601 formatted update timestamp for the document, if the action code is changed or deleted. \r\nExample - '2018-01-02T10:08:11.000-06:00'",
61
+ "$ref" : "#/definitions/token"
62
+ },
63
+ "description" : {
64
+ "$ref" : "#/definitions/string"
65
+ },
66
+ "note" : {
67
+ "description" : "This is a note that may be placed on the purchase order by the sender, such as special packing, messages, or other instructions that cannot normally be mapped into other fields. This should not be overloaded when existing fields can be mapped.",
68
+ "$ref" : "#/definitions/string"
69
+ },
70
+ "status" : {
71
+ "type" : "array",
72
+ "items" : {
73
+ "type" : "object",
74
+ "additionalProperties" : false,
75
+ "properties" : {
76
+ "code" : {
77
+ "description" : "codified value for the status",
78
+ "$ref" : "#/definitions/normalizedString"
79
+ },
80
+ "description" : {
81
+ "description" : "Description of the status code sent.",
82
+ "$ref" : "#/definitions/string"
83
+ },
84
+ "reasonCode" : {
85
+ "description" : "codified reason for the reason the status code has been applied or the if the effective time period has changed.",
86
+ "$ref" : "#/definitions/normalizedString"
87
+ },
88
+ "reason" : {
89
+ "description" : "additional textual reason for the reason the status code has been applied or the if the effective time period has changed.",
90
+ "type" : "array",
91
+ "items" : {
92
+ "$ref" : "#/definitions/string"
93
+ }
94
+ },
95
+ "effectiveTimePeriod" : {
96
+ "type" : "object",
97
+ "additionalProperties" : false,
98
+ "properties" : {
99
+ "startDateTime" : {
100
+ "description" : "Effective start time for which the order should be fulfilled",
101
+ "$ref" : "#/definitions/token"
102
+ },
103
+ "endDateTime" : {
104
+ "description" : "Effective end time for which the order should be fulfilled",
105
+ "$ref" : "#/definitions/token"
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "customerParty" : {
113
+ "type" : "object",
114
+ "additionalProperties" : false,
115
+ "properties" : {
116
+ "identifier" : {
117
+ "type" : "array",
118
+ "items" : {
119
+ "$ref" : "#/definitions/normalizedString"
120
+ }
121
+ },
122
+ "accountIdentifier" : {
123
+ "type" : "array",
124
+ "items" : {
125
+ "$ref" : "#/definitions/normalizedString"
126
+ }
127
+ },
128
+ "name" : {
129
+ "type" : "array",
130
+ "items" : {
131
+ "$ref" : "#/definitions/string"
132
+ }
133
+ },
134
+ "location" : {
135
+ "type" : "array",
136
+ "items" : {
137
+ "type" : "object",
138
+ "additionalProperties" : false,
139
+ "properties" : {
140
+ "contact" : {
141
+ "description" : "This is the customer representative placing the order, including name, phone and email contact information",
142
+ "type" : "array",
143
+ "items" : {
144
+ "type" : "object",
145
+ "additionalProperties" : false,
146
+ "properties" : {
147
+ "personName" : {
148
+ "type" : "array",
149
+ "items" : {
150
+ "type" : "object",
151
+ "additionalProperties" : false,
152
+ "properties" : {
153
+ "formattedName" : {
154
+ "description" : "Formatted string; <familyName>, <givenName> <middleName>\r\nIf you can populate these fields directly, use givenName, familyName, middleName instead.",
155
+ "$ref" : "#/definitions/string"
156
+ },
157
+ "givenName" : {
158
+ "$ref" : "#/definitions/string"
159
+ },
160
+ "middleName" : {
161
+ "type" : "array",
162
+ "items" : {
163
+ "$ref" : "#/definitions/string"
164
+ }
165
+ },
166
+ "familyName" : {
167
+ "type" : "array",
168
+ "items" : {
169
+ "$ref" : "#/definitions/string"
170
+ }
171
+ }
172
+ }
173
+ }
174
+ },
175
+ "telephoneCommunication" : {
176
+ "type" : "array",
177
+ "items" : {
178
+ "type" : "object",
179
+ "additionalProperties" : false,
180
+ "properties" : {
181
+ "identifier" : {
182
+ "type" : "array",
183
+ "items" : {
184
+ "$ref" : "#/definitions/normalizedString"
185
+ }
186
+ }
187
+ }
188
+ }
189
+ },
190
+ "emailAddressCommunication" : {
191
+ "type" : "array",
192
+ "items" : {
193
+ "type" : "object",
194
+ "additionalProperties" : false,
195
+ "properties" : {
196
+ "identifier" : {
197
+ "type" : "array",
198
+ "items" : {
199
+ "$ref" : "#/definitions/normalizedString"
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
212
+ },
213
+ "supplierParty" : {
214
+ "type" : "object",
215
+ "additionalProperties" : false,
216
+ "properties" : {
217
+ "identifier" : {
218
+ "type" : "array",
219
+ "items" : {
220
+ "$ref" : "#/definitions/normalizedString"
221
+ }
222
+ },
223
+ "accountIdentifier" : {
224
+ "type" : "array",
225
+ "items" : {
226
+ "$ref" : "#/definitions/normalizedString"
227
+ }
228
+ },
229
+ "name" : {
230
+ "type" : "array",
231
+ "items" : {
232
+ "$ref" : "#/definitions/string"
233
+ }
234
+ }
235
+ }
236
+ },
237
+ "shipToParty" : {
238
+ "type" : "object",
239
+ "additionalProperties" : false,
240
+ "properties" : {
241
+ "identifier" : {
242
+ "type" : "array",
243
+ "items" : {
244
+ "$ref" : "#/definitions/normalizedString"
245
+ }
246
+ },
247
+ "location" : {
248
+ "type" : "array",
249
+ "items" : {
250
+ "type" : "object",
251
+ "additionalProperties" : false,
252
+ "properties" : {
253
+ "identifier" : {
254
+ "type" : "array",
255
+ "items" : {
256
+ "$ref" : "#/definitions/normalizedString"
257
+ }
258
+ },
259
+ "directions" : {
260
+ "description" : "Directions for the location, especially in the case of direct ship",
261
+ "type" : "array",
262
+ "items" : {
263
+ "$ref" : "#/definitions/string"
264
+ }
265
+ },
266
+ "coordinate" : {
267
+ "type" : "array",
268
+ "items" : {
269
+ "type" : "object",
270
+ "additionalProperties" : false,
271
+ "properties" : {
272
+ "uri" : {
273
+ "description" : "URI link to a mapping service showing the exact location on a map",
274
+ "type" : "array",
275
+ "items" : {
276
+ "$ref" : "#/definitions/normalizedString"
277
+ }
278
+ },
279
+ "latitudeMeasure" : {
280
+ "description" : "Lat",
281
+ "$ref" : "#/definitions/decimal"
282
+ },
283
+ "longitudeMeasure" : {
284
+ "description" : "long",
285
+ "$ref" : "#/definitions/decimal"
286
+ }
287
+ }
288
+ }
289
+ },
290
+ "contact" : {
291
+ "description" : "This is the key contact at the ShipTo location, in case there are delivery questions.",
292
+ "type" : "array",
293
+ "items" : {
294
+ "type" : "object",
295
+ "additionalProperties" : false,
296
+ "properties" : {
297
+ "identifier" : {
298
+ "type" : "array",
299
+ "items" : {
300
+ "$ref" : "#/definitions/normalizedString"
301
+ }
302
+ },
303
+ "personName" : {
304
+ "type" : "array",
305
+ "items" : {
306
+ "type" : "object",
307
+ "additionalProperties" : false,
308
+ "properties" : {
309
+ "formattedName" : {
310
+ "description" : "Formatted string; <familyName>, <givenName> <middleName>\r\nIf you can populate these fields directly, use givenName, familyName, middleName instead.",
311
+ "$ref" : "#/definitions/string"
312
+ },
313
+ "givenName" : {
314
+ "$ref" : "#/definitions/string"
315
+ },
316
+ "middleName" : {
317
+ "type" : "array",
318
+ "items" : {
319
+ "$ref" : "#/definitions/string"
320
+ }
321
+ },
322
+ "familyName" : {
323
+ "type" : "array",
324
+ "items" : {
325
+ "$ref" : "#/definitions/string"
326
+ }
327
+ }
328
+ }
329
+ }
330
+ },
331
+ "telephoneCommunication" : {
332
+ "type" : "array",
333
+ "items" : {
334
+ "type" : "object",
335
+ "additionalProperties" : false,
336
+ "properties" : {
337
+ "identifier" : {
338
+ "type" : "array",
339
+ "items" : {
340
+ "$ref" : "#/definitions/normalizedString"
341
+ }
342
+ }
343
+ }
344
+ }
345
+ },
346
+ "emailAddressCommunication" : {
347
+ "type" : "array",
348
+ "items" : {
349
+ "type" : "object",
350
+ "additionalProperties" : false,
351
+ "properties" : {
352
+ "identifier" : {
353
+ "type" : "array",
354
+ "items" : {
355
+ "$ref" : "#/definitions/normalizedString"
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ },
364
+ "physicalAddress" : {
365
+ "description" : "This is the physical address for the shipment",
366
+ "type" : "array",
367
+ "items" : {
368
+ "type" : "object",
369
+ "additionalProperties" : false,
370
+ "properties" : {
371
+ "identifier" : {
372
+ "type" : "array",
373
+ "items" : {
374
+ "$ref" : "#/definitions/normalizedString"
375
+ }
376
+ },
377
+ "name" : {
378
+ "type" : "array",
379
+ "items" : {
380
+ "$ref" : "#/definitions/string"
381
+ }
382
+ },
383
+ "addressLine" : {
384
+ "type" : "array",
385
+ "items" : {
386
+ "type" : "object",
387
+ "required" : [ "content" ],
388
+ "additionalProperties" : false,
389
+ "properties" : {
390
+ "content" : {
391
+ "$ref" : "#/definitions/string"
392
+ },
393
+ "sequenceNumberNumber" : {
394
+ "$ref" : "#/definitions/integer"
395
+ }
396
+ }
397
+ }
398
+ },
399
+ "deliveryPointIdentifier" : {
400
+ "description" : "delivery point may be a loading dock, etc.",
401
+ "type" : "array",
402
+ "items" : {
403
+ "$ref" : "#/definitions/normalizedString"
404
+ }
405
+ },
406
+ "cityName" : {
407
+ "$ref" : "#/definitions/string"
408
+ },
409
+ "countrySubDivisionCode" : {
410
+ "description" : "Two character state code in the United States, Province in Canada, etc. See ISO 3166-2.",
411
+ "type" : "array",
412
+ "items" : {
413
+ "$ref" : "#/definitions/token"
414
+ }
415
+ },
416
+ "countryCode" : {
417
+ "description" : "ISO ALPHA-2 two character country code see countrycode.org",
418
+ "$ref" : "#/definitions/token"
419
+ },
420
+ "postalCode" : {
421
+ "$ref" : "#/definitions/normalizedString"
422
+ }
423
+ }
424
+ }
425
+ },
426
+ "availableTimePeriod" : {
427
+ "type" : "array",
428
+ "items" : {
429
+ "type" : "object",
430
+ "additionalProperties" : false,
431
+ "properties" : {
432
+ "startTime" : {
433
+ "description" : "Start time for shipment window",
434
+ "$ref" : "#/definitions/token"
435
+ },
436
+ "endTime" : {
437
+ "description" : "End time for shipment window",
438
+ "$ref" : "#/definitions/token"
439
+ }
440
+ }
441
+ }
442
+ },
443
+ "glnid" : {
444
+ "description" : "GS1 global location identifier",
445
+ "$ref" : "#/definitions/normalizedString"
446
+ }
447
+ }
448
+ }
449
+ }
450
+ }
451
+ },
452
+ "contractReference" : {
453
+ "type" : "object",
454
+ "additionalProperties" : false,
455
+ "properties" : {
456
+ "identifier" : {
457
+ "$ref" : "#/definitions/normalizedString"
458
+ }
459
+ }
460
+ },
461
+ "totalAmount" : {
462
+ "description" : "This is the total amount of the purchase order, which is the sum of each purchase order lines, plus calculated tax.",
463
+ "type" : "object",
464
+ "required" : [ "content" ],
465
+ "additionalProperties" : false,
466
+ "properties" : {
467
+ "content" : {
468
+ "$ref" : "#/definitions/decimal"
469
+ },
470
+ "typeCode" : {
471
+ "$ref" : "#/definitions/token"
472
+ },
473
+ "currencyCode" : {
474
+ "$ref" : "#/definitions/token"
475
+ }
476
+ }
477
+ },
478
+ "billToParty" : {
479
+ "type" : "object",
480
+ "additionalProperties" : false,
481
+ "properties" : {
482
+ "identifier" : {
483
+ "description" : "Identifier for the BillTo party",
484
+ "type" : "array",
485
+ "items" : {
486
+ "type" : "object",
487
+ "required" : [ "content" ],
488
+ "additionalProperties" : false,
489
+ "properties" : {
490
+ "content" : {
491
+ "$ref" : "#/definitions/normalizedString"
492
+ },
493
+ "typeCode" : {
494
+ "$ref" : "#/definitions/token"
495
+ },
496
+ "schemeAgencyIdentifier" : {
497
+ "$ref" : "#/definitions/token"
498
+ }
499
+ }
500
+ }
501
+ },
502
+ "taxIdentifier" : {
503
+ "type" : "array",
504
+ "items" : {
505
+ "$ref" : "#/definitions/normalizedString"
506
+ }
507
+ },
508
+ "dunsid" : {
509
+ "$ref" : "#/definitions/normalizedString"
510
+ },
511
+ "accountIdentifier" : {
512
+ "description" : "Specific Account for the customer BillTo",
513
+ "type" : "array",
514
+ "items" : {
515
+ "$ref" : "#/definitions/normalizedString"
516
+ }
517
+ },
518
+ "location" : {
519
+ "type" : "array",
520
+ "items" : {
521
+ "type" : "object",
522
+ "additionalProperties" : false,
523
+ "properties" : {
524
+ "identifier" : {
525
+ "description" : "Identifier for the location, if no GLN is used.",
526
+ "type" : "array",
527
+ "items" : {
528
+ "$ref" : "#/definitions/normalizedString"
529
+ }
530
+ },
531
+ "name" : {
532
+ "type" : "array",
533
+ "items" : {
534
+ "$ref" : "#/definitions/string"
535
+ }
536
+ },
537
+ "postalAddress" : {
538
+ "description" : "This is the mailing address for which invoices should be sent, if not electronically sent.",
539
+ "type" : "array",
540
+ "items" : {
541
+ "type" : "object",
542
+ "additionalProperties" : false,
543
+ "properties" : {
544
+ "identifier" : {
545
+ "type" : "array",
546
+ "items" : {
547
+ "$ref" : "#/definitions/normalizedString"
548
+ }
549
+ },
550
+ "name" : {
551
+ "type" : "array",
552
+ "items" : {
553
+ "$ref" : "#/definitions/string"
554
+ }
555
+ },
556
+ "attentionOfName" : {
557
+ "type" : "array",
558
+ "items" : {
559
+ "$ref" : "#/definitions/string"
560
+ }
561
+ },
562
+ "addressLine" : {
563
+ "type" : "array",
564
+ "items" : {
565
+ "type" : "object",
566
+ "required" : [ "content" ],
567
+ "additionalProperties" : false,
568
+ "properties" : {
569
+ "content" : {
570
+ "$ref" : "#/definitions/string"
571
+ },
572
+ "sequenceNumberNumber" : {
573
+ "$ref" : "#/definitions/integer"
574
+ }
575
+ }
576
+ }
577
+ },
578
+ "postOfficeBox" : {
579
+ "$ref" : "#/definitions/string"
580
+ },
581
+ "cityName" : {
582
+ "$ref" : "#/definitions/string"
583
+ },
584
+ "countrySubDivisionCode" : {
585
+ "description" : "Two character state code in the United States, Province in Canada, etc. See ISO 3166-2.",
586
+ "type" : "array",
587
+ "items" : {
588
+ "type" : "object",
589
+ "required" : [ "content" ],
590
+ "additionalProperties" : false,
591
+ "properties" : {
592
+ "content" : {
593
+ "$ref" : "#/definitions/token"
594
+ },
595
+ "listAgencyIdentifier" : {
596
+ "$ref" : "#/definitions/token"
597
+ }
598
+ }
599
+ }
600
+ },
601
+ "countryCode" : {
602
+ "$ref" : "#/definitions/token"
603
+ },
604
+ "postalCode" : {
605
+ "description" : "ISO ALPHA-2 two character country code see countrycode.org",
606
+ "$ref" : "#/definitions/normalizedString"
607
+ }
608
+ }
609
+ }
610
+ },
611
+ "note" : {
612
+ "description" : "Note on the BillTo lcoation\r\nExample:",
613
+ "type" : "array",
614
+ "items" : {
615
+ "$ref" : "#/definitions/string"
616
+ }
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "contact" : {
622
+ "description" : "This is the BillTo contact ",
623
+ "type" : "array",
624
+ "items" : {
625
+ "type" : "object",
626
+ "additionalProperties" : false,
627
+ "properties" : {
628
+ "personName" : {
629
+ "type" : "array",
630
+ "items" : {
631
+ "type" : "object",
632
+ "additionalProperties" : false,
633
+ "properties" : {
634
+ "formattedName" : {
635
+ "$ref" : "#/definitions/string"
636
+ }
637
+ }
638
+ }
639
+ },
640
+ "telephoneCommunication" : {
641
+ "type" : "array",
642
+ "items" : {
643
+ "type" : "object",
644
+ "additionalProperties" : false,
645
+ "properties" : {
646
+ "identifier" : {
647
+ "type" : "array",
648
+ "items" : {
649
+ "$ref" : "#/definitions/normalizedString"
650
+ }
651
+ }
652
+ }
653
+ }
654
+ },
655
+ "emailAddressCommunication" : {
656
+ "type" : "array",
657
+ "items" : {
658
+ "type" : "object",
659
+ "additionalProperties" : false,
660
+ "properties" : {
661
+ "identifier" : {
662
+ "type" : "array",
663
+ "items" : {
664
+ "$ref" : "#/definitions/normalizedString"
665
+ }
666
+ }
667
+ }
668
+ }
669
+ }
670
+ }
671
+ }
672
+ }
673
+ }
674
+ },
675
+ "carrierParty" : {
676
+ "type" : "object",
677
+ "additionalProperties" : false,
678
+ "properties" : {
679
+ "scacid" : {
680
+ "description" : "This is only used if the customer is arranging transportation to pickup the order, or if there is a carrier preference",
681
+ "$ref" : "#/definitions/normalizedString"
682
+ },
683
+ "accountIdentifier" : {
684
+ "description" : "customer's account number with the carrier if the customer is specifying a carrier",
685
+ "type" : "array",
686
+ "items" : {
687
+ "$ref" : "#/definitions/normalizedString"
688
+ }
689
+ }
690
+ }
691
+ },
692
+ "partialShipmentAllowedIndicator" : {
693
+ "$ref" : "#/definitions/xbt_BooleanType"
694
+ },
695
+ "earlyShipmentAllowedIndicator" : {
696
+ "$ref" : "#/definitions/xbt_BooleanType"
697
+ },
698
+ "taxExemptIndicator" : {
699
+ "$ref" : "#/definitions/xbt_BooleanType"
700
+ },
701
+ "transportationTerm" : {
702
+ "type" : "array",
703
+ "items" : {
704
+ "type" : "object",
705
+ "additionalProperties" : false,
706
+ "properties" : {
707
+ "identifier" : {
708
+ "type" : "array",
709
+ "items" : {
710
+ "$ref" : "#/definitions/normalizedString"
711
+ }
712
+ },
713
+ "incotermsCode" : {
714
+ "$ref" : "#/definitions/token"
715
+ },
716
+ "freightTermCode" : {
717
+ "description" : "Freight Handling Code",
718
+ "$ref" : "#/definitions/token"
719
+ },
720
+ "description" : {
721
+ "$ref" : "#/definitions/string"
722
+ }
723
+ }
724
+ }
725
+ },
726
+ "transportStep" : {
727
+ "type" : "array",
728
+ "items" : {
729
+ "type" : "object",
730
+ "additionalProperties" : false,
731
+ "properties" : {
732
+ "transportationMethodCode" : {
733
+ "description" : "Mode of Transportation",
734
+ "$ref" : "#/definitions/normalizedString"
735
+ }
736
+ }
737
+ }
738
+ },
739
+ "paymentTerm" : {
740
+ "type" : "array",
741
+ "items" : {
742
+ "type" : "object",
743
+ "additionalProperties" : false,
744
+ "properties" : {
745
+ "paymentBasisCode" : {
746
+ "$ref" : "#/definitions/token"
747
+ },
748
+ "duration" : {
749
+ "$ref" : "#/definitions/token"
750
+ }
751
+ }
752
+ }
753
+ },
754
+ "tax" : {
755
+ "description" : "These are various taxes that may be applied. There may be multiple tax values for VAT, etc.",
756
+ "type" : "array",
757
+ "items" : {
758
+ "type" : "object",
759
+ "additionalProperties" : false,
760
+ "properties" : {
761
+ "taxJurisdicationCodes" : {
762
+ "type" : "object",
763
+ "required" : [ "code" ],
764
+ "additionalProperties" : false,
765
+ "properties" : {
766
+ "code" : {
767
+ "description" : "state or province from which the tax applies.",
768
+ "type" : "array",
769
+ "minItems" : 1,
770
+ "items" : {
771
+ "$ref" : "#/definitions/normalizedString"
772
+ }
773
+ }
774
+ }
775
+ },
776
+ "basisAmount" : {
777
+ "description" : "sum of the individual items without tax",
778
+ "type" : "object",
779
+ "required" : [ "content" ],
780
+ "additionalProperties" : false,
781
+ "properties" : {
782
+ "content" : {
783
+ "$ref" : "#/definitions/decimal"
784
+ },
785
+ "currencyCode" : {
786
+ "$ref" : "#/definitions/token"
787
+ }
788
+ }
789
+ },
790
+ "calculation" : {
791
+ "type" : "object",
792
+ "additionalProperties" : false,
793
+ "properties" : { }
794
+ },
795
+ "amount" : {
796
+ "description" : "Total estimated amount of tax for the order",
797
+ "$ref" : "#/definitions/decimal"
798
+ },
799
+ "currencyExchangeRate" : {
800
+ "description" : "current exchange rate at the time of the transaciton",
801
+ "type" : "object",
802
+ "additionalProperties" : false,
803
+ "properties" : { }
804
+ }
805
+ }
806
+ }
807
+ },
808
+ "requestedShipDateTime" : {
809
+ "$ref" : "#/definitions/token"
810
+ },
811
+ "shippingInstructions" : {
812
+ "$ref" : "#/definitions/string"
813
+ },
814
+ "orderDateTime" : {
815
+ "description" : "ISO 8601 formatted original date of the Purchase Order as created in the sender's business application.. \r\nExample - '2018-01-01T09:08:01.000-06:00'",
816
+ "$ref" : "#/definitions/token"
817
+ },
818
+ "buyerParty" : {
819
+ "type" : "object",
820
+ "additionalProperties" : false,
821
+ "properties" : {
822
+ "identifier" : {
823
+ "description" : "Identifier for the buyer",
824
+ "type" : "array",
825
+ "items" : {
826
+ "$ref" : "#/definitions/normalizedString"
827
+ }
828
+ }
829
+ }
830
+ },
831
+ "shipFromParty" : {
832
+ "type" : "array",
833
+ "items" : {
834
+ "type" : "object",
835
+ "additionalProperties" : false,
836
+ "properties" : {
837
+ "identifier" : {
838
+ "description" : "This is often not known at the time the order is place, but will appear on the AcknowledgePurchaseOrder Callback API or \r\nGET //AcknowledgePurchaseOrder request response service",
839
+ "type" : "array",
840
+ "items" : {
841
+ "$ref" : "#/definitions/normalizedString"
842
+ }
843
+ }
844
+ }
845
+ }
846
+ }
847
+ }
848
+ },
849
+ "purchaseOrderLine" : {
850
+ "type" : "array",
851
+ "items" : {
852
+ "type" : "object",
853
+ "additionalProperties" : false,
854
+ "properties" : {
855
+ "actionCode" : {
856
+ "description" : "options include (Add, Change, Cancel)",
857
+ "$ref" : "#/definitions/token"
858
+ },
859
+ "lineNumberIdentifier" : {
860
+ "$ref" : "#/definitions/normalizedString"
861
+ },
862
+ "description" : {
863
+ "$ref" : "#/definitions/string"
864
+ },
865
+ "item" : {
866
+ "type" : "object",
867
+ "additionalProperties" : false,
868
+ "properties" : {
869
+ "identifier" : {
870
+ "description" : "This is the buyer's identifier for the item",
871
+ "$ref" : "#/definitions/normalizedString"
872
+ },
873
+ "itemIdentifierSet" : {
874
+ "type" : "array",
875
+ "items" : {
876
+ "type" : "object",
877
+ "required" : [ "identifier" ],
878
+ "additionalProperties" : false,
879
+ "properties" : {
880
+ "identifier" : {
881
+ "type" : "array",
882
+ "minItems" : 1,
883
+ "items" : {
884
+ "$ref" : "#/definitions/normalizedString"
885
+ }
886
+ }
887
+ }
888
+ }
889
+ },
890
+ "customerItemIdentification" : {
891
+ "type" : "object",
892
+ "additionalProperties" : false,
893
+ "properties" : {
894
+ "identifier" : {
895
+ "$ref" : "#/definitions/normalizedString"
896
+ }
897
+ }
898
+ },
899
+ "supplierItemIdentification" : {
900
+ "type" : "object",
901
+ "additionalProperties" : false,
902
+ "properties" : {
903
+ "identifier" : {
904
+ "$ref" : "#/definitions/normalizedString"
905
+ }
906
+ }
907
+ },
908
+ "upcid" : {
909
+ "$ref" : "#/definitions/normalizedString"
910
+ },
911
+ "gtinid" : {
912
+ "$ref" : "#/definitions/normalizedString"
913
+ },
914
+ "description" : {
915
+ "type" : "array",
916
+ "items" : {
917
+ "$ref" : "#/definitions/string"
918
+ }
919
+ },
920
+ "note" : {
921
+ "type" : "array",
922
+ "items" : {
923
+ "$ref" : "#/definitions/string"
924
+ }
925
+ },
926
+ "classification" : {
927
+ "type" : "array",
928
+ "items" : {
929
+ "type" : "object",
930
+ "additionalProperties" : false,
931
+ "properties" : {
932
+ "unspscCode" : {
933
+ "description" : "Used for international trade",
934
+ "$ref" : "#/definitions/normalizedString"
935
+ },
936
+ "codes" : {
937
+ "type" : "object",
938
+ "required" : [ "code" ],
939
+ "additionalProperties" : false,
940
+ "properties" : {
941
+ "code" : {
942
+ "description" : "Code used to classify the item being purchased.\r\nIf code is mapped, the typeCode should also be mapped since this a generic code. ",
943
+ "type" : "array",
944
+ "minItems" : 1,
945
+ "items" : {
946
+ "type" : "object",
947
+ "required" : [ "content", "typeCode" ],
948
+ "additionalProperties" : false,
949
+ "properties" : {
950
+ "content" : {
951
+ "$ref" : "#/definitions/normalizedString"
952
+ },
953
+ "typeCode" : {
954
+ "$ref" : "#/definitions/token"
955
+ },
956
+ "listAgencyIdentifier" : {
957
+ "$ref" : "#/definitions/token"
958
+ }
959
+ }
960
+ }
961
+ }
962
+ }
963
+ }
964
+ }
965
+ }
966
+ },
967
+ "hazardousMaterial" : {
968
+ "type" : "array",
969
+ "items" : {
970
+ "type" : "object",
971
+ "additionalProperties" : false,
972
+ "properties" : {
973
+ "placardEndorsement" : {
974
+ "$ref" : "#/definitions/string"
975
+ },
976
+ "placardNotation" : {
977
+ "$ref" : "#/definitions/string"
978
+ },
979
+ "temperature" : {
980
+ "type" : "array",
981
+ "items" : {
982
+ "$ref" : "#/definitions/decimal"
983
+ }
984
+ },
985
+ "flashpointTemperature" : {
986
+ "$ref" : "#/definitions/decimal"
987
+ }
988
+ }
989
+ }
990
+ },
991
+ "exportControl" : {
992
+ "description" : "If the ShipTo defines an import of the product into the country, the identifiers for customs clearance are required.",
993
+ "type" : "array",
994
+ "items" : {
995
+ "type" : "object",
996
+ "additionalProperties" : false,
997
+ "properties" : {
998
+ "identifier" : {
999
+ "type" : "array",
1000
+ "items" : {
1001
+ "$ref" : "#/definitions/normalizedString"
1002
+ }
1003
+ },
1004
+ "countryCode" : {
1005
+ "$ref" : "#/definitions/token"
1006
+ }
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+ },
1012
+ "quantity" : {
1013
+ "type" : "array",
1014
+ "items" : {
1015
+ "type" : "object",
1016
+ "required" : [ "content" ],
1017
+ "additionalProperties" : false,
1018
+ "properties" : {
1019
+ "content" : {
1020
+ "$ref" : "#/definitions/decimal"
1021
+ },
1022
+ "unitCode" : {
1023
+ "$ref" : "#/definitions/token"
1024
+ }
1025
+ }
1026
+ }
1027
+ },
1028
+ "unitPrice" : {
1029
+ "type" : "object",
1030
+ "additionalProperties" : false,
1031
+ "properties" : {
1032
+ "chargeAmount" : {
1033
+ "type" : "object",
1034
+ "required" : [ "content" ],
1035
+ "additionalProperties" : false,
1036
+ "properties" : {
1037
+ "content" : {
1038
+ "$ref" : "#/definitions/decimal"
1039
+ },
1040
+ "currencyCode" : {
1041
+ "$ref" : "#/definitions/token"
1042
+ }
1043
+ }
1044
+ },
1045
+ "quantityRange" : {
1046
+ "type" : "object",
1047
+ "additionalProperties" : false,
1048
+ "properties" : {
1049
+ "minimumQuantity" : {
1050
+ "type" : "object",
1051
+ "required" : [ "content" ],
1052
+ "additionalProperties" : false,
1053
+ "properties" : {
1054
+ "content" : {
1055
+ "$ref" : "#/definitions/decimal"
1056
+ },
1057
+ "unitCode" : {
1058
+ "$ref" : "#/definitions/token"
1059
+ }
1060
+ }
1061
+ },
1062
+ "maximumQuantity" : {
1063
+ "type" : "object",
1064
+ "required" : [ "content" ],
1065
+ "additionalProperties" : false,
1066
+ "properties" : {
1067
+ "content" : {
1068
+ "$ref" : "#/definitions/decimal"
1069
+ },
1070
+ "unitCode" : {
1071
+ "$ref" : "#/definitions/token"
1072
+ }
1073
+ }
1074
+ }
1075
+ }
1076
+ },
1077
+ "unitAmount" : {
1078
+ "$ref" : "#/definitions/decimal"
1079
+ }
1080
+ }
1081
+ },
1082
+ "extendedAmount" : {
1083
+ "type" : "object",
1084
+ "required" : [ "content" ],
1085
+ "additionalProperties" : false,
1086
+ "properties" : {
1087
+ "content" : {
1088
+ "$ref" : "#/definitions/decimal"
1089
+ },
1090
+ "currencyCode" : {
1091
+ "$ref" : "#/definitions/token"
1092
+ }
1093
+ }
1094
+ },
1095
+ "totalAmount" : {
1096
+ "type" : "object",
1097
+ "required" : [ "content" ],
1098
+ "additionalProperties" : false,
1099
+ "properties" : {
1100
+ "content" : {
1101
+ "$ref" : "#/definitions/decimal"
1102
+ },
1103
+ "currencyCode" : {
1104
+ "$ref" : "#/definitions/token"
1105
+ }
1106
+ }
1107
+ },
1108
+ "contractReference" : {
1109
+ "type" : "object",
1110
+ "additionalProperties" : false,
1111
+ "properties" : {
1112
+ "identifier" : {
1113
+ "$ref" : "#/definitions/normalizedString"
1114
+ }
1115
+ }
1116
+ },
1117
+ "requiredDeliveryDateTime" : {
1118
+ "$ref" : "#/definitions/token"
1119
+ },
1120
+ "shipToParty" : {
1121
+ "type" : "object",
1122
+ "additionalProperties" : false,
1123
+ "properties" : {
1124
+ "identifier" : {
1125
+ "type" : "array",
1126
+ "items" : {
1127
+ "$ref" : "#/definitions/normalizedString"
1128
+ }
1129
+ },
1130
+ "name" : {
1131
+ "type" : "array",
1132
+ "items" : {
1133
+ "$ref" : "#/definitions/string"
1134
+ }
1135
+ },
1136
+ "location" : {
1137
+ "type" : "array",
1138
+ "items" : {
1139
+ "type" : "object",
1140
+ "additionalProperties" : false,
1141
+ "properties" : {
1142
+ "contact" : {
1143
+ "type" : "array",
1144
+ "items" : {
1145
+ "type" : "object",
1146
+ "additionalProperties" : false,
1147
+ "properties" : {
1148
+ "personName" : {
1149
+ "type" : "array",
1150
+ "items" : {
1151
+ "type" : "object",
1152
+ "additionalProperties" : false,
1153
+ "properties" : {
1154
+ "formattedName" : {
1155
+ "$ref" : "#/definitions/string"
1156
+ },
1157
+ "givenName" : {
1158
+ "$ref" : "#/definitions/string"
1159
+ },
1160
+ "middleName" : {
1161
+ "type" : "array",
1162
+ "items" : {
1163
+ "$ref" : "#/definitions/string"
1164
+ }
1165
+ },
1166
+ "familyName" : {
1167
+ "type" : "array",
1168
+ "items" : {
1169
+ "$ref" : "#/definitions/string"
1170
+ }
1171
+ }
1172
+ }
1173
+ }
1174
+ },
1175
+ "telephoneCommunication" : {
1176
+ "type" : "array",
1177
+ "items" : {
1178
+ "type" : "object",
1179
+ "additionalProperties" : false,
1180
+ "properties" : {
1181
+ "identifier" : {
1182
+ "type" : "array",
1183
+ "items" : {
1184
+ "$ref" : "#/definitions/normalizedString"
1185
+ }
1186
+ }
1187
+ }
1188
+ }
1189
+ },
1190
+ "emailAddressCommunication" : {
1191
+ "type" : "array",
1192
+ "items" : {
1193
+ "type" : "object",
1194
+ "additionalProperties" : false,
1195
+ "properties" : {
1196
+ "identifier" : {
1197
+ "type" : "array",
1198
+ "items" : {
1199
+ "$ref" : "#/definitions/normalizedString"
1200
+ }
1201
+ }
1202
+ }
1203
+ }
1204
+ }
1205
+ }
1206
+ }
1207
+ },
1208
+ "physicalAddress" : {
1209
+ "type" : "array",
1210
+ "items" : {
1211
+ "type" : "object",
1212
+ "additionalProperties" : false,
1213
+ "properties" : {
1214
+ "identifier" : {
1215
+ "type" : "array",
1216
+ "items" : {
1217
+ "$ref" : "#/definitions/normalizedString"
1218
+ }
1219
+ },
1220
+ "attentionOfName" : {
1221
+ "type" : "array",
1222
+ "items" : {
1223
+ "$ref" : "#/definitions/string"
1224
+ }
1225
+ },
1226
+ "addressLine" : {
1227
+ "type" : "array",
1228
+ "items" : {
1229
+ "$ref" : "#/definitions/string"
1230
+ }
1231
+ },
1232
+ "cityName" : {
1233
+ "$ref" : "#/definitions/string"
1234
+ },
1235
+ "countrySubDivisionCode" : {
1236
+ "type" : "array",
1237
+ "items" : {
1238
+ "$ref" : "#/definitions/token"
1239
+ }
1240
+ },
1241
+ "countryCode" : {
1242
+ "$ref" : "#/definitions/token"
1243
+ },
1244
+ "postalCode" : {
1245
+ "$ref" : "#/definitions/normalizedString"
1246
+ },
1247
+ "geographicalCoordinate" : {
1248
+ "type" : "array",
1249
+ "items" : {
1250
+ "type" : "object",
1251
+ "additionalProperties" : false,
1252
+ "properties" : {
1253
+ "verticalMeasure" : {
1254
+ "$ref" : "#/definitions/decimal"
1255
+ },
1256
+ "latitudeMeasure" : {
1257
+ "$ref" : "#/definitions/decimal"
1258
+ },
1259
+ "longitudeMeasure" : {
1260
+ "$ref" : "#/definitions/decimal"
1261
+ }
1262
+ }
1263
+ }
1264
+ }
1265
+ }
1266
+ }
1267
+ },
1268
+ "availableTimePeriod" : {
1269
+ "type" : "array",
1270
+ "items" : {
1271
+ "type" : "object",
1272
+ "additionalProperties" : false,
1273
+ "properties" : {
1274
+ "startTime" : {
1275
+ "$ref" : "#/definitions/token"
1276
+ },
1277
+ "endTime" : {
1278
+ "$ref" : "#/definitions/token"
1279
+ }
1280
+ }
1281
+ }
1282
+ },
1283
+ "glnid" : {
1284
+ "$ref" : "#/definitions/normalizedString"
1285
+ }
1286
+ }
1287
+ }
1288
+ }
1289
+ }
1290
+ },
1291
+ "partialShipmentAllowedIndicator" : {
1292
+ "$ref" : "#/definitions/xbt_BooleanType"
1293
+ },
1294
+ "transportationTerm" : {
1295
+ "type" : "array",
1296
+ "items" : {
1297
+ "type" : "object",
1298
+ "additionalProperties" : false,
1299
+ "properties" : {
1300
+ "freightTermCode" : {
1301
+ "$ref" : "#/definitions/token"
1302
+ }
1303
+ }
1304
+ }
1305
+ },
1306
+ "transportStep" : {
1307
+ "type" : "array",
1308
+ "items" : {
1309
+ "type" : "object",
1310
+ "additionalProperties" : false,
1311
+ "properties" : {
1312
+ "transportationMethodCode" : {
1313
+ "$ref" : "#/definitions/normalizedString"
1314
+ }
1315
+ }
1316
+ }
1317
+ },
1318
+ "purchaseOrderSubLine" : {
1319
+ "type" : "array",
1320
+ "items" : {
1321
+ "type" : "object",
1322
+ "additionalProperties" : false,
1323
+ "properties" : {
1324
+ "amountDiscount" : {
1325
+ "description" : "If provided, customer service will evaluate for applicability.",
1326
+ "type" : "object",
1327
+ "additionalProperties" : false,
1328
+ "properties" : {
1329
+ "identifier" : {
1330
+ "type" : "array",
1331
+ "items" : {
1332
+ "$ref" : "#/definitions/normalizedString"
1333
+ }
1334
+ },
1335
+ "discountAmount" : {
1336
+ "description" : "Calculated amount based on percentage.",
1337
+ "type" : "array",
1338
+ "items" : {
1339
+ "$ref" : "#/definitions/decimal"
1340
+ }
1341
+ },
1342
+ "percentage" : {
1343
+ "$ref" : "#/definitions/decimal"
1344
+ },
1345
+ "description" : {
1346
+ "type" : "array",
1347
+ "items" : {
1348
+ "$ref" : "#/definitions/string"
1349
+ }
1350
+ }
1351
+ }
1352
+ }
1353
+ }
1354
+ }
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ }
1360
+ }
1361
+ },
1362
+ "definitions" : {
1363
+ "token" : {
1364
+ "type" : "string"
1365
+ },
1366
+ "normalizedString" : {
1367
+ "type" : "string"
1368
+ },
1369
+ "string" : {
1370
+ "type" : "string"
1371
+ },
1372
+ "decimal" : {
1373
+ "type" : "number"
1374
+ },
1375
+ "integer" : {
1376
+ "type" : "number",
1377
+ "multipleOf" : 1
1378
+ },
1379
+ "xbt_BooleanType" : {
1380
+ "type" : "boolean"
1381
+ }
1382
+ }
1383
+ }