@fleetless/contracts 12.1.0-next.1 → 13.0.0

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 (70) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/artifacts/openapi.json +15968 -13701
  3. package/artifacts/routes.json +123 -1
  4. package/artifacts/schema/billing-decision-display-response.schema.json +749 -504
  5. package/artifacts/schema/billing-decision-period.schema.json +573 -504
  6. package/artifacts/schema/billing-decision-snapshot.schema.json +749 -504
  7. package/artifacts/schema/journal-access-proof.schema.json +342 -0
  8. package/artifacts/schema/journal-deletion-manifest.schema.json +2103 -0
  9. package/artifacts/schema/journal-evidence-ref.schema.json +596 -0
  10. package/artifacts/schema/journal-export-item.schema.json +2910 -0
  11. package/artifacts/schema/journal-final-seal-body.schema.json +160 -0
  12. package/artifacts/schema/journal-final-seal.schema.json +169 -0
  13. package/artifacts/schema/journal-first-checkpoint-body.schema.json +101 -0
  14. package/artifacts/schema/journal-first-checkpoint.schema.json +111 -0
  15. package/artifacts/schema/journal-generation-checkpoint-body.schema.json +88 -0
  16. package/artifacts/schema/journal-generation-checkpoint.schema.json +97 -0
  17. package/artifacts/schema/journal-intent-v2-body.schema.json +4166 -0
  18. package/artifacts/schema/journal-intent-v2.schema.json +4616 -0
  19. package/artifacts/schema/journal-manifest-batch.schema.json +1236 -0
  20. package/artifacts/schema/journal-manifest-binding.schema.json +3541 -0
  21. package/artifacts/schema/journal-manifest-entry.schema.json +106 -0
  22. package/artifacts/schema/journal-manifest-intent-projection.schema.json +1428 -0
  23. package/artifacts/schema/journal-manifest-row.schema.json +578 -0
  24. package/artifacts/schema/journal-manifest-scope.schema.json +135 -0
  25. package/artifacts/schema/journal-mirror-attempt.schema.json +182 -0
  26. package/artifacts/schema/journal-mixed-export.schema.json +3115 -0
  27. package/artifacts/schema/journal-registry-activation-receipt-body.schema.json +304 -0
  28. package/artifacts/schema/journal-registry-activation-receipt.schema.json +324 -0
  29. package/artifacts/schema/journal-registry-transition-body.schema.json +113 -0
  30. package/artifacts/schema/journal-registry-transition.schema.json +123 -0
  31. package/artifacts/schema/journal-replay-receipt-body.schema.json +1252 -0
  32. package/artifacts/schema/journal-replay-receipt.schema.json +1261 -0
  33. package/artifacts/schema/journal-v2-activation-checkpoint-body.schema.json +99 -0
  34. package/artifacts/schema/journal-v2-activation-checkpoint.schema.json +108 -0
  35. package/artifacts/schema/legal-acceptance-list-response.schema.json +31 -2
  36. package/artifacts/schema/legal-acceptance-version-row.schema.json +31 -2
  37. package/artifacts/schema/legal-offer-conflict-details.schema.json +32 -0
  38. package/artifacts/schema/legal-offer-decision-lookup-query.schema.json +16 -0
  39. package/artifacts/schema/legal-offer-decision-request.schema.json +37 -0
  40. package/artifacts/schema/legal-offer-decision-result.schema.json +409 -0
  41. package/artifacts/schema/legal-offer-decision-snapshot.schema.json +678 -0
  42. package/artifacts/schema/legal-offer-display-request.schema.json +16 -0
  43. package/artifacts/schema/legal-offer-display-response.schema.json +712 -0
  44. package/artifacts/schema/legal-offer-list-query.schema.json +17 -0
  45. package/artifacts/schema/legal-offer-list-response.schema.json +347 -0
  46. package/artifacts/schema/legal-offer-summary.schema.json +321 -0
  47. package/artifacts/schema/plan-change-prepare-response.schema.json +749 -504
  48. package/dist/billing.d.ts +361 -275
  49. package/dist/billing.js +25 -4
  50. package/dist/errors.d.ts +1 -1
  51. package/dist/errors.js +2 -0
  52. package/dist/index.d.ts +12 -0
  53. package/dist/index.js +6 -0
  54. package/dist/journal-controls.d.ts +228 -0
  55. package/dist/journal-controls.js +111 -0
  56. package/dist/journal-intents.d.ts +1695 -0
  57. package/dist/journal-intents.js +97 -0
  58. package/dist/journal-manifests.d.ts +1670 -0
  59. package/dist/journal-manifests.js +182 -0
  60. package/dist/journal-restore.d.ts +1871 -0
  61. package/dist/journal-restore.js +324 -0
  62. package/dist/journal-seals.d.ts +147 -0
  63. package/dist/journal-seals.js +89 -0
  64. package/dist/legal-acceptances.d.ts +4 -0
  65. package/dist/legal-acceptances.js +9 -2
  66. package/dist/legal-offers.d.ts +468 -0
  67. package/dist/legal-offers.js +91 -0
  68. package/dist/realtime.d.ts +2 -2
  69. package/dist/routes.js +54 -0
  70. package/package.json +1 -1
@@ -0,0 +1,304 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "schema": {
8
+ "type": "string",
9
+ "const": "fleetless.registry-activation-receipt.v1"
10
+ },
11
+ "environment": {
12
+ "type": "string",
13
+ "minLength": 1
14
+ },
15
+ "generation": {
16
+ "type": "string",
17
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
18
+ },
19
+ "signing_key_id": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "control_hash": {
24
+ "type": "string",
25
+ "pattern": "^[0-9a-f]{64}$"
26
+ },
27
+ "mirror_version_id": {
28
+ "type": "string",
29
+ "minLength": 1
30
+ },
31
+ "mirror_retain_until": {
32
+ "type": "string",
33
+ "format": "date-time",
34
+ "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{3}(?:Z))$"
35
+ },
36
+ "fence_drain_evidence_hash": {
37
+ "type": "string",
38
+ "pattern": "^[0-9a-f]{64}$"
39
+ },
40
+ "fence_drain_evidence_version_id": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ },
44
+ "source_db_timeline": {
45
+ "type": "integer",
46
+ "minimum": 1,
47
+ "maximum": 9007199254740991
48
+ },
49
+ "source_db_lsn": {
50
+ "type": "string",
51
+ "pattern": "^(?:0|[1-9A-F][0-9A-F]{0,7})\\/(?:0|[1-9A-F][0-9A-F]{0,7})$"
52
+ },
53
+ "fence_retain_until": {
54
+ "type": "string",
55
+ "format": "date-time",
56
+ "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{3}(?:Z))$"
57
+ },
58
+ "new_registry_digest": {
59
+ "type": "string",
60
+ "pattern": "^[0-9a-f]{64}$"
61
+ },
62
+ "new_registry_version_id": {
63
+ "type": "string",
64
+ "minLength": 1
65
+ },
66
+ "new_build_set_digest": {
67
+ "type": "string",
68
+ "pattern": "^[0-9a-f]{64}$"
69
+ },
70
+ "new_build_set_version_id": {
71
+ "type": "string",
72
+ "minLength": 1
73
+ },
74
+ "standby_head_hash": {
75
+ "type": "string",
76
+ "pattern": "^[0-9a-f]{64}$"
77
+ },
78
+ "standby_id": {
79
+ "type": "string",
80
+ "minLength": 1
81
+ },
82
+ "copy_inventory_digest": {
83
+ "type": "string",
84
+ "pattern": "^[0-9a-f]{64}$"
85
+ },
86
+ "copy_coverage_digest": {
87
+ "type": "string",
88
+ "pattern": "^[0-9a-f]{64}$"
89
+ },
90
+ "coverage_verdict": {
91
+ "type": "string",
92
+ "enum": [
93
+ "covered",
94
+ "gap"
95
+ ]
96
+ },
97
+ "control_sequence": {
98
+ "type": "number",
99
+ "const": 0
100
+ },
101
+ "old_registry_digest": {
102
+ "type": "string",
103
+ "const": "0000000000000000000000000000000000000000000000000000000000000000"
104
+ },
105
+ "old_registry_version_id": {
106
+ "type": "string",
107
+ "const": ""
108
+ },
109
+ "old_build_set_digest": {
110
+ "type": "string",
111
+ "const": "0000000000000000000000000000000000000000000000000000000000000000"
112
+ },
113
+ "old_build_set_version_id": {
114
+ "type": "string",
115
+ "const": ""
116
+ },
117
+ "previous_receipt_hash": {
118
+ "type": "string",
119
+ "const": "0000000000000000000000000000000000000000000000000000000000000000"
120
+ }
121
+ },
122
+ "required": [
123
+ "schema",
124
+ "environment",
125
+ "generation",
126
+ "signing_key_id",
127
+ "control_hash",
128
+ "mirror_version_id",
129
+ "mirror_retain_until",
130
+ "fence_drain_evidence_hash",
131
+ "fence_drain_evidence_version_id",
132
+ "source_db_timeline",
133
+ "source_db_lsn",
134
+ "fence_retain_until",
135
+ "new_registry_digest",
136
+ "new_registry_version_id",
137
+ "new_build_set_digest",
138
+ "new_build_set_version_id",
139
+ "standby_head_hash",
140
+ "standby_id",
141
+ "copy_inventory_digest",
142
+ "copy_coverage_digest",
143
+ "coverage_verdict",
144
+ "control_sequence",
145
+ "old_registry_digest",
146
+ "old_registry_version_id",
147
+ "old_build_set_digest",
148
+ "old_build_set_version_id",
149
+ "previous_receipt_hash"
150
+ ],
151
+ "additionalProperties": false
152
+ },
153
+ {
154
+ "type": "object",
155
+ "properties": {
156
+ "schema": {
157
+ "type": "string",
158
+ "const": "fleetless.registry-activation-receipt.v1"
159
+ },
160
+ "environment": {
161
+ "type": "string",
162
+ "minLength": 1
163
+ },
164
+ "generation": {
165
+ "type": "string",
166
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
167
+ },
168
+ "signing_key_id": {
169
+ "type": "string",
170
+ "minLength": 1
171
+ },
172
+ "control_hash": {
173
+ "type": "string",
174
+ "pattern": "^[0-9a-f]{64}$"
175
+ },
176
+ "mirror_version_id": {
177
+ "type": "string",
178
+ "minLength": 1
179
+ },
180
+ "mirror_retain_until": {
181
+ "type": "string",
182
+ "format": "date-time",
183
+ "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{3}(?:Z))$"
184
+ },
185
+ "fence_drain_evidence_hash": {
186
+ "type": "string",
187
+ "pattern": "^[0-9a-f]{64}$"
188
+ },
189
+ "fence_drain_evidence_version_id": {
190
+ "type": "string",
191
+ "minLength": 1
192
+ },
193
+ "source_db_timeline": {
194
+ "type": "integer",
195
+ "minimum": 1,
196
+ "maximum": 9007199254740991
197
+ },
198
+ "source_db_lsn": {
199
+ "type": "string",
200
+ "pattern": "^(?:0|[1-9A-F][0-9A-F]{0,7})\\/(?:0|[1-9A-F][0-9A-F]{0,7})$"
201
+ },
202
+ "fence_retain_until": {
203
+ "type": "string",
204
+ "format": "date-time",
205
+ "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{3}(?:Z))$"
206
+ },
207
+ "new_registry_digest": {
208
+ "type": "string",
209
+ "pattern": "^[0-9a-f]{64}$"
210
+ },
211
+ "new_registry_version_id": {
212
+ "type": "string",
213
+ "minLength": 1
214
+ },
215
+ "new_build_set_digest": {
216
+ "type": "string",
217
+ "pattern": "^[0-9a-f]{64}$"
218
+ },
219
+ "new_build_set_version_id": {
220
+ "type": "string",
221
+ "minLength": 1
222
+ },
223
+ "standby_head_hash": {
224
+ "type": "string",
225
+ "pattern": "^[0-9a-f]{64}$"
226
+ },
227
+ "standby_id": {
228
+ "type": "string",
229
+ "minLength": 1
230
+ },
231
+ "copy_inventory_digest": {
232
+ "type": "string",
233
+ "pattern": "^[0-9a-f]{64}$"
234
+ },
235
+ "copy_coverage_digest": {
236
+ "type": "string",
237
+ "pattern": "^[0-9a-f]{64}$"
238
+ },
239
+ "coverage_verdict": {
240
+ "type": "string",
241
+ "enum": [
242
+ "covered",
243
+ "gap"
244
+ ]
245
+ },
246
+ "control_sequence": {
247
+ "type": "integer",
248
+ "minimum": 1,
249
+ "maximum": 9007199254740991
250
+ },
251
+ "old_registry_digest": {
252
+ "type": "string",
253
+ "pattern": "^[0-9a-f]{64}$"
254
+ },
255
+ "old_registry_version_id": {
256
+ "type": "string",
257
+ "minLength": 1
258
+ },
259
+ "old_build_set_digest": {
260
+ "type": "string",
261
+ "pattern": "^[0-9a-f]{64}$"
262
+ },
263
+ "old_build_set_version_id": {
264
+ "type": "string",
265
+ "minLength": 1
266
+ },
267
+ "previous_receipt_hash": {
268
+ "type": "string",
269
+ "pattern": "^[0-9a-f]{64}$"
270
+ }
271
+ },
272
+ "required": [
273
+ "schema",
274
+ "environment",
275
+ "generation",
276
+ "signing_key_id",
277
+ "control_hash",
278
+ "mirror_version_id",
279
+ "mirror_retain_until",
280
+ "fence_drain_evidence_hash",
281
+ "fence_drain_evidence_version_id",
282
+ "source_db_timeline",
283
+ "source_db_lsn",
284
+ "fence_retain_until",
285
+ "new_registry_digest",
286
+ "new_registry_version_id",
287
+ "new_build_set_digest",
288
+ "new_build_set_version_id",
289
+ "standby_head_hash",
290
+ "standby_id",
291
+ "copy_inventory_digest",
292
+ "copy_coverage_digest",
293
+ "coverage_verdict",
294
+ "control_sequence",
295
+ "old_registry_digest",
296
+ "old_registry_version_id",
297
+ "old_build_set_digest",
298
+ "old_build_set_version_id",
299
+ "previous_receipt_hash"
300
+ ],
301
+ "additionalProperties": false
302
+ }
303
+ ]
304
+ }
@@ -0,0 +1,324 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "schema": {
8
+ "type": "string",
9
+ "const": "fleetless.registry-activation-receipt.v1"
10
+ },
11
+ "environment": {
12
+ "type": "string",
13
+ "minLength": 1
14
+ },
15
+ "generation": {
16
+ "type": "string",
17
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
18
+ },
19
+ "signing_key_id": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "control_hash": {
24
+ "type": "string",
25
+ "pattern": "^[0-9a-f]{64}$"
26
+ },
27
+ "mirror_version_id": {
28
+ "type": "string",
29
+ "minLength": 1
30
+ },
31
+ "mirror_retain_until": {
32
+ "type": "string",
33
+ "format": "date-time",
34
+ "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{3}(?:Z))$"
35
+ },
36
+ "fence_drain_evidence_hash": {
37
+ "type": "string",
38
+ "pattern": "^[0-9a-f]{64}$"
39
+ },
40
+ "fence_drain_evidence_version_id": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ },
44
+ "source_db_timeline": {
45
+ "type": "integer",
46
+ "minimum": 1,
47
+ "maximum": 9007199254740991
48
+ },
49
+ "source_db_lsn": {
50
+ "type": "string",
51
+ "pattern": "^(?:0|[1-9A-F][0-9A-F]{0,7})\\/(?:0|[1-9A-F][0-9A-F]{0,7})$"
52
+ },
53
+ "fence_retain_until": {
54
+ "type": "string",
55
+ "format": "date-time",
56
+ "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{3}(?:Z))$"
57
+ },
58
+ "new_registry_digest": {
59
+ "type": "string",
60
+ "pattern": "^[0-9a-f]{64}$"
61
+ },
62
+ "new_registry_version_id": {
63
+ "type": "string",
64
+ "minLength": 1
65
+ },
66
+ "new_build_set_digest": {
67
+ "type": "string",
68
+ "pattern": "^[0-9a-f]{64}$"
69
+ },
70
+ "new_build_set_version_id": {
71
+ "type": "string",
72
+ "minLength": 1
73
+ },
74
+ "standby_head_hash": {
75
+ "type": "string",
76
+ "pattern": "^[0-9a-f]{64}$"
77
+ },
78
+ "standby_id": {
79
+ "type": "string",
80
+ "minLength": 1
81
+ },
82
+ "copy_inventory_digest": {
83
+ "type": "string",
84
+ "pattern": "^[0-9a-f]{64}$"
85
+ },
86
+ "copy_coverage_digest": {
87
+ "type": "string",
88
+ "pattern": "^[0-9a-f]{64}$"
89
+ },
90
+ "coverage_verdict": {
91
+ "type": "string",
92
+ "enum": [
93
+ "covered",
94
+ "gap"
95
+ ]
96
+ },
97
+ "control_sequence": {
98
+ "type": "number",
99
+ "const": 0
100
+ },
101
+ "old_registry_digest": {
102
+ "type": "string",
103
+ "const": "0000000000000000000000000000000000000000000000000000000000000000"
104
+ },
105
+ "old_registry_version_id": {
106
+ "type": "string",
107
+ "const": ""
108
+ },
109
+ "old_build_set_digest": {
110
+ "type": "string",
111
+ "const": "0000000000000000000000000000000000000000000000000000000000000000"
112
+ },
113
+ "old_build_set_version_id": {
114
+ "type": "string",
115
+ "const": ""
116
+ },
117
+ "previous_receipt_hash": {
118
+ "type": "string",
119
+ "const": "0000000000000000000000000000000000000000000000000000000000000000"
120
+ },
121
+ "receipt_hash": {
122
+ "type": "string",
123
+ "pattern": "^[0-9a-f]{64}$"
124
+ },
125
+ "signature": {
126
+ "type": "string",
127
+ "pattern": "^[A-Za-z0-9_-]{85}[AQgw]$"
128
+ }
129
+ },
130
+ "required": [
131
+ "schema",
132
+ "environment",
133
+ "generation",
134
+ "signing_key_id",
135
+ "control_hash",
136
+ "mirror_version_id",
137
+ "mirror_retain_until",
138
+ "fence_drain_evidence_hash",
139
+ "fence_drain_evidence_version_id",
140
+ "source_db_timeline",
141
+ "source_db_lsn",
142
+ "fence_retain_until",
143
+ "new_registry_digest",
144
+ "new_registry_version_id",
145
+ "new_build_set_digest",
146
+ "new_build_set_version_id",
147
+ "standby_head_hash",
148
+ "standby_id",
149
+ "copy_inventory_digest",
150
+ "copy_coverage_digest",
151
+ "coverage_verdict",
152
+ "control_sequence",
153
+ "old_registry_digest",
154
+ "old_registry_version_id",
155
+ "old_build_set_digest",
156
+ "old_build_set_version_id",
157
+ "previous_receipt_hash",
158
+ "receipt_hash",
159
+ "signature"
160
+ ],
161
+ "additionalProperties": false
162
+ },
163
+ {
164
+ "type": "object",
165
+ "properties": {
166
+ "schema": {
167
+ "type": "string",
168
+ "const": "fleetless.registry-activation-receipt.v1"
169
+ },
170
+ "environment": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ },
174
+ "generation": {
175
+ "type": "string",
176
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
177
+ },
178
+ "signing_key_id": {
179
+ "type": "string",
180
+ "minLength": 1
181
+ },
182
+ "control_hash": {
183
+ "type": "string",
184
+ "pattern": "^[0-9a-f]{64}$"
185
+ },
186
+ "mirror_version_id": {
187
+ "type": "string",
188
+ "minLength": 1
189
+ },
190
+ "mirror_retain_until": {
191
+ "type": "string",
192
+ "format": "date-time",
193
+ "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{3}(?:Z))$"
194
+ },
195
+ "fence_drain_evidence_hash": {
196
+ "type": "string",
197
+ "pattern": "^[0-9a-f]{64}$"
198
+ },
199
+ "fence_drain_evidence_version_id": {
200
+ "type": "string",
201
+ "minLength": 1
202
+ },
203
+ "source_db_timeline": {
204
+ "type": "integer",
205
+ "minimum": 1,
206
+ "maximum": 9007199254740991
207
+ },
208
+ "source_db_lsn": {
209
+ "type": "string",
210
+ "pattern": "^(?:0|[1-9A-F][0-9A-F]{0,7})\\/(?:0|[1-9A-F][0-9A-F]{0,7})$"
211
+ },
212
+ "fence_retain_until": {
213
+ "type": "string",
214
+ "format": "date-time",
215
+ "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{3}(?:Z))$"
216
+ },
217
+ "new_registry_digest": {
218
+ "type": "string",
219
+ "pattern": "^[0-9a-f]{64}$"
220
+ },
221
+ "new_registry_version_id": {
222
+ "type": "string",
223
+ "minLength": 1
224
+ },
225
+ "new_build_set_digest": {
226
+ "type": "string",
227
+ "pattern": "^[0-9a-f]{64}$"
228
+ },
229
+ "new_build_set_version_id": {
230
+ "type": "string",
231
+ "minLength": 1
232
+ },
233
+ "standby_head_hash": {
234
+ "type": "string",
235
+ "pattern": "^[0-9a-f]{64}$"
236
+ },
237
+ "standby_id": {
238
+ "type": "string",
239
+ "minLength": 1
240
+ },
241
+ "copy_inventory_digest": {
242
+ "type": "string",
243
+ "pattern": "^[0-9a-f]{64}$"
244
+ },
245
+ "copy_coverage_digest": {
246
+ "type": "string",
247
+ "pattern": "^[0-9a-f]{64}$"
248
+ },
249
+ "coverage_verdict": {
250
+ "type": "string",
251
+ "enum": [
252
+ "covered",
253
+ "gap"
254
+ ]
255
+ },
256
+ "control_sequence": {
257
+ "type": "integer",
258
+ "minimum": 1,
259
+ "maximum": 9007199254740991
260
+ },
261
+ "old_registry_digest": {
262
+ "type": "string",
263
+ "pattern": "^[0-9a-f]{64}$"
264
+ },
265
+ "old_registry_version_id": {
266
+ "type": "string",
267
+ "minLength": 1
268
+ },
269
+ "old_build_set_digest": {
270
+ "type": "string",
271
+ "pattern": "^[0-9a-f]{64}$"
272
+ },
273
+ "old_build_set_version_id": {
274
+ "type": "string",
275
+ "minLength": 1
276
+ },
277
+ "previous_receipt_hash": {
278
+ "type": "string",
279
+ "pattern": "^[0-9a-f]{64}$"
280
+ },
281
+ "receipt_hash": {
282
+ "type": "string",
283
+ "pattern": "^[0-9a-f]{64}$"
284
+ },
285
+ "signature": {
286
+ "type": "string",
287
+ "pattern": "^[A-Za-z0-9_-]{85}[AQgw]$"
288
+ }
289
+ },
290
+ "required": [
291
+ "schema",
292
+ "environment",
293
+ "generation",
294
+ "signing_key_id",
295
+ "control_hash",
296
+ "mirror_version_id",
297
+ "mirror_retain_until",
298
+ "fence_drain_evidence_hash",
299
+ "fence_drain_evidence_version_id",
300
+ "source_db_timeline",
301
+ "source_db_lsn",
302
+ "fence_retain_until",
303
+ "new_registry_digest",
304
+ "new_registry_version_id",
305
+ "new_build_set_digest",
306
+ "new_build_set_version_id",
307
+ "standby_head_hash",
308
+ "standby_id",
309
+ "copy_inventory_digest",
310
+ "copy_coverage_digest",
311
+ "coverage_verdict",
312
+ "control_sequence",
313
+ "old_registry_digest",
314
+ "old_registry_version_id",
315
+ "old_build_set_digest",
316
+ "old_build_set_version_id",
317
+ "previous_receipt_hash",
318
+ "receipt_hash",
319
+ "signature"
320
+ ],
321
+ "additionalProperties": false
322
+ }
323
+ ]
324
+ }