-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
7620 lines (7620 loc) · 226 KB
/
Copy pathopenapi.json
File metadata and controls
7620 lines (7620 loc) · 226 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"components": {
"schemas": {
"AcceptCandidateRequest": {
"description": "Materialise the candidate as a new knowledge version.\n\n``target_item_id`` is optional. If set, the candidate is appended\nas a new version on the existing item; if omitted, a new\nknowledge item is created.",
"properties": {
"actor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Actor"
},
"note": {
"anyOf": [
{
"maxLength": 2000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
},
"publish": {
"default": true,
"title": "Publish",
"type": "boolean"
},
"target_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Target Item Id"
}
},
"title": "AcceptCandidateRequest",
"type": "object"
},
"AgentTokenCreated": {
"description": "Mint response: includes the full ``token`` ONCE.\n\nSubsequent reads only ever expose ``prefix`` -- the secret hash\nis stored server-side and never returned. Callers MUST\ncapture the token at mint time; there is no recovery path.",
"properties": {
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"created_by": {
"title": "Created By",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"id": {
"title": "Id",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Used At"
},
"name": {
"title": "Name",
"type": "string"
},
"prefix": {
"title": "Prefix",
"type": "string"
},
"rate_limit_rpm": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Rate Limit Rpm"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Revoked At"
},
"scopes": {
"items": {
"type": "string"
},
"title": "Scopes",
"type": "array"
},
"token": {
"title": "Token",
"type": "string"
},
"workspace_allowlist": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Workspace Allowlist"
}
},
"required": [
"id",
"name",
"prefix",
"workspace_allowlist",
"scopes",
"rate_limit_rpm",
"expires_at",
"created_at",
"created_by",
"revoked_at",
"last_used_at",
"token"
],
"title": "AgentTokenCreated",
"type": "object"
},
"AgentTokenMintRequest": {
"description": "Request body for ``POST /api/v1/agent-tokens``.\n\n``workspace_allowlist`` is optional -- ``None`` means the token\ncan be used in any workspace under the tenant. ``scopes``\ndefaults to ``[\"*\"]`` (all scopes); the verify path treats\n``\"*\"`` as a wildcard. ``rate_limit_rpm`` is advisory metadata\ntoday and reserved for the per-token rate limiter we add\nlater; ``expires_at`` is enforced by the verify path.",
"properties": {
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expires At"
},
"name": {
"maxLength": 128,
"minLength": 1,
"title": "Name",
"type": "string"
},
"rate_limit_rpm": {
"anyOf": [
{
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate Limit Rpm"
},
"scopes": {
"items": {
"type": "string"
},
"title": "Scopes",
"type": "array"
},
"workspace_allowlist": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Workspace Allowlist"
}
},
"required": [
"name"
],
"title": "AgentTokenMintRequest",
"type": "object"
},
"AgentTokenSummaryDto": {
"description": "Token surface as listed back to user-tier callers -- secret omitted.\n\nEvery read path through ``GET /api/v1/agent-tokens`` returns\nthis shape. The raw token is *only* available on the\n:class:`AgentTokenCreated` returned by the mint endpoint and\nis never round-tripped through any other endpoint.",
"properties": {
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"created_by": {
"title": "Created By",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"id": {
"title": "Id",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Used At"
},
"name": {
"title": "Name",
"type": "string"
},
"prefix": {
"title": "Prefix",
"type": "string"
},
"rate_limit_rpm": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Rate Limit Rpm"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Revoked At"
},
"scopes": {
"items": {
"type": "string"
},
"title": "Scopes",
"type": "array"
},
"workspace_allowlist": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Workspace Allowlist"
}
},
"required": [
"id",
"name",
"prefix",
"workspace_allowlist",
"scopes",
"rate_limit_rpm",
"expires_at",
"created_at",
"created_by",
"revoked_at",
"last_used_at"
],
"title": "AgentTokenSummaryDto",
"type": "object"
},
"AnswerRequest": {
"description": "RAG-answer request.\n\nThe answerer fetches the top hits via the same hybrid retrieval\nused by ``/search``, then asks the configured answer model to\nwrite an answer using ONLY those chunks. The response carries\nthe answer + the chunks the model actually cited; the model is\nprompted to set ``no_answer=true`` when the chunks don't support\na confident answer rather than confabulate.",
"properties": {
"domains": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Domain"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict to chunks whose source belongs to one of these domains.",
"examples": [
[
"process",
"compliance"
]
],
"title": "Domains"
},
"extended_reasoning": {
"default": false,
"description": "RLM only: when true, the CodeAct engine runs at TWICE the configured iteration budget (``FLYCANON_RLM_MAX_ITERS`` * 2) for this request -- a per-request lever for harder multi-fact questions that need more turns to gather and verify evidence, without raising the global default for all traffic. Ignored by the RAG engine, which is single-shot.",
"title": "Extended Reasoning",
"type": "boolean"
},
"instructions": {
"anyOf": [
{
"maxLength": 4000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional system-level steering appended to the answer prompt. Use for caller-specific tone (``answer in Spanish``, ``use bullet points``) or workflow context.",
"title": "Instructions"
},
"jurisdictions": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Jurisdiction"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Jurisdictions"
},
"knowledge_item_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict to chunks cited by these knowledge items.",
"title": "Knowledge Item Ids"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Override the configured answer model (``<provider>:<model>``). Defaults to ``FLYCANON_ANSWER_MODEL``. On primary failure the service falls back to ``FLYCANON_ANSWER_FALLBACK_MODEL`` when configured.",
"examples": [
"anthropic:claude-sonnet-4-6",
"openai:gpt-4o"
],
"title": "Model"
},
"question": {
"description": "The user's question. Plain natural language.",
"examples": [
"Summarise the scope section in three sentences."
],
"maxLength": 2000,
"minLength": 1,
"title": "Question",
"type": "string"
},
"source_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict retrieval to chunks of these sources.",
"examples": [
[
"0b06a8e6-37e7-4f7b-a8f1-7e2a6f7e5d11"
]
],
"title": "Source Ids"
},
"statuses": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/KnowledgeStatus"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict to chunks belonging to knowledge items in these lifecycle states. Defaults to ``published`` items only when omitted upstream.",
"title": "Statuses"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"top_k": {
"default": 8,
"description": "Number of retrieval hits passed to the answer model as grounding context. Larger values widen the available evidence but raise input tokens; the default is sized for sub-second answers on small corpora.",
"maximum": 40,
"minimum": 1,
"title": "Top K",
"type": "integer"
}
},
"required": [
"question"
],
"title": "AnswerRequest",
"type": "object"
},
"AnswerResponse": {
"properties": {
"answer": {
"description": "The grounded answer. Free-form text; the prompt instructs the model to use only the supplied chunks.",
"title": "Answer",
"type": "string"
},
"citations": {
"description": "Chunks the model explicitly cited -- a subset of the retrieved top-k. Each :class:`Hit` is hydrated with the verbatim chunk content + the source pointer so callers render the citation badge without a follow-up call.",
"items": {
"$ref": "#/components/schemas/Hit"
},
"title": "Citations",
"type": "array"
},
"elapsed_ms": {
"minimum": 0,
"title": "Elapsed Ms",
"type": "integer"
},
"model": {
"description": "Provider:model identifier actually used (after fallback).",
"title": "Model",
"type": "string"
},
"no_answer": {
"default": false,
"description": "True when the retrieval window did not contain a confident answer. Callers should treat the answer text as an explanatory note rather than a substantive answer.",
"title": "No Answer",
"type": "boolean"
}
},
"required": [
"answer",
"citations",
"model",
"elapsed_ms"
],
"title": "AnswerResponse",
"type": "object"
},
"AuditEvent": {
"description": "Single audit-log row.",
"properties": {
"actor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Stable identifier of the human or service that performed the action.",
"title": "Actor"
},
"correlation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Correlation Id"
},
"event_type": {
"description": "Stable, snake-case identifier of the mutation.",
"examples": [
"source.ingested",
"knowledge.published",
"candidate.accepted"
],
"title": "Event Type",
"type": "string"
},
"id": {
"title": "Id",
"type": "string"
},
"occurred_at": {
"format": "date-time",
"title": "Occurred At",
"type": "string"
},
"payload": {
"additionalProperties": true,
"title": "Payload",
"type": "object"
},
"subject_id": {
"description": "Primary entity touched by this event.",
"title": "Subject Id",
"type": "string"
},
"subject_kind": {
"description": "Type of subject: ``source`` | ``knowledge`` | ``candidate`` | ``taxonomy``.",
"title": "Subject Kind",
"type": "string"
}
},
"required": [
"id",
"occurred_at",
"event_type",
"subject_id",
"subject_kind"
],
"title": "AuditEvent",
"type": "object"
},
"AuditPage": {
"properties": {
"items": {
"items": {
"$ref": "#/components/schemas/AuditEvent"
},
"title": "Items",
"type": "array"
},
"limit": {
"maximum": 500,
"minimum": 1,
"title": "Limit",
"type": "integer"
},
"offset": {
"minimum": 0,
"title": "Offset",
"type": "integer"
},
"total": {
"minimum": 0,
"title": "Total",
"type": "integer"
}
},
"required": [
"items",
"total",
"offset",
"limit"
],
"title": "AuditPage",
"type": "object"
},
"BillingReport": {
"description": "``GET /api/v1/billing`` envelope -- aggregated rows + totals.",
"properties": {
"rows": {
"description": "One row per (group_by combination); the order matches the SQL aggregate.",
"items": {
"$ref": "#/components/schemas/BillingRow"
},
"title": "Rows",
"type": "array"
},
"total_calls": {
"default": 0,
"description": "Sum of ``rows[*].calls`` for the same filter window.",
"minimum": 0,
"title": "Total Calls",
"type": "integer"
},
"total_cost_usd": {
"default": "0",
"description": "Sum of ``rows[*].cost_usd`` for the same filter window.",
"title": "Total Cost Usd",
"type": "string"
}
},
"title": "BillingReport",
"type": "object"
},
"BillingRow": {
"description": "One row of the aggregated billing report.\n\nGroup columns echo the request's ``group_by`` selection\n(``date`` / ``model`` / ``agent_name``). The summed columns\nare always present. Scope (tenant + workspace) is fixed via\nrequest headers and never appears in ``group_by``.",
"properties": {
"calls": {
"description": "Number of ``canon_cost_events`` rows that landed in this bucket.",
"minimum": 0,
"title": "Calls",
"type": "integer"
},
"cost_usd": {
"description": "Total cost in USD, serialised as a decimal string for precision.",
"title": "Cost Usd",
"type": "string"
},
"group": {
"additionalProperties": true,
"description": "Group-column values keyed by name (matches the request's ``group_by`` selection).",
"title": "Group",
"type": "object"
},
"input_tokens": {
"description": "Sum of input tokens across calls in this bucket.",
"minimum": 0,
"title": "Input Tokens",
"type": "integer"
},
"output_tokens": {
"description": "Sum of output tokens across calls in this bucket.",
"minimum": 0,
"title": "Output Tokens",
"type": "integer"
},
"total_tokens": {
"description": "``input_tokens + output_tokens`` (denormalised).",
"minimum": 0,
"title": "Total Tokens",
"type": "integer"
}
},
"required": [
"input_tokens",
"output_tokens",
"total_tokens",
"cost_usd",
"calls"
],
"title": "BillingRow",
"type": "object"
},
"BillingSummary": {
"description": "Rolling-window cost snapshot.\n\nReturned by ``GET /api/v1/billing/summary``. Three windows are\npopulated unconditionally so a status banner can display them\nside by side; missing data turns into a zero row, not a 404.",
"properties": {
"generated_at": {
"description": "UTC timestamp the snapshot was computed.",
"format": "date-time",
"title": "Generated At",
"type": "string"
},
"last_24h": {
"$ref": "#/components/schemas/BillingWindow",
"description": "Trailing 24-hour window."
},
"last_30d": {
"$ref": "#/components/schemas/BillingWindow",
"description": "Trailing 30-day window."
},
"last_7d": {
"$ref": "#/components/schemas/BillingWindow",
"description": "Trailing 7-day window."
}
},
"required": [
"generated_at",
"last_24h",
"last_7d",
"last_30d"
],
"title": "BillingSummary",
"type": "object"
},
"BillingWindow": {
"description": "One window inside :class:`BillingSummary` (24h / 7d / 30d).",
"properties": {
"calls": {
"description": "Number of ``canon_cost_events`` rows in the window.",
"minimum": 0,
"title": "Calls",
"type": "integer"
},
"cost_usd": {
"description": "Window total in USD (decimal string).",
"title": "Cost Usd",
"type": "string"
},
"input_tokens": {
"description": "Sum of input tokens across the window.",
"minimum": 0,
"title": "Input Tokens",
"type": "integer"
},
"output_tokens": {
"description": "Sum of output tokens across the window.",
"minimum": 0,
"title": "Output Tokens",
"type": "integer"
},
"since": {
"description": "Lower bound (UTC) of the window. ``until`` is implicitly ``generated_at``.",
"format": "date-time",
"title": "Since",
"type": "string"
},
"top_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Most expensive model identifier in this window (``null`` if no rows).",
"title": "Top Model"
},
"top_model_cost_usd": {
"default": "0",
"description": "USD spend on ``top_model`` in this window.",
"title": "Top Model Cost Usd",
"type": "string"
},
"total_tokens": {
"description": "``input_tokens + output_tokens``.",
"minimum": 0,
"title": "Total Tokens",
"type": "integer"
}
},
"required": [
"since",
"calls",
"input_tokens",
"output_tokens",
"total_tokens",
"cost_usd"
],
"title": "BillingWindow",
"type": "object"
},
"BulkSourceResult": {
"description": "Per-entry outcome of a bulk ingest call.\n\nEither ``source`` is populated (on success) or\n``error_code`` + ``error_message`` are (on failure). The\n``index`` field matches the input array position so callers\ncan correlate failures with their batch.",
"properties": {
"error_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error Code"
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error Message"
},
"index": {
"description": "Position in the request array.",
"minimum": 0,
"title": "Index",
"type": "integer"
},
"source": {
"anyOf": [
{
"$ref": "#/components/schemas/SourceRecord"
},
{
"type": "null"
}
],
"default": null
},
"status": {
"description": "``succeeded`` or ``failed`` for this entry.",
"examples": [
"succeeded",
"failed"
],
"title": "Status",
"type": "string"
}
},
"required": [
"index",
"status"
],
"title": "BulkSourceResult",
"type": "object"
},
"BulkSourcesResponse": {
"description": "Aggregate response for ``POST /api/v1/sources:bulk``.\n\nEntries are processed sequentially -- failures are isolated to\ntheir own entry and never abort the batch. The caller inspects\neach ``BulkSourceResult`` to retry / inspect failures.",
"properties": {
"failed": {
"minimum": 0,
"title": "Failed",
"type": "integer"
},
"results": {
"items": {
"$ref": "#/components/schemas/BulkSourceResult"
},
"title": "Results",
"type": "array"
},
"succeeded": {
"minimum": 0,
"title": "Succeeded",
"type": "integer"
},
"total": {
"minimum": 0,
"title": "Total",
"type": "integer"
}
},
"required": [
"total",
"succeeded",
"failed"
],
"title": "BulkSourcesResponse",
"type": "object"
},
"BulkSubmitSourcesPayload": {
"description": "Wire payload for ``POST /api/v1/sources:bulk``.\n\nCarries up to ``MAX_BULK_SOURCES`` source submissions in a\nsingle request. Each entry is processed independently -- a\nparse / normalisation failure on one entry does not abort the\nbatch.",
"properties": {
"sources": {
"description": "Up to 100 source submissions. Each entry is the same shape as the JSON body of ``POST /api/v1/sources``.",
"items": {
"$ref": "#/components/schemas/SubmitSourceJsonPayload"
},
"maxItems": 100,
"minItems": 1,
"title": "Sources",
"type": "array"
}
},
"required": [
"sources"
],
"title": "BulkSubmitSourcesPayload",
"type": "object"
},
"CandidateRecord": {
"description": "Public view of a candidate row.",
"properties": {
"actor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Actor"
},
"body": {
"title": "Body",
"type": "string"
},
"citations": {
"items": {
"$ref": "#/components/schemas/Citation"
},
"title": "Citations",
"type": "array"
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"decided_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Decided At"
},
"domain": {
"$ref": "#/components/schemas/Domain"
},
"id": {
"title": "Id",