@fleetless/contracts 15.1.0-next.1 → 15.1.0-next.2
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.
- package/CHANGELOG.md +19 -9
- package/artifacts/schema/journal-deletion-manifest.schema.json +258 -9
- package/artifacts/schema/journal-intent-v2-body.schema.json +84 -0
- package/artifacts/schema/journal-intent-v2.schema.json +94 -0
- package/artifacts/schema/journal-manifest-batch.schema.json +172 -6
- package/artifacts/schema/journal-manifest-binding.schema.json +290 -9
- package/artifacts/schema/journal-manifest-intent-projection.schema.json +32 -0
- package/artifacts/schema/journal-manifest-row.schema.json +86 -3
- package/artifacts/schema/journal-replay-receipt-body.schema.json +1 -0
- package/artifacts/schema/journal-replay-receipt.schema.json +1 -0
- package/dist/journal-intents.d.ts +34 -0
- package/dist/journal-intents.js +3 -1
- package/dist/journal-manifests.d.ts +252 -18
- package/dist/journal-manifests.js +42 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,15 +11,25 @@ version.
|
|
|
11
11
|
|
|
12
12
|
### Added
|
|
13
13
|
|
|
14
|
-
- **Deletion journal: the waiting list
|
|
15
|
-
`waitlist
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
- **Deletion journal: the waiting list** (fleetless/fleetless#1082). Two
|
|
15
|
+
intent kinds under a new manifest scope `waitlist`, which has no
|
|
16
|
+
organization:
|
|
17
|
+
- `waitlist.retention`, a cutoff sweep with batch-only ids like
|
|
18
|
+
`ops_global_event.retention`. Its `cutoff_at` is the instant the entries'
|
|
19
|
+
event-based periods were evaluated; replay deletes exactly the frozen rows.
|
|
20
|
+
- `waitlist.withdrawal`, one entry deleted on the person's request, named
|
|
21
|
+
by `entry_id` (never the address), with no batch. Its manifest names
|
|
22
|
+
exactly that entry's row and only deliveries addressed for it.
|
|
23
|
+
- `journalManifestRow`: the tables `waitlist`, `waitlist_invitations`,
|
|
24
|
+
`waitlist_invitation_proofs` and `waitlist_consents` join the `uuid_row`
|
|
25
|
+
table list, and two new members name the shared operator mail tables only
|
|
26
|
+
for the waiting list: `waitlist_mail_effect` (`operator_effect_outbox`) and
|
|
27
|
+
`waitlist_mail_delivery` (`operator_effect_mail_deliveries`). Both carry
|
|
28
|
+
the effect's `source_action`, a closed enum of `waitlist_invite`,
|
|
29
|
+
`waitlist_reinvite`, `waitlist_decline` and `waitlist_confirm`, so no
|
|
30
|
+
manifest can name a billing or plan-change effect.
|
|
31
|
+
- `journalManifestBinding` refuses waiting-list rows and members outside the
|
|
32
|
+
`waitlist` scope, and object entries inside it.
|
|
23
33
|
|
|
24
34
|
## [15.0.1] — 2026-11-12
|
|
25
35
|
|
|
@@ -312,9 +312,7 @@
|
|
|
312
312
|
"waitlist",
|
|
313
313
|
"waitlist_invitations",
|
|
314
314
|
"waitlist_invitation_proofs",
|
|
315
|
-
"waitlist_consents"
|
|
316
|
-
"operator_effect_outbox",
|
|
317
|
-
"operator_effect_mail_deliveries"
|
|
315
|
+
"waitlist_consents"
|
|
318
316
|
]
|
|
319
317
|
},
|
|
320
318
|
"id": {
|
|
@@ -863,6 +861,91 @@
|
|
|
863
861
|
],
|
|
864
862
|
"additionalProperties": false
|
|
865
863
|
},
|
|
864
|
+
{
|
|
865
|
+
"type": "object",
|
|
866
|
+
"properties": {
|
|
867
|
+
"membership_kind": {
|
|
868
|
+
"type": "string",
|
|
869
|
+
"enum": [
|
|
870
|
+
"affected",
|
|
871
|
+
"unaffected"
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
"type": {
|
|
875
|
+
"type": "string",
|
|
876
|
+
"const": "waitlist_mail_effect"
|
|
877
|
+
},
|
|
878
|
+
"effect_id": {
|
|
879
|
+
"type": "string",
|
|
880
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
881
|
+
},
|
|
882
|
+
"source_action": {
|
|
883
|
+
"type": "string",
|
|
884
|
+
"enum": [
|
|
885
|
+
"waitlist_invite",
|
|
886
|
+
"waitlist_reinvite",
|
|
887
|
+
"waitlist_decline",
|
|
888
|
+
"waitlist_confirm"
|
|
889
|
+
],
|
|
890
|
+
"description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"required": [
|
|
894
|
+
"membership_kind",
|
|
895
|
+
"type",
|
|
896
|
+
"effect_id",
|
|
897
|
+
"source_action"
|
|
898
|
+
],
|
|
899
|
+
"additionalProperties": false
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "object",
|
|
903
|
+
"properties": {
|
|
904
|
+
"membership_kind": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"enum": [
|
|
907
|
+
"affected",
|
|
908
|
+
"unaffected"
|
|
909
|
+
]
|
|
910
|
+
},
|
|
911
|
+
"type": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"const": "waitlist_mail_delivery"
|
|
914
|
+
},
|
|
915
|
+
"delivery_id": {
|
|
916
|
+
"type": "string",
|
|
917
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
918
|
+
},
|
|
919
|
+
"effect_id": {
|
|
920
|
+
"type": "string",
|
|
921
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
922
|
+
},
|
|
923
|
+
"entry_id": {
|
|
924
|
+
"type": "string",
|
|
925
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
926
|
+
"description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
|
|
927
|
+
},
|
|
928
|
+
"source_action": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"enum": [
|
|
931
|
+
"waitlist_invite",
|
|
932
|
+
"waitlist_reinvite",
|
|
933
|
+
"waitlist_decline",
|
|
934
|
+
"waitlist_confirm"
|
|
935
|
+
],
|
|
936
|
+
"description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"required": [
|
|
940
|
+
"membership_kind",
|
|
941
|
+
"type",
|
|
942
|
+
"delivery_id",
|
|
943
|
+
"effect_id",
|
|
944
|
+
"entry_id",
|
|
945
|
+
"source_action"
|
|
946
|
+
],
|
|
947
|
+
"additionalProperties": false
|
|
948
|
+
},
|
|
866
949
|
{
|
|
867
950
|
"type": "object",
|
|
868
951
|
"properties": {
|
|
@@ -1010,9 +1093,7 @@
|
|
|
1010
1093
|
"waitlist",
|
|
1011
1094
|
"waitlist_invitations",
|
|
1012
1095
|
"waitlist_invitation_proofs",
|
|
1013
|
-
"waitlist_consents"
|
|
1014
|
-
"operator_effect_outbox",
|
|
1015
|
-
"operator_effect_mail_deliveries"
|
|
1096
|
+
"waitlist_consents"
|
|
1016
1097
|
]
|
|
1017
1098
|
},
|
|
1018
1099
|
"id": {
|
|
@@ -1561,6 +1642,91 @@
|
|
|
1561
1642
|
],
|
|
1562
1643
|
"additionalProperties": false
|
|
1563
1644
|
},
|
|
1645
|
+
{
|
|
1646
|
+
"type": "object",
|
|
1647
|
+
"properties": {
|
|
1648
|
+
"membership_kind": {
|
|
1649
|
+
"type": "string",
|
|
1650
|
+
"enum": [
|
|
1651
|
+
"affected",
|
|
1652
|
+
"unaffected"
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1655
|
+
"type": {
|
|
1656
|
+
"type": "string",
|
|
1657
|
+
"const": "waitlist_mail_effect"
|
|
1658
|
+
},
|
|
1659
|
+
"effect_id": {
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
1662
|
+
},
|
|
1663
|
+
"source_action": {
|
|
1664
|
+
"type": "string",
|
|
1665
|
+
"enum": [
|
|
1666
|
+
"waitlist_invite",
|
|
1667
|
+
"waitlist_reinvite",
|
|
1668
|
+
"waitlist_decline",
|
|
1669
|
+
"waitlist_confirm"
|
|
1670
|
+
],
|
|
1671
|
+
"description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
"required": [
|
|
1675
|
+
"membership_kind",
|
|
1676
|
+
"type",
|
|
1677
|
+
"effect_id",
|
|
1678
|
+
"source_action"
|
|
1679
|
+
],
|
|
1680
|
+
"additionalProperties": false
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"type": "object",
|
|
1684
|
+
"properties": {
|
|
1685
|
+
"membership_kind": {
|
|
1686
|
+
"type": "string",
|
|
1687
|
+
"enum": [
|
|
1688
|
+
"affected",
|
|
1689
|
+
"unaffected"
|
|
1690
|
+
]
|
|
1691
|
+
},
|
|
1692
|
+
"type": {
|
|
1693
|
+
"type": "string",
|
|
1694
|
+
"const": "waitlist_mail_delivery"
|
|
1695
|
+
},
|
|
1696
|
+
"delivery_id": {
|
|
1697
|
+
"type": "string",
|
|
1698
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
1699
|
+
},
|
|
1700
|
+
"effect_id": {
|
|
1701
|
+
"type": "string",
|
|
1702
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
1703
|
+
},
|
|
1704
|
+
"entry_id": {
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1707
|
+
"description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
|
|
1708
|
+
},
|
|
1709
|
+
"source_action": {
|
|
1710
|
+
"type": "string",
|
|
1711
|
+
"enum": [
|
|
1712
|
+
"waitlist_invite",
|
|
1713
|
+
"waitlist_reinvite",
|
|
1714
|
+
"waitlist_decline",
|
|
1715
|
+
"waitlist_confirm"
|
|
1716
|
+
],
|
|
1717
|
+
"description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
"required": [
|
|
1721
|
+
"membership_kind",
|
|
1722
|
+
"type",
|
|
1723
|
+
"delivery_id",
|
|
1724
|
+
"effect_id",
|
|
1725
|
+
"entry_id",
|
|
1726
|
+
"source_action"
|
|
1727
|
+
],
|
|
1728
|
+
"additionalProperties": false
|
|
1729
|
+
},
|
|
1564
1730
|
{
|
|
1565
1731
|
"type": "object",
|
|
1566
1732
|
"properties": {
|
|
@@ -1691,9 +1857,7 @@
|
|
|
1691
1857
|
"waitlist",
|
|
1692
1858
|
"waitlist_invitations",
|
|
1693
1859
|
"waitlist_invitation_proofs",
|
|
1694
|
-
"waitlist_consents"
|
|
1695
|
-
"operator_effect_outbox",
|
|
1696
|
-
"operator_effect_mail_deliveries"
|
|
1860
|
+
"waitlist_consents"
|
|
1697
1861
|
]
|
|
1698
1862
|
},
|
|
1699
1863
|
"id": {
|
|
@@ -2242,6 +2406,91 @@
|
|
|
2242
2406
|
],
|
|
2243
2407
|
"additionalProperties": false
|
|
2244
2408
|
},
|
|
2409
|
+
{
|
|
2410
|
+
"type": "object",
|
|
2411
|
+
"properties": {
|
|
2412
|
+
"membership_kind": {
|
|
2413
|
+
"type": "string",
|
|
2414
|
+
"enum": [
|
|
2415
|
+
"affected",
|
|
2416
|
+
"unaffected"
|
|
2417
|
+
]
|
|
2418
|
+
},
|
|
2419
|
+
"type": {
|
|
2420
|
+
"type": "string",
|
|
2421
|
+
"const": "waitlist_mail_effect"
|
|
2422
|
+
},
|
|
2423
|
+
"effect_id": {
|
|
2424
|
+
"type": "string",
|
|
2425
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
2426
|
+
},
|
|
2427
|
+
"source_action": {
|
|
2428
|
+
"type": "string",
|
|
2429
|
+
"enum": [
|
|
2430
|
+
"waitlist_invite",
|
|
2431
|
+
"waitlist_reinvite",
|
|
2432
|
+
"waitlist_decline",
|
|
2433
|
+
"waitlist_confirm"
|
|
2434
|
+
],
|
|
2435
|
+
"description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
|
|
2436
|
+
}
|
|
2437
|
+
},
|
|
2438
|
+
"required": [
|
|
2439
|
+
"membership_kind",
|
|
2440
|
+
"type",
|
|
2441
|
+
"effect_id",
|
|
2442
|
+
"source_action"
|
|
2443
|
+
],
|
|
2444
|
+
"additionalProperties": false
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"type": "object",
|
|
2448
|
+
"properties": {
|
|
2449
|
+
"membership_kind": {
|
|
2450
|
+
"type": "string",
|
|
2451
|
+
"enum": [
|
|
2452
|
+
"affected",
|
|
2453
|
+
"unaffected"
|
|
2454
|
+
]
|
|
2455
|
+
},
|
|
2456
|
+
"type": {
|
|
2457
|
+
"type": "string",
|
|
2458
|
+
"const": "waitlist_mail_delivery"
|
|
2459
|
+
},
|
|
2460
|
+
"delivery_id": {
|
|
2461
|
+
"type": "string",
|
|
2462
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
2463
|
+
},
|
|
2464
|
+
"effect_id": {
|
|
2465
|
+
"type": "string",
|
|
2466
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
2467
|
+
},
|
|
2468
|
+
"entry_id": {
|
|
2469
|
+
"type": "string",
|
|
2470
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
2471
|
+
"description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
|
|
2472
|
+
},
|
|
2473
|
+
"source_action": {
|
|
2474
|
+
"type": "string",
|
|
2475
|
+
"enum": [
|
|
2476
|
+
"waitlist_invite",
|
|
2477
|
+
"waitlist_reinvite",
|
|
2478
|
+
"waitlist_decline",
|
|
2479
|
+
"waitlist_confirm"
|
|
2480
|
+
],
|
|
2481
|
+
"description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
"required": [
|
|
2485
|
+
"membership_kind",
|
|
2486
|
+
"type",
|
|
2487
|
+
"delivery_id",
|
|
2488
|
+
"effect_id",
|
|
2489
|
+
"entry_id",
|
|
2490
|
+
"source_action"
|
|
2491
|
+
],
|
|
2492
|
+
"additionalProperties": false
|
|
2493
|
+
},
|
|
2245
2494
|
{
|
|
2246
2495
|
"type": "object",
|
|
2247
2496
|
"properties": {
|
|
@@ -3099,6 +3099,90 @@
|
|
|
3099
3099
|
],
|
|
3100
3100
|
"additionalProperties": false
|
|
3101
3101
|
},
|
|
3102
|
+
{
|
|
3103
|
+
"type": "object",
|
|
3104
|
+
"properties": {
|
|
3105
|
+
"schema": {
|
|
3106
|
+
"type": "string",
|
|
3107
|
+
"const": "fleetless.deletion-intent.v2"
|
|
3108
|
+
},
|
|
3109
|
+
"environment": {
|
|
3110
|
+
"type": "string",
|
|
3111
|
+
"minLength": 1
|
|
3112
|
+
},
|
|
3113
|
+
"generation": {
|
|
3114
|
+
"type": "string",
|
|
3115
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3116
|
+
},
|
|
3117
|
+
"sequence": {
|
|
3118
|
+
"type": "integer",
|
|
3119
|
+
"minimum": 1,
|
|
3120
|
+
"maximum": 9007199254740991
|
|
3121
|
+
},
|
|
3122
|
+
"operation_id": {
|
|
3123
|
+
"type": "string",
|
|
3124
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3125
|
+
},
|
|
3126
|
+
"intent_at": {
|
|
3127
|
+
"type": "string",
|
|
3128
|
+
"format": "date-time",
|
|
3129
|
+
"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))$"
|
|
3130
|
+
},
|
|
3131
|
+
"previous_hash": {
|
|
3132
|
+
"type": "string",
|
|
3133
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3134
|
+
},
|
|
3135
|
+
"signing_key_id": {
|
|
3136
|
+
"type": "string",
|
|
3137
|
+
"minLength": 1
|
|
3138
|
+
},
|
|
3139
|
+
"kind": {
|
|
3140
|
+
"type": "string",
|
|
3141
|
+
"const": "waitlist.withdrawal"
|
|
3142
|
+
},
|
|
3143
|
+
"ids": {
|
|
3144
|
+
"type": "object",
|
|
3145
|
+
"properties": {
|
|
3146
|
+
"entry_id": {
|
|
3147
|
+
"type": "string",
|
|
3148
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3151
|
+
"required": [
|
|
3152
|
+
"entry_id"
|
|
3153
|
+
],
|
|
3154
|
+
"additionalProperties": false
|
|
3155
|
+
},
|
|
3156
|
+
"manifest_id": {
|
|
3157
|
+
"type": "string",
|
|
3158
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3159
|
+
},
|
|
3160
|
+
"manifest_version_id": {
|
|
3161
|
+
"type": "string",
|
|
3162
|
+
"minLength": 1
|
|
3163
|
+
},
|
|
3164
|
+
"manifest_hash": {
|
|
3165
|
+
"type": "string",
|
|
3166
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3167
|
+
}
|
|
3168
|
+
},
|
|
3169
|
+
"required": [
|
|
3170
|
+
"schema",
|
|
3171
|
+
"environment",
|
|
3172
|
+
"generation",
|
|
3173
|
+
"sequence",
|
|
3174
|
+
"operation_id",
|
|
3175
|
+
"intent_at",
|
|
3176
|
+
"previous_hash",
|
|
3177
|
+
"signing_key_id",
|
|
3178
|
+
"kind",
|
|
3179
|
+
"ids",
|
|
3180
|
+
"manifest_id",
|
|
3181
|
+
"manifest_version_id",
|
|
3182
|
+
"manifest_hash"
|
|
3183
|
+
],
|
|
3184
|
+
"additionalProperties": false
|
|
3185
|
+
},
|
|
3102
3186
|
{
|
|
3103
3187
|
"type": "object",
|
|
3104
3188
|
"properties": {
|
|
@@ -3429,6 +3429,100 @@
|
|
|
3429
3429
|
],
|
|
3430
3430
|
"additionalProperties": false
|
|
3431
3431
|
},
|
|
3432
|
+
{
|
|
3433
|
+
"type": "object",
|
|
3434
|
+
"properties": {
|
|
3435
|
+
"schema": {
|
|
3436
|
+
"type": "string",
|
|
3437
|
+
"const": "fleetless.deletion-intent.v2"
|
|
3438
|
+
},
|
|
3439
|
+
"environment": {
|
|
3440
|
+
"type": "string",
|
|
3441
|
+
"minLength": 1
|
|
3442
|
+
},
|
|
3443
|
+
"generation": {
|
|
3444
|
+
"type": "string",
|
|
3445
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3446
|
+
},
|
|
3447
|
+
"sequence": {
|
|
3448
|
+
"type": "integer",
|
|
3449
|
+
"minimum": 1,
|
|
3450
|
+
"maximum": 9007199254740991
|
|
3451
|
+
},
|
|
3452
|
+
"operation_id": {
|
|
3453
|
+
"type": "string",
|
|
3454
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3455
|
+
},
|
|
3456
|
+
"intent_at": {
|
|
3457
|
+
"type": "string",
|
|
3458
|
+
"format": "date-time",
|
|
3459
|
+
"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))$"
|
|
3460
|
+
},
|
|
3461
|
+
"previous_hash": {
|
|
3462
|
+
"type": "string",
|
|
3463
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3464
|
+
},
|
|
3465
|
+
"signing_key_id": {
|
|
3466
|
+
"type": "string",
|
|
3467
|
+
"minLength": 1
|
|
3468
|
+
},
|
|
3469
|
+
"kind": {
|
|
3470
|
+
"type": "string",
|
|
3471
|
+
"const": "waitlist.withdrawal"
|
|
3472
|
+
},
|
|
3473
|
+
"ids": {
|
|
3474
|
+
"type": "object",
|
|
3475
|
+
"properties": {
|
|
3476
|
+
"entry_id": {
|
|
3477
|
+
"type": "string",
|
|
3478
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3479
|
+
}
|
|
3480
|
+
},
|
|
3481
|
+
"required": [
|
|
3482
|
+
"entry_id"
|
|
3483
|
+
],
|
|
3484
|
+
"additionalProperties": false
|
|
3485
|
+
},
|
|
3486
|
+
"manifest_id": {
|
|
3487
|
+
"type": "string",
|
|
3488
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3489
|
+
},
|
|
3490
|
+
"manifest_version_id": {
|
|
3491
|
+
"type": "string",
|
|
3492
|
+
"minLength": 1
|
|
3493
|
+
},
|
|
3494
|
+
"manifest_hash": {
|
|
3495
|
+
"type": "string",
|
|
3496
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3497
|
+
},
|
|
3498
|
+
"record_hash": {
|
|
3499
|
+
"type": "string",
|
|
3500
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3501
|
+
},
|
|
3502
|
+
"signature": {
|
|
3503
|
+
"type": "string",
|
|
3504
|
+
"pattern": "^[A-Za-z0-9_-]{85}[AQgw]$"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
"required": [
|
|
3508
|
+
"schema",
|
|
3509
|
+
"environment",
|
|
3510
|
+
"generation",
|
|
3511
|
+
"sequence",
|
|
3512
|
+
"operation_id",
|
|
3513
|
+
"intent_at",
|
|
3514
|
+
"previous_hash",
|
|
3515
|
+
"signing_key_id",
|
|
3516
|
+
"kind",
|
|
3517
|
+
"ids",
|
|
3518
|
+
"manifest_id",
|
|
3519
|
+
"manifest_version_id",
|
|
3520
|
+
"manifest_hash",
|
|
3521
|
+
"record_hash",
|
|
3522
|
+
"signature"
|
|
3523
|
+
],
|
|
3524
|
+
"additionalProperties": false
|
|
3525
|
+
},
|
|
3432
3526
|
{
|
|
3433
3527
|
"type": "object",
|
|
3434
3528
|
"properties": {
|