@fleetless/contracts 12.1.0 → 13.0.1

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 (75) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/artifacts/openapi.json +8431 -6164
  3. package/artifacts/routes.json +125 -3
  4. package/artifacts/schema/billing-change-response.schema.json +3 -3
  5. package/artifacts/schema/billing-decision-display-response.schema.json +749 -504
  6. package/artifacts/schema/billing-decision-period.schema.json +573 -504
  7. package/artifacts/schema/billing-decision-snapshot.schema.json +749 -504
  8. package/artifacts/schema/billing-invoice-pdf-query.schema.json +1 -1
  9. package/artifacts/schema/billing-invoice.schema.json +1 -1
  10. package/artifacts/schema/billing-view.schema.json +1 -1
  11. package/artifacts/schema/journal-access-proof.schema.json +342 -0
  12. package/artifacts/schema/journal-deletion-manifest.schema.json +2103 -0
  13. package/artifacts/schema/journal-evidence-ref.schema.json +596 -0
  14. package/artifacts/schema/journal-export-item.schema.json +2910 -0
  15. package/artifacts/schema/journal-final-seal-body.schema.json +160 -0
  16. package/artifacts/schema/journal-final-seal.schema.json +169 -0
  17. package/artifacts/schema/journal-first-checkpoint-body.schema.json +101 -0
  18. package/artifacts/schema/journal-first-checkpoint.schema.json +111 -0
  19. package/artifacts/schema/journal-generation-checkpoint-body.schema.json +88 -0
  20. package/artifacts/schema/journal-generation-checkpoint.schema.json +97 -0
  21. package/artifacts/schema/journal-intent-v2-body.schema.json +4166 -0
  22. package/artifacts/schema/journal-intent-v2.schema.json +4616 -0
  23. package/artifacts/schema/journal-manifest-batch.schema.json +1236 -0
  24. package/artifacts/schema/journal-manifest-binding.schema.json +3541 -0
  25. package/artifacts/schema/journal-manifest-entry.schema.json +106 -0
  26. package/artifacts/schema/journal-manifest-intent-projection.schema.json +1428 -0
  27. package/artifacts/schema/journal-manifest-row.schema.json +578 -0
  28. package/artifacts/schema/journal-manifest-scope.schema.json +135 -0
  29. package/artifacts/schema/journal-mirror-attempt.schema.json +182 -0
  30. package/artifacts/schema/journal-mixed-export.schema.json +3115 -0
  31. package/artifacts/schema/journal-registry-activation-receipt-body.schema.json +304 -0
  32. package/artifacts/schema/journal-registry-activation-receipt.schema.json +324 -0
  33. package/artifacts/schema/journal-registry-transition-body.schema.json +113 -0
  34. package/artifacts/schema/journal-registry-transition.schema.json +123 -0
  35. package/artifacts/schema/journal-replay-receipt-body.schema.json +1252 -0
  36. package/artifacts/schema/journal-replay-receipt.schema.json +1261 -0
  37. package/artifacts/schema/journal-v2-activation-checkpoint-body.schema.json +99 -0
  38. package/artifacts/schema/journal-v2-activation-checkpoint.schema.json +108 -0
  39. package/artifacts/schema/legal-acceptance-list-response.schema.json +31 -2
  40. package/artifacts/schema/legal-acceptance-version-row.schema.json +31 -2
  41. package/artifacts/schema/legal-offer-conflict-details.schema.json +32 -0
  42. package/artifacts/schema/legal-offer-decision-lookup-query.schema.json +16 -0
  43. package/artifacts/schema/legal-offer-decision-request.schema.json +37 -0
  44. package/artifacts/schema/legal-offer-decision-result.schema.json +409 -0
  45. package/artifacts/schema/legal-offer-decision-snapshot.schema.json +678 -0
  46. package/artifacts/schema/legal-offer-display-request.schema.json +16 -0
  47. package/artifacts/schema/legal-offer-display-response.schema.json +712 -0
  48. package/artifacts/schema/legal-offer-list-query.schema.json +17 -0
  49. package/artifacts/schema/legal-offer-list-response.schema.json +347 -0
  50. package/artifacts/schema/legal-offer-summary.schema.json +321 -0
  51. package/artifacts/schema/plan-change-prepare-response.schema.json +749 -504
  52. package/artifacts/schema/purchase-intent-response.schema.json +3 -3
  53. package/dist/billing.d.ts +361 -275
  54. package/dist/billing.js +27 -6
  55. package/dist/errors.d.ts +1 -1
  56. package/dist/errors.js +2 -0
  57. package/dist/index.d.ts +12 -0
  58. package/dist/index.js +6 -0
  59. package/dist/journal-controls.d.ts +228 -0
  60. package/dist/journal-controls.js +111 -0
  61. package/dist/journal-intents.d.ts +1695 -0
  62. package/dist/journal-intents.js +97 -0
  63. package/dist/journal-manifests.d.ts +1670 -0
  64. package/dist/journal-manifests.js +182 -0
  65. package/dist/journal-restore.d.ts +1871 -0
  66. package/dist/journal-restore.js +324 -0
  67. package/dist/journal-seals.d.ts +147 -0
  68. package/dist/journal-seals.js +89 -0
  69. package/dist/legal-acceptances.d.ts +4 -0
  70. package/dist/legal-acceptances.js +9 -2
  71. package/dist/legal-offers.d.ts +468 -0
  72. package/dist/legal-offers.js +91 -0
  73. package/dist/realtime.d.ts +2 -2
  74. package/dist/routes.js +57 -3
  75. package/package.json +1 -1
@@ -0,0 +1,409 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "offer_id": {
8
+ "type": "string",
9
+ "format": "uuid",
10
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
11
+ },
12
+ "decision_id": {
13
+ "type": "string",
14
+ "format": "uuid",
15
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
16
+ },
17
+ "decided_at": {
18
+ "type": "string",
19
+ "allOf": [
20
+ {
21
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
22
+ },
23
+ {
24
+ "pattern": "Z$"
25
+ }
26
+ ]
27
+ },
28
+ "terms": {
29
+ "type": "object",
30
+ "properties": {
31
+ "version": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 80
35
+ },
36
+ "version_date": {
37
+ "type": "string",
38
+ "format": "date",
39
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
40
+ },
41
+ "url": {
42
+ "type": "string",
43
+ "maxLength": 2048,
44
+ "pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
45
+ "format": "uri"
46
+ }
47
+ },
48
+ "required": [
49
+ "version",
50
+ "version_date",
51
+ "url"
52
+ ],
53
+ "additionalProperties": false
54
+ },
55
+ "dpa": {
56
+ "type": "null"
57
+ },
58
+ "kind": {
59
+ "type": "string",
60
+ "const": "terms"
61
+ },
62
+ "decision": {
63
+ "type": "string",
64
+ "const": "accept"
65
+ },
66
+ "effective_at": {
67
+ "type": "string",
68
+ "allOf": [
69
+ {
70
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
71
+ },
72
+ {
73
+ "pattern": "Z$"
74
+ }
75
+ ]
76
+ },
77
+ "price_start_at": {
78
+ "type": "null"
79
+ },
80
+ "terms_access": {
81
+ "type": "object",
82
+ "properties": {
83
+ "state": {
84
+ "type": "string",
85
+ "const": "unrestricted"
86
+ },
87
+ "acceptance_deadline_at": {
88
+ "type": "string",
89
+ "allOf": [
90
+ {
91
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
92
+ },
93
+ {
94
+ "pattern": "Z$"
95
+ }
96
+ ]
97
+ }
98
+ },
99
+ "required": [
100
+ "state",
101
+ "acceptance_deadline_at"
102
+ ],
103
+ "additionalProperties": false
104
+ }
105
+ },
106
+ "required": [
107
+ "offer_id",
108
+ "decision_id",
109
+ "decided_at",
110
+ "terms",
111
+ "dpa",
112
+ "kind",
113
+ "decision",
114
+ "effective_at",
115
+ "price_start_at",
116
+ "terms_access"
117
+ ],
118
+ "additionalProperties": false
119
+ },
120
+ {
121
+ "type": "object",
122
+ "properties": {
123
+ "offer_id": {
124
+ "type": "string",
125
+ "format": "uuid",
126
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
127
+ },
128
+ "decision_id": {
129
+ "type": "string",
130
+ "format": "uuid",
131
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
132
+ },
133
+ "decided_at": {
134
+ "type": "string",
135
+ "allOf": [
136
+ {
137
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
138
+ },
139
+ {
140
+ "pattern": "Z$"
141
+ }
142
+ ]
143
+ },
144
+ "terms": {
145
+ "type": "object",
146
+ "properties": {
147
+ "version": {
148
+ "type": "string",
149
+ "minLength": 1,
150
+ "maxLength": 80
151
+ },
152
+ "version_date": {
153
+ "type": "string",
154
+ "format": "date",
155
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
156
+ },
157
+ "url": {
158
+ "type": "string",
159
+ "maxLength": 2048,
160
+ "pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
161
+ "format": "uri"
162
+ }
163
+ },
164
+ "required": [
165
+ "version",
166
+ "version_date",
167
+ "url"
168
+ ],
169
+ "additionalProperties": false
170
+ },
171
+ "dpa": {
172
+ "type": "null"
173
+ },
174
+ "kind": {
175
+ "type": "string",
176
+ "const": "terms"
177
+ },
178
+ "decision": {
179
+ "type": "string",
180
+ "const": "decline"
181
+ },
182
+ "effective_at": {
183
+ "type": "null"
184
+ },
185
+ "price_start_at": {
186
+ "type": "null"
187
+ },
188
+ "terms_access": {
189
+ "type": "object",
190
+ "properties": {
191
+ "state": {
192
+ "type": "string",
193
+ "const": "pending"
194
+ },
195
+ "acceptance_deadline_at": {
196
+ "type": "string",
197
+ "allOf": [
198
+ {
199
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
200
+ },
201
+ {
202
+ "pattern": "Z$"
203
+ }
204
+ ]
205
+ }
206
+ },
207
+ "required": [
208
+ "state",
209
+ "acceptance_deadline_at"
210
+ ],
211
+ "additionalProperties": false
212
+ }
213
+ },
214
+ "required": [
215
+ "offer_id",
216
+ "decision_id",
217
+ "decided_at",
218
+ "terms",
219
+ "dpa",
220
+ "kind",
221
+ "decision",
222
+ "effective_at",
223
+ "price_start_at",
224
+ "terms_access"
225
+ ],
226
+ "additionalProperties": false
227
+ },
228
+ {
229
+ "type": "object",
230
+ "properties": {
231
+ "offer_id": {
232
+ "type": "string",
233
+ "format": "uuid",
234
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
235
+ },
236
+ "decision_id": {
237
+ "type": "string",
238
+ "format": "uuid",
239
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
240
+ },
241
+ "decided_at": {
242
+ "type": "string",
243
+ "allOf": [
244
+ {
245
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
246
+ },
247
+ {
248
+ "pattern": "Z$"
249
+ }
250
+ ]
251
+ },
252
+ "terms": {
253
+ "type": "object",
254
+ "properties": {
255
+ "version": {
256
+ "type": "string",
257
+ "minLength": 1,
258
+ "maxLength": 80
259
+ },
260
+ "version_date": {
261
+ "type": "string",
262
+ "format": "date",
263
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
264
+ },
265
+ "url": {
266
+ "type": "string",
267
+ "maxLength": 2048,
268
+ "pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
269
+ "format": "uri"
270
+ }
271
+ },
272
+ "required": [
273
+ "version",
274
+ "version_date",
275
+ "url"
276
+ ],
277
+ "additionalProperties": false
278
+ },
279
+ "dpa": {
280
+ "type": "null"
281
+ },
282
+ "kind": {
283
+ "type": "string",
284
+ "const": "price"
285
+ },
286
+ "decision": {
287
+ "type": "string",
288
+ "const": "accept"
289
+ },
290
+ "effective_at": {
291
+ "type": "null"
292
+ },
293
+ "price_start_at": {
294
+ "type": "string",
295
+ "allOf": [
296
+ {
297
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
298
+ },
299
+ {
300
+ "pattern": "Z$"
301
+ }
302
+ ]
303
+ },
304
+ "terms_access": {
305
+ "type": "null"
306
+ }
307
+ },
308
+ "required": [
309
+ "offer_id",
310
+ "decision_id",
311
+ "decided_at",
312
+ "terms",
313
+ "dpa",
314
+ "kind",
315
+ "decision",
316
+ "effective_at",
317
+ "price_start_at",
318
+ "terms_access"
319
+ ],
320
+ "additionalProperties": false
321
+ },
322
+ {
323
+ "type": "object",
324
+ "properties": {
325
+ "offer_id": {
326
+ "type": "string",
327
+ "format": "uuid",
328
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
329
+ },
330
+ "decision_id": {
331
+ "type": "string",
332
+ "format": "uuid",
333
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
334
+ },
335
+ "decided_at": {
336
+ "type": "string",
337
+ "allOf": [
338
+ {
339
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
340
+ },
341
+ {
342
+ "pattern": "Z$"
343
+ }
344
+ ]
345
+ },
346
+ "terms": {
347
+ "type": "object",
348
+ "properties": {
349
+ "version": {
350
+ "type": "string",
351
+ "minLength": 1,
352
+ "maxLength": 80
353
+ },
354
+ "version_date": {
355
+ "type": "string",
356
+ "format": "date",
357
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
358
+ },
359
+ "url": {
360
+ "type": "string",
361
+ "maxLength": 2048,
362
+ "pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
363
+ "format": "uri"
364
+ }
365
+ },
366
+ "required": [
367
+ "version",
368
+ "version_date",
369
+ "url"
370
+ ],
371
+ "additionalProperties": false
372
+ },
373
+ "dpa": {
374
+ "type": "null"
375
+ },
376
+ "kind": {
377
+ "type": "string",
378
+ "const": "price"
379
+ },
380
+ "decision": {
381
+ "type": "string",
382
+ "const": "decline"
383
+ },
384
+ "effective_at": {
385
+ "type": "null"
386
+ },
387
+ "price_start_at": {
388
+ "type": "null"
389
+ },
390
+ "terms_access": {
391
+ "type": "null"
392
+ }
393
+ },
394
+ "required": [
395
+ "offer_id",
396
+ "decision_id",
397
+ "decided_at",
398
+ "terms",
399
+ "dpa",
400
+ "kind",
401
+ "decision",
402
+ "effective_at",
403
+ "price_start_at",
404
+ "terms_access"
405
+ ],
406
+ "additionalProperties": false
407
+ }
408
+ ]
409
+ }