@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,3541 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "intent": {
6
+ "anyOf": [
7
+ {
8
+ "type": "object",
9
+ "properties": {
10
+ "operation_id": {
11
+ "type": "string",
12
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
13
+ },
14
+ "kind": {
15
+ "type": "string",
16
+ "const": "organization.erase"
17
+ },
18
+ "ids": {
19
+ "type": "object",
20
+ "properties": {
21
+ "org_id": {
22
+ "type": "string",
23
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
24
+ }
25
+ },
26
+ "required": [
27
+ "org_id"
28
+ ],
29
+ "additionalProperties": false
30
+ }
31
+ },
32
+ "required": [
33
+ "operation_id",
34
+ "kind",
35
+ "ids"
36
+ ],
37
+ "additionalProperties": false
38
+ },
39
+ {
40
+ "type": "object",
41
+ "properties": {
42
+ "operation_id": {
43
+ "type": "string",
44
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
45
+ },
46
+ "kind": {
47
+ "type": "string",
48
+ "const": "organization.scope_erase"
49
+ },
50
+ "ids": {
51
+ "type": "object",
52
+ "properties": {
53
+ "org_id": {
54
+ "type": "string",
55
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
56
+ },
57
+ "scope_id": {
58
+ "type": "string",
59
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
60
+ },
61
+ "scope_generation": {
62
+ "type": "integer",
63
+ "minimum": 1,
64
+ "maximum": 9007199254740991
65
+ }
66
+ },
67
+ "required": [
68
+ "org_id",
69
+ "scope_id",
70
+ "scope_generation"
71
+ ],
72
+ "additionalProperties": false
73
+ }
74
+ },
75
+ "required": [
76
+ "operation_id",
77
+ "kind",
78
+ "ids"
79
+ ],
80
+ "additionalProperties": false
81
+ },
82
+ {
83
+ "type": "object",
84
+ "properties": {
85
+ "operation_id": {
86
+ "type": "string",
87
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
88
+ },
89
+ "kind": {
90
+ "type": "string",
91
+ "const": "robot.delete"
92
+ },
93
+ "ids": {
94
+ "type": "object",
95
+ "properties": {
96
+ "org_id": {
97
+ "type": "string",
98
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
99
+ },
100
+ "robot_id": {
101
+ "type": "string",
102
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
103
+ }
104
+ },
105
+ "required": [
106
+ "org_id",
107
+ "robot_id"
108
+ ],
109
+ "additionalProperties": false
110
+ }
111
+ },
112
+ "required": [
113
+ "operation_id",
114
+ "kind",
115
+ "ids"
116
+ ],
117
+ "additionalProperties": false
118
+ },
119
+ {
120
+ "type": "object",
121
+ "properties": {
122
+ "operation_id": {
123
+ "type": "string",
124
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
125
+ },
126
+ "kind": {
127
+ "type": "string",
128
+ "const": "app.delete"
129
+ },
130
+ "ids": {
131
+ "type": "object",
132
+ "properties": {
133
+ "org_id": {
134
+ "type": "string",
135
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
136
+ },
137
+ "app_id": {
138
+ "type": "string",
139
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
140
+ }
141
+ },
142
+ "required": [
143
+ "org_id",
144
+ "app_id"
145
+ ],
146
+ "additionalProperties": false
147
+ }
148
+ },
149
+ "required": [
150
+ "operation_id",
151
+ "kind",
152
+ "ids"
153
+ ],
154
+ "additionalProperties": false
155
+ },
156
+ {
157
+ "type": "object",
158
+ "properties": {
159
+ "operation_id": {
160
+ "type": "string",
161
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
162
+ },
163
+ "kind": {
164
+ "type": "string",
165
+ "const": "member.remove"
166
+ },
167
+ "ids": {
168
+ "type": "object",
169
+ "properties": {
170
+ "org_id": {
171
+ "type": "string",
172
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
173
+ },
174
+ "user_id": {
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
+ },
179
+ "required": [
180
+ "org_id",
181
+ "user_id"
182
+ ],
183
+ "additionalProperties": false
184
+ }
185
+ },
186
+ "required": [
187
+ "operation_id",
188
+ "kind",
189
+ "ids"
190
+ ],
191
+ "additionalProperties": false
192
+ },
193
+ {
194
+ "type": "object",
195
+ "properties": {
196
+ "operation_id": {
197
+ "type": "string",
198
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
199
+ },
200
+ "kind": {
201
+ "type": "string",
202
+ "const": "app_user.remove"
203
+ },
204
+ "ids": {
205
+ "type": "object",
206
+ "properties": {
207
+ "org_id": {
208
+ "type": "string",
209
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
210
+ },
211
+ "app_id": {
212
+ "type": "string",
213
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
214
+ },
215
+ "app_user_id": {
216
+ "type": "string",
217
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
218
+ }
219
+ },
220
+ "required": [
221
+ "org_id",
222
+ "app_id",
223
+ "app_user_id"
224
+ ],
225
+ "additionalProperties": false
226
+ }
227
+ },
228
+ "required": [
229
+ "operation_id",
230
+ "kind",
231
+ "ids"
232
+ ],
233
+ "additionalProperties": false
234
+ },
235
+ {
236
+ "type": "object",
237
+ "properties": {
238
+ "operation_id": {
239
+ "type": "string",
240
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
241
+ },
242
+ "kind": {
243
+ "type": "string",
244
+ "const": "app_role.delete"
245
+ },
246
+ "ids": {
247
+ "oneOf": [
248
+ {
249
+ "type": "object",
250
+ "properties": {
251
+ "org_id": {
252
+ "type": "string",
253
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
254
+ },
255
+ "app_id": {
256
+ "type": "string",
257
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
258
+ },
259
+ "role_id": {
260
+ "type": "string",
261
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
262
+ },
263
+ "move_mode": {
264
+ "type": "string",
265
+ "const": "none"
266
+ }
267
+ },
268
+ "required": [
269
+ "org_id",
270
+ "app_id",
271
+ "role_id",
272
+ "move_mode"
273
+ ],
274
+ "additionalProperties": false
275
+ },
276
+ {
277
+ "type": "object",
278
+ "properties": {
279
+ "org_id": {
280
+ "type": "string",
281
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
282
+ },
283
+ "app_id": {
284
+ "type": "string",
285
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
286
+ },
287
+ "role_id": {
288
+ "type": "string",
289
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
290
+ },
291
+ "move_mode": {
292
+ "type": "string",
293
+ "const": "reassign"
294
+ },
295
+ "move_to_role_id": {
296
+ "type": "string",
297
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
298
+ }
299
+ },
300
+ "required": [
301
+ "org_id",
302
+ "app_id",
303
+ "role_id",
304
+ "move_mode",
305
+ "move_to_role_id"
306
+ ],
307
+ "additionalProperties": false
308
+ }
309
+ ]
310
+ }
311
+ },
312
+ "required": [
313
+ "operation_id",
314
+ "kind",
315
+ "ids"
316
+ ],
317
+ "additionalProperties": false
318
+ },
319
+ {
320
+ "type": "object",
321
+ "properties": {
322
+ "operation_id": {
323
+ "type": "string",
324
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
325
+ },
326
+ "kind": {
327
+ "type": "string",
328
+ "const": "app_oidc_provider.delete"
329
+ },
330
+ "ids": {
331
+ "type": "object",
332
+ "properties": {
333
+ "org_id": {
334
+ "type": "string",
335
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
336
+ },
337
+ "app_id": {
338
+ "type": "string",
339
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
340
+ },
341
+ "provider_id": {
342
+ "type": "string",
343
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
344
+ }
345
+ },
346
+ "required": [
347
+ "org_id",
348
+ "app_id",
349
+ "provider_id"
350
+ ],
351
+ "additionalProperties": false
352
+ }
353
+ },
354
+ "required": [
355
+ "operation_id",
356
+ "kind",
357
+ "ids"
358
+ ],
359
+ "additionalProperties": false
360
+ },
361
+ {
362
+ "type": "object",
363
+ "properties": {
364
+ "operation_id": {
365
+ "type": "string",
366
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
367
+ },
368
+ "kind": {
369
+ "type": "string",
370
+ "const": "mcp_client.revoke"
371
+ },
372
+ "ids": {
373
+ "type": "object",
374
+ "properties": {
375
+ "org_id": {
376
+ "type": "string",
377
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
378
+ },
379
+ "app_id": {
380
+ "type": "string",
381
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
382
+ },
383
+ "client_row_id": {
384
+ "type": "string",
385
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
386
+ }
387
+ },
388
+ "required": [
389
+ "org_id",
390
+ "app_id",
391
+ "client_row_id"
392
+ ],
393
+ "additionalProperties": false
394
+ }
395
+ },
396
+ "required": [
397
+ "operation_id",
398
+ "kind",
399
+ "ids"
400
+ ],
401
+ "additionalProperties": false
402
+ },
403
+ {
404
+ "type": "object",
405
+ "properties": {
406
+ "operation_id": {
407
+ "type": "string",
408
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
409
+ },
410
+ "kind": {
411
+ "type": "string",
412
+ "const": "mcp_central_client.revoke"
413
+ },
414
+ "ids": {
415
+ "type": "object",
416
+ "properties": {
417
+ "client_row_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
+ },
422
+ "required": [
423
+ "client_row_id"
424
+ ],
425
+ "additionalProperties": false
426
+ }
427
+ },
428
+ "required": [
429
+ "operation_id",
430
+ "kind",
431
+ "ids"
432
+ ],
433
+ "additionalProperties": false
434
+ },
435
+ {
436
+ "type": "object",
437
+ "properties": {
438
+ "operation_id": {
439
+ "type": "string",
440
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
441
+ },
442
+ "kind": {
443
+ "type": "string",
444
+ "const": "auth_factor.remove"
445
+ },
446
+ "ids": {
447
+ "anyOf": [
448
+ {
449
+ "type": "object",
450
+ "properties": {
451
+ "subject_id": {
452
+ "type": "string",
453
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
454
+ },
455
+ "factor_id": {
456
+ "type": "string",
457
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
458
+ },
459
+ "subject_kind": {
460
+ "type": "string",
461
+ "const": "developer"
462
+ },
463
+ "factor_kind": {
464
+ "type": "string",
465
+ "const": "totp"
466
+ }
467
+ },
468
+ "required": [
469
+ "subject_id",
470
+ "factor_id",
471
+ "subject_kind",
472
+ "factor_kind"
473
+ ],
474
+ "additionalProperties": false
475
+ },
476
+ {
477
+ "type": "object",
478
+ "properties": {
479
+ "subject_id": {
480
+ "type": "string",
481
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
482
+ },
483
+ "factor_id": {
484
+ "type": "string",
485
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
486
+ },
487
+ "subject_kind": {
488
+ "type": "string",
489
+ "const": "developer"
490
+ },
491
+ "factor_kind": {
492
+ "type": "string",
493
+ "const": "passkey"
494
+ }
495
+ },
496
+ "required": [
497
+ "subject_id",
498
+ "factor_id",
499
+ "subject_kind",
500
+ "factor_kind"
501
+ ],
502
+ "additionalProperties": false
503
+ },
504
+ {
505
+ "type": "object",
506
+ "properties": {
507
+ "subject_id": {
508
+ "type": "string",
509
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
510
+ },
511
+ "factor_id": {
512
+ "type": "string",
513
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
514
+ },
515
+ "subject_kind": {
516
+ "type": "string",
517
+ "const": "app_user"
518
+ },
519
+ "factor_kind": {
520
+ "type": "string",
521
+ "const": "totp"
522
+ }
523
+ },
524
+ "required": [
525
+ "subject_id",
526
+ "factor_id",
527
+ "subject_kind",
528
+ "factor_kind"
529
+ ],
530
+ "additionalProperties": false
531
+ }
532
+ ]
533
+ }
534
+ },
535
+ "required": [
536
+ "operation_id",
537
+ "kind",
538
+ "ids"
539
+ ],
540
+ "additionalProperties": false
541
+ },
542
+ {
543
+ "type": "object",
544
+ "properties": {
545
+ "operation_id": {
546
+ "type": "string",
547
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
548
+ },
549
+ "kind": {
550
+ "type": "string",
551
+ "const": "robot_assets.clear"
552
+ },
553
+ "ids": {
554
+ "type": "object",
555
+ "properties": {
556
+ "org_id": {
557
+ "type": "string",
558
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
559
+ },
560
+ "robot_id": {
561
+ "type": "string",
562
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
563
+ },
564
+ "batch_id": {
565
+ "type": "string",
566
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
567
+ }
568
+ },
569
+ "required": [
570
+ "org_id",
571
+ "robot_id",
572
+ "batch_id"
573
+ ],
574
+ "additionalProperties": false
575
+ }
576
+ },
577
+ "required": [
578
+ "operation_id",
579
+ "kind",
580
+ "ids"
581
+ ],
582
+ "additionalProperties": false
583
+ },
584
+ {
585
+ "type": "object",
586
+ "properties": {
587
+ "operation_id": {
588
+ "type": "string",
589
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
590
+ },
591
+ "kind": {
592
+ "type": "string",
593
+ "const": "asset.remove"
594
+ },
595
+ "ids": {
596
+ "type": "object",
597
+ "properties": {
598
+ "org_id": {
599
+ "type": "string",
600
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
601
+ },
602
+ "robot_id": {
603
+ "type": "string",
604
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
605
+ },
606
+ "asset_id": {
607
+ "type": "string",
608
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
609
+ }
610
+ },
611
+ "required": [
612
+ "org_id",
613
+ "robot_id",
614
+ "asset_id"
615
+ ],
616
+ "additionalProperties": false
617
+ }
618
+ },
619
+ "required": [
620
+ "operation_id",
621
+ "kind",
622
+ "ids"
623
+ ],
624
+ "additionalProperties": false
625
+ },
626
+ {
627
+ "type": "object",
628
+ "properties": {
629
+ "operation_id": {
630
+ "type": "string",
631
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
632
+ },
633
+ "kind": {
634
+ "type": "string",
635
+ "const": "asset.replace"
636
+ },
637
+ "ids": {
638
+ "type": "object",
639
+ "properties": {
640
+ "org_id": {
641
+ "type": "string",
642
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
643
+ },
644
+ "robot_id": {
645
+ "type": "string",
646
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
647
+ },
648
+ "asset_id": {
649
+ "type": "string",
650
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
651
+ }
652
+ },
653
+ "required": [
654
+ "org_id",
655
+ "robot_id",
656
+ "asset_id"
657
+ ],
658
+ "additionalProperties": false
659
+ }
660
+ },
661
+ "required": [
662
+ "operation_id",
663
+ "kind",
664
+ "ids"
665
+ ],
666
+ "additionalProperties": false
667
+ },
668
+ {
669
+ "type": "object",
670
+ "properties": {
671
+ "operation_id": {
672
+ "type": "string",
673
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
674
+ },
675
+ "kind": {
676
+ "type": "string",
677
+ "const": "organization_export.expire"
678
+ },
679
+ "ids": {
680
+ "type": "object",
681
+ "properties": {
682
+ "org_id": {
683
+ "type": "string",
684
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
685
+ },
686
+ "export_id": {
687
+ "type": "string",
688
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
689
+ },
690
+ "expires_at": {
691
+ "type": "string",
692
+ "format": "date-time",
693
+ "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))$"
694
+ }
695
+ },
696
+ "required": [
697
+ "org_id",
698
+ "export_id",
699
+ "expires_at"
700
+ ],
701
+ "additionalProperties": false
702
+ }
703
+ },
704
+ "required": [
705
+ "operation_id",
706
+ "kind",
707
+ "ids"
708
+ ],
709
+ "additionalProperties": false
710
+ },
711
+ {
712
+ "type": "object",
713
+ "properties": {
714
+ "operation_id": {
715
+ "type": "string",
716
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
717
+ },
718
+ "kind": {
719
+ "type": "string",
720
+ "const": "history.slug_delete"
721
+ },
722
+ "ids": {
723
+ "type": "object",
724
+ "properties": {
725
+ "org_id": {
726
+ "type": "string",
727
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
728
+ },
729
+ "robot_id": {
730
+ "type": "string",
731
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
732
+ },
733
+ "series_id": {
734
+ "type": "integer",
735
+ "minimum": 1,
736
+ "maximum": 9007199254740991
737
+ },
738
+ "slug_generation": {
739
+ "type": "string",
740
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
741
+ },
742
+ "batch_id": {
743
+ "type": "string",
744
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
745
+ }
746
+ },
747
+ "required": [
748
+ "org_id",
749
+ "robot_id",
750
+ "series_id",
751
+ "slug_generation",
752
+ "batch_id"
753
+ ],
754
+ "additionalProperties": false
755
+ }
756
+ },
757
+ "required": [
758
+ "operation_id",
759
+ "kind",
760
+ "ids"
761
+ ],
762
+ "additionalProperties": false
763
+ },
764
+ {
765
+ "type": "object",
766
+ "properties": {
767
+ "operation_id": {
768
+ "type": "string",
769
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
770
+ },
771
+ "kind": {
772
+ "type": "string",
773
+ "const": "history.retention"
774
+ },
775
+ "ids": {
776
+ "type": "object",
777
+ "properties": {
778
+ "org_id": {
779
+ "type": "string",
780
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
781
+ },
782
+ "batch_id": {
783
+ "type": "string",
784
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
785
+ },
786
+ "cutoff_at": {
787
+ "type": "string",
788
+ "format": "date-time",
789
+ "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))$"
790
+ },
791
+ "policy_revision": {
792
+ "type": "integer",
793
+ "minimum": 1,
794
+ "maximum": 9007199254740991
795
+ }
796
+ },
797
+ "required": [
798
+ "org_id",
799
+ "batch_id",
800
+ "cutoff_at",
801
+ "policy_revision"
802
+ ],
803
+ "additionalProperties": false
804
+ }
805
+ },
806
+ "required": [
807
+ "operation_id",
808
+ "kind",
809
+ "ids"
810
+ ],
811
+ "additionalProperties": false
812
+ },
813
+ {
814
+ "type": "object",
815
+ "properties": {
816
+ "operation_id": {
817
+ "type": "string",
818
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
819
+ },
820
+ "kind": {
821
+ "type": "string",
822
+ "const": "audit.retention"
823
+ },
824
+ "ids": {
825
+ "type": "object",
826
+ "properties": {
827
+ "org_id": {
828
+ "type": "string",
829
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
830
+ },
831
+ "batch_id": {
832
+ "type": "string",
833
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
834
+ },
835
+ "cutoff_at": {
836
+ "type": "string",
837
+ "format": "date-time",
838
+ "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))$"
839
+ },
840
+ "policy_revision": {
841
+ "type": "integer",
842
+ "minimum": 1,
843
+ "maximum": 9007199254740991
844
+ }
845
+ },
846
+ "required": [
847
+ "org_id",
848
+ "batch_id",
849
+ "cutoff_at",
850
+ "policy_revision"
851
+ ],
852
+ "additionalProperties": false
853
+ }
854
+ },
855
+ "required": [
856
+ "operation_id",
857
+ "kind",
858
+ "ids"
859
+ ],
860
+ "additionalProperties": false
861
+ },
862
+ {
863
+ "type": "object",
864
+ "properties": {
865
+ "operation_id": {
866
+ "type": "string",
867
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
868
+ },
869
+ "kind": {
870
+ "type": "string",
871
+ "const": "job_run.retention"
872
+ },
873
+ "ids": {
874
+ "type": "object",
875
+ "properties": {
876
+ "org_id": {
877
+ "type": "string",
878
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
879
+ },
880
+ "batch_id": {
881
+ "type": "string",
882
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
883
+ },
884
+ "cutoff_at": {
885
+ "type": "string",
886
+ "format": "date-time",
887
+ "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))$"
888
+ },
889
+ "policy_revision": {
890
+ "type": "integer",
891
+ "minimum": 1,
892
+ "maximum": 9007199254740991
893
+ }
894
+ },
895
+ "required": [
896
+ "org_id",
897
+ "batch_id",
898
+ "cutoff_at",
899
+ "policy_revision"
900
+ ],
901
+ "additionalProperties": false
902
+ }
903
+ },
904
+ "required": [
905
+ "operation_id",
906
+ "kind",
907
+ "ids"
908
+ ],
909
+ "additionalProperties": false
910
+ },
911
+ {
912
+ "type": "object",
913
+ "properties": {
914
+ "operation_id": {
915
+ "type": "string",
916
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
917
+ },
918
+ "kind": {
919
+ "type": "string",
920
+ "const": "latency.retention"
921
+ },
922
+ "ids": {
923
+ "type": "object",
924
+ "properties": {
925
+ "org_id": {
926
+ "type": "string",
927
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
928
+ },
929
+ "batch_id": {
930
+ "type": "string",
931
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
932
+ },
933
+ "cutoff_at": {
934
+ "type": "string",
935
+ "format": "date-time",
936
+ "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))$"
937
+ },
938
+ "policy_revision": {
939
+ "type": "integer",
940
+ "minimum": 1,
941
+ "maximum": 9007199254740991
942
+ }
943
+ },
944
+ "required": [
945
+ "org_id",
946
+ "batch_id",
947
+ "cutoff_at",
948
+ "policy_revision"
949
+ ],
950
+ "additionalProperties": false
951
+ }
952
+ },
953
+ "required": [
954
+ "operation_id",
955
+ "kind",
956
+ "ids"
957
+ ],
958
+ "additionalProperties": false
959
+ },
960
+ {
961
+ "type": "object",
962
+ "properties": {
963
+ "operation_id": {
964
+ "type": "string",
965
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
966
+ },
967
+ "kind": {
968
+ "type": "string",
969
+ "const": "ops_event.retention"
970
+ },
971
+ "ids": {
972
+ "type": "object",
973
+ "properties": {
974
+ "org_id": {
975
+ "type": "string",
976
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
977
+ },
978
+ "batch_id": {
979
+ "type": "string",
980
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
981
+ },
982
+ "cutoff_at": {
983
+ "type": "string",
984
+ "format": "date-time",
985
+ "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))$"
986
+ },
987
+ "policy_revision": {
988
+ "type": "integer",
989
+ "minimum": 1,
990
+ "maximum": 9007199254740991
991
+ }
992
+ },
993
+ "required": [
994
+ "org_id",
995
+ "batch_id",
996
+ "cutoff_at",
997
+ "policy_revision"
998
+ ],
999
+ "additionalProperties": false
1000
+ }
1001
+ },
1002
+ "required": [
1003
+ "operation_id",
1004
+ "kind",
1005
+ "ids"
1006
+ ],
1007
+ "additionalProperties": false
1008
+ },
1009
+ {
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "operation_id": {
1013
+ "type": "string",
1014
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1015
+ },
1016
+ "kind": {
1017
+ "type": "string",
1018
+ "const": "ops_global_event.retention"
1019
+ },
1020
+ "ids": {
1021
+ "type": "object",
1022
+ "properties": {
1023
+ "batch_id": {
1024
+ "type": "string",
1025
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1026
+ },
1027
+ "cutoff_at": {
1028
+ "type": "string",
1029
+ "format": "date-time",
1030
+ "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))$"
1031
+ },
1032
+ "policy_revision": {
1033
+ "type": "integer",
1034
+ "minimum": 1,
1035
+ "maximum": 9007199254740991
1036
+ }
1037
+ },
1038
+ "required": [
1039
+ "batch_id",
1040
+ "cutoff_at",
1041
+ "policy_revision"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ }
1045
+ },
1046
+ "required": [
1047
+ "operation_id",
1048
+ "kind",
1049
+ "ids"
1050
+ ],
1051
+ "additionalProperties": false
1052
+ },
1053
+ {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "operation_id": {
1057
+ "type": "string",
1058
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1059
+ },
1060
+ "kind": {
1061
+ "type": "string",
1062
+ "const": "operator_audit.retention"
1063
+ },
1064
+ "ids": {
1065
+ "type": "object",
1066
+ "properties": {
1067
+ "batch_id": {
1068
+ "type": "string",
1069
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1070
+ },
1071
+ "cutoff_at": {
1072
+ "type": "string",
1073
+ "format": "date-time",
1074
+ "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))$"
1075
+ },
1076
+ "policy_revision": {
1077
+ "type": "integer",
1078
+ "minimum": 1,
1079
+ "maximum": 9007199254740991
1080
+ }
1081
+ },
1082
+ "required": [
1083
+ "batch_id",
1084
+ "cutoff_at",
1085
+ "policy_revision"
1086
+ ],
1087
+ "additionalProperties": false
1088
+ }
1089
+ },
1090
+ "required": [
1091
+ "operation_id",
1092
+ "kind",
1093
+ "ids"
1094
+ ],
1095
+ "additionalProperties": false
1096
+ },
1097
+ {
1098
+ "type": "object",
1099
+ "properties": {
1100
+ "operation_id": {
1101
+ "type": "string",
1102
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1103
+ },
1104
+ "kind": {
1105
+ "type": "string",
1106
+ "const": "oidc_interaction.expire"
1107
+ },
1108
+ "ids": {
1109
+ "type": "object",
1110
+ "properties": {
1111
+ "org_id": {
1112
+ "type": "string",
1113
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1114
+ },
1115
+ "batch_id": {
1116
+ "type": "string",
1117
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1118
+ },
1119
+ "cutoff_at": {
1120
+ "type": "string",
1121
+ "format": "date-time",
1122
+ "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))$"
1123
+ },
1124
+ "policy_revision": {
1125
+ "type": "integer",
1126
+ "minimum": 1,
1127
+ "maximum": 9007199254740991
1128
+ }
1129
+ },
1130
+ "required": [
1131
+ "org_id",
1132
+ "batch_id",
1133
+ "cutoff_at",
1134
+ "policy_revision"
1135
+ ],
1136
+ "additionalProperties": false
1137
+ }
1138
+ },
1139
+ "required": [
1140
+ "operation_id",
1141
+ "kind",
1142
+ "ids"
1143
+ ],
1144
+ "additionalProperties": false
1145
+ },
1146
+ {
1147
+ "type": "object",
1148
+ "properties": {
1149
+ "operation_id": {
1150
+ "type": "string",
1151
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1152
+ },
1153
+ "kind": {
1154
+ "type": "string",
1155
+ "const": "mcp_interaction.expire"
1156
+ },
1157
+ "ids": {
1158
+ "type": "object",
1159
+ "properties": {
1160
+ "org_id": {
1161
+ "type": "string",
1162
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1163
+ },
1164
+ "app_id": {
1165
+ "type": "string",
1166
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1167
+ },
1168
+ "batch_id": {
1169
+ "type": "string",
1170
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1171
+ },
1172
+ "cutoff_at": {
1173
+ "type": "string",
1174
+ "format": "date-time",
1175
+ "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))$"
1176
+ },
1177
+ "policy_revision": {
1178
+ "type": "integer",
1179
+ "minimum": 1,
1180
+ "maximum": 9007199254740991
1181
+ }
1182
+ },
1183
+ "required": [
1184
+ "org_id",
1185
+ "app_id",
1186
+ "batch_id",
1187
+ "cutoff_at",
1188
+ "policy_revision"
1189
+ ],
1190
+ "additionalProperties": false
1191
+ }
1192
+ },
1193
+ "required": [
1194
+ "operation_id",
1195
+ "kind",
1196
+ "ids"
1197
+ ],
1198
+ "additionalProperties": false
1199
+ },
1200
+ {
1201
+ "type": "object",
1202
+ "properties": {
1203
+ "operation_id": {
1204
+ "type": "string",
1205
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1206
+ },
1207
+ "kind": {
1208
+ "type": "string",
1209
+ "const": "mcp_central_interaction.expire"
1210
+ },
1211
+ "ids": {
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "batch_id": {
1215
+ "type": "string",
1216
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1217
+ },
1218
+ "cutoff_at": {
1219
+ "type": "string",
1220
+ "format": "date-time",
1221
+ "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))$"
1222
+ },
1223
+ "policy_revision": {
1224
+ "type": "integer",
1225
+ "minimum": 1,
1226
+ "maximum": 9007199254740991
1227
+ }
1228
+ },
1229
+ "required": [
1230
+ "batch_id",
1231
+ "cutoff_at",
1232
+ "policy_revision"
1233
+ ],
1234
+ "additionalProperties": false
1235
+ }
1236
+ },
1237
+ "required": [
1238
+ "operation_id",
1239
+ "kind",
1240
+ "ids"
1241
+ ],
1242
+ "additionalProperties": false
1243
+ },
1244
+ {
1245
+ "type": "object",
1246
+ "properties": {
1247
+ "operation_id": {
1248
+ "type": "string",
1249
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1250
+ },
1251
+ "kind": {
1252
+ "type": "string",
1253
+ "const": "mcp_client.expire"
1254
+ },
1255
+ "ids": {
1256
+ "type": "object",
1257
+ "properties": {
1258
+ "org_id": {
1259
+ "type": "string",
1260
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1261
+ },
1262
+ "app_id": {
1263
+ "type": "string",
1264
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1265
+ },
1266
+ "batch_id": {
1267
+ "type": "string",
1268
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1269
+ },
1270
+ "cutoff_at": {
1271
+ "type": "string",
1272
+ "format": "date-time",
1273
+ "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))$"
1274
+ },
1275
+ "policy_revision": {
1276
+ "type": "integer",
1277
+ "minimum": 1,
1278
+ "maximum": 9007199254740991
1279
+ }
1280
+ },
1281
+ "required": [
1282
+ "org_id",
1283
+ "app_id",
1284
+ "batch_id",
1285
+ "cutoff_at",
1286
+ "policy_revision"
1287
+ ],
1288
+ "additionalProperties": false
1289
+ }
1290
+ },
1291
+ "required": [
1292
+ "operation_id",
1293
+ "kind",
1294
+ "ids"
1295
+ ],
1296
+ "additionalProperties": false
1297
+ },
1298
+ {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "operation_id": {
1302
+ "type": "string",
1303
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1304
+ },
1305
+ "kind": {
1306
+ "type": "string",
1307
+ "const": "mcp_central_client.expire"
1308
+ },
1309
+ "ids": {
1310
+ "type": "object",
1311
+ "properties": {
1312
+ "batch_id": {
1313
+ "type": "string",
1314
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1315
+ },
1316
+ "cutoff_at": {
1317
+ "type": "string",
1318
+ "format": "date-time",
1319
+ "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))$"
1320
+ },
1321
+ "policy_revision": {
1322
+ "type": "integer",
1323
+ "minimum": 1,
1324
+ "maximum": 9007199254740991
1325
+ }
1326
+ },
1327
+ "required": [
1328
+ "batch_id",
1329
+ "cutoff_at",
1330
+ "policy_revision"
1331
+ ],
1332
+ "additionalProperties": false
1333
+ }
1334
+ },
1335
+ "required": [
1336
+ "operation_id",
1337
+ "kind",
1338
+ "ids"
1339
+ ],
1340
+ "additionalProperties": false
1341
+ },
1342
+ {
1343
+ "type": "object",
1344
+ "properties": {
1345
+ "operation_id": {
1346
+ "type": "string",
1347
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1348
+ },
1349
+ "kind": {
1350
+ "type": "string",
1351
+ "const": "console_interaction.expire"
1352
+ },
1353
+ "ids": {
1354
+ "type": "object",
1355
+ "properties": {
1356
+ "batch_id": {
1357
+ "type": "string",
1358
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1359
+ },
1360
+ "cutoff_at": {
1361
+ "type": "string",
1362
+ "format": "date-time",
1363
+ "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))$"
1364
+ },
1365
+ "policy_revision": {
1366
+ "type": "integer",
1367
+ "minimum": 1,
1368
+ "maximum": 9007199254740991
1369
+ }
1370
+ },
1371
+ "required": [
1372
+ "batch_id",
1373
+ "cutoff_at",
1374
+ "policy_revision"
1375
+ ],
1376
+ "additionalProperties": false
1377
+ }
1378
+ },
1379
+ "required": [
1380
+ "operation_id",
1381
+ "kind",
1382
+ "ids"
1383
+ ],
1384
+ "additionalProperties": false
1385
+ },
1386
+ {
1387
+ "type": "object",
1388
+ "properties": {
1389
+ "operation_id": {
1390
+ "type": "string",
1391
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1392
+ },
1393
+ "kind": {
1394
+ "type": "string",
1395
+ "const": "console_code.expire"
1396
+ },
1397
+ "ids": {
1398
+ "type": "object",
1399
+ "properties": {
1400
+ "batch_id": {
1401
+ "type": "string",
1402
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1403
+ },
1404
+ "cutoff_at": {
1405
+ "type": "string",
1406
+ "format": "date-time",
1407
+ "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))$"
1408
+ },
1409
+ "policy_revision": {
1410
+ "type": "integer",
1411
+ "minimum": 1,
1412
+ "maximum": 9007199254740991
1413
+ }
1414
+ },
1415
+ "required": [
1416
+ "batch_id",
1417
+ "cutoff_at",
1418
+ "policy_revision"
1419
+ ],
1420
+ "additionalProperties": false
1421
+ }
1422
+ },
1423
+ "required": [
1424
+ "operation_id",
1425
+ "kind",
1426
+ "ids"
1427
+ ],
1428
+ "additionalProperties": false
1429
+ }
1430
+ ]
1431
+ },
1432
+ "manifest": {
1433
+ "type": "object",
1434
+ "properties": {
1435
+ "schema": {
1436
+ "type": "string",
1437
+ "const": "fleetless.deletion-manifest.v1"
1438
+ },
1439
+ "environment": {
1440
+ "type": "string",
1441
+ "enum": [
1442
+ "staging",
1443
+ "production"
1444
+ ]
1445
+ },
1446
+ "generation": {
1447
+ "type": "integer",
1448
+ "minimum": 1,
1449
+ "maximum": 9007199254740991
1450
+ },
1451
+ "operation_id": {
1452
+ "type": "string",
1453
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1454
+ },
1455
+ "manifest_id": {
1456
+ "type": "string",
1457
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1458
+ },
1459
+ "scope": {
1460
+ "anyOf": [
1461
+ {
1462
+ "type": "object",
1463
+ "properties": {
1464
+ "kind": {
1465
+ "type": "string",
1466
+ "const": "organization"
1467
+ },
1468
+ "org_id": {
1469
+ "type": "string",
1470
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1471
+ }
1472
+ },
1473
+ "required": [
1474
+ "kind",
1475
+ "org_id"
1476
+ ],
1477
+ "additionalProperties": false
1478
+ },
1479
+ {
1480
+ "type": "object",
1481
+ "properties": {
1482
+ "kind": {
1483
+ "type": "string",
1484
+ "const": "organization_scope"
1485
+ },
1486
+ "org_id": {
1487
+ "type": "string",
1488
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1489
+ },
1490
+ "scope_id": {
1491
+ "type": "string",
1492
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1493
+ },
1494
+ "scope_generation": {
1495
+ "type": "integer",
1496
+ "minimum": 1,
1497
+ "maximum": 9007199254740991
1498
+ },
1499
+ "approved_predicate_digest": {
1500
+ "type": "string",
1501
+ "pattern": "^[0-9a-f]{64}$"
1502
+ }
1503
+ },
1504
+ "required": [
1505
+ "kind",
1506
+ "org_id",
1507
+ "scope_id",
1508
+ "scope_generation",
1509
+ "approved_predicate_digest"
1510
+ ],
1511
+ "additionalProperties": false
1512
+ },
1513
+ {
1514
+ "type": "object",
1515
+ "properties": {
1516
+ "kind": {
1517
+ "type": "string",
1518
+ "const": "central_mcp"
1519
+ }
1520
+ },
1521
+ "required": [
1522
+ "kind"
1523
+ ],
1524
+ "additionalProperties": false
1525
+ },
1526
+ {
1527
+ "type": "object",
1528
+ "properties": {
1529
+ "kind": {
1530
+ "type": "string",
1531
+ "const": "console_oauth"
1532
+ }
1533
+ },
1534
+ "required": [
1535
+ "kind"
1536
+ ],
1537
+ "additionalProperties": false
1538
+ },
1539
+ {
1540
+ "type": "object",
1541
+ "properties": {
1542
+ "kind": {
1543
+ "type": "string",
1544
+ "const": "global_ops_event"
1545
+ }
1546
+ },
1547
+ "required": [
1548
+ "kind"
1549
+ ],
1550
+ "additionalProperties": false
1551
+ },
1552
+ {
1553
+ "type": "object",
1554
+ "properties": {
1555
+ "kind": {
1556
+ "type": "string",
1557
+ "const": "operator_audit"
1558
+ }
1559
+ },
1560
+ "required": [
1561
+ "kind"
1562
+ ],
1563
+ "additionalProperties": false
1564
+ },
1565
+ {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "kind": {
1569
+ "type": "string",
1570
+ "const": "subject"
1571
+ },
1572
+ "subject_kind": {
1573
+ "type": "string",
1574
+ "enum": [
1575
+ "developer",
1576
+ "app_user"
1577
+ ]
1578
+ },
1579
+ "subject_id": {
1580
+ "type": "string",
1581
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1582
+ }
1583
+ },
1584
+ "required": [
1585
+ "kind",
1586
+ "subject_kind",
1587
+ "subject_id"
1588
+ ],
1589
+ "additionalProperties": false
1590
+ }
1591
+ ]
1592
+ },
1593
+ "entries": {
1594
+ "type": "array",
1595
+ "items": {
1596
+ "anyOf": [
1597
+ {
1598
+ "type": "object",
1599
+ "properties": {
1600
+ "kind": {
1601
+ "type": "string",
1602
+ "const": "asset_blob"
1603
+ },
1604
+ "mapping_id": {
1605
+ "type": "string",
1606
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1607
+ },
1608
+ "source_project_id": {
1609
+ "type": "string",
1610
+ "minLength": 1
1611
+ },
1612
+ "source_bucket": {
1613
+ "type": "string",
1614
+ "minLength": 1
1615
+ },
1616
+ "old_key": {
1617
+ "type": "string",
1618
+ "minLength": 1
1619
+ },
1620
+ "version_ids": {
1621
+ "minItems": 1,
1622
+ "type": "array",
1623
+ "items": {
1624
+ "type": "string",
1625
+ "minLength": 1
1626
+ }
1627
+ },
1628
+ "membership_kind": {
1629
+ "type": "string",
1630
+ "enum": [
1631
+ "affected",
1632
+ "unaffected"
1633
+ ]
1634
+ }
1635
+ },
1636
+ "required": [
1637
+ "kind",
1638
+ "mapping_id",
1639
+ "source_project_id",
1640
+ "source_bucket",
1641
+ "old_key",
1642
+ "version_ids",
1643
+ "membership_kind"
1644
+ ],
1645
+ "additionalProperties": false
1646
+ },
1647
+ {
1648
+ "type": "object",
1649
+ "properties": {
1650
+ "kind": {
1651
+ "type": "string",
1652
+ "const": "export_archive"
1653
+ },
1654
+ "mapping_id": {
1655
+ "type": "string",
1656
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1657
+ },
1658
+ "source_project_id": {
1659
+ "type": "string",
1660
+ "minLength": 1
1661
+ },
1662
+ "source_bucket": {
1663
+ "type": "string",
1664
+ "minLength": 1
1665
+ },
1666
+ "old_key": {
1667
+ "type": "string",
1668
+ "minLength": 1
1669
+ },
1670
+ "version_ids": {
1671
+ "minItems": 1,
1672
+ "type": "array",
1673
+ "items": {
1674
+ "type": "string",
1675
+ "minLength": 1
1676
+ }
1677
+ },
1678
+ "membership_kind": {
1679
+ "type": "string",
1680
+ "enum": [
1681
+ "affected",
1682
+ "unaffected"
1683
+ ]
1684
+ }
1685
+ },
1686
+ "required": [
1687
+ "kind",
1688
+ "mapping_id",
1689
+ "source_project_id",
1690
+ "source_bucket",
1691
+ "old_key",
1692
+ "version_ids",
1693
+ "membership_kind"
1694
+ ],
1695
+ "additionalProperties": false
1696
+ }
1697
+ ],
1698
+ "description": "Restricted object keys remain only in the protected manifest; JSON Schema consumers also check unique versions."
1699
+ }
1700
+ },
1701
+ "rows": {
1702
+ "type": "array",
1703
+ "items": {
1704
+ "anyOf": [
1705
+ {
1706
+ "type": "object",
1707
+ "properties": {
1708
+ "membership_kind": {
1709
+ "type": "string",
1710
+ "enum": [
1711
+ "affected",
1712
+ "unaffected"
1713
+ ]
1714
+ },
1715
+ "type": {
1716
+ "type": "string",
1717
+ "const": "uuid_row"
1718
+ },
1719
+ "table": {
1720
+ "type": "string",
1721
+ "enum": [
1722
+ "assets",
1723
+ "audit_events",
1724
+ "job_runs",
1725
+ "oidc_interactions",
1726
+ "organization_exports",
1727
+ "ops_notification_jobs",
1728
+ "console_oauth_codes"
1729
+ ]
1730
+ },
1731
+ "id": {
1732
+ "type": "string",
1733
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1734
+ },
1735
+ "row_generation": {
1736
+ "type": "string",
1737
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1738
+ }
1739
+ },
1740
+ "required": [
1741
+ "membership_kind",
1742
+ "type",
1743
+ "table",
1744
+ "id",
1745
+ "row_generation"
1746
+ ],
1747
+ "additionalProperties": false
1748
+ },
1749
+ {
1750
+ "type": "object",
1751
+ "properties": {
1752
+ "membership_kind": {
1753
+ "type": "string",
1754
+ "enum": [
1755
+ "affected",
1756
+ "unaffected"
1757
+ ]
1758
+ },
1759
+ "type": {
1760
+ "type": "string",
1761
+ "const": "basic_activity_observation"
1762
+ },
1763
+ "org_id": {
1764
+ "type": "string",
1765
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1766
+ },
1767
+ "audit_event_id": {
1768
+ "type": "string",
1769
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1770
+ }
1771
+ },
1772
+ "required": [
1773
+ "membership_kind",
1774
+ "type",
1775
+ "org_id",
1776
+ "audit_event_id"
1777
+ ],
1778
+ "additionalProperties": false
1779
+ },
1780
+ {
1781
+ "type": "object",
1782
+ "properties": {
1783
+ "membership_kind": {
1784
+ "type": "string",
1785
+ "enum": [
1786
+ "affected",
1787
+ "unaffected"
1788
+ ]
1789
+ },
1790
+ "type": {
1791
+ "type": "string",
1792
+ "const": "history_sample"
1793
+ },
1794
+ "robot_id": {
1795
+ "type": "string",
1796
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1797
+ },
1798
+ "series_id": {
1799
+ "type": "integer",
1800
+ "minimum": 1,
1801
+ "maximum": 9007199254740991
1802
+ },
1803
+ "series_generation": {
1804
+ "type": "string",
1805
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1806
+ },
1807
+ "captured_at_epoch_us": {
1808
+ "type": "integer",
1809
+ "minimum": 1,
1810
+ "maximum": 9007199254740991
1811
+ },
1812
+ "sample_id": {
1813
+ "type": "string",
1814
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1815
+ }
1816
+ },
1817
+ "required": [
1818
+ "membership_kind",
1819
+ "type",
1820
+ "robot_id",
1821
+ "series_id",
1822
+ "series_generation",
1823
+ "captured_at_epoch_us",
1824
+ "sample_id"
1825
+ ],
1826
+ "additionalProperties": false
1827
+ },
1828
+ {
1829
+ "type": "object",
1830
+ "properties": {
1831
+ "membership_kind": {
1832
+ "type": "string",
1833
+ "enum": [
1834
+ "affected",
1835
+ "unaffected"
1836
+ ]
1837
+ },
1838
+ "type": {
1839
+ "type": "string",
1840
+ "const": "latency_bucket"
1841
+ },
1842
+ "robot_id": {
1843
+ "type": "string",
1844
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1845
+ },
1846
+ "bucket_at": {
1847
+ "type": "string",
1848
+ "format": "date-time",
1849
+ "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))$"
1850
+ },
1851
+ "bucket_generation": {
1852
+ "type": "string",
1853
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1854
+ }
1855
+ },
1856
+ "required": [
1857
+ "membership_kind",
1858
+ "type",
1859
+ "robot_id",
1860
+ "bucket_at",
1861
+ "bucket_generation"
1862
+ ],
1863
+ "additionalProperties": false
1864
+ },
1865
+ {
1866
+ "type": "object",
1867
+ "properties": {
1868
+ "membership_kind": {
1869
+ "type": "string",
1870
+ "enum": [
1871
+ "affected",
1872
+ "unaffected"
1873
+ ]
1874
+ },
1875
+ "type": {
1876
+ "type": "string",
1877
+ "const": "org_keyed_row"
1878
+ },
1879
+ "table": {
1880
+ "type": "string",
1881
+ "enum": [
1882
+ "basic_activity_history",
1883
+ "synthetic_org_fixtures"
1884
+ ]
1885
+ },
1886
+ "org_id": {
1887
+ "type": "string",
1888
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1889
+ }
1890
+ },
1891
+ "required": [
1892
+ "membership_kind",
1893
+ "type",
1894
+ "table",
1895
+ "org_id"
1896
+ ],
1897
+ "additionalProperties": false
1898
+ },
1899
+ {
1900
+ "type": "object",
1901
+ "properties": {
1902
+ "membership_kind": {
1903
+ "type": "string",
1904
+ "enum": [
1905
+ "affected",
1906
+ "unaffected"
1907
+ ]
1908
+ },
1909
+ "type": {
1910
+ "type": "string",
1911
+ "const": "app_mcp_client"
1912
+ },
1913
+ "app_id": {
1914
+ "type": "string",
1915
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1916
+ },
1917
+ "client_row_id": {
1918
+ "type": "string",
1919
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1920
+ }
1921
+ },
1922
+ "required": [
1923
+ "membership_kind",
1924
+ "type",
1925
+ "app_id",
1926
+ "client_row_id"
1927
+ ],
1928
+ "additionalProperties": false
1929
+ },
1930
+ {
1931
+ "type": "object",
1932
+ "properties": {
1933
+ "membership_kind": {
1934
+ "type": "string",
1935
+ "enum": [
1936
+ "affected",
1937
+ "unaffected"
1938
+ ]
1939
+ },
1940
+ "type": {
1941
+ "type": "string",
1942
+ "const": "central_mcp_client"
1943
+ },
1944
+ "client_row_id": {
1945
+ "type": "string",
1946
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1947
+ }
1948
+ },
1949
+ "required": [
1950
+ "membership_kind",
1951
+ "type",
1952
+ "client_row_id"
1953
+ ],
1954
+ "additionalProperties": false
1955
+ },
1956
+ {
1957
+ "type": "object",
1958
+ "properties": {
1959
+ "membership_kind": {
1960
+ "type": "string",
1961
+ "enum": [
1962
+ "affected",
1963
+ "unaffected"
1964
+ ]
1965
+ },
1966
+ "type": {
1967
+ "type": "string",
1968
+ "const": "app_mcp_grant"
1969
+ },
1970
+ "app_id": {
1971
+ "type": "string",
1972
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1973
+ },
1974
+ "grant_id": {
1975
+ "type": "string",
1976
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1977
+ },
1978
+ "grant_generation": {
1979
+ "type": "string",
1980
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
1981
+ }
1982
+ },
1983
+ "required": [
1984
+ "membership_kind",
1985
+ "type",
1986
+ "app_id",
1987
+ "grant_id",
1988
+ "grant_generation"
1989
+ ],
1990
+ "additionalProperties": false
1991
+ },
1992
+ {
1993
+ "type": "object",
1994
+ "properties": {
1995
+ "membership_kind": {
1996
+ "type": "string",
1997
+ "enum": [
1998
+ "affected",
1999
+ "unaffected"
2000
+ ]
2001
+ },
2002
+ "type": {
2003
+ "type": "string",
2004
+ "const": "central_mcp_grant"
2005
+ },
2006
+ "grant_id": {
2007
+ "type": "string",
2008
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2009
+ },
2010
+ "grant_generation": {
2011
+ "type": "string",
2012
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2013
+ }
2014
+ },
2015
+ "required": [
2016
+ "membership_kind",
2017
+ "type",
2018
+ "grant_id",
2019
+ "grant_generation"
2020
+ ],
2021
+ "additionalProperties": false
2022
+ },
2023
+ {
2024
+ "type": "object",
2025
+ "properties": {
2026
+ "membership_kind": {
2027
+ "type": "string",
2028
+ "enum": [
2029
+ "affected",
2030
+ "unaffected"
2031
+ ]
2032
+ },
2033
+ "type": {
2034
+ "type": "string",
2035
+ "const": "app_mcp_code"
2036
+ },
2037
+ "app_id": {
2038
+ "type": "string",
2039
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2040
+ },
2041
+ "code_row_id": {
2042
+ "type": "string",
2043
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2044
+ }
2045
+ },
2046
+ "required": [
2047
+ "membership_kind",
2048
+ "type",
2049
+ "app_id",
2050
+ "code_row_id"
2051
+ ],
2052
+ "additionalProperties": false
2053
+ },
2054
+ {
2055
+ "type": "object",
2056
+ "properties": {
2057
+ "membership_kind": {
2058
+ "type": "string",
2059
+ "enum": [
2060
+ "affected",
2061
+ "unaffected"
2062
+ ]
2063
+ },
2064
+ "type": {
2065
+ "type": "string",
2066
+ "const": "central_mcp_code"
2067
+ },
2068
+ "code_row_id": {
2069
+ "type": "string",
2070
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2071
+ }
2072
+ },
2073
+ "required": [
2074
+ "membership_kind",
2075
+ "type",
2076
+ "code_row_id"
2077
+ ],
2078
+ "additionalProperties": false
2079
+ },
2080
+ {
2081
+ "type": "object",
2082
+ "properties": {
2083
+ "membership_kind": {
2084
+ "type": "string",
2085
+ "enum": [
2086
+ "affected",
2087
+ "unaffected"
2088
+ ]
2089
+ },
2090
+ "type": {
2091
+ "type": "string",
2092
+ "const": "app_mcp_interaction"
2093
+ },
2094
+ "app_id": {
2095
+ "type": "string",
2096
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2097
+ },
2098
+ "interaction_id": {
2099
+ "type": "string",
2100
+ "minLength": 1
2101
+ }
2102
+ },
2103
+ "required": [
2104
+ "membership_kind",
2105
+ "type",
2106
+ "app_id",
2107
+ "interaction_id"
2108
+ ],
2109
+ "additionalProperties": false
2110
+ },
2111
+ {
2112
+ "type": "object",
2113
+ "properties": {
2114
+ "membership_kind": {
2115
+ "type": "string",
2116
+ "enum": [
2117
+ "affected",
2118
+ "unaffected"
2119
+ ]
2120
+ },
2121
+ "type": {
2122
+ "type": "string",
2123
+ "const": "central_mcp_interaction"
2124
+ },
2125
+ "interaction_id": {
2126
+ "type": "string",
2127
+ "minLength": 1
2128
+ }
2129
+ },
2130
+ "required": [
2131
+ "membership_kind",
2132
+ "type",
2133
+ "interaction_id"
2134
+ ],
2135
+ "additionalProperties": false
2136
+ },
2137
+ {
2138
+ "type": "object",
2139
+ "properties": {
2140
+ "membership_kind": {
2141
+ "type": "string",
2142
+ "enum": [
2143
+ "affected",
2144
+ "unaffected"
2145
+ ]
2146
+ },
2147
+ "type": {
2148
+ "type": "string",
2149
+ "const": "console_interaction"
2150
+ },
2151
+ "interaction_id": {
2152
+ "type": "string",
2153
+ "minLength": 1
2154
+ }
2155
+ },
2156
+ "required": [
2157
+ "membership_kind",
2158
+ "type",
2159
+ "interaction_id"
2160
+ ],
2161
+ "additionalProperties": false
2162
+ },
2163
+ {
2164
+ "type": "object",
2165
+ "properties": {
2166
+ "membership_kind": {
2167
+ "type": "string",
2168
+ "enum": [
2169
+ "affected",
2170
+ "unaffected"
2171
+ ]
2172
+ },
2173
+ "type": {
2174
+ "type": "string",
2175
+ "const": "org_ops_event"
2176
+ },
2177
+ "org_id": {
2178
+ "type": "string",
2179
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2180
+ },
2181
+ "event_id": {
2182
+ "type": "string",
2183
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2184
+ }
2185
+ },
2186
+ "required": [
2187
+ "membership_kind",
2188
+ "type",
2189
+ "org_id",
2190
+ "event_id"
2191
+ ],
2192
+ "additionalProperties": false
2193
+ },
2194
+ {
2195
+ "type": "object",
2196
+ "properties": {
2197
+ "membership_kind": {
2198
+ "type": "string",
2199
+ "enum": [
2200
+ "affected",
2201
+ "unaffected"
2202
+ ]
2203
+ },
2204
+ "type": {
2205
+ "type": "string",
2206
+ "const": "global_ops_event"
2207
+ },
2208
+ "event_id": {
2209
+ "type": "string",
2210
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2211
+ }
2212
+ },
2213
+ "required": [
2214
+ "membership_kind",
2215
+ "type",
2216
+ "event_id"
2217
+ ],
2218
+ "additionalProperties": false
2219
+ },
2220
+ {
2221
+ "type": "object",
2222
+ "properties": {
2223
+ "membership_kind": {
2224
+ "type": "string",
2225
+ "enum": [
2226
+ "affected",
2227
+ "unaffected"
2228
+ ]
2229
+ },
2230
+ "type": {
2231
+ "type": "string",
2232
+ "const": "org_operator_audit"
2233
+ },
2234
+ "org_id": {
2235
+ "type": "string",
2236
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2237
+ },
2238
+ "audit_id": {
2239
+ "type": "string",
2240
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2241
+ }
2242
+ },
2243
+ "required": [
2244
+ "membership_kind",
2245
+ "type",
2246
+ "org_id",
2247
+ "audit_id"
2248
+ ],
2249
+ "additionalProperties": false
2250
+ },
2251
+ {
2252
+ "type": "object",
2253
+ "properties": {
2254
+ "membership_kind": {
2255
+ "type": "string",
2256
+ "enum": [
2257
+ "affected",
2258
+ "unaffected"
2259
+ ]
2260
+ },
2261
+ "type": {
2262
+ "type": "string",
2263
+ "const": "global_operator_audit"
2264
+ },
2265
+ "audit_id": {
2266
+ "type": "string",
2267
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2268
+ }
2269
+ },
2270
+ "required": [
2271
+ "membership_kind",
2272
+ "type",
2273
+ "audit_id"
2274
+ ],
2275
+ "additionalProperties": false
2276
+ }
2277
+ ],
2278
+ "description": "JSON Schema consumers must also check uuid_row generation equality and exact physical identity."
2279
+ }
2280
+ },
2281
+ "batches": {
2282
+ "type": "array",
2283
+ "items": {
2284
+ "anyOf": [
2285
+ {
2286
+ "type": "object",
2287
+ "properties": {
2288
+ "batch_id": {
2289
+ "type": "string",
2290
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2291
+ },
2292
+ "kind": {
2293
+ "type": "string",
2294
+ "enum": [
2295
+ "history.retention",
2296
+ "audit.retention",
2297
+ "job_run.retention",
2298
+ "latency.retention",
2299
+ "ops_event.retention",
2300
+ "ops_global_event.retention",
2301
+ "operator_audit.retention",
2302
+ "oidc_interaction.expire",
2303
+ "mcp_interaction.expire",
2304
+ "mcp_central_interaction.expire",
2305
+ "mcp_client.expire",
2306
+ "mcp_central_client.expire",
2307
+ "console_interaction.expire",
2308
+ "console_code.expire"
2309
+ ]
2310
+ },
2311
+ "cutoff_at": {
2312
+ "type": "string",
2313
+ "format": "date-time",
2314
+ "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))$"
2315
+ },
2316
+ "policy_revision": {
2317
+ "type": "integer",
2318
+ "minimum": 1,
2319
+ "maximum": 9007199254740991
2320
+ },
2321
+ "rows": {
2322
+ "minItems": 1,
2323
+ "type": "array",
2324
+ "items": {
2325
+ "anyOf": [
2326
+ {
2327
+ "type": "object",
2328
+ "properties": {
2329
+ "membership_kind": {
2330
+ "type": "string",
2331
+ "enum": [
2332
+ "affected",
2333
+ "unaffected"
2334
+ ]
2335
+ },
2336
+ "type": {
2337
+ "type": "string",
2338
+ "const": "uuid_row"
2339
+ },
2340
+ "table": {
2341
+ "type": "string",
2342
+ "enum": [
2343
+ "assets",
2344
+ "audit_events",
2345
+ "job_runs",
2346
+ "oidc_interactions",
2347
+ "organization_exports",
2348
+ "ops_notification_jobs",
2349
+ "console_oauth_codes"
2350
+ ]
2351
+ },
2352
+ "id": {
2353
+ "type": "string",
2354
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2355
+ },
2356
+ "row_generation": {
2357
+ "type": "string",
2358
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2359
+ }
2360
+ },
2361
+ "required": [
2362
+ "membership_kind",
2363
+ "type",
2364
+ "table",
2365
+ "id",
2366
+ "row_generation"
2367
+ ],
2368
+ "additionalProperties": false
2369
+ },
2370
+ {
2371
+ "type": "object",
2372
+ "properties": {
2373
+ "membership_kind": {
2374
+ "type": "string",
2375
+ "enum": [
2376
+ "affected",
2377
+ "unaffected"
2378
+ ]
2379
+ },
2380
+ "type": {
2381
+ "type": "string",
2382
+ "const": "basic_activity_observation"
2383
+ },
2384
+ "org_id": {
2385
+ "type": "string",
2386
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2387
+ },
2388
+ "audit_event_id": {
2389
+ "type": "string",
2390
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2391
+ }
2392
+ },
2393
+ "required": [
2394
+ "membership_kind",
2395
+ "type",
2396
+ "org_id",
2397
+ "audit_event_id"
2398
+ ],
2399
+ "additionalProperties": false
2400
+ },
2401
+ {
2402
+ "type": "object",
2403
+ "properties": {
2404
+ "membership_kind": {
2405
+ "type": "string",
2406
+ "enum": [
2407
+ "affected",
2408
+ "unaffected"
2409
+ ]
2410
+ },
2411
+ "type": {
2412
+ "type": "string",
2413
+ "const": "history_sample"
2414
+ },
2415
+ "robot_id": {
2416
+ "type": "string",
2417
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2418
+ },
2419
+ "series_id": {
2420
+ "type": "integer",
2421
+ "minimum": 1,
2422
+ "maximum": 9007199254740991
2423
+ },
2424
+ "series_generation": {
2425
+ "type": "string",
2426
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2427
+ },
2428
+ "captured_at_epoch_us": {
2429
+ "type": "integer",
2430
+ "minimum": 1,
2431
+ "maximum": 9007199254740991
2432
+ },
2433
+ "sample_id": {
2434
+ "type": "string",
2435
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2436
+ }
2437
+ },
2438
+ "required": [
2439
+ "membership_kind",
2440
+ "type",
2441
+ "robot_id",
2442
+ "series_id",
2443
+ "series_generation",
2444
+ "captured_at_epoch_us",
2445
+ "sample_id"
2446
+ ],
2447
+ "additionalProperties": false
2448
+ },
2449
+ {
2450
+ "type": "object",
2451
+ "properties": {
2452
+ "membership_kind": {
2453
+ "type": "string",
2454
+ "enum": [
2455
+ "affected",
2456
+ "unaffected"
2457
+ ]
2458
+ },
2459
+ "type": {
2460
+ "type": "string",
2461
+ "const": "latency_bucket"
2462
+ },
2463
+ "robot_id": {
2464
+ "type": "string",
2465
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2466
+ },
2467
+ "bucket_at": {
2468
+ "type": "string",
2469
+ "format": "date-time",
2470
+ "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))$"
2471
+ },
2472
+ "bucket_generation": {
2473
+ "type": "string",
2474
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2475
+ }
2476
+ },
2477
+ "required": [
2478
+ "membership_kind",
2479
+ "type",
2480
+ "robot_id",
2481
+ "bucket_at",
2482
+ "bucket_generation"
2483
+ ],
2484
+ "additionalProperties": false
2485
+ },
2486
+ {
2487
+ "type": "object",
2488
+ "properties": {
2489
+ "membership_kind": {
2490
+ "type": "string",
2491
+ "enum": [
2492
+ "affected",
2493
+ "unaffected"
2494
+ ]
2495
+ },
2496
+ "type": {
2497
+ "type": "string",
2498
+ "const": "org_keyed_row"
2499
+ },
2500
+ "table": {
2501
+ "type": "string",
2502
+ "enum": [
2503
+ "basic_activity_history",
2504
+ "synthetic_org_fixtures"
2505
+ ]
2506
+ },
2507
+ "org_id": {
2508
+ "type": "string",
2509
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2510
+ }
2511
+ },
2512
+ "required": [
2513
+ "membership_kind",
2514
+ "type",
2515
+ "table",
2516
+ "org_id"
2517
+ ],
2518
+ "additionalProperties": false
2519
+ },
2520
+ {
2521
+ "type": "object",
2522
+ "properties": {
2523
+ "membership_kind": {
2524
+ "type": "string",
2525
+ "enum": [
2526
+ "affected",
2527
+ "unaffected"
2528
+ ]
2529
+ },
2530
+ "type": {
2531
+ "type": "string",
2532
+ "const": "app_mcp_client"
2533
+ },
2534
+ "app_id": {
2535
+ "type": "string",
2536
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2537
+ },
2538
+ "client_row_id": {
2539
+ "type": "string",
2540
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2541
+ }
2542
+ },
2543
+ "required": [
2544
+ "membership_kind",
2545
+ "type",
2546
+ "app_id",
2547
+ "client_row_id"
2548
+ ],
2549
+ "additionalProperties": false
2550
+ },
2551
+ {
2552
+ "type": "object",
2553
+ "properties": {
2554
+ "membership_kind": {
2555
+ "type": "string",
2556
+ "enum": [
2557
+ "affected",
2558
+ "unaffected"
2559
+ ]
2560
+ },
2561
+ "type": {
2562
+ "type": "string",
2563
+ "const": "central_mcp_client"
2564
+ },
2565
+ "client_row_id": {
2566
+ "type": "string",
2567
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2568
+ }
2569
+ },
2570
+ "required": [
2571
+ "membership_kind",
2572
+ "type",
2573
+ "client_row_id"
2574
+ ],
2575
+ "additionalProperties": false
2576
+ },
2577
+ {
2578
+ "type": "object",
2579
+ "properties": {
2580
+ "membership_kind": {
2581
+ "type": "string",
2582
+ "enum": [
2583
+ "affected",
2584
+ "unaffected"
2585
+ ]
2586
+ },
2587
+ "type": {
2588
+ "type": "string",
2589
+ "const": "app_mcp_grant"
2590
+ },
2591
+ "app_id": {
2592
+ "type": "string",
2593
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2594
+ },
2595
+ "grant_id": {
2596
+ "type": "string",
2597
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2598
+ },
2599
+ "grant_generation": {
2600
+ "type": "string",
2601
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2602
+ }
2603
+ },
2604
+ "required": [
2605
+ "membership_kind",
2606
+ "type",
2607
+ "app_id",
2608
+ "grant_id",
2609
+ "grant_generation"
2610
+ ],
2611
+ "additionalProperties": false
2612
+ },
2613
+ {
2614
+ "type": "object",
2615
+ "properties": {
2616
+ "membership_kind": {
2617
+ "type": "string",
2618
+ "enum": [
2619
+ "affected",
2620
+ "unaffected"
2621
+ ]
2622
+ },
2623
+ "type": {
2624
+ "type": "string",
2625
+ "const": "central_mcp_grant"
2626
+ },
2627
+ "grant_id": {
2628
+ "type": "string",
2629
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2630
+ },
2631
+ "grant_generation": {
2632
+ "type": "string",
2633
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2634
+ }
2635
+ },
2636
+ "required": [
2637
+ "membership_kind",
2638
+ "type",
2639
+ "grant_id",
2640
+ "grant_generation"
2641
+ ],
2642
+ "additionalProperties": false
2643
+ },
2644
+ {
2645
+ "type": "object",
2646
+ "properties": {
2647
+ "membership_kind": {
2648
+ "type": "string",
2649
+ "enum": [
2650
+ "affected",
2651
+ "unaffected"
2652
+ ]
2653
+ },
2654
+ "type": {
2655
+ "type": "string",
2656
+ "const": "app_mcp_code"
2657
+ },
2658
+ "app_id": {
2659
+ "type": "string",
2660
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2661
+ },
2662
+ "code_row_id": {
2663
+ "type": "string",
2664
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2665
+ }
2666
+ },
2667
+ "required": [
2668
+ "membership_kind",
2669
+ "type",
2670
+ "app_id",
2671
+ "code_row_id"
2672
+ ],
2673
+ "additionalProperties": false
2674
+ },
2675
+ {
2676
+ "type": "object",
2677
+ "properties": {
2678
+ "membership_kind": {
2679
+ "type": "string",
2680
+ "enum": [
2681
+ "affected",
2682
+ "unaffected"
2683
+ ]
2684
+ },
2685
+ "type": {
2686
+ "type": "string",
2687
+ "const": "central_mcp_code"
2688
+ },
2689
+ "code_row_id": {
2690
+ "type": "string",
2691
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2692
+ }
2693
+ },
2694
+ "required": [
2695
+ "membership_kind",
2696
+ "type",
2697
+ "code_row_id"
2698
+ ],
2699
+ "additionalProperties": false
2700
+ },
2701
+ {
2702
+ "type": "object",
2703
+ "properties": {
2704
+ "membership_kind": {
2705
+ "type": "string",
2706
+ "enum": [
2707
+ "affected",
2708
+ "unaffected"
2709
+ ]
2710
+ },
2711
+ "type": {
2712
+ "type": "string",
2713
+ "const": "app_mcp_interaction"
2714
+ },
2715
+ "app_id": {
2716
+ "type": "string",
2717
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2718
+ },
2719
+ "interaction_id": {
2720
+ "type": "string",
2721
+ "minLength": 1
2722
+ }
2723
+ },
2724
+ "required": [
2725
+ "membership_kind",
2726
+ "type",
2727
+ "app_id",
2728
+ "interaction_id"
2729
+ ],
2730
+ "additionalProperties": false
2731
+ },
2732
+ {
2733
+ "type": "object",
2734
+ "properties": {
2735
+ "membership_kind": {
2736
+ "type": "string",
2737
+ "enum": [
2738
+ "affected",
2739
+ "unaffected"
2740
+ ]
2741
+ },
2742
+ "type": {
2743
+ "type": "string",
2744
+ "const": "central_mcp_interaction"
2745
+ },
2746
+ "interaction_id": {
2747
+ "type": "string",
2748
+ "minLength": 1
2749
+ }
2750
+ },
2751
+ "required": [
2752
+ "membership_kind",
2753
+ "type",
2754
+ "interaction_id"
2755
+ ],
2756
+ "additionalProperties": false
2757
+ },
2758
+ {
2759
+ "type": "object",
2760
+ "properties": {
2761
+ "membership_kind": {
2762
+ "type": "string",
2763
+ "enum": [
2764
+ "affected",
2765
+ "unaffected"
2766
+ ]
2767
+ },
2768
+ "type": {
2769
+ "type": "string",
2770
+ "const": "console_interaction"
2771
+ },
2772
+ "interaction_id": {
2773
+ "type": "string",
2774
+ "minLength": 1
2775
+ }
2776
+ },
2777
+ "required": [
2778
+ "membership_kind",
2779
+ "type",
2780
+ "interaction_id"
2781
+ ],
2782
+ "additionalProperties": false
2783
+ },
2784
+ {
2785
+ "type": "object",
2786
+ "properties": {
2787
+ "membership_kind": {
2788
+ "type": "string",
2789
+ "enum": [
2790
+ "affected",
2791
+ "unaffected"
2792
+ ]
2793
+ },
2794
+ "type": {
2795
+ "type": "string",
2796
+ "const": "org_ops_event"
2797
+ },
2798
+ "org_id": {
2799
+ "type": "string",
2800
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2801
+ },
2802
+ "event_id": {
2803
+ "type": "string",
2804
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2805
+ }
2806
+ },
2807
+ "required": [
2808
+ "membership_kind",
2809
+ "type",
2810
+ "org_id",
2811
+ "event_id"
2812
+ ],
2813
+ "additionalProperties": false
2814
+ },
2815
+ {
2816
+ "type": "object",
2817
+ "properties": {
2818
+ "membership_kind": {
2819
+ "type": "string",
2820
+ "enum": [
2821
+ "affected",
2822
+ "unaffected"
2823
+ ]
2824
+ },
2825
+ "type": {
2826
+ "type": "string",
2827
+ "const": "global_ops_event"
2828
+ },
2829
+ "event_id": {
2830
+ "type": "string",
2831
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2832
+ }
2833
+ },
2834
+ "required": [
2835
+ "membership_kind",
2836
+ "type",
2837
+ "event_id"
2838
+ ],
2839
+ "additionalProperties": false
2840
+ },
2841
+ {
2842
+ "type": "object",
2843
+ "properties": {
2844
+ "membership_kind": {
2845
+ "type": "string",
2846
+ "enum": [
2847
+ "affected",
2848
+ "unaffected"
2849
+ ]
2850
+ },
2851
+ "type": {
2852
+ "type": "string",
2853
+ "const": "org_operator_audit"
2854
+ },
2855
+ "org_id": {
2856
+ "type": "string",
2857
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2858
+ },
2859
+ "audit_id": {
2860
+ "type": "string",
2861
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2862
+ }
2863
+ },
2864
+ "required": [
2865
+ "membership_kind",
2866
+ "type",
2867
+ "org_id",
2868
+ "audit_id"
2869
+ ],
2870
+ "additionalProperties": false
2871
+ },
2872
+ {
2873
+ "type": "object",
2874
+ "properties": {
2875
+ "membership_kind": {
2876
+ "type": "string",
2877
+ "enum": [
2878
+ "affected",
2879
+ "unaffected"
2880
+ ]
2881
+ },
2882
+ "type": {
2883
+ "type": "string",
2884
+ "const": "global_operator_audit"
2885
+ },
2886
+ "audit_id": {
2887
+ "type": "string",
2888
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2889
+ }
2890
+ },
2891
+ "required": [
2892
+ "membership_kind",
2893
+ "type",
2894
+ "audit_id"
2895
+ ],
2896
+ "additionalProperties": false
2897
+ }
2898
+ ],
2899
+ "description": "JSON Schema consumers must also check uuid_row generation equality and exact physical identity."
2900
+ }
2901
+ }
2902
+ },
2903
+ "required": [
2904
+ "batch_id",
2905
+ "kind",
2906
+ "cutoff_at",
2907
+ "policy_revision",
2908
+ "rows"
2909
+ ],
2910
+ "additionalProperties": false
2911
+ },
2912
+ {
2913
+ "type": "object",
2914
+ "properties": {
2915
+ "batch_id": {
2916
+ "type": "string",
2917
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2918
+ },
2919
+ "kind": {
2920
+ "type": "string",
2921
+ "enum": [
2922
+ "history.slug_delete",
2923
+ "robot_assets.clear"
2924
+ ]
2925
+ },
2926
+ "rows": {
2927
+ "minItems": 1,
2928
+ "type": "array",
2929
+ "items": {
2930
+ "anyOf": [
2931
+ {
2932
+ "type": "object",
2933
+ "properties": {
2934
+ "membership_kind": {
2935
+ "type": "string",
2936
+ "enum": [
2937
+ "affected",
2938
+ "unaffected"
2939
+ ]
2940
+ },
2941
+ "type": {
2942
+ "type": "string",
2943
+ "const": "uuid_row"
2944
+ },
2945
+ "table": {
2946
+ "type": "string",
2947
+ "enum": [
2948
+ "assets",
2949
+ "audit_events",
2950
+ "job_runs",
2951
+ "oidc_interactions",
2952
+ "organization_exports",
2953
+ "ops_notification_jobs",
2954
+ "console_oauth_codes"
2955
+ ]
2956
+ },
2957
+ "id": {
2958
+ "type": "string",
2959
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2960
+ },
2961
+ "row_generation": {
2962
+ "type": "string",
2963
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2964
+ }
2965
+ },
2966
+ "required": [
2967
+ "membership_kind",
2968
+ "type",
2969
+ "table",
2970
+ "id",
2971
+ "row_generation"
2972
+ ],
2973
+ "additionalProperties": false
2974
+ },
2975
+ {
2976
+ "type": "object",
2977
+ "properties": {
2978
+ "membership_kind": {
2979
+ "type": "string",
2980
+ "enum": [
2981
+ "affected",
2982
+ "unaffected"
2983
+ ]
2984
+ },
2985
+ "type": {
2986
+ "type": "string",
2987
+ "const": "basic_activity_observation"
2988
+ },
2989
+ "org_id": {
2990
+ "type": "string",
2991
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2992
+ },
2993
+ "audit_event_id": {
2994
+ "type": "string",
2995
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2996
+ }
2997
+ },
2998
+ "required": [
2999
+ "membership_kind",
3000
+ "type",
3001
+ "org_id",
3002
+ "audit_event_id"
3003
+ ],
3004
+ "additionalProperties": false
3005
+ },
3006
+ {
3007
+ "type": "object",
3008
+ "properties": {
3009
+ "membership_kind": {
3010
+ "type": "string",
3011
+ "enum": [
3012
+ "affected",
3013
+ "unaffected"
3014
+ ]
3015
+ },
3016
+ "type": {
3017
+ "type": "string",
3018
+ "const": "history_sample"
3019
+ },
3020
+ "robot_id": {
3021
+ "type": "string",
3022
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3023
+ },
3024
+ "series_id": {
3025
+ "type": "integer",
3026
+ "minimum": 1,
3027
+ "maximum": 9007199254740991
3028
+ },
3029
+ "series_generation": {
3030
+ "type": "string",
3031
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3032
+ },
3033
+ "captured_at_epoch_us": {
3034
+ "type": "integer",
3035
+ "minimum": 1,
3036
+ "maximum": 9007199254740991
3037
+ },
3038
+ "sample_id": {
3039
+ "type": "string",
3040
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3041
+ }
3042
+ },
3043
+ "required": [
3044
+ "membership_kind",
3045
+ "type",
3046
+ "robot_id",
3047
+ "series_id",
3048
+ "series_generation",
3049
+ "captured_at_epoch_us",
3050
+ "sample_id"
3051
+ ],
3052
+ "additionalProperties": false
3053
+ },
3054
+ {
3055
+ "type": "object",
3056
+ "properties": {
3057
+ "membership_kind": {
3058
+ "type": "string",
3059
+ "enum": [
3060
+ "affected",
3061
+ "unaffected"
3062
+ ]
3063
+ },
3064
+ "type": {
3065
+ "type": "string",
3066
+ "const": "latency_bucket"
3067
+ },
3068
+ "robot_id": {
3069
+ "type": "string",
3070
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3071
+ },
3072
+ "bucket_at": {
3073
+ "type": "string",
3074
+ "format": "date-time",
3075
+ "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))$"
3076
+ },
3077
+ "bucket_generation": {
3078
+ "type": "string",
3079
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3080
+ }
3081
+ },
3082
+ "required": [
3083
+ "membership_kind",
3084
+ "type",
3085
+ "robot_id",
3086
+ "bucket_at",
3087
+ "bucket_generation"
3088
+ ],
3089
+ "additionalProperties": false
3090
+ },
3091
+ {
3092
+ "type": "object",
3093
+ "properties": {
3094
+ "membership_kind": {
3095
+ "type": "string",
3096
+ "enum": [
3097
+ "affected",
3098
+ "unaffected"
3099
+ ]
3100
+ },
3101
+ "type": {
3102
+ "type": "string",
3103
+ "const": "org_keyed_row"
3104
+ },
3105
+ "table": {
3106
+ "type": "string",
3107
+ "enum": [
3108
+ "basic_activity_history",
3109
+ "synthetic_org_fixtures"
3110
+ ]
3111
+ },
3112
+ "org_id": {
3113
+ "type": "string",
3114
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3115
+ }
3116
+ },
3117
+ "required": [
3118
+ "membership_kind",
3119
+ "type",
3120
+ "table",
3121
+ "org_id"
3122
+ ],
3123
+ "additionalProperties": false
3124
+ },
3125
+ {
3126
+ "type": "object",
3127
+ "properties": {
3128
+ "membership_kind": {
3129
+ "type": "string",
3130
+ "enum": [
3131
+ "affected",
3132
+ "unaffected"
3133
+ ]
3134
+ },
3135
+ "type": {
3136
+ "type": "string",
3137
+ "const": "app_mcp_client"
3138
+ },
3139
+ "app_id": {
3140
+ "type": "string",
3141
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3142
+ },
3143
+ "client_row_id": {
3144
+ "type": "string",
3145
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3146
+ }
3147
+ },
3148
+ "required": [
3149
+ "membership_kind",
3150
+ "type",
3151
+ "app_id",
3152
+ "client_row_id"
3153
+ ],
3154
+ "additionalProperties": false
3155
+ },
3156
+ {
3157
+ "type": "object",
3158
+ "properties": {
3159
+ "membership_kind": {
3160
+ "type": "string",
3161
+ "enum": [
3162
+ "affected",
3163
+ "unaffected"
3164
+ ]
3165
+ },
3166
+ "type": {
3167
+ "type": "string",
3168
+ "const": "central_mcp_client"
3169
+ },
3170
+ "client_row_id": {
3171
+ "type": "string",
3172
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3173
+ }
3174
+ },
3175
+ "required": [
3176
+ "membership_kind",
3177
+ "type",
3178
+ "client_row_id"
3179
+ ],
3180
+ "additionalProperties": false
3181
+ },
3182
+ {
3183
+ "type": "object",
3184
+ "properties": {
3185
+ "membership_kind": {
3186
+ "type": "string",
3187
+ "enum": [
3188
+ "affected",
3189
+ "unaffected"
3190
+ ]
3191
+ },
3192
+ "type": {
3193
+ "type": "string",
3194
+ "const": "app_mcp_grant"
3195
+ },
3196
+ "app_id": {
3197
+ "type": "string",
3198
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3199
+ },
3200
+ "grant_id": {
3201
+ "type": "string",
3202
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3203
+ },
3204
+ "grant_generation": {
3205
+ "type": "string",
3206
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3207
+ }
3208
+ },
3209
+ "required": [
3210
+ "membership_kind",
3211
+ "type",
3212
+ "app_id",
3213
+ "grant_id",
3214
+ "grant_generation"
3215
+ ],
3216
+ "additionalProperties": false
3217
+ },
3218
+ {
3219
+ "type": "object",
3220
+ "properties": {
3221
+ "membership_kind": {
3222
+ "type": "string",
3223
+ "enum": [
3224
+ "affected",
3225
+ "unaffected"
3226
+ ]
3227
+ },
3228
+ "type": {
3229
+ "type": "string",
3230
+ "const": "central_mcp_grant"
3231
+ },
3232
+ "grant_id": {
3233
+ "type": "string",
3234
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3235
+ },
3236
+ "grant_generation": {
3237
+ "type": "string",
3238
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3239
+ }
3240
+ },
3241
+ "required": [
3242
+ "membership_kind",
3243
+ "type",
3244
+ "grant_id",
3245
+ "grant_generation"
3246
+ ],
3247
+ "additionalProperties": false
3248
+ },
3249
+ {
3250
+ "type": "object",
3251
+ "properties": {
3252
+ "membership_kind": {
3253
+ "type": "string",
3254
+ "enum": [
3255
+ "affected",
3256
+ "unaffected"
3257
+ ]
3258
+ },
3259
+ "type": {
3260
+ "type": "string",
3261
+ "const": "app_mcp_code"
3262
+ },
3263
+ "app_id": {
3264
+ "type": "string",
3265
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3266
+ },
3267
+ "code_row_id": {
3268
+ "type": "string",
3269
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3270
+ }
3271
+ },
3272
+ "required": [
3273
+ "membership_kind",
3274
+ "type",
3275
+ "app_id",
3276
+ "code_row_id"
3277
+ ],
3278
+ "additionalProperties": false
3279
+ },
3280
+ {
3281
+ "type": "object",
3282
+ "properties": {
3283
+ "membership_kind": {
3284
+ "type": "string",
3285
+ "enum": [
3286
+ "affected",
3287
+ "unaffected"
3288
+ ]
3289
+ },
3290
+ "type": {
3291
+ "type": "string",
3292
+ "const": "central_mcp_code"
3293
+ },
3294
+ "code_row_id": {
3295
+ "type": "string",
3296
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3297
+ }
3298
+ },
3299
+ "required": [
3300
+ "membership_kind",
3301
+ "type",
3302
+ "code_row_id"
3303
+ ],
3304
+ "additionalProperties": false
3305
+ },
3306
+ {
3307
+ "type": "object",
3308
+ "properties": {
3309
+ "membership_kind": {
3310
+ "type": "string",
3311
+ "enum": [
3312
+ "affected",
3313
+ "unaffected"
3314
+ ]
3315
+ },
3316
+ "type": {
3317
+ "type": "string",
3318
+ "const": "app_mcp_interaction"
3319
+ },
3320
+ "app_id": {
3321
+ "type": "string",
3322
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3323
+ },
3324
+ "interaction_id": {
3325
+ "type": "string",
3326
+ "minLength": 1
3327
+ }
3328
+ },
3329
+ "required": [
3330
+ "membership_kind",
3331
+ "type",
3332
+ "app_id",
3333
+ "interaction_id"
3334
+ ],
3335
+ "additionalProperties": false
3336
+ },
3337
+ {
3338
+ "type": "object",
3339
+ "properties": {
3340
+ "membership_kind": {
3341
+ "type": "string",
3342
+ "enum": [
3343
+ "affected",
3344
+ "unaffected"
3345
+ ]
3346
+ },
3347
+ "type": {
3348
+ "type": "string",
3349
+ "const": "central_mcp_interaction"
3350
+ },
3351
+ "interaction_id": {
3352
+ "type": "string",
3353
+ "minLength": 1
3354
+ }
3355
+ },
3356
+ "required": [
3357
+ "membership_kind",
3358
+ "type",
3359
+ "interaction_id"
3360
+ ],
3361
+ "additionalProperties": false
3362
+ },
3363
+ {
3364
+ "type": "object",
3365
+ "properties": {
3366
+ "membership_kind": {
3367
+ "type": "string",
3368
+ "enum": [
3369
+ "affected",
3370
+ "unaffected"
3371
+ ]
3372
+ },
3373
+ "type": {
3374
+ "type": "string",
3375
+ "const": "console_interaction"
3376
+ },
3377
+ "interaction_id": {
3378
+ "type": "string",
3379
+ "minLength": 1
3380
+ }
3381
+ },
3382
+ "required": [
3383
+ "membership_kind",
3384
+ "type",
3385
+ "interaction_id"
3386
+ ],
3387
+ "additionalProperties": false
3388
+ },
3389
+ {
3390
+ "type": "object",
3391
+ "properties": {
3392
+ "membership_kind": {
3393
+ "type": "string",
3394
+ "enum": [
3395
+ "affected",
3396
+ "unaffected"
3397
+ ]
3398
+ },
3399
+ "type": {
3400
+ "type": "string",
3401
+ "const": "org_ops_event"
3402
+ },
3403
+ "org_id": {
3404
+ "type": "string",
3405
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3406
+ },
3407
+ "event_id": {
3408
+ "type": "string",
3409
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3410
+ }
3411
+ },
3412
+ "required": [
3413
+ "membership_kind",
3414
+ "type",
3415
+ "org_id",
3416
+ "event_id"
3417
+ ],
3418
+ "additionalProperties": false
3419
+ },
3420
+ {
3421
+ "type": "object",
3422
+ "properties": {
3423
+ "membership_kind": {
3424
+ "type": "string",
3425
+ "enum": [
3426
+ "affected",
3427
+ "unaffected"
3428
+ ]
3429
+ },
3430
+ "type": {
3431
+ "type": "string",
3432
+ "const": "global_ops_event"
3433
+ },
3434
+ "event_id": {
3435
+ "type": "string",
3436
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3437
+ }
3438
+ },
3439
+ "required": [
3440
+ "membership_kind",
3441
+ "type",
3442
+ "event_id"
3443
+ ],
3444
+ "additionalProperties": false
3445
+ },
3446
+ {
3447
+ "type": "object",
3448
+ "properties": {
3449
+ "membership_kind": {
3450
+ "type": "string",
3451
+ "enum": [
3452
+ "affected",
3453
+ "unaffected"
3454
+ ]
3455
+ },
3456
+ "type": {
3457
+ "type": "string",
3458
+ "const": "org_operator_audit"
3459
+ },
3460
+ "org_id": {
3461
+ "type": "string",
3462
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3463
+ },
3464
+ "audit_id": {
3465
+ "type": "string",
3466
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3467
+ }
3468
+ },
3469
+ "required": [
3470
+ "membership_kind",
3471
+ "type",
3472
+ "org_id",
3473
+ "audit_id"
3474
+ ],
3475
+ "additionalProperties": false
3476
+ },
3477
+ {
3478
+ "type": "object",
3479
+ "properties": {
3480
+ "membership_kind": {
3481
+ "type": "string",
3482
+ "enum": [
3483
+ "affected",
3484
+ "unaffected"
3485
+ ]
3486
+ },
3487
+ "type": {
3488
+ "type": "string",
3489
+ "const": "global_operator_audit"
3490
+ },
3491
+ "audit_id": {
3492
+ "type": "string",
3493
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3494
+ }
3495
+ },
3496
+ "required": [
3497
+ "membership_kind",
3498
+ "type",
3499
+ "audit_id"
3500
+ ],
3501
+ "additionalProperties": false
3502
+ }
3503
+ ],
3504
+ "description": "JSON Schema consumers must also check uuid_row generation equality and exact physical identity."
3505
+ }
3506
+ }
3507
+ },
3508
+ "required": [
3509
+ "batch_id",
3510
+ "kind",
3511
+ "rows"
3512
+ ],
3513
+ "additionalProperties": false
3514
+ }
3515
+ ],
3516
+ "description": "A batch binds one intent and contains exactly its frozen affected rows; JSON Schema consumers check this cross-record relation."
3517
+ }
3518
+ }
3519
+ },
3520
+ "required": [
3521
+ "schema",
3522
+ "environment",
3523
+ "generation",
3524
+ "operation_id",
3525
+ "manifest_id",
3526
+ "scope",
3527
+ "entries",
3528
+ "rows",
3529
+ "batches"
3530
+ ],
3531
+ "additionalProperties": false,
3532
+ "description": "JSON Schema consumers also check physical uniqueness, ordering, intent binding and protected-version readbacks."
3533
+ }
3534
+ },
3535
+ "required": [
3536
+ "intent",
3537
+ "manifest"
3538
+ ],
3539
+ "additionalProperties": false,
3540
+ "description": "JSON Schema consumers must also verify exact intent/scope/batch binding, sorted physical membership, original bytes and protected readbacks."
3541
+ }