clearotron 0.7.0 → 0.8.0-beta.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 (98) hide show
  1. package/THIRD-PARTY-NOTICES.md +71 -2
  2. package/build-info.json +2 -2
  3. package/demo/multi-country-focus-search/run/common-law-grid.json +1 -1
  4. package/docs/CLIENT-MCP.md +17 -0
  5. package/docs/assets/README.md +19 -3
  6. package/docs/assets/portal-clearance-report.jpg +0 -0
  7. package/docs/assets/portal-conflict-landscape.jpg +0 -0
  8. package/docs/assets/portal-new-clearance.png +0 -0
  9. package/driver/CHANGELOG.md +48 -0
  10. package/driver/config-inventory.mjs +15 -2
  11. package/driver/dev-portal.mjs +2 -0
  12. package/driver/effort-model.mjs +34 -4
  13. package/driver/engine/CONTRACT.md +8 -0
  14. package/driver/engine/anthropic-agent.mjs +74 -16
  15. package/driver/engine/jx-turn.mjs +11 -3
  16. package/driver/engine/openai-agent.mjs +33 -7
  17. package/driver/engine/run-choices.mjs +28 -7
  18. package/driver/engine/speed.mjs +107 -0
  19. package/driver/enqueue-schema.mjs +8 -0
  20. package/driver/enqueue.mjs +14 -2
  21. package/driver/jx-units.mjs +2 -2
  22. package/driver/jx.mjs +1 -1
  23. package/driver/knockout-plain-language.mjs +96 -0
  24. package/driver/ladder/attempt-record.mjs +14 -2
  25. package/driver/ladder/dispatch.mjs +2 -2
  26. package/driver/ladder/form-repair.mjs +1 -1
  27. package/driver/ladder/stage.mjs +7 -1
  28. package/driver/mark-logos.mjs +6 -1
  29. package/driver/order-receipt.mjs +184 -0
  30. package/driver/package.json +4 -1
  31. package/driver/picture-shrink-worker.mjs +21 -0
  32. package/driver/picture-thumbnail.mjs +132 -0
  33. package/driver/pipeline-knockout.mjs +14 -0
  34. package/driver/portal-confirmation.mjs +3 -0
  35. package/driver/portal-report.mjs +44 -1
  36. package/driver/portal-routes/run.mjs +19 -9
  37. package/driver/portal-runs.mjs +118 -63
  38. package/driver/portal-service.mjs +17 -2
  39. package/driver/predelivery-lint.mjs +3 -3
  40. package/driver/progress.mjs +33 -5
  41. package/driver/publish/column-queries.mjs +86 -0
  42. package/driver/publish/index.mjs +4 -4
  43. package/driver/publish/knockout.mjs +35 -8
  44. package/driver/publish/page-shell.mjs +5 -1
  45. package/driver/publish/read-document.mjs +3 -0
  46. package/driver/publish/render-knockout.mjs +61 -16
  47. package/driver/publish/render.mjs +171 -30
  48. package/driver/publish/search-depth.mjs +45 -1
  49. package/driver/publish/strings.mjs +23 -0
  50. package/driver/publish/templates/report.css +73 -0
  51. package/driver/research-answers.mjs +17 -6
  52. package/driver/research-checks.mjs +22 -4
  53. package/driver/research-records.mjs +81 -0
  54. package/driver/run-quote.mjs +3 -0
  55. package/driver/run-speed.mjs +89 -0
  56. package/driver/runner.mjs +50 -21
  57. package/driver/saved-register-pages.mjs +23 -22
  58. package/driver/stage-freshness.mjs +5 -0
  59. package/driver/stages.mjs +2 -2
  60. package/driver/steps/open-run.mjs +12 -1
  61. package/driver/suite-census.json +199 -37
  62. package/driver/tokens.mjs +3 -0
  63. package/driver/urgent-count.mjs +54 -0
  64. package/driver/usage-ledger.mjs +8 -2
  65. package/driver/web-pictures.mjs +532 -0
  66. package/mcp-server/CHANGELOG.md +16 -0
  67. package/mcp-server/lib/document-reads.mjs +28 -0
  68. package/mcp-server/lib/events.mjs +21 -12
  69. package/mcp-server/lib/findings.mjs +2 -1
  70. package/mcp-server/lib/knockout.mjs +3 -2
  71. package/mcp-server/lib/ops.mjs +103 -6
  72. package/mcp-server/lib/options.mjs +4 -0
  73. package/mcp-server/lib/plan.mjs +38 -4
  74. package/mcp-server/lib/result-shapes.mjs +66 -0
  75. package/mcp-server/lib/runs.mjs +46 -44
  76. package/mcp-server/lib/urgent.mjs +29 -0
  77. package/mcp-server/package.json +1 -1
  78. package/mcp-server/result-shapes.json +2978 -0
  79. package/mcp-server/server.mjs +67 -14
  80. package/package.json +4 -1
  81. package/portal-ui/dist/assets/{index-qNDhqCw9.js → index-DEkVU2FD.js} +1909 -766
  82. package/portal-ui/dist/assets/{index-CxAkJXIT.css → index-W6SAoDkS.css} +238 -1
  83. package/portal-ui/dist/index.html +2 -2
  84. package/portal-ui/package.json +1 -1
  85. package/providers/jx/src/turn-envelope.mjs +3 -1
  86. package/providers/oauth-mcp-bridge/CHANGELOG.md +4 -0
  87. package/providers/oauth-mcp-bridge/package.json +1 -1
  88. package/providers/signa/src/core.js +54 -12
  89. package/scripts/README.md +3 -0
  90. package/scripts/e2e-first-time.mjs +2 -2
  91. package/scripts/mint-result-shapes.mjs +199 -0
  92. package/scripts/readme-pictures.mjs +227 -0
  93. package/scripts/render-check.mjs +4 -1
  94. package/scripts/report-sections-render-check.mjs +191 -0
  95. package/scripts/settings-render-check.mjs +68 -11
  96. package/shared/brand.mjs +8 -0
  97. package/skills/clearotron-account/SKILL.md +24 -0
  98. package/skills/clearotron-ops/SKILL.md +23 -9
@@ -0,0 +1,2978 @@
1
+ {
2
+ "start_run": {
3
+ "all": {
4
+ "type": "object",
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "required": [
9
+ "outcome",
10
+ "ok",
11
+ "id",
12
+ "agent",
13
+ "queue",
14
+ "queued",
15
+ "warnings",
16
+ "queuePath",
17
+ "queueWatched",
18
+ "note"
19
+ ],
20
+ "additionalProperties": false,
21
+ "properties": {
22
+ "outcome": {
23
+ "const": "queued"
24
+ },
25
+ "ok": {
26
+ "const": true
27
+ },
28
+ "id": {
29
+ "type": "string"
30
+ },
31
+ "agent": {
32
+ "type": "string"
33
+ },
34
+ "queue": {
35
+ "type": "string"
36
+ },
37
+ "queued": {
38
+ "const": true
39
+ },
40
+ "classify": {},
41
+ "warnings": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "string"
45
+ }
46
+ },
47
+ "queuePath": {
48
+ "type": "string"
49
+ },
50
+ "queueWatched": {
51
+ "type": "string"
52
+ },
53
+ "note": {
54
+ "type": "string"
55
+ }
56
+ }
57
+ },
58
+ {
59
+ "type": "object",
60
+ "required": [
61
+ "outcome",
62
+ "reason"
63
+ ],
64
+ "additionalProperties": false,
65
+ "properties": {
66
+ "outcome": {
67
+ "const": "refused"
68
+ },
69
+ "reason": {
70
+ "type": "string"
71
+ }
72
+ }
73
+ }
74
+ ]
75
+ }
76
+ },
77
+ "stop_run": {
78
+ "all": {
79
+ "type": "object",
80
+ "anyOf": [
81
+ {
82
+ "type": "object",
83
+ "required": [
84
+ "outcome",
85
+ "ok",
86
+ "action",
87
+ "id",
88
+ "note"
89
+ ],
90
+ "additionalProperties": false,
91
+ "properties": {
92
+ "outcome": {
93
+ "const": "dequeued"
94
+ },
95
+ "ok": {
96
+ "const": true
97
+ },
98
+ "action": {
99
+ "const": "dequeued"
100
+ },
101
+ "id": {
102
+ "type": "string"
103
+ },
104
+ "note": {
105
+ "type": "string"
106
+ }
107
+ }
108
+ },
109
+ {
110
+ "type": "object",
111
+ "required": [
112
+ "outcome",
113
+ "ok",
114
+ "action",
115
+ "id",
116
+ "note"
117
+ ],
118
+ "additionalProperties": false,
119
+ "properties": {
120
+ "outcome": {
121
+ "const": "already-claimed"
122
+ },
123
+ "ok": {
124
+ "const": false
125
+ },
126
+ "action": {
127
+ "const": "already-claimed"
128
+ },
129
+ "id": {
130
+ "type": "string"
131
+ },
132
+ "note": {
133
+ "type": "string"
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "type": "object",
139
+ "required": [
140
+ "outcome",
141
+ "ok",
142
+ "action",
143
+ "runId",
144
+ "state",
145
+ "note"
146
+ ],
147
+ "additionalProperties": false,
148
+ "properties": {
149
+ "outcome": {
150
+ "const": "noop"
151
+ },
152
+ "ok": {
153
+ "const": false
154
+ },
155
+ "action": {
156
+ "const": "noop"
157
+ },
158
+ "runId": {
159
+ "type": "string"
160
+ },
161
+ "state": {
162
+ "type": [
163
+ "string",
164
+ "null"
165
+ ]
166
+ },
167
+ "note": {
168
+ "type": "string"
169
+ }
170
+ }
171
+ },
172
+ {
173
+ "type": "object",
174
+ "required": [
175
+ "outcome",
176
+ "ok",
177
+ "action",
178
+ "runId",
179
+ "state",
180
+ "statusWritten",
181
+ "note"
182
+ ],
183
+ "additionalProperties": false,
184
+ "properties": {
185
+ "outcome": {
186
+ "const": "cancelled"
187
+ },
188
+ "ok": {
189
+ "const": true
190
+ },
191
+ "action": {
192
+ "const": "cancelled"
193
+ },
194
+ "runId": {
195
+ "type": "string"
196
+ },
197
+ "state": {
198
+ "const": "cancelled"
199
+ },
200
+ "statusWritten": {
201
+ "type": "boolean"
202
+ },
203
+ "immediate": {
204
+ "type": [
205
+ "object",
206
+ "null"
207
+ ]
208
+ },
209
+ "note": {
210
+ "type": "string"
211
+ }
212
+ }
213
+ },
214
+ {
215
+ "type": "object",
216
+ "required": [
217
+ "outcome",
218
+ "ok",
219
+ "action",
220
+ "runId",
221
+ "requestedAt",
222
+ "note"
223
+ ],
224
+ "additionalProperties": false,
225
+ "properties": {
226
+ "outcome": {
227
+ "const": "already-stopping"
228
+ },
229
+ "ok": {
230
+ "const": true
231
+ },
232
+ "action": {
233
+ "const": "already-stopping"
234
+ },
235
+ "runId": {
236
+ "type": "string"
237
+ },
238
+ "requestedAt": {
239
+ "type": [
240
+ "string",
241
+ "null"
242
+ ]
243
+ },
244
+ "immediate": {
245
+ "type": [
246
+ "object",
247
+ "null"
248
+ ]
249
+ },
250
+ "note": {
251
+ "type": "string"
252
+ }
253
+ }
254
+ },
255
+ {
256
+ "type": "object",
257
+ "required": [
258
+ "outcome",
259
+ "ok",
260
+ "action",
261
+ "runId",
262
+ "requestedAt",
263
+ "note"
264
+ ],
265
+ "additionalProperties": false,
266
+ "properties": {
267
+ "outcome": {
268
+ "const": "cancel-requested"
269
+ },
270
+ "ok": {
271
+ "const": true
272
+ },
273
+ "action": {
274
+ "const": "cancel-requested"
275
+ },
276
+ "runId": {
277
+ "type": "string"
278
+ },
279
+ "requestedAt": {
280
+ "type": [
281
+ "string",
282
+ "null"
283
+ ]
284
+ },
285
+ "immediate": {
286
+ "type": [
287
+ "object",
288
+ "null"
289
+ ]
290
+ },
291
+ "note": {
292
+ "type": "string"
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "type": "object",
298
+ "required": [
299
+ "outcome",
300
+ "reason"
301
+ ],
302
+ "additionalProperties": false,
303
+ "properties": {
304
+ "outcome": {
305
+ "const": "refused"
306
+ },
307
+ "reason": {
308
+ "type": "string"
309
+ }
310
+ }
311
+ }
312
+ ]
313
+ }
314
+ },
315
+ "feed_context": {
316
+ "all": {
317
+ "type": "object",
318
+ "anyOf": [
319
+ {
320
+ "type": "object",
321
+ "required": [
322
+ "outcome",
323
+ "ok",
324
+ "runId",
325
+ "wrote",
326
+ "note"
327
+ ],
328
+ "additionalProperties": false,
329
+ "properties": {
330
+ "outcome": {
331
+ "const": "written"
332
+ },
333
+ "ok": {
334
+ "const": true
335
+ },
336
+ "runId": {
337
+ "type": "string"
338
+ },
339
+ "wrote": {
340
+ "type": "array",
341
+ "items": {
342
+ "type": "string"
343
+ },
344
+ "minItems": 1
345
+ },
346
+ "note": {
347
+ "type": "string"
348
+ }
349
+ }
350
+ },
351
+ {
352
+ "type": "object",
353
+ "required": [
354
+ "outcome",
355
+ "reason"
356
+ ],
357
+ "additionalProperties": false,
358
+ "properties": {
359
+ "outcome": {
360
+ "const": "refused"
361
+ },
362
+ "reason": {
363
+ "type": "string"
364
+ }
365
+ }
366
+ }
367
+ ]
368
+ }
369
+ },
370
+ "mark_sent": {
371
+ "all": {
372
+ "type": "object",
373
+ "anyOf": [
374
+ {
375
+ "type": "object",
376
+ "required": [
377
+ "outcome",
378
+ "ok",
379
+ "runId",
380
+ "alreadySent",
381
+ "note"
382
+ ],
383
+ "additionalProperties": false,
384
+ "properties": {
385
+ "outcome": {
386
+ "enum": [
387
+ "marked-sent",
388
+ "already-sent"
389
+ ]
390
+ },
391
+ "ok": {
392
+ "const": true
393
+ },
394
+ "runId": {
395
+ "type": "string"
396
+ },
397
+ "alreadySent": {
398
+ "type": "boolean"
399
+ },
400
+ "note": {
401
+ "type": "string"
402
+ }
403
+ }
404
+ },
405
+ {
406
+ "type": "object",
407
+ "required": [
408
+ "outcome",
409
+ "reason"
410
+ ],
411
+ "additionalProperties": false,
412
+ "properties": {
413
+ "outcome": {
414
+ "const": "refused"
415
+ },
416
+ "reason": {
417
+ "type": "string"
418
+ }
419
+ }
420
+ }
421
+ ]
422
+ }
423
+ },
424
+ "ack_event": {
425
+ "all": {
426
+ "type": "object",
427
+ "anyOf": [
428
+ {
429
+ "type": "object",
430
+ "required": [
431
+ "outcome",
432
+ "ok",
433
+ "file",
434
+ "alreadyGone"
435
+ ],
436
+ "additionalProperties": false,
437
+ "properties": {
438
+ "outcome": {
439
+ "enum": [
440
+ "acknowledged",
441
+ "already-gone"
442
+ ]
443
+ },
444
+ "ok": {
445
+ "const": true
446
+ },
447
+ "file": {
448
+ "type": "string"
449
+ },
450
+ "alreadyGone": {
451
+ "type": "boolean"
452
+ }
453
+ }
454
+ },
455
+ {
456
+ "type": "object",
457
+ "required": [
458
+ "outcome",
459
+ "reason"
460
+ ],
461
+ "additionalProperties": false,
462
+ "properties": {
463
+ "outcome": {
464
+ "const": "refused"
465
+ },
466
+ "reason": {
467
+ "type": "string"
468
+ }
469
+ }
470
+ }
471
+ ]
472
+ }
473
+ },
474
+ "what_if_run": {
475
+ "staff": {
476
+ "type": "object",
477
+ "anyOf": [
478
+ {
479
+ "type": "object",
480
+ "required": [
481
+ "outcome",
482
+ "ok"
483
+ ],
484
+ "properties": {
485
+ "outcome": {
486
+ "const": "completed"
487
+ },
488
+ "ok": {
489
+ "const": true
490
+ }
491
+ }
492
+ },
493
+ {
494
+ "type": "object",
495
+ "required": [
496
+ "outcome",
497
+ "ok"
498
+ ],
499
+ "properties": {
500
+ "outcome": {
501
+ "const": "failed"
502
+ },
503
+ "ok": {
504
+ "const": false
505
+ }
506
+ }
507
+ },
508
+ {
509
+ "type": "object",
510
+ "required": [
511
+ "outcome",
512
+ "reason"
513
+ ],
514
+ "additionalProperties": false,
515
+ "properties": {
516
+ "outcome": {
517
+ "const": "refused"
518
+ },
519
+ "reason": {
520
+ "type": "string"
521
+ }
522
+ }
523
+ }
524
+ ]
525
+ },
526
+ "client": {
527
+ "type": "object",
528
+ "anyOf": [
529
+ {
530
+ "type": "object",
531
+ "required": [
532
+ "outcome",
533
+ "queued",
534
+ "runId",
535
+ "experimentId",
536
+ "queuedAt",
537
+ "next"
538
+ ],
539
+ "additionalProperties": false,
540
+ "properties": {
541
+ "outcome": {
542
+ "const": "queued"
543
+ },
544
+ "queued": {
545
+ "const": true
546
+ },
547
+ "runId": {
548
+ "type": "string"
549
+ },
550
+ "experimentId": {
551
+ "type": "string"
552
+ },
553
+ "stage": {
554
+ "type": [
555
+ "string",
556
+ "null"
557
+ ]
558
+ },
559
+ "axis": {
560
+ "type": [
561
+ "string",
562
+ "null"
563
+ ]
564
+ },
565
+ "queuedAt": {
566
+ "type": "string"
567
+ },
568
+ "next": {
569
+ "type": "string"
570
+ }
571
+ }
572
+ },
573
+ {
574
+ "type": "object",
575
+ "required": [
576
+ "outcome",
577
+ "reason"
578
+ ],
579
+ "additionalProperties": false,
580
+ "properties": {
581
+ "outcome": {
582
+ "const": "refused"
583
+ },
584
+ "reason": {
585
+ "type": "string"
586
+ }
587
+ }
588
+ }
589
+ ]
590
+ }
591
+ },
592
+ "server_info": {
593
+ "all": {
594
+ "type": "object",
595
+ "required": [
596
+ "name",
597
+ "version",
598
+ "commit",
599
+ "sourceRepo",
600
+ "sourceUrl",
601
+ "license",
602
+ "copyright"
603
+ ],
604
+ "additionalProperties": false,
605
+ "properties": {
606
+ "name": {
607
+ "type": "string"
608
+ },
609
+ "version": {
610
+ "type": [
611
+ "string",
612
+ "null"
613
+ ]
614
+ },
615
+ "commit": {
616
+ "type": [
617
+ "string",
618
+ "null"
619
+ ]
620
+ },
621
+ "sourceRepo": {
622
+ "type": "string"
623
+ },
624
+ "sourceUrl": {
625
+ "type": "string"
626
+ },
627
+ "license": {
628
+ "type": "string"
629
+ },
630
+ "copyright": {
631
+ "type": "string"
632
+ }
633
+ }
634
+ }
635
+ },
636
+ "list_runs": {
637
+ "staff": {
638
+ "type": "object",
639
+ "required": [
640
+ "items"
641
+ ],
642
+ "additionalProperties": false,
643
+ "properties": {
644
+ "items": {
645
+ "type": "array",
646
+ "items": {
647
+ "type": "object",
648
+ "required": [
649
+ "runId",
650
+ "slug",
651
+ "codename",
652
+ "date",
653
+ "agent",
654
+ "client",
655
+ "project",
656
+ "product",
657
+ "state",
658
+ "location",
659
+ "tier",
660
+ "caption",
661
+ "url",
662
+ "markName",
663
+ "ref",
664
+ "classes",
665
+ "step",
666
+ "startedAt",
667
+ "updatedAt",
668
+ "deliveredAt",
669
+ "failedStage",
670
+ "reason",
671
+ "resetsAt",
672
+ "recoveryResumesAt",
673
+ "parkedKind",
674
+ "terminalKind",
675
+ "sendPending",
676
+ "sent",
677
+ "channels"
678
+ ],
679
+ "additionalProperties": false,
680
+ "properties": {
681
+ "demo": {
682
+ "type": "string"
683
+ },
684
+ "runId": {
685
+ "type": "string"
686
+ },
687
+ "slug": {
688
+ "type": [
689
+ "string",
690
+ "null"
691
+ ]
692
+ },
693
+ "codename": {
694
+ "type": [
695
+ "string",
696
+ "null"
697
+ ]
698
+ },
699
+ "date": {
700
+ "type": [
701
+ "string",
702
+ "null"
703
+ ]
704
+ },
705
+ "agent": {
706
+ "type": [
707
+ "string",
708
+ "null"
709
+ ]
710
+ },
711
+ "client": {
712
+ "type": "object",
713
+ "required": [
714
+ "key",
715
+ "name"
716
+ ],
717
+ "additionalProperties": false,
718
+ "properties": {
719
+ "key": {
720
+ "type": [
721
+ "string",
722
+ "null"
723
+ ]
724
+ },
725
+ "name": {
726
+ "type": [
727
+ "string",
728
+ "null"
729
+ ]
730
+ },
731
+ "known": {
732
+ "const": false
733
+ },
734
+ "note": {
735
+ "type": "string"
736
+ }
737
+ }
738
+ },
739
+ "project": {
740
+ "anyOf": [
741
+ {
742
+ "type": "null"
743
+ },
744
+ {
745
+ "type": "object",
746
+ "required": [
747
+ "key",
748
+ "name"
749
+ ],
750
+ "additionalProperties": false,
751
+ "properties": {
752
+ "key": {
753
+ "type": "string"
754
+ },
755
+ "name": {
756
+ "type": [
757
+ "string",
758
+ "null"
759
+ ]
760
+ }
761
+ }
762
+ }
763
+ ]
764
+ },
765
+ "product": {
766
+ "type": [
767
+ "string",
768
+ "null"
769
+ ]
770
+ },
771
+ "state": {
772
+ "type": "string"
773
+ },
774
+ "location": {
775
+ "type": "string"
776
+ },
777
+ "tier": {
778
+ "type": [
779
+ "string",
780
+ "null"
781
+ ]
782
+ },
783
+ "caption": {
784
+ "type": [
785
+ "string",
786
+ "null"
787
+ ]
788
+ },
789
+ "url": {
790
+ "type": [
791
+ "string",
792
+ "null"
793
+ ]
794
+ },
795
+ "markName": {
796
+ "type": [
797
+ "string",
798
+ "null"
799
+ ]
800
+ },
801
+ "ref": {},
802
+ "classes": {},
803
+ "step": {
804
+ "type": [
805
+ "string",
806
+ "null"
807
+ ]
808
+ },
809
+ "startedAt": {
810
+ "type": [
811
+ "string",
812
+ "null"
813
+ ]
814
+ },
815
+ "updatedAt": {
816
+ "type": [
817
+ "string",
818
+ "null"
819
+ ]
820
+ },
821
+ "deliveredAt": {
822
+ "type": [
823
+ "string",
824
+ "null"
825
+ ]
826
+ },
827
+ "failedStage": {
828
+ "type": [
829
+ "string",
830
+ "null"
831
+ ]
832
+ },
833
+ "reason": {},
834
+ "resetsAt": {
835
+ "type": [
836
+ "string",
837
+ "null"
838
+ ]
839
+ },
840
+ "recoveryResumesAt": {
841
+ "type": [
842
+ "string",
843
+ "null"
844
+ ]
845
+ },
846
+ "parkedKind": {
847
+ "type": [
848
+ "string",
849
+ "null"
850
+ ]
851
+ },
852
+ "terminalKind": {
853
+ "type": [
854
+ "string",
855
+ "null"
856
+ ]
857
+ },
858
+ "sendPending": {
859
+ "type": "boolean"
860
+ },
861
+ "sent": {
862
+ "type": "boolean"
863
+ },
864
+ "channels": {
865
+ "type": "object",
866
+ "required": [
867
+ "email",
868
+ "whatsapp"
869
+ ],
870
+ "additionalProperties": false,
871
+ "properties": {
872
+ "email": {
873
+ "type": "object",
874
+ "required": [
875
+ "sent",
876
+ "messageId",
877
+ "sentAt"
878
+ ],
879
+ "additionalProperties": false,
880
+ "properties": {
881
+ "sent": {
882
+ "type": "boolean"
883
+ },
884
+ "messageId": {
885
+ "type": [
886
+ "string",
887
+ "null"
888
+ ]
889
+ },
890
+ "sentAt": {
891
+ "type": [
892
+ "string",
893
+ "null"
894
+ ]
895
+ }
896
+ }
897
+ },
898
+ "whatsapp": {
899
+ "type": "object",
900
+ "required": [
901
+ "sent",
902
+ "messageId",
903
+ "sentAt"
904
+ ],
905
+ "additionalProperties": false,
906
+ "properties": {
907
+ "sent": {
908
+ "type": "boolean"
909
+ },
910
+ "messageId": {
911
+ "type": [
912
+ "string",
913
+ "null"
914
+ ]
915
+ },
916
+ "sentAt": {
917
+ "type": [
918
+ "string",
919
+ "null"
920
+ ]
921
+ }
922
+ }
923
+ }
924
+ }
925
+ }
926
+ }
927
+ }
928
+ }
929
+ }
930
+ },
931
+ "client": {
932
+ "type": "object",
933
+ "required": [
934
+ "items"
935
+ ],
936
+ "additionalProperties": false,
937
+ "properties": {
938
+ "items": {
939
+ "type": "array",
940
+ "items": {
941
+ "type": "object",
942
+ "required": [
943
+ "runId",
944
+ "slug",
945
+ "codename",
946
+ "date",
947
+ "client",
948
+ "project",
949
+ "product",
950
+ "state",
951
+ "location",
952
+ "tier",
953
+ "caption",
954
+ "markName",
955
+ "ref",
956
+ "classes",
957
+ "step",
958
+ "startedAt",
959
+ "updatedAt",
960
+ "deliveredAt",
961
+ "failedStage",
962
+ "resetsAt",
963
+ "recoveryResumesAt",
964
+ "parkedKind",
965
+ "terminalKind",
966
+ "sendPending",
967
+ "sent",
968
+ "channels"
969
+ ],
970
+ "additionalProperties": false,
971
+ "properties": {
972
+ "demo": {
973
+ "type": "string"
974
+ },
975
+ "runId": {
976
+ "type": "string"
977
+ },
978
+ "slug": {
979
+ "type": [
980
+ "string",
981
+ "null"
982
+ ]
983
+ },
984
+ "codename": {
985
+ "type": [
986
+ "string",
987
+ "null"
988
+ ]
989
+ },
990
+ "date": {
991
+ "type": [
992
+ "string",
993
+ "null"
994
+ ]
995
+ },
996
+ "client": {
997
+ "type": "object",
998
+ "required": [
999
+ "key",
1000
+ "name"
1001
+ ],
1002
+ "additionalProperties": false,
1003
+ "properties": {
1004
+ "key": {
1005
+ "type": [
1006
+ "string",
1007
+ "null"
1008
+ ]
1009
+ },
1010
+ "name": {
1011
+ "type": [
1012
+ "string",
1013
+ "null"
1014
+ ]
1015
+ },
1016
+ "known": {
1017
+ "const": false
1018
+ },
1019
+ "note": {
1020
+ "type": "string"
1021
+ }
1022
+ }
1023
+ },
1024
+ "project": {
1025
+ "anyOf": [
1026
+ {
1027
+ "type": "null"
1028
+ },
1029
+ {
1030
+ "type": "object",
1031
+ "required": [
1032
+ "key",
1033
+ "name"
1034
+ ],
1035
+ "additionalProperties": false,
1036
+ "properties": {
1037
+ "key": {
1038
+ "type": "string"
1039
+ },
1040
+ "name": {
1041
+ "type": [
1042
+ "string",
1043
+ "null"
1044
+ ]
1045
+ }
1046
+ }
1047
+ }
1048
+ ]
1049
+ },
1050
+ "product": {
1051
+ "type": [
1052
+ "string",
1053
+ "null"
1054
+ ]
1055
+ },
1056
+ "state": {
1057
+ "type": "string"
1058
+ },
1059
+ "location": {
1060
+ "type": "string"
1061
+ },
1062
+ "tier": {
1063
+ "type": [
1064
+ "string",
1065
+ "null"
1066
+ ]
1067
+ },
1068
+ "caption": {
1069
+ "type": [
1070
+ "string",
1071
+ "null"
1072
+ ]
1073
+ },
1074
+ "markName": {
1075
+ "type": [
1076
+ "string",
1077
+ "null"
1078
+ ]
1079
+ },
1080
+ "ref": {},
1081
+ "classes": {},
1082
+ "step": {
1083
+ "type": [
1084
+ "string",
1085
+ "null"
1086
+ ]
1087
+ },
1088
+ "startedAt": {
1089
+ "type": [
1090
+ "string",
1091
+ "null"
1092
+ ]
1093
+ },
1094
+ "updatedAt": {
1095
+ "type": [
1096
+ "string",
1097
+ "null"
1098
+ ]
1099
+ },
1100
+ "deliveredAt": {
1101
+ "type": [
1102
+ "string",
1103
+ "null"
1104
+ ]
1105
+ },
1106
+ "failedStage": {
1107
+ "type": [
1108
+ "string",
1109
+ "null"
1110
+ ]
1111
+ },
1112
+ "reason": {
1113
+ "type": "string"
1114
+ },
1115
+ "resetsAt": {
1116
+ "type": [
1117
+ "string",
1118
+ "null"
1119
+ ]
1120
+ },
1121
+ "recoveryResumesAt": {
1122
+ "type": [
1123
+ "string",
1124
+ "null"
1125
+ ]
1126
+ },
1127
+ "parkedKind": {
1128
+ "type": [
1129
+ "string",
1130
+ "null"
1131
+ ]
1132
+ },
1133
+ "terminalKind": {
1134
+ "type": [
1135
+ "string",
1136
+ "null"
1137
+ ]
1138
+ },
1139
+ "sendPending": {
1140
+ "type": "boolean"
1141
+ },
1142
+ "sent": {
1143
+ "type": "boolean"
1144
+ },
1145
+ "channels": {
1146
+ "type": "object",
1147
+ "required": [
1148
+ "email",
1149
+ "whatsapp"
1150
+ ],
1151
+ "additionalProperties": false,
1152
+ "properties": {
1153
+ "email": {
1154
+ "type": "object",
1155
+ "required": [
1156
+ "sent",
1157
+ "messageId",
1158
+ "sentAt"
1159
+ ],
1160
+ "additionalProperties": false,
1161
+ "properties": {
1162
+ "sent": {
1163
+ "type": "boolean"
1164
+ },
1165
+ "messageId": {
1166
+ "type": [
1167
+ "string",
1168
+ "null"
1169
+ ]
1170
+ },
1171
+ "sentAt": {
1172
+ "type": [
1173
+ "string",
1174
+ "null"
1175
+ ]
1176
+ }
1177
+ }
1178
+ },
1179
+ "whatsapp": {
1180
+ "type": "object",
1181
+ "required": [
1182
+ "sent",
1183
+ "messageId",
1184
+ "sentAt"
1185
+ ],
1186
+ "additionalProperties": false,
1187
+ "properties": {
1188
+ "sent": {
1189
+ "type": "boolean"
1190
+ },
1191
+ "messageId": {
1192
+ "type": [
1193
+ "string",
1194
+ "null"
1195
+ ]
1196
+ },
1197
+ "sentAt": {
1198
+ "type": [
1199
+ "string",
1200
+ "null"
1201
+ ]
1202
+ }
1203
+ }
1204
+ }
1205
+ }
1206
+ },
1207
+ "reasonRedacted": {
1208
+ "const": true
1209
+ }
1210
+ }
1211
+ }
1212
+ }
1213
+ }
1214
+ }
1215
+ },
1216
+ "list_profiles": {
1217
+ "all": {
1218
+ "type": "object",
1219
+ "required": [
1220
+ "_note",
1221
+ "clients",
1222
+ "genericFallback"
1223
+ ],
1224
+ "additionalProperties": false,
1225
+ "properties": {
1226
+ "_note": {
1227
+ "type": "string"
1228
+ },
1229
+ "clients": {
1230
+ "type": "array",
1231
+ "items": {
1232
+ "type": "object"
1233
+ }
1234
+ },
1235
+ "genericFallback": {
1236
+ "type": "string"
1237
+ },
1238
+ "storeUnreadable": {
1239
+ "type": "string"
1240
+ },
1241
+ "unreadable": {
1242
+ "type": "array"
1243
+ }
1244
+ }
1245
+ }
1246
+ },
1247
+ "get_run": {
1248
+ "staff": {
1249
+ "type": "object",
1250
+ "required": [
1251
+ "run",
1252
+ "stages",
1253
+ "failover",
1254
+ "artifacts",
1255
+ "coverageSummary"
1256
+ ],
1257
+ "additionalProperties": false,
1258
+ "properties": {
1259
+ "run": {
1260
+ "type": "object",
1261
+ "required": [
1262
+ "runId",
1263
+ "slug",
1264
+ "codename",
1265
+ "date",
1266
+ "agent",
1267
+ "client",
1268
+ "project",
1269
+ "product",
1270
+ "state",
1271
+ "location",
1272
+ "tier",
1273
+ "caption",
1274
+ "url",
1275
+ "markName",
1276
+ "ref",
1277
+ "classes",
1278
+ "step",
1279
+ "startedAt",
1280
+ "updatedAt",
1281
+ "deliveredAt",
1282
+ "failedStage",
1283
+ "reason",
1284
+ "resetsAt",
1285
+ "recoveryResumesAt",
1286
+ "parkedKind",
1287
+ "terminalKind",
1288
+ "sendPending",
1289
+ "sent",
1290
+ "channels"
1291
+ ],
1292
+ "additionalProperties": false,
1293
+ "properties": {
1294
+ "demo": {
1295
+ "type": "string"
1296
+ },
1297
+ "runId": {
1298
+ "type": "string"
1299
+ },
1300
+ "slug": {
1301
+ "type": [
1302
+ "string",
1303
+ "null"
1304
+ ]
1305
+ },
1306
+ "codename": {
1307
+ "type": [
1308
+ "string",
1309
+ "null"
1310
+ ]
1311
+ },
1312
+ "date": {
1313
+ "type": [
1314
+ "string",
1315
+ "null"
1316
+ ]
1317
+ },
1318
+ "agent": {
1319
+ "type": [
1320
+ "string",
1321
+ "null"
1322
+ ]
1323
+ },
1324
+ "client": {
1325
+ "type": "object",
1326
+ "required": [
1327
+ "key",
1328
+ "name"
1329
+ ],
1330
+ "additionalProperties": false,
1331
+ "properties": {
1332
+ "key": {
1333
+ "type": [
1334
+ "string",
1335
+ "null"
1336
+ ]
1337
+ },
1338
+ "name": {
1339
+ "type": [
1340
+ "string",
1341
+ "null"
1342
+ ]
1343
+ },
1344
+ "known": {
1345
+ "const": false
1346
+ },
1347
+ "note": {
1348
+ "type": "string"
1349
+ }
1350
+ }
1351
+ },
1352
+ "project": {
1353
+ "anyOf": [
1354
+ {
1355
+ "type": "null"
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "required": [
1360
+ "key",
1361
+ "name"
1362
+ ],
1363
+ "additionalProperties": false,
1364
+ "properties": {
1365
+ "key": {
1366
+ "type": "string"
1367
+ },
1368
+ "name": {
1369
+ "type": [
1370
+ "string",
1371
+ "null"
1372
+ ]
1373
+ }
1374
+ }
1375
+ }
1376
+ ]
1377
+ },
1378
+ "product": {
1379
+ "type": [
1380
+ "string",
1381
+ "null"
1382
+ ]
1383
+ },
1384
+ "state": {
1385
+ "type": "string"
1386
+ },
1387
+ "location": {
1388
+ "type": "string"
1389
+ },
1390
+ "tier": {
1391
+ "type": [
1392
+ "string",
1393
+ "null"
1394
+ ]
1395
+ },
1396
+ "caption": {
1397
+ "type": [
1398
+ "string",
1399
+ "null"
1400
+ ]
1401
+ },
1402
+ "url": {
1403
+ "type": [
1404
+ "string",
1405
+ "null"
1406
+ ]
1407
+ },
1408
+ "markName": {
1409
+ "type": [
1410
+ "string",
1411
+ "null"
1412
+ ]
1413
+ },
1414
+ "ref": {},
1415
+ "classes": {},
1416
+ "step": {
1417
+ "type": [
1418
+ "string",
1419
+ "null"
1420
+ ]
1421
+ },
1422
+ "startedAt": {
1423
+ "type": [
1424
+ "string",
1425
+ "null"
1426
+ ]
1427
+ },
1428
+ "updatedAt": {
1429
+ "type": [
1430
+ "string",
1431
+ "null"
1432
+ ]
1433
+ },
1434
+ "deliveredAt": {
1435
+ "type": [
1436
+ "string",
1437
+ "null"
1438
+ ]
1439
+ },
1440
+ "failedStage": {
1441
+ "type": [
1442
+ "string",
1443
+ "null"
1444
+ ]
1445
+ },
1446
+ "reason": {},
1447
+ "resetsAt": {
1448
+ "type": [
1449
+ "string",
1450
+ "null"
1451
+ ]
1452
+ },
1453
+ "recoveryResumesAt": {
1454
+ "type": [
1455
+ "string",
1456
+ "null"
1457
+ ]
1458
+ },
1459
+ "parkedKind": {
1460
+ "type": [
1461
+ "string",
1462
+ "null"
1463
+ ]
1464
+ },
1465
+ "terminalKind": {
1466
+ "type": [
1467
+ "string",
1468
+ "null"
1469
+ ]
1470
+ },
1471
+ "sendPending": {
1472
+ "type": "boolean"
1473
+ },
1474
+ "sent": {
1475
+ "type": "boolean"
1476
+ },
1477
+ "channels": {
1478
+ "type": "object",
1479
+ "required": [
1480
+ "email",
1481
+ "whatsapp"
1482
+ ],
1483
+ "additionalProperties": false,
1484
+ "properties": {
1485
+ "email": {
1486
+ "type": "object",
1487
+ "required": [
1488
+ "sent",
1489
+ "messageId",
1490
+ "sentAt"
1491
+ ],
1492
+ "additionalProperties": false,
1493
+ "properties": {
1494
+ "sent": {
1495
+ "type": "boolean"
1496
+ },
1497
+ "messageId": {
1498
+ "type": [
1499
+ "string",
1500
+ "null"
1501
+ ]
1502
+ },
1503
+ "sentAt": {
1504
+ "type": [
1505
+ "string",
1506
+ "null"
1507
+ ]
1508
+ }
1509
+ }
1510
+ },
1511
+ "whatsapp": {
1512
+ "type": "object",
1513
+ "required": [
1514
+ "sent",
1515
+ "messageId",
1516
+ "sentAt"
1517
+ ],
1518
+ "additionalProperties": false,
1519
+ "properties": {
1520
+ "sent": {
1521
+ "type": "boolean"
1522
+ },
1523
+ "messageId": {
1524
+ "type": [
1525
+ "string",
1526
+ "null"
1527
+ ]
1528
+ },
1529
+ "sentAt": {
1530
+ "type": [
1531
+ "string",
1532
+ "null"
1533
+ ]
1534
+ }
1535
+ }
1536
+ }
1537
+ }
1538
+ }
1539
+ }
1540
+ },
1541
+ "product": {
1542
+ "const": "knockout"
1543
+ },
1544
+ "stages": {
1545
+ "type": "array"
1546
+ },
1547
+ "failover": {
1548
+ "type": "array"
1549
+ },
1550
+ "artifacts": {
1551
+ "type": "array"
1552
+ },
1553
+ "coverageSummary": {
1554
+ "type": "object"
1555
+ }
1556
+ }
1557
+ },
1558
+ "client": {
1559
+ "type": "object",
1560
+ "required": [
1561
+ "run",
1562
+ "stages",
1563
+ "failover",
1564
+ "artifacts",
1565
+ "coverageSummary"
1566
+ ],
1567
+ "additionalProperties": false,
1568
+ "properties": {
1569
+ "run": {
1570
+ "type": "object"
1571
+ },
1572
+ "stages": {
1573
+ "type": "array"
1574
+ },
1575
+ "failover": {
1576
+ "type": "array"
1577
+ },
1578
+ "artifacts": {
1579
+ "type": "array"
1580
+ },
1581
+ "coverageSummary": {
1582
+ "type": [
1583
+ "object",
1584
+ "null"
1585
+ ]
1586
+ }
1587
+ }
1588
+ }
1589
+ },
1590
+ "read_artifact": {
1591
+ "all": {
1592
+ "type": "object",
1593
+ "required": [
1594
+ "name"
1595
+ ],
1596
+ "properties": {
1597
+ "_note": {
1598
+ "type": "string"
1599
+ },
1600
+ "name": {
1601
+ "type": "string"
1602
+ },
1603
+ "file": {
1604
+ "type": "string"
1605
+ },
1606
+ "text": {
1607
+ "type": "string"
1608
+ },
1609
+ "frontMatter": {
1610
+ "type": "object"
1611
+ },
1612
+ "exists": {
1613
+ "type": "boolean"
1614
+ }
1615
+ }
1616
+ }
1617
+ },
1618
+ "trace": {
1619
+ "all": {
1620
+ "type": "object",
1621
+ "required": [
1622
+ "runId",
1623
+ "target"
1624
+ ],
1625
+ "properties": {
1626
+ "runId": {
1627
+ "type": "string"
1628
+ },
1629
+ "target": {
1630
+ "type": "string"
1631
+ }
1632
+ }
1633
+ }
1634
+ },
1635
+ "get_telemetry": {
1636
+ "all": {
1637
+ "type": "object",
1638
+ "required": [
1639
+ "runId",
1640
+ "stage",
1641
+ "runEvents",
1642
+ "attempts",
1643
+ "providerUsage"
1644
+ ],
1645
+ "additionalProperties": false,
1646
+ "properties": {
1647
+ "runId": {
1648
+ "type": "string"
1649
+ },
1650
+ "stage": {
1651
+ "type": [
1652
+ "string",
1653
+ "null"
1654
+ ]
1655
+ },
1656
+ "runEvents": {
1657
+ "type": "array"
1658
+ },
1659
+ "attempts": {
1660
+ "type": "array"
1661
+ },
1662
+ "providerUsage": {
1663
+ "type": [
1664
+ "object",
1665
+ "null"
1666
+ ]
1667
+ }
1668
+ }
1669
+ }
1670
+ },
1671
+ "get_provider_usage": {
1672
+ "all": {
1673
+ "type": "object",
1674
+ "required": [
1675
+ "runId",
1676
+ "prefix",
1677
+ "live",
1678
+ "cached",
1679
+ "drift",
1680
+ "driftKeys",
1681
+ "comparedCounters",
1682
+ "ledgerStale",
1683
+ "lowConfidence",
1684
+ "note"
1685
+ ],
1686
+ "additionalProperties": false,
1687
+ "properties": {
1688
+ "runId": {
1689
+ "type": "string"
1690
+ },
1691
+ "prefix": {
1692
+ "type": "string"
1693
+ },
1694
+ "live": {
1695
+ "type": "object"
1696
+ },
1697
+ "cached": {
1698
+ "type": [
1699
+ "object",
1700
+ "null"
1701
+ ]
1702
+ },
1703
+ "drift": {
1704
+ "type": [
1705
+ "boolean",
1706
+ "null"
1707
+ ]
1708
+ },
1709
+ "driftKeys": {
1710
+ "type": "array"
1711
+ },
1712
+ "comparedCounters": {
1713
+ "type": "array"
1714
+ },
1715
+ "ledgerStale": {
1716
+ "type": "boolean"
1717
+ },
1718
+ "lowConfidence": {
1719
+ "type": "boolean"
1720
+ },
1721
+ "note": {
1722
+ "type": "string"
1723
+ }
1724
+ }
1725
+ }
1726
+ },
1727
+ "get_coverage": {
1728
+ "all": {
1729
+ "type": "object",
1730
+ "required": [
1731
+ "coverageLedgerPresent",
1732
+ "registerAxes",
1733
+ "findings",
1734
+ "negativeResults",
1735
+ "artifacts",
1736
+ "complete",
1737
+ "note"
1738
+ ],
1739
+ "additionalProperties": false,
1740
+ "properties": {
1741
+ "coverageLedgerPresent": {
1742
+ "type": "boolean"
1743
+ },
1744
+ "registerAxes": {
1745
+ "type": "array"
1746
+ },
1747
+ "findings": {
1748
+ "type": "number"
1749
+ },
1750
+ "negativeResults": {
1751
+ "type": "number"
1752
+ },
1753
+ "artifacts": {
1754
+ "type": "array"
1755
+ },
1756
+ "complete": {
1757
+ "type": "boolean"
1758
+ },
1759
+ "note": {
1760
+ "type": "string"
1761
+ }
1762
+ }
1763
+ }
1764
+ },
1765
+ "search": {
1766
+ "all": {
1767
+ "type": "object",
1768
+ "required": [
1769
+ "runId",
1770
+ "query",
1771
+ "mode",
1772
+ "hits",
1773
+ "truncated"
1774
+ ],
1775
+ "additionalProperties": false,
1776
+ "properties": {
1777
+ "runId": {
1778
+ "type": "string"
1779
+ },
1780
+ "query": {
1781
+ "type": "string"
1782
+ },
1783
+ "mode": {
1784
+ "type": "string"
1785
+ },
1786
+ "hits": {
1787
+ "type": "array"
1788
+ },
1789
+ "truncated": {
1790
+ "type": "boolean"
1791
+ }
1792
+ }
1793
+ }
1794
+ },
1795
+ "decision_timeline": {
1796
+ "staff": {
1797
+ "type": "object",
1798
+ "required": [
1799
+ "runId",
1800
+ "state",
1801
+ "tier",
1802
+ "verdictHistory",
1803
+ "timeline",
1804
+ "riskLadderAvailable",
1805
+ "note"
1806
+ ],
1807
+ "additionalProperties": false,
1808
+ "properties": {
1809
+ "runId": {
1810
+ "type": "string"
1811
+ },
1812
+ "state": {
1813
+ "type": [
1814
+ "string",
1815
+ "null"
1816
+ ]
1817
+ },
1818
+ "tier": {
1819
+ "type": [
1820
+ "string",
1821
+ "null"
1822
+ ]
1823
+ },
1824
+ "verdictHistory": {
1825
+ "type": "array"
1826
+ },
1827
+ "timeline": {
1828
+ "type": "array"
1829
+ },
1830
+ "riskLadderAvailable": {
1831
+ "type": "boolean"
1832
+ },
1833
+ "note": {
1834
+ "type": "string"
1835
+ }
1836
+ }
1837
+ },
1838
+ "client": {
1839
+ "type": "object",
1840
+ "required": [
1841
+ "runId",
1842
+ "timeline"
1843
+ ],
1844
+ "properties": {
1845
+ "runId": {
1846
+ "type": "string"
1847
+ },
1848
+ "state": {
1849
+ "type": [
1850
+ "string",
1851
+ "null"
1852
+ ]
1853
+ },
1854
+ "tier": {
1855
+ "type": [
1856
+ "string",
1857
+ "null"
1858
+ ]
1859
+ },
1860
+ "timeline": {
1861
+ "type": "array"
1862
+ },
1863
+ "verdictHistory": {
1864
+ "type": "array"
1865
+ }
1866
+ }
1867
+ }
1868
+ },
1869
+ "run_changes": {
1870
+ "all": {
1871
+ "type": "object",
1872
+ "required": [
1873
+ "runId",
1874
+ "state",
1875
+ "tier",
1876
+ "since",
1877
+ "cursor",
1878
+ "count",
1879
+ "changes",
1880
+ "note"
1881
+ ],
1882
+ "additionalProperties": false,
1883
+ "properties": {
1884
+ "runId": {
1885
+ "type": "string"
1886
+ },
1887
+ "state": {
1888
+ "type": [
1889
+ "string",
1890
+ "null"
1891
+ ]
1892
+ },
1893
+ "tier": {
1894
+ "type": [
1895
+ "string",
1896
+ "null"
1897
+ ]
1898
+ },
1899
+ "since": {
1900
+ "type": [
1901
+ "string",
1902
+ "null"
1903
+ ]
1904
+ },
1905
+ "cursor": {},
1906
+ "count": {
1907
+ "type": "number"
1908
+ },
1909
+ "changes": {
1910
+ "type": "array"
1911
+ },
1912
+ "note": {
1913
+ "type": "string"
1914
+ }
1915
+ }
1916
+ }
1917
+ },
1918
+ "diff_artifact": {
1919
+ "all": {
1920
+ "type": "object",
1921
+ "anyOf": [
1922
+ {
1923
+ "type": "object",
1924
+ "required": [
1925
+ "runId",
1926
+ "name",
1927
+ "stage",
1928
+ "axis",
1929
+ "a",
1930
+ "b",
1931
+ "identical",
1932
+ "diff",
1933
+ "snapshotsAvailable",
1934
+ "note"
1935
+ ],
1936
+ "additionalProperties": false,
1937
+ "properties": {
1938
+ "runId": {
1939
+ "type": "string"
1940
+ },
1941
+ "name": {
1942
+ "type": "string"
1943
+ },
1944
+ "stage": {
1945
+ "type": "string"
1946
+ },
1947
+ "axis": {
1948
+ "type": [
1949
+ "string",
1950
+ "null"
1951
+ ]
1952
+ },
1953
+ "a": {},
1954
+ "b": {},
1955
+ "identical": {
1956
+ "type": "null"
1957
+ },
1958
+ "diff": {
1959
+ "type": "null"
1960
+ },
1961
+ "snapshotsAvailable": {},
1962
+ "note": {
1963
+ "type": "string"
1964
+ }
1965
+ }
1966
+ },
1967
+ {
1968
+ "type": "object",
1969
+ "required": [
1970
+ "runId",
1971
+ "name",
1972
+ "stage",
1973
+ "axis",
1974
+ "a",
1975
+ "b",
1976
+ "identical",
1977
+ "diff",
1978
+ "snapshotsAvailable"
1979
+ ],
1980
+ "additionalProperties": false,
1981
+ "properties": {
1982
+ "runId": {
1983
+ "type": "string"
1984
+ },
1985
+ "name": {
1986
+ "type": "string"
1987
+ },
1988
+ "stage": {
1989
+ "type": "string"
1990
+ },
1991
+ "axis": {
1992
+ "type": [
1993
+ "string",
1994
+ "null"
1995
+ ]
1996
+ },
1997
+ "a": {},
1998
+ "b": {},
1999
+ "identical": {
2000
+ "type": "boolean"
2001
+ },
2002
+ "diff": {
2003
+ "type": "string"
2004
+ },
2005
+ "telemetryDelta": {},
2006
+ "snapshotsAvailable": {}
2007
+ }
2008
+ }
2009
+ ]
2010
+ }
2011
+ },
2012
+ "search_runs": {
2013
+ "all": {
2014
+ "type": "object",
2015
+ "required": [
2016
+ "query",
2017
+ "mode",
2018
+ "scope",
2019
+ "runsScanned",
2020
+ "hits",
2021
+ "truncated"
2022
+ ],
2023
+ "additionalProperties": false,
2024
+ "properties": {
2025
+ "query": {
2026
+ "type": "string"
2027
+ },
2028
+ "mode": {
2029
+ "type": "string"
2030
+ },
2031
+ "scope": {
2032
+ "type": "string"
2033
+ },
2034
+ "runsScanned": {
2035
+ "type": "number"
2036
+ },
2037
+ "hits": {
2038
+ "type": "array"
2039
+ },
2040
+ "truncated": {
2041
+ "type": "boolean"
2042
+ }
2043
+ }
2044
+ }
2045
+ },
2046
+ "what_if_plan": {
2047
+ "all": {
2048
+ "type": "object",
2049
+ "required": [
2050
+ "runnable"
2051
+ ],
2052
+ "properties": {
2053
+ "runnable": {
2054
+ "type": "boolean"
2055
+ }
2056
+ }
2057
+ }
2058
+ },
2059
+ "what_if_result": {
2060
+ "all": {
2061
+ "type": "object",
2062
+ "required": [
2063
+ "runId"
2064
+ ],
2065
+ "properties": {
2066
+ "runId": {
2067
+ "type": "string"
2068
+ }
2069
+ }
2070
+ }
2071
+ },
2072
+ "list_outbox_events": {
2073
+ "all": {
2074
+ "type": "object",
2075
+ "required": [
2076
+ "ok",
2077
+ "count",
2078
+ "events"
2079
+ ],
2080
+ "additionalProperties": false,
2081
+ "properties": {
2082
+ "ok": {
2083
+ "const": true
2084
+ },
2085
+ "count": {
2086
+ "type": "number"
2087
+ },
2088
+ "events": {
2089
+ "type": "array",
2090
+ "items": {
2091
+ "type": "object"
2092
+ }
2093
+ }
2094
+ }
2095
+ }
2096
+ },
2097
+ "get_delivery_packet": {
2098
+ "all": {
2099
+ "type": "object",
2100
+ "required": [
2101
+ "ok",
2102
+ "runId",
2103
+ "state",
2104
+ "sendPending",
2105
+ "sent",
2106
+ "delivery",
2107
+ "failure"
2108
+ ],
2109
+ "additionalProperties": false,
2110
+ "properties": {
2111
+ "ok": {
2112
+ "const": true
2113
+ },
2114
+ "runId": {
2115
+ "type": "string"
2116
+ },
2117
+ "state": {
2118
+ "type": [
2119
+ "string",
2120
+ "null"
2121
+ ]
2122
+ },
2123
+ "sendPending": {
2124
+ "type": [
2125
+ "boolean",
2126
+ "null"
2127
+ ]
2128
+ },
2129
+ "sent": {
2130
+ "type": "boolean"
2131
+ },
2132
+ "delivery": {
2133
+ "type": [
2134
+ "object",
2135
+ "null"
2136
+ ]
2137
+ },
2138
+ "failure": {
2139
+ "type": [
2140
+ "object",
2141
+ "null"
2142
+ ]
2143
+ }
2144
+ }
2145
+ }
2146
+ },
2147
+ "brief": {
2148
+ "all": {
2149
+ "type": "object",
2150
+ "required": [
2151
+ "_note",
2152
+ "runId",
2153
+ "markName",
2154
+ "product",
2155
+ "overall",
2156
+ "tier",
2157
+ "caption",
2158
+ "state",
2159
+ "date",
2160
+ "source",
2161
+ "brief",
2162
+ "document"
2163
+ ],
2164
+ "additionalProperties": false,
2165
+ "properties": {
2166
+ "_note": {
2167
+ "type": "string"
2168
+ },
2169
+ "runId": {
2170
+ "type": "string"
2171
+ },
2172
+ "markName": {
2173
+ "type": [
2174
+ "string",
2175
+ "null"
2176
+ ]
2177
+ },
2178
+ "product": {
2179
+ "type": [
2180
+ "string",
2181
+ "null"
2182
+ ]
2183
+ },
2184
+ "overall": {
2185
+ "type": [
2186
+ "string",
2187
+ "null"
2188
+ ]
2189
+ },
2190
+ "tier": {
2191
+ "type": [
2192
+ "string",
2193
+ "null"
2194
+ ]
2195
+ },
2196
+ "caption": {
2197
+ "type": [
2198
+ "string",
2199
+ "null"
2200
+ ]
2201
+ },
2202
+ "state": {
2203
+ "type": [
2204
+ "string",
2205
+ "null"
2206
+ ]
2207
+ },
2208
+ "date": {
2209
+ "type": [
2210
+ "string",
2211
+ "null"
2212
+ ]
2213
+ },
2214
+ "source": {
2215
+ "type": "string"
2216
+ },
2217
+ "brief": {
2218
+ "type": "string"
2219
+ },
2220
+ "document": {
2221
+ "type": [
2222
+ "string",
2223
+ "null"
2224
+ ]
2225
+ }
2226
+ }
2227
+ }
2228
+ },
2229
+ "list_findings": {
2230
+ "all": {
2231
+ "type": "object",
2232
+ "required": [
2233
+ "_note",
2234
+ "kind",
2235
+ "items",
2236
+ "document"
2237
+ ],
2238
+ "properties": {
2239
+ "_note": {
2240
+ "type": "string"
2241
+ },
2242
+ "kind": {
2243
+ "type": "string"
2244
+ },
2245
+ "items": {
2246
+ "type": "array",
2247
+ "items": {
2248
+ "type": "object",
2249
+ "properties": {
2250
+ "name": {
2251
+ "type": [
2252
+ "string",
2253
+ "null"
2254
+ ]
2255
+ },
2256
+ "owner": {
2257
+ "type": [
2258
+ "string",
2259
+ "null"
2260
+ ]
2261
+ },
2262
+ "band": {
2263
+ "type": [
2264
+ "string",
2265
+ "null"
2266
+ ]
2267
+ },
2268
+ "type": {
2269
+ "type": [
2270
+ "string",
2271
+ "null"
2272
+ ]
2273
+ },
2274
+ "net": {
2275
+ "type": [
2276
+ "string",
2277
+ "null"
2278
+ ]
2279
+ },
2280
+ "basis": {
2281
+ "type": [
2282
+ "string",
2283
+ "null"
2284
+ ]
2285
+ },
2286
+ "evidence": {
2287
+ "type": "array",
2288
+ "items": {
2289
+ "type": "string"
2290
+ }
2291
+ }
2292
+ }
2293
+ }
2294
+ },
2295
+ "source": {
2296
+ "type": "string"
2297
+ },
2298
+ "group": {
2299
+ "type": "string"
2300
+ },
2301
+ "available": {
2302
+ "type": "boolean"
2303
+ },
2304
+ "product": {
2305
+ "type": [
2306
+ "string",
2307
+ "null"
2308
+ ]
2309
+ },
2310
+ "note": {
2311
+ "type": "string"
2312
+ },
2313
+ "document": {
2314
+ "type": [
2315
+ "string",
2316
+ "null"
2317
+ ]
2318
+ }
2319
+ }
2320
+ }
2321
+ },
2322
+ "get_finding": {
2323
+ "all": {
2324
+ "type": "object",
2325
+ "required": [
2326
+ "id",
2327
+ "document"
2328
+ ],
2329
+ "properties": {
2330
+ "id": {
2331
+ "type": "string"
2332
+ },
2333
+ "document": {
2334
+ "type": [
2335
+ "string",
2336
+ "null"
2337
+ ]
2338
+ },
2339
+ "name": {
2340
+ "type": [
2341
+ "string",
2342
+ "null"
2343
+ ]
2344
+ },
2345
+ "owner": {
2346
+ "type": [
2347
+ "string",
2348
+ "null"
2349
+ ]
2350
+ },
2351
+ "band": {
2352
+ "type": [
2353
+ "string",
2354
+ "null"
2355
+ ]
2356
+ },
2357
+ "type": {
2358
+ "type": [
2359
+ "string",
2360
+ "null"
2361
+ ]
2362
+ },
2363
+ "net": {
2364
+ "type": [
2365
+ "string",
2366
+ "null"
2367
+ ]
2368
+ },
2369
+ "basis": {
2370
+ "type": [
2371
+ "string",
2372
+ "null"
2373
+ ]
2374
+ },
2375
+ "evidence": {
2376
+ "type": "array",
2377
+ "items": {
2378
+ "type": "string"
2379
+ }
2380
+ }
2381
+ }
2382
+ }
2383
+ },
2384
+ "list_evidence": {
2385
+ "all": {
2386
+ "type": "object",
2387
+ "required": [
2388
+ "source",
2389
+ "records",
2390
+ "document"
2391
+ ],
2392
+ "additionalProperties": false,
2393
+ "properties": {
2394
+ "source": {
2395
+ "type": "string"
2396
+ },
2397
+ "records": {
2398
+ "type": "array",
2399
+ "items": {
2400
+ "type": "object"
2401
+ }
2402
+ },
2403
+ "document": {
2404
+ "type": [
2405
+ "string",
2406
+ "null"
2407
+ ]
2408
+ }
2409
+ }
2410
+ }
2411
+ },
2412
+ "list_searches": {
2413
+ "all": {
2414
+ "type": "object",
2415
+ "required": [
2416
+ "count",
2417
+ "searches",
2418
+ "document"
2419
+ ],
2420
+ "properties": {
2421
+ "count": {
2422
+ "type": "number"
2423
+ },
2424
+ "searches": {
2425
+ "type": "array",
2426
+ "items": {
2427
+ "type": "object"
2428
+ }
2429
+ },
2430
+ "totalCount": {
2431
+ "type": "number"
2432
+ },
2433
+ "source": {
2434
+ "type": "string"
2435
+ },
2436
+ "document": {
2437
+ "type": [
2438
+ "string",
2439
+ "null"
2440
+ ]
2441
+ }
2442
+ }
2443
+ }
2444
+ },
2445
+ "get_search_coverage": {
2446
+ "all": {
2447
+ "type": "object",
2448
+ "required": [
2449
+ "areas",
2450
+ "document"
2451
+ ],
2452
+ "properties": {
2453
+ "areas": {
2454
+ "type": "array",
2455
+ "items": {
2456
+ "type": "object"
2457
+ }
2458
+ },
2459
+ "note": {
2460
+ "type": "string"
2461
+ },
2462
+ "source": {
2463
+ "type": "string"
2464
+ },
2465
+ "document": {
2466
+ "type": [
2467
+ "string",
2468
+ "null"
2469
+ ]
2470
+ }
2471
+ }
2472
+ }
2473
+ },
2474
+ "plan_run": {
2475
+ "all": {
2476
+ "type": "object",
2477
+ "required": [
2478
+ "ok",
2479
+ "wouldRun",
2480
+ "_note",
2481
+ "blockers",
2482
+ "warnings",
2483
+ "caveat",
2484
+ "search",
2485
+ "subject",
2486
+ "scope",
2487
+ "effort",
2488
+ "howSoon",
2489
+ "account"
2490
+ ],
2491
+ "additionalProperties": false,
2492
+ "properties": {
2493
+ "ok": {
2494
+ "type": "boolean"
2495
+ },
2496
+ "wouldRun": {
2497
+ "type": "boolean"
2498
+ },
2499
+ "_note": {
2500
+ "type": "string"
2501
+ },
2502
+ "blockers": {
2503
+ "type": "array",
2504
+ "items": {
2505
+ "type": "string"
2506
+ }
2507
+ },
2508
+ "warnings": {
2509
+ "type": "array",
2510
+ "items": {
2511
+ "type": "string"
2512
+ }
2513
+ },
2514
+ "caveat": {
2515
+ "type": "string"
2516
+ },
2517
+ "search": {
2518
+ "type": "object",
2519
+ "required": [
2520
+ "name",
2521
+ "product",
2522
+ "pipeline",
2523
+ "components",
2524
+ "savedSearch",
2525
+ "turnaround",
2526
+ "maxNames",
2527
+ "caseLaw",
2528
+ "nativeLanguage",
2529
+ "chosenBy",
2530
+ "registerReach"
2531
+ ],
2532
+ "properties": {
2533
+ "name": {
2534
+ "type": [
2535
+ "string",
2536
+ "null"
2537
+ ]
2538
+ },
2539
+ "product": {
2540
+ "type": [
2541
+ "string",
2542
+ "null"
2543
+ ]
2544
+ },
2545
+ "pipeline": {
2546
+ "type": [
2547
+ "string",
2548
+ "null"
2549
+ ]
2550
+ },
2551
+ "components": {
2552
+ "type": [
2553
+ "object",
2554
+ "null"
2555
+ ]
2556
+ },
2557
+ "savedSearch": {
2558
+ "type": [
2559
+ "object",
2560
+ "null"
2561
+ ]
2562
+ },
2563
+ "turnaround": {
2564
+ "type": [
2565
+ "string",
2566
+ "null"
2567
+ ]
2568
+ },
2569
+ "maxNames": {
2570
+ "type": [
2571
+ "number",
2572
+ "null"
2573
+ ]
2574
+ },
2575
+ "caseLaw": {
2576
+ "type": "boolean"
2577
+ },
2578
+ "nativeLanguage": {
2579
+ "type": [
2580
+ "string",
2581
+ "null"
2582
+ ]
2583
+ },
2584
+ "chosenBy": {
2585
+ "type": "string"
2586
+ },
2587
+ "registerReach": {
2588
+ "type": [
2589
+ "object",
2590
+ "null"
2591
+ ]
2592
+ }
2593
+ }
2594
+ },
2595
+ "subject": {
2596
+ "type": "object",
2597
+ "required": [
2598
+ "marks",
2599
+ "markCount",
2600
+ "classes",
2601
+ "classesFrom",
2602
+ "goods"
2603
+ ],
2604
+ "properties": {
2605
+ "marks": {
2606
+ "type": "array",
2607
+ "items": {
2608
+ "type": "string"
2609
+ }
2610
+ },
2611
+ "markCount": {
2612
+ "type": "number"
2613
+ },
2614
+ "classes": {
2615
+ "type": "array"
2616
+ },
2617
+ "classesFrom": {
2618
+ "type": "string"
2619
+ },
2620
+ "goods": {
2621
+ "type": [
2622
+ "string",
2623
+ "null"
2624
+ ]
2625
+ }
2626
+ }
2627
+ },
2628
+ "scope": {
2629
+ "type": "object",
2630
+ "required": [
2631
+ "jurisdictions",
2632
+ "jurisdictionsFrom",
2633
+ "bindingLayers",
2634
+ "platforms",
2635
+ "platformsAdded",
2636
+ "platformsFrom",
2637
+ "gridCellsPerVariant"
2638
+ ],
2639
+ "properties": {
2640
+ "jurisdictions": {
2641
+ "type": "array"
2642
+ },
2643
+ "jurisdictionsFrom": {
2644
+ "type": "string"
2645
+ },
2646
+ "bindingLayers": {
2647
+ "type": "array"
2648
+ },
2649
+ "platforms": {
2650
+ "type": "array"
2651
+ },
2652
+ "platformsAdded": {
2653
+ "type": "array"
2654
+ },
2655
+ "platformsFrom": {
2656
+ "type": "string"
2657
+ },
2658
+ "gridCellsPerVariant": {
2659
+ "type": [
2660
+ "number",
2661
+ "null"
2662
+ ]
2663
+ }
2664
+ }
2665
+ },
2666
+ "effort": {
2667
+ "type": [
2668
+ "object",
2669
+ "null"
2670
+ ]
2671
+ },
2672
+ "howSoon": {
2673
+ "type": "object",
2674
+ "required": [
2675
+ "chosen",
2676
+ "urgentAvailable",
2677
+ "standard",
2678
+ "urgent"
2679
+ ],
2680
+ "additionalProperties": false,
2681
+ "properties": {
2682
+ "chosen": {
2683
+ "enum": [
2684
+ "standard",
2685
+ "urgent"
2686
+ ]
2687
+ },
2688
+ "urgentAvailable": {
2689
+ "type": "boolean"
2690
+ },
2691
+ "urgentNote": {
2692
+ "type": "string"
2693
+ },
2694
+ "standard": {
2695
+ "type": [
2696
+ "object",
2697
+ "null"
2698
+ ],
2699
+ "required": [
2700
+ "turnaround",
2701
+ "turnaroundLowHours",
2702
+ "turnaroundHighHours",
2703
+ "searches",
2704
+ "withinAllowance"
2705
+ ],
2706
+ "additionalProperties": false,
2707
+ "properties": {
2708
+ "turnaround": {
2709
+ "type": "string"
2710
+ },
2711
+ "turnaroundLowHours": {
2712
+ "type": "number"
2713
+ },
2714
+ "turnaroundHighHours": {
2715
+ "type": "number"
2716
+ },
2717
+ "searches": {
2718
+ "type": "number"
2719
+ },
2720
+ "withinAllowance": {
2721
+ "type": [
2722
+ "boolean",
2723
+ "null"
2724
+ ]
2725
+ }
2726
+ }
2727
+ },
2728
+ "urgent": {
2729
+ "type": [
2730
+ "object",
2731
+ "null"
2732
+ ],
2733
+ "required": [
2734
+ "turnaround",
2735
+ "turnaroundLowHours",
2736
+ "turnaroundHighHours",
2737
+ "searches",
2738
+ "withinAllowance"
2739
+ ],
2740
+ "additionalProperties": false,
2741
+ "properties": {
2742
+ "turnaround": {
2743
+ "type": "string"
2744
+ },
2745
+ "turnaroundLowHours": {
2746
+ "type": "number"
2747
+ },
2748
+ "turnaroundHighHours": {
2749
+ "type": "number"
2750
+ },
2751
+ "searches": {
2752
+ "type": "number"
2753
+ },
2754
+ "withinAllowance": {
2755
+ "type": [
2756
+ "boolean",
2757
+ "null"
2758
+ ]
2759
+ }
2760
+ }
2761
+ }
2762
+ }
2763
+ },
2764
+ "account": {
2765
+ "type": "object",
2766
+ "required": [
2767
+ "profileKey",
2768
+ "name",
2769
+ "projectKey",
2770
+ "framework",
2771
+ "caps",
2772
+ "usage",
2773
+ "usageComplete",
2774
+ "dailyRunsEffective",
2775
+ "remainingToday",
2776
+ "allowanceApplies",
2777
+ "origins"
2778
+ ],
2779
+ "properties": {
2780
+ "profileKey": {
2781
+ "type": [
2782
+ "string",
2783
+ "null"
2784
+ ]
2785
+ },
2786
+ "name": {
2787
+ "type": [
2788
+ "string",
2789
+ "null"
2790
+ ]
2791
+ },
2792
+ "projectKey": {
2793
+ "type": [
2794
+ "string",
2795
+ "null"
2796
+ ]
2797
+ },
2798
+ "framework": {
2799
+ "type": "string"
2800
+ },
2801
+ "caps": {
2802
+ "type": [
2803
+ "object",
2804
+ "null"
2805
+ ]
2806
+ },
2807
+ "usage": {
2808
+ "type": [
2809
+ "object",
2810
+ "null"
2811
+ ]
2812
+ },
2813
+ "usageComplete": {
2814
+ "type": [
2815
+ "boolean",
2816
+ "null"
2817
+ ]
2818
+ },
2819
+ "dailyRunsEffective": {
2820
+ "type": [
2821
+ "number",
2822
+ "null"
2823
+ ]
2824
+ },
2825
+ "remainingToday": {
2826
+ "type": [
2827
+ "number",
2828
+ "null"
2829
+ ]
2830
+ },
2831
+ "allowanceApplies": {
2832
+ "type": [
2833
+ "boolean",
2834
+ "null"
2835
+ ]
2836
+ },
2837
+ "origins": {
2838
+ "type": [
2839
+ "object",
2840
+ "null"
2841
+ ]
2842
+ }
2843
+ }
2844
+ }
2845
+ }
2846
+ }
2847
+ },
2848
+ "describe_options": {
2849
+ "all": {
2850
+ "type": "object",
2851
+ "required": [
2852
+ "_note",
2853
+ "products",
2854
+ "scopeRules",
2855
+ "urgent",
2856
+ "account"
2857
+ ],
2858
+ "additionalProperties": false,
2859
+ "properties": {
2860
+ "_note": {
2861
+ "type": "string"
2862
+ },
2863
+ "products": {
2864
+ "type": "array",
2865
+ "items": {
2866
+ "type": "object",
2867
+ "required": [
2868
+ "key",
2869
+ "name",
2870
+ "available"
2871
+ ],
2872
+ "properties": {
2873
+ "key": {
2874
+ "type": "string"
2875
+ },
2876
+ "name": {
2877
+ "type": "string"
2878
+ },
2879
+ "available": {
2880
+ "type": "boolean"
2881
+ }
2882
+ }
2883
+ }
2884
+ },
2885
+ "registerTerritories": {
2886
+ "type": [
2887
+ "array",
2888
+ "null"
2889
+ ]
2890
+ },
2891
+ "scopeRules": {
2892
+ "type": "object"
2893
+ },
2894
+ "urgent": {
2895
+ "type": "object",
2896
+ "required": [
2897
+ "available"
2898
+ ],
2899
+ "additionalProperties": false,
2900
+ "properties": {
2901
+ "available": {
2902
+ "type": "boolean"
2903
+ },
2904
+ "note": {
2905
+ "type": "string"
2906
+ }
2907
+ }
2908
+ },
2909
+ "account": {
2910
+ "type": [
2911
+ "object",
2912
+ "null"
2913
+ ],
2914
+ "required": [
2915
+ "profileKey"
2916
+ ],
2917
+ "properties": {
2918
+ "profileKey": {
2919
+ "type": "string"
2920
+ },
2921
+ "name": {
2922
+ "type": [
2923
+ "string",
2924
+ "null"
2925
+ ]
2926
+ },
2927
+ "projects": {
2928
+ "type": "array"
2929
+ },
2930
+ "defaults": {
2931
+ "type": "object"
2932
+ },
2933
+ "savedSearches": {
2934
+ "type": "array"
2935
+ },
2936
+ "savedSearchesNote": {
2937
+ "type": [
2938
+ "string",
2939
+ "null"
2940
+ ]
2941
+ },
2942
+ "allowance": {
2943
+ "type": [
2944
+ "object",
2945
+ "null"
2946
+ ]
2947
+ }
2948
+ }
2949
+ },
2950
+ "accountsGranted": {
2951
+ "type": "array",
2952
+ "items": {
2953
+ "type": "object",
2954
+ "required": [
2955
+ "profileKey",
2956
+ "name"
2957
+ ],
2958
+ "additionalProperties": false,
2959
+ "properties": {
2960
+ "profileKey": {
2961
+ "type": "string"
2962
+ },
2963
+ "name": {
2964
+ "type": [
2965
+ "string",
2966
+ "null"
2967
+ ]
2968
+ }
2969
+ }
2970
+ }
2971
+ },
2972
+ "accountNote": {
2973
+ "type": "string"
2974
+ }
2975
+ }
2976
+ }
2977
+ }
2978
+ }