@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,1261 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schema": {
6
+ "type": "string",
7
+ "const": "fleetless.journal-replay-receipt.v2"
8
+ },
9
+ "environment": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ },
13
+ "signing_key_id": {
14
+ "type": "string",
15
+ "minLength": 1
16
+ },
17
+ "run_id": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ "restore_attempt_id": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ },
25
+ "bundle_digest": {
26
+ "type": "string",
27
+ "pattern": "^[0-9a-f]{64}$"
28
+ },
29
+ "seal_hash": {
30
+ "type": "string",
31
+ "pattern": "^[0-9a-f]{64}$"
32
+ },
33
+ "seal_version_id": {
34
+ "type": "string",
35
+ "minLength": 1
36
+ },
37
+ "registry_chain_digest": {
38
+ "type": "string",
39
+ "pattern": "^[0-9a-f]{64}$"
40
+ },
41
+ "source_fingerprint": {
42
+ "type": "string",
43
+ "pattern": "^[0-9a-f]{64}$"
44
+ },
45
+ "target_fingerprint": {
46
+ "type": "string",
47
+ "pattern": "^[0-9a-f]{64}$"
48
+ },
49
+ "schema_preflight_digest": {
50
+ "type": "string",
51
+ "pattern": "^[0-9a-f]{64}$"
52
+ },
53
+ "copy_inventory_digest": {
54
+ "type": "string",
55
+ "pattern": "^[0-9a-f]{64}$"
56
+ },
57
+ "copy_coverage_digest": {
58
+ "type": "string",
59
+ "pattern": "^[0-9a-f]{64}$"
60
+ },
61
+ "target_inventory_digest": {
62
+ "type": "string",
63
+ "pattern": "^[0-9a-f]{64}$"
64
+ },
65
+ "lower_sequence": {
66
+ "type": "integer",
67
+ "minimum": 0,
68
+ "maximum": 9007199254740991
69
+ },
70
+ "lower_hash": {
71
+ "type": "string",
72
+ "pattern": "^[0-9a-f]{64}$"
73
+ },
74
+ "upper_sequence": {
75
+ "type": "integer",
76
+ "minimum": 0,
77
+ "maximum": 9007199254740991
78
+ },
79
+ "upper_hash": {
80
+ "type": "string",
81
+ "pattern": "^[0-9a-f]{64}$"
82
+ },
83
+ "operation_count": {
84
+ "type": "integer",
85
+ "minimum": 0,
86
+ "maximum": 9007199254740991
87
+ },
88
+ "applied_count": {
89
+ "type": "integer",
90
+ "minimum": 0,
91
+ "maximum": 9007199254740991
92
+ },
93
+ "already_effective_count": {
94
+ "type": "integer",
95
+ "minimum": 0,
96
+ "maximum": 9007199254740991
97
+ },
98
+ "failed_count": {
99
+ "type": "integer",
100
+ "minimum": 0,
101
+ "maximum": 9007199254740991
102
+ },
103
+ "last_applied_sequence": {
104
+ "type": "integer",
105
+ "minimum": 0,
106
+ "maximum": 9007199254740991
107
+ },
108
+ "operations": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "object",
112
+ "properties": {
113
+ "sequence": {
114
+ "type": "integer",
115
+ "minimum": 1,
116
+ "maximum": 9007199254740991
117
+ },
118
+ "operation_id": {
119
+ "type": "string",
120
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
121
+ },
122
+ "kind": {
123
+ "type": "string",
124
+ "enum": [
125
+ "organization.erase",
126
+ "organization.scope_erase",
127
+ "robot.delete",
128
+ "app.delete",
129
+ "member.remove",
130
+ "app_user.remove",
131
+ "app_role.delete",
132
+ "server_key.revoke",
133
+ "billing_document_link.remove",
134
+ "app_oidc_provider.delete",
135
+ "team_invitation.revoke",
136
+ "app_invitation.revoke",
137
+ "mcp_grant.revoke",
138
+ "mcp_central_grant.revoke",
139
+ "mcp_client.revoke",
140
+ "mcp_central_client.revoke",
141
+ "auth_factor.remove",
142
+ "app_logo.delete",
143
+ "mail_template.reset",
144
+ "robot_assets.clear",
145
+ "asset.remove",
146
+ "asset.replace",
147
+ "organization_export.expire",
148
+ "history.slug_delete",
149
+ "history.retention",
150
+ "audit.retention",
151
+ "job_run.retention",
152
+ "latency.retention",
153
+ "ops_event.retention",
154
+ "ops_global_event.retention",
155
+ "operator_audit.retention",
156
+ "org_note_text.remove",
157
+ "org_note_text.replace",
158
+ "oidc_interaction.expire",
159
+ "mcp_interaction.expire",
160
+ "mcp_central_interaction.expire",
161
+ "mcp_client.expire",
162
+ "mcp_central_client.expire",
163
+ "console_interaction.expire",
164
+ "console_code.expire",
165
+ "instance.serial_lock",
166
+ "instance.serial_rotate_old",
167
+ "instance.license_revoke",
168
+ "instance.reporter_key_revoke",
169
+ "instance.instance_key_revoke"
170
+ ]
171
+ },
172
+ "apply_result": {
173
+ "type": "string",
174
+ "enum": [
175
+ "applied",
176
+ "already-effective",
177
+ "failed"
178
+ ]
179
+ },
180
+ "database": {
181
+ "type": "string",
182
+ "enum": [
183
+ "absent",
184
+ "revoked",
185
+ "failed",
186
+ "not-applicable"
187
+ ]
188
+ },
189
+ "customer_target_object": {
190
+ "type": "string",
191
+ "enum": [
192
+ "absent",
193
+ "failed",
194
+ "not-applicable"
195
+ ]
196
+ },
197
+ "authority": {
198
+ "type": "string",
199
+ "enum": [
200
+ "revoked",
201
+ "failed",
202
+ "not-applicable"
203
+ ]
204
+ },
205
+ "evidence_ref_ids": {
206
+ "type": "array",
207
+ "items": {
208
+ "type": "string",
209
+ "minLength": 1
210
+ }
211
+ }
212
+ },
213
+ "required": [
214
+ "sequence",
215
+ "operation_id",
216
+ "kind",
217
+ "apply_result",
218
+ "database",
219
+ "customer_target_object",
220
+ "authority",
221
+ "evidence_ref_ids"
222
+ ],
223
+ "additionalProperties": false
224
+ }
225
+ },
226
+ "evidence_refs": {
227
+ "type": "array",
228
+ "items": {
229
+ "anyOf": [
230
+ {
231
+ "type": "object",
232
+ "properties": {
233
+ "evidence_id": {
234
+ "type": "string",
235
+ "minLength": 1
236
+ },
237
+ "version_id": {
238
+ "type": "string",
239
+ "minLength": 1
240
+ },
241
+ "sha256": {
242
+ "type": "string",
243
+ "pattern": "^[0-9a-f]{64}$"
244
+ },
245
+ "observed_at": {
246
+ "type": "string",
247
+ "format": "date-time",
248
+ "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))$"
249
+ },
250
+ "bundle_digest": {
251
+ "type": "string",
252
+ "pattern": "^[0-9a-f]{64}$"
253
+ },
254
+ "seal_hash": {
255
+ "type": "string",
256
+ "pattern": "^[0-9a-f]{64}$"
257
+ },
258
+ "target_fingerprint": {
259
+ "type": "string",
260
+ "pattern": "^[0-9a-f]{64}$"
261
+ },
262
+ "binding_scope": {
263
+ "type": "string",
264
+ "const": "global"
265
+ },
266
+ "type": {
267
+ "type": "string",
268
+ "const": "probe_ref"
269
+ },
270
+ "surface_id": {
271
+ "type": "string",
272
+ "const": "source.version_read"
273
+ },
274
+ "outcome": {
275
+ "type": "string",
276
+ "enum": [
277
+ "denied",
278
+ "allowed",
279
+ "failed"
280
+ ]
281
+ },
282
+ "credential_class": {
283
+ "type": "string",
284
+ "minLength": 1
285
+ }
286
+ },
287
+ "required": [
288
+ "evidence_id",
289
+ "version_id",
290
+ "sha256",
291
+ "observed_at",
292
+ "bundle_digest",
293
+ "seal_hash",
294
+ "target_fingerprint",
295
+ "binding_scope",
296
+ "type",
297
+ "surface_id",
298
+ "outcome",
299
+ "credential_class"
300
+ ],
301
+ "additionalProperties": false
302
+ },
303
+ {
304
+ "type": "object",
305
+ "properties": {
306
+ "evidence_id": {
307
+ "type": "string",
308
+ "minLength": 1
309
+ },
310
+ "version_id": {
311
+ "type": "string",
312
+ "minLength": 1
313
+ },
314
+ "sha256": {
315
+ "type": "string",
316
+ "pattern": "^[0-9a-f]{64}$"
317
+ },
318
+ "observed_at": {
319
+ "type": "string",
320
+ "format": "date-time",
321
+ "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))$"
322
+ },
323
+ "bundle_digest": {
324
+ "type": "string",
325
+ "pattern": "^[0-9a-f]{64}$"
326
+ },
327
+ "seal_hash": {
328
+ "type": "string",
329
+ "pattern": "^[0-9a-f]{64}$"
330
+ },
331
+ "target_fingerprint": {
332
+ "type": "string",
333
+ "pattern": "^[0-9a-f]{64}$"
334
+ },
335
+ "binding_scope": {
336
+ "type": "string",
337
+ "const": "operation"
338
+ },
339
+ "operation_id": {
340
+ "type": "string",
341
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
342
+ },
343
+ "type": {
344
+ "type": "string",
345
+ "const": "probe_ref"
346
+ },
347
+ "surface_id": {
348
+ "type": "string",
349
+ "minLength": 1
350
+ },
351
+ "outcome": {
352
+ "type": "string",
353
+ "enum": [
354
+ "denied",
355
+ "allowed",
356
+ "failed"
357
+ ]
358
+ },
359
+ "credential_class": {
360
+ "type": "string",
361
+ "minLength": 1
362
+ }
363
+ },
364
+ "required": [
365
+ "evidence_id",
366
+ "version_id",
367
+ "sha256",
368
+ "observed_at",
369
+ "bundle_digest",
370
+ "seal_hash",
371
+ "target_fingerprint",
372
+ "binding_scope",
373
+ "operation_id",
374
+ "type",
375
+ "surface_id",
376
+ "outcome",
377
+ "credential_class"
378
+ ],
379
+ "additionalProperties": false
380
+ },
381
+ {
382
+ "type": "object",
383
+ "properties": {
384
+ "evidence_id": {
385
+ "type": "string",
386
+ "minLength": 1
387
+ },
388
+ "version_id": {
389
+ "type": "string",
390
+ "minLength": 1
391
+ },
392
+ "sha256": {
393
+ "type": "string",
394
+ "pattern": "^[0-9a-f]{64}$"
395
+ },
396
+ "observed_at": {
397
+ "type": "string",
398
+ "format": "date-time",
399
+ "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))$"
400
+ },
401
+ "bundle_digest": {
402
+ "type": "string",
403
+ "pattern": "^[0-9a-f]{64}$"
404
+ },
405
+ "seal_hash": {
406
+ "type": "string",
407
+ "pattern": "^[0-9a-f]{64}$"
408
+ },
409
+ "target_fingerprint": {
410
+ "type": "string",
411
+ "pattern": "^[0-9a-f]{64}$"
412
+ },
413
+ "binding_scope": {
414
+ "type": "string",
415
+ "const": "operation"
416
+ },
417
+ "operation_id": {
418
+ "type": "string",
419
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
420
+ },
421
+ "type": {
422
+ "type": "string",
423
+ "const": "policy_ref"
424
+ },
425
+ "evaluated_at": {
426
+ "type": "string",
427
+ "format": "date-time",
428
+ "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))$"
429
+ },
430
+ "negative_export_probe_ids": {
431
+ "minItems": 1,
432
+ "type": "array",
433
+ "items": {
434
+ "type": "string",
435
+ "minLength": 1
436
+ }
437
+ },
438
+ "policy_class": {
439
+ "type": "string",
440
+ "const": "retrieval_deadline"
441
+ },
442
+ "effective_deadline": {
443
+ "type": "string",
444
+ "format": "date-time",
445
+ "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))$"
446
+ }
447
+ },
448
+ "required": [
449
+ "evidence_id",
450
+ "version_id",
451
+ "sha256",
452
+ "observed_at",
453
+ "bundle_digest",
454
+ "seal_hash",
455
+ "target_fingerprint",
456
+ "binding_scope",
457
+ "operation_id",
458
+ "type",
459
+ "evaluated_at",
460
+ "negative_export_probe_ids",
461
+ "policy_class",
462
+ "effective_deadline"
463
+ ],
464
+ "additionalProperties": false
465
+ },
466
+ {
467
+ "type": "object",
468
+ "properties": {
469
+ "evidence_id": {
470
+ "type": "string",
471
+ "minLength": 1
472
+ },
473
+ "version_id": {
474
+ "type": "string",
475
+ "minLength": 1
476
+ },
477
+ "sha256": {
478
+ "type": "string",
479
+ "pattern": "^[0-9a-f]{64}$"
480
+ },
481
+ "observed_at": {
482
+ "type": "string",
483
+ "format": "date-time",
484
+ "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))$"
485
+ },
486
+ "bundle_digest": {
487
+ "type": "string",
488
+ "pattern": "^[0-9a-f]{64}$"
489
+ },
490
+ "seal_hash": {
491
+ "type": "string",
492
+ "pattern": "^[0-9a-f]{64}$"
493
+ },
494
+ "target_fingerprint": {
495
+ "type": "string",
496
+ "pattern": "^[0-9a-f]{64}$"
497
+ },
498
+ "binding_scope": {
499
+ "type": "string",
500
+ "const": "operation"
501
+ },
502
+ "operation_id": {
503
+ "type": "string",
504
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
505
+ },
506
+ "type": {
507
+ "type": "string",
508
+ "const": "policy_ref"
509
+ },
510
+ "evaluated_at": {
511
+ "type": "string",
512
+ "format": "date-time",
513
+ "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))$"
514
+ },
515
+ "negative_export_probe_ids": {
516
+ "minItems": 1,
517
+ "type": "array",
518
+ "items": {
519
+ "type": "string",
520
+ "minLength": 1
521
+ }
522
+ },
523
+ "policy_class": {
524
+ "type": "string",
525
+ "const": "section_6_6_decision"
526
+ },
527
+ "decision_id": {
528
+ "type": "string",
529
+ "minLength": 1
530
+ },
531
+ "section_11_rights_digest": {
532
+ "type": "string",
533
+ "pattern": "^[0-9a-f]{64}$"
534
+ }
535
+ },
536
+ "required": [
537
+ "evidence_id",
538
+ "version_id",
539
+ "sha256",
540
+ "observed_at",
541
+ "bundle_digest",
542
+ "seal_hash",
543
+ "target_fingerprint",
544
+ "binding_scope",
545
+ "operation_id",
546
+ "type",
547
+ "evaluated_at",
548
+ "negative_export_probe_ids",
549
+ "policy_class",
550
+ "decision_id",
551
+ "section_11_rights_digest"
552
+ ],
553
+ "additionalProperties": false
554
+ },
555
+ {
556
+ "type": "object",
557
+ "properties": {
558
+ "evidence_id": {
559
+ "type": "string",
560
+ "minLength": 1
561
+ },
562
+ "version_id": {
563
+ "type": "string",
564
+ "minLength": 1
565
+ },
566
+ "sha256": {
567
+ "type": "string",
568
+ "pattern": "^[0-9a-f]{64}$"
569
+ },
570
+ "observed_at": {
571
+ "type": "string",
572
+ "format": "date-time",
573
+ "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))$"
574
+ },
575
+ "bundle_digest": {
576
+ "type": "string",
577
+ "pattern": "^[0-9a-f]{64}$"
578
+ },
579
+ "seal_hash": {
580
+ "type": "string",
581
+ "pattern": "^[0-9a-f]{64}$"
582
+ },
583
+ "target_fingerprint": {
584
+ "type": "string",
585
+ "pattern": "^[0-9a-f]{64}$"
586
+ },
587
+ "binding_scope": {
588
+ "type": "string",
589
+ "const": "operation"
590
+ },
591
+ "operation_id": {
592
+ "type": "string",
593
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
594
+ },
595
+ "type": {
596
+ "type": "string",
597
+ "const": "preservation_ref"
598
+ },
599
+ "manifest_id": {
600
+ "type": "string",
601
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
602
+ },
603
+ "manifest_version_id": {
604
+ "type": "string",
605
+ "minLength": 1
606
+ },
607
+ "manifest_hash": {
608
+ "type": "string",
609
+ "pattern": "^[0-9a-f]{64}$"
610
+ },
611
+ "frozen_unaffected_digest": {
612
+ "type": "string",
613
+ "pattern": "^[0-9a-f]{64}$"
614
+ },
615
+ "target_unaffected_digest": {
616
+ "type": "string",
617
+ "pattern": "^[0-9a-f]{64}$"
618
+ }
619
+ },
620
+ "required": [
621
+ "evidence_id",
622
+ "version_id",
623
+ "sha256",
624
+ "observed_at",
625
+ "bundle_digest",
626
+ "seal_hash",
627
+ "target_fingerprint",
628
+ "binding_scope",
629
+ "operation_id",
630
+ "type",
631
+ "manifest_id",
632
+ "manifest_version_id",
633
+ "manifest_hash",
634
+ "frozen_unaffected_digest",
635
+ "target_unaffected_digest"
636
+ ],
637
+ "additionalProperties": false
638
+ },
639
+ {
640
+ "type": "object",
641
+ "properties": {
642
+ "evidence_id": {
643
+ "type": "string",
644
+ "minLength": 1
645
+ },
646
+ "version_id": {
647
+ "type": "string",
648
+ "minLength": 1
649
+ },
650
+ "sha256": {
651
+ "type": "string",
652
+ "pattern": "^[0-9a-f]{64}$"
653
+ },
654
+ "observed_at": {
655
+ "type": "string",
656
+ "format": "date-time",
657
+ "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))$"
658
+ },
659
+ "bundle_digest": {
660
+ "type": "string",
661
+ "pattern": "^[0-9a-f]{64}$"
662
+ },
663
+ "seal_hash": {
664
+ "type": "string",
665
+ "pattern": "^[0-9a-f]{64}$"
666
+ },
667
+ "target_fingerprint": {
668
+ "type": "string",
669
+ "pattern": "^[0-9a-f]{64}$"
670
+ },
671
+ "binding_scope": {
672
+ "type": "string",
673
+ "const": "global"
674
+ },
675
+ "type": {
676
+ "type": "string",
677
+ "const": "copy_ref"
678
+ },
679
+ "copy_inventory_digest": {
680
+ "type": "string",
681
+ "pattern": "^[0-9a-f]{64}$"
682
+ },
683
+ "source_isolation_digest": {
684
+ "type": "string",
685
+ "pattern": "^[0-9a-f]{64}$"
686
+ },
687
+ "target_inventory_digest": {
688
+ "type": "string",
689
+ "pattern": "^[0-9a-f]{64}$"
690
+ },
691
+ "last_restorable_deadline": {
692
+ "type": "string",
693
+ "format": "date-time",
694
+ "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))$"
695
+ }
696
+ },
697
+ "required": [
698
+ "evidence_id",
699
+ "version_id",
700
+ "sha256",
701
+ "observed_at",
702
+ "bundle_digest",
703
+ "seal_hash",
704
+ "target_fingerprint",
705
+ "binding_scope",
706
+ "type",
707
+ "copy_inventory_digest",
708
+ "source_isolation_digest",
709
+ "target_inventory_digest",
710
+ "last_restorable_deadline"
711
+ ],
712
+ "additionalProperties": false
713
+ },
714
+ {
715
+ "type": "object",
716
+ "properties": {
717
+ "evidence_id": {
718
+ "type": "string",
719
+ "minLength": 1
720
+ },
721
+ "version_id": {
722
+ "type": "string",
723
+ "minLength": 1
724
+ },
725
+ "sha256": {
726
+ "type": "string",
727
+ "pattern": "^[0-9a-f]{64}$"
728
+ },
729
+ "observed_at": {
730
+ "type": "string",
731
+ "format": "date-time",
732
+ "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))$"
733
+ },
734
+ "bundle_digest": {
735
+ "type": "string",
736
+ "pattern": "^[0-9a-f]{64}$"
737
+ },
738
+ "seal_hash": {
739
+ "type": "string",
740
+ "pattern": "^[0-9a-f]{64}$"
741
+ },
742
+ "target_fingerprint": {
743
+ "type": "string",
744
+ "pattern": "^[0-9a-f]{64}$"
745
+ },
746
+ "binding_scope": {
747
+ "type": "string",
748
+ "const": "global"
749
+ },
750
+ "type": {
751
+ "type": "string",
752
+ "const": "closure_ref"
753
+ },
754
+ "restore_attempt_id": {
755
+ "type": "string",
756
+ "minLength": 1
757
+ },
758
+ "attempt_descriptor_hash": {
759
+ "type": "string",
760
+ "pattern": "^[0-9a-f]{64}$"
761
+ },
762
+ "attempt_descriptor_version_id": {
763
+ "type": "string",
764
+ "minLength": 1
765
+ },
766
+ "original_restore_at": {
767
+ "type": "string",
768
+ "format": "date-time",
769
+ "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))$"
770
+ },
771
+ "original_affected_count": {
772
+ "type": "integer",
773
+ "minimum": 0,
774
+ "maximum": 9007199254740991
775
+ },
776
+ "closure_row_digest": {
777
+ "type": "string",
778
+ "pattern": "^[0-9a-f]{64}$"
779
+ },
780
+ "closure_commit_marker": {
781
+ "type": "string",
782
+ "minLength": 1
783
+ },
784
+ "schema_preflight_digest": {
785
+ "type": "string",
786
+ "pattern": "^[0-9a-f]{64}$"
787
+ },
788
+ "zero_open_sessions_count": {
789
+ "type": "number",
790
+ "const": 0
791
+ },
792
+ "zero_open_sessions_at": {
793
+ "type": "string",
794
+ "format": "date-time",
795
+ "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))$"
796
+ }
797
+ },
798
+ "required": [
799
+ "evidence_id",
800
+ "version_id",
801
+ "sha256",
802
+ "observed_at",
803
+ "bundle_digest",
804
+ "seal_hash",
805
+ "target_fingerprint",
806
+ "binding_scope",
807
+ "type",
808
+ "restore_attempt_id",
809
+ "attempt_descriptor_hash",
810
+ "attempt_descriptor_version_id",
811
+ "original_restore_at",
812
+ "original_affected_count",
813
+ "closure_row_digest",
814
+ "closure_commit_marker",
815
+ "schema_preflight_digest",
816
+ "zero_open_sessions_count",
817
+ "zero_open_sessions_at"
818
+ ],
819
+ "additionalProperties": false
820
+ }
821
+ ]
822
+ }
823
+ },
824
+ "source_isolation_ref_id": {
825
+ "type": "string",
826
+ "minLength": 1
827
+ },
828
+ "copy_ref_id": {
829
+ "type": "string",
830
+ "minLength": 1
831
+ },
832
+ "closure_ref_id": {
833
+ "type": "string",
834
+ "minLength": 1
835
+ },
836
+ "access_proofs": {
837
+ "type": "array",
838
+ "items": {
839
+ "anyOf": [
840
+ {
841
+ "anyOf": [
842
+ {
843
+ "type": "object",
844
+ "properties": {
845
+ "operation_id": {
846
+ "type": "string",
847
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
848
+ },
849
+ "probe_ref_ids": {
850
+ "minItems": 1,
851
+ "type": "array",
852
+ "items": {
853
+ "type": "string",
854
+ "minLength": 1
855
+ }
856
+ },
857
+ "kind": {
858
+ "type": "string",
859
+ "const": "organization.erase"
860
+ },
861
+ "affected_verdict": {
862
+ "type": "string",
863
+ "const": "denied"
864
+ },
865
+ "unaffected_verdict": {
866
+ "type": "string",
867
+ "const": "not-applicable"
868
+ }
869
+ },
870
+ "required": [
871
+ "operation_id",
872
+ "probe_ref_ids",
873
+ "kind",
874
+ "affected_verdict",
875
+ "unaffected_verdict"
876
+ ],
877
+ "additionalProperties": false
878
+ },
879
+ {
880
+ "type": "object",
881
+ "properties": {
882
+ "operation_id": {
883
+ "type": "string",
884
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
885
+ },
886
+ "probe_ref_ids": {
887
+ "type": "array",
888
+ "items": {
889
+ "type": "string",
890
+ "minLength": 1
891
+ }
892
+ },
893
+ "kind": {
894
+ "type": "string",
895
+ "const": "organization.erase"
896
+ },
897
+ "affected_verdict": {
898
+ "type": "string",
899
+ "const": "failed"
900
+ },
901
+ "unaffected_verdict": {
902
+ "type": "string",
903
+ "enum": [
904
+ "not-applicable",
905
+ "failed"
906
+ ]
907
+ }
908
+ },
909
+ "required": [
910
+ "operation_id",
911
+ "probe_ref_ids",
912
+ "kind",
913
+ "affected_verdict",
914
+ "unaffected_verdict"
915
+ ],
916
+ "additionalProperties": false
917
+ },
918
+ {
919
+ "type": "object",
920
+ "properties": {
921
+ "operation_id": {
922
+ "type": "string",
923
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
924
+ },
925
+ "probe_ref_ids": {
926
+ "type": "array",
927
+ "items": {
928
+ "type": "string",
929
+ "minLength": 1
930
+ }
931
+ },
932
+ "kind": {
933
+ "type": "string",
934
+ "const": "organization.erase"
935
+ },
936
+ "affected_verdict": {
937
+ "type": "string",
938
+ "const": "denied"
939
+ },
940
+ "unaffected_verdict": {
941
+ "type": "string",
942
+ "const": "failed"
943
+ }
944
+ },
945
+ "required": [
946
+ "operation_id",
947
+ "probe_ref_ids",
948
+ "kind",
949
+ "affected_verdict",
950
+ "unaffected_verdict"
951
+ ],
952
+ "additionalProperties": false
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "type": "object",
958
+ "properties": {
959
+ "operation_id": {
960
+ "type": "string",
961
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
962
+ },
963
+ "probe_ref_ids": {
964
+ "minItems": 1,
965
+ "type": "array",
966
+ "items": {
967
+ "type": "string",
968
+ "minLength": 1
969
+ }
970
+ },
971
+ "kind": {
972
+ "type": "string",
973
+ "const": "organization.scope_erase"
974
+ },
975
+ "affected_verdict": {
976
+ "type": "string",
977
+ "const": "denied"
978
+ },
979
+ "unaffected_verdict": {
980
+ "type": "string",
981
+ "const": "allowed"
982
+ },
983
+ "unaffected_state_ref_id": {
984
+ "type": "string",
985
+ "minLength": 1
986
+ }
987
+ },
988
+ "required": [
989
+ "operation_id",
990
+ "probe_ref_ids",
991
+ "kind",
992
+ "affected_verdict",
993
+ "unaffected_verdict",
994
+ "unaffected_state_ref_id"
995
+ ],
996
+ "additionalProperties": false
997
+ },
998
+ {
999
+ "type": "object",
1000
+ "properties": {
1001
+ "operation_id": {
1002
+ "type": "string",
1003
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1004
+ },
1005
+ "probe_ref_ids": {
1006
+ "minItems": 1,
1007
+ "type": "array",
1008
+ "items": {
1009
+ "type": "string",
1010
+ "minLength": 1
1011
+ }
1012
+ },
1013
+ "kind": {
1014
+ "type": "string",
1015
+ "const": "organization.scope_erase"
1016
+ },
1017
+ "affected_verdict": {
1018
+ "type": "string",
1019
+ "const": "denied"
1020
+ },
1021
+ "unaffected_verdict": {
1022
+ "type": "string",
1023
+ "const": "policy-denied"
1024
+ },
1025
+ "unaffected_state_ref_id": {
1026
+ "type": "string",
1027
+ "minLength": 1
1028
+ },
1029
+ "policy_ref_id": {
1030
+ "type": "string",
1031
+ "minLength": 1
1032
+ }
1033
+ },
1034
+ "required": [
1035
+ "operation_id",
1036
+ "probe_ref_ids",
1037
+ "kind",
1038
+ "affected_verdict",
1039
+ "unaffected_verdict",
1040
+ "unaffected_state_ref_id",
1041
+ "policy_ref_id"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ },
1045
+ {
1046
+ "anyOf": [
1047
+ {
1048
+ "type": "object",
1049
+ "properties": {
1050
+ "operation_id": {
1051
+ "type": "string",
1052
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1053
+ },
1054
+ "probe_ref_ids": {
1055
+ "type": "array",
1056
+ "items": {
1057
+ "type": "string",
1058
+ "minLength": 1
1059
+ }
1060
+ },
1061
+ "kind": {
1062
+ "type": "string",
1063
+ "const": "organization.scope_erase"
1064
+ },
1065
+ "affected_verdict": {
1066
+ "type": "string",
1067
+ "const": "failed"
1068
+ },
1069
+ "unaffected_verdict": {
1070
+ "type": "string",
1071
+ "enum": [
1072
+ "allowed",
1073
+ "failed"
1074
+ ]
1075
+ },
1076
+ "unaffected_state_ref_id": {
1077
+ "type": "string",
1078
+ "minLength": 1
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "operation_id",
1083
+ "probe_ref_ids",
1084
+ "kind",
1085
+ "affected_verdict",
1086
+ "unaffected_verdict"
1087
+ ],
1088
+ "additionalProperties": false
1089
+ },
1090
+ {
1091
+ "type": "object",
1092
+ "properties": {
1093
+ "operation_id": {
1094
+ "type": "string",
1095
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1096
+ },
1097
+ "probe_ref_ids": {
1098
+ "type": "array",
1099
+ "items": {
1100
+ "type": "string",
1101
+ "minLength": 1
1102
+ }
1103
+ },
1104
+ "kind": {
1105
+ "type": "string",
1106
+ "const": "organization.scope_erase"
1107
+ },
1108
+ "affected_verdict": {
1109
+ "type": "string",
1110
+ "const": "failed"
1111
+ },
1112
+ "unaffected_verdict": {
1113
+ "type": "string",
1114
+ "const": "policy-denied"
1115
+ },
1116
+ "unaffected_state_ref_id": {
1117
+ "type": "string",
1118
+ "minLength": 1
1119
+ },
1120
+ "policy_ref_id": {
1121
+ "type": "string",
1122
+ "minLength": 1
1123
+ }
1124
+ },
1125
+ "required": [
1126
+ "operation_id",
1127
+ "probe_ref_ids",
1128
+ "kind",
1129
+ "affected_verdict",
1130
+ "unaffected_verdict",
1131
+ "policy_ref_id"
1132
+ ],
1133
+ "additionalProperties": false
1134
+ },
1135
+ {
1136
+ "type": "object",
1137
+ "properties": {
1138
+ "operation_id": {
1139
+ "type": "string",
1140
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1141
+ },
1142
+ "probe_ref_ids": {
1143
+ "type": "array",
1144
+ "items": {
1145
+ "type": "string",
1146
+ "minLength": 1
1147
+ }
1148
+ },
1149
+ "kind": {
1150
+ "type": "string",
1151
+ "const": "organization.scope_erase"
1152
+ },
1153
+ "affected_verdict": {
1154
+ "type": "string",
1155
+ "const": "denied"
1156
+ },
1157
+ "unaffected_verdict": {
1158
+ "type": "string",
1159
+ "const": "failed"
1160
+ },
1161
+ "unaffected_state_ref_id": {
1162
+ "type": "string",
1163
+ "minLength": 1
1164
+ }
1165
+ },
1166
+ "required": [
1167
+ "operation_id",
1168
+ "probe_ref_ids",
1169
+ "kind",
1170
+ "affected_verdict",
1171
+ "unaffected_verdict"
1172
+ ],
1173
+ "additionalProperties": false
1174
+ }
1175
+ ]
1176
+ }
1177
+ ]
1178
+ }
1179
+ },
1180
+ "original_restore_at": {
1181
+ "type": "string",
1182
+ "format": "date-time",
1183
+ "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))$"
1184
+ },
1185
+ "original_closure_affected_count": {
1186
+ "type": "integer",
1187
+ "minimum": 0,
1188
+ "maximum": 9007199254740991
1189
+ },
1190
+ "zero_open_sessions_count": {
1191
+ "type": "number",
1192
+ "const": 0
1193
+ },
1194
+ "final_probe_at": {
1195
+ "type": "string",
1196
+ "format": "date-time",
1197
+ "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))$"
1198
+ },
1199
+ "completed_at": {
1200
+ "type": "string",
1201
+ "format": "date-time",
1202
+ "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))$"
1203
+ },
1204
+ "verdict": {
1205
+ "type": "string",
1206
+ "enum": [
1207
+ "pass",
1208
+ "fail"
1209
+ ]
1210
+ },
1211
+ "receipt_hash": {
1212
+ "type": "string",
1213
+ "pattern": "^[0-9a-f]{64}$"
1214
+ },
1215
+ "signature": {
1216
+ "type": "string",
1217
+ "pattern": "^[A-Za-z0-9_-]{85}[AQgw]$"
1218
+ }
1219
+ },
1220
+ "required": [
1221
+ "schema",
1222
+ "environment",
1223
+ "signing_key_id",
1224
+ "run_id",
1225
+ "restore_attempt_id",
1226
+ "bundle_digest",
1227
+ "seal_hash",
1228
+ "seal_version_id",
1229
+ "registry_chain_digest",
1230
+ "source_fingerprint",
1231
+ "target_fingerprint",
1232
+ "schema_preflight_digest",
1233
+ "copy_inventory_digest",
1234
+ "copy_coverage_digest",
1235
+ "target_inventory_digest",
1236
+ "lower_sequence",
1237
+ "lower_hash",
1238
+ "upper_sequence",
1239
+ "upper_hash",
1240
+ "operation_count",
1241
+ "applied_count",
1242
+ "already_effective_count",
1243
+ "failed_count",
1244
+ "last_applied_sequence",
1245
+ "operations",
1246
+ "evidence_refs",
1247
+ "source_isolation_ref_id",
1248
+ "copy_ref_id",
1249
+ "closure_ref_id",
1250
+ "access_proofs",
1251
+ "original_restore_at",
1252
+ "original_closure_affected_count",
1253
+ "zero_open_sessions_count",
1254
+ "final_probe_at",
1255
+ "completed_at",
1256
+ "verdict",
1257
+ "receipt_hash",
1258
+ "signature"
1259
+ ],
1260
+ "additionalProperties": false
1261
+ }