@disclosureos/records 2.0.0-beta.0 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1929 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "kind": {
6
+ "type": "string",
7
+ "const": "claim_history"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "string",
11
+ "const": "0.2.0"
12
+ },
13
+ "id": {
14
+ "$ref": "#/$defs/__schema0"
15
+ },
16
+ "contextRefs": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "documentId": {
22
+ "$ref": "#/$defs/__schema1"
23
+ },
24
+ "schemaId": {
25
+ "type": "string",
26
+ "const": "urn:disclosureos:experimental:observation-context:0.1.0"
27
+ },
28
+ "sha256": {
29
+ "$ref": "#/$defs/__schema3"
30
+ }
31
+ },
32
+ "required": [
33
+ "documentId",
34
+ "schemaId",
35
+ "sha256"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ "observation": {
41
+ "type": "object",
42
+ "properties": {
43
+ "kind": {
44
+ "type": "string",
45
+ "const": "observation"
46
+ },
47
+ "schemaVersion": {
48
+ "type": "string",
49
+ "const": "0.1.0"
50
+ },
51
+ "id": {
52
+ "$ref": "#/$defs/__schema4"
53
+ },
54
+ "status": {
55
+ "type": "string",
56
+ "enum": [
57
+ "draft",
58
+ "published",
59
+ "withdrawn"
60
+ ]
61
+ },
62
+ "createdAt": {
63
+ "$ref": "#/$defs/__schema5"
64
+ },
65
+ "updatedAt": {
66
+ "$ref": "#/$defs/__schema5"
67
+ },
68
+ "summary": {
69
+ "$ref": "#/$defs/__schema6"
70
+ },
71
+ "eventTime": {
72
+ "oneOf": [
73
+ {
74
+ "type": "object",
75
+ "properties": {
76
+ "state": {
77
+ "type": "string",
78
+ "const": "known"
79
+ },
80
+ "value": {
81
+ "$ref": "#/$defs/__schema7"
82
+ },
83
+ "sourceRefs": {
84
+ "$ref": "#/$defs/__schema9"
85
+ },
86
+ "selection": {
87
+ "$ref": "#/$defs/__schema11"
88
+ },
89
+ "uncertainty": {
90
+ "$ref": "#/$defs/__schema14"
91
+ }
92
+ },
93
+ "required": [
94
+ "state",
95
+ "value",
96
+ "sourceRefs"
97
+ ],
98
+ "additionalProperties": false
99
+ },
100
+ {
101
+ "type": "object",
102
+ "properties": {
103
+ "state": {
104
+ "type": "string",
105
+ "const": "approximate"
106
+ },
107
+ "value": {
108
+ "$ref": "#/$defs/__schema7"
109
+ },
110
+ "sourceRefs": {
111
+ "$ref": "#/$defs/__schema9"
112
+ },
113
+ "selection": {
114
+ "$ref": "#/$defs/__schema11"
115
+ },
116
+ "precision": {
117
+ "$ref": "#/$defs/__schema6"
118
+ },
119
+ "uncertainty": {
120
+ "$ref": "#/$defs/__schema14"
121
+ }
122
+ },
123
+ "required": [
124
+ "state",
125
+ "value",
126
+ "sourceRefs",
127
+ "precision"
128
+ ],
129
+ "additionalProperties": false
130
+ },
131
+ {
132
+ "type": "object",
133
+ "properties": {
134
+ "state": {
135
+ "type": "string",
136
+ "const": "unknown"
137
+ },
138
+ "reason": {
139
+ "type": "string",
140
+ "enum": [
141
+ "not_recorded",
142
+ "not_collected",
143
+ "unavailable"
144
+ ]
145
+ }
146
+ },
147
+ "required": [
148
+ "state",
149
+ "reason"
150
+ ],
151
+ "additionalProperties": false
152
+ },
153
+ {
154
+ "type": "object",
155
+ "properties": {
156
+ "state": {
157
+ "type": "string",
158
+ "const": "redacted"
159
+ },
160
+ "reason": {
161
+ "$ref": "#/$defs/__schema6"
162
+ }
163
+ },
164
+ "required": [
165
+ "state",
166
+ "reason"
167
+ ],
168
+ "additionalProperties": false
169
+ }
170
+ ]
171
+ },
172
+ "position": {
173
+ "oneOf": [
174
+ {
175
+ "type": "object",
176
+ "properties": {
177
+ "state": {
178
+ "type": "string",
179
+ "const": "known"
180
+ },
181
+ "value": {
182
+ "$ref": "#/$defs/__schema18"
183
+ },
184
+ "sourceRefs": {
185
+ "$ref": "#/$defs/__schema9"
186
+ },
187
+ "selection": {
188
+ "$ref": "#/$defs/__schema11"
189
+ }
190
+ },
191
+ "required": [
192
+ "state",
193
+ "value",
194
+ "sourceRefs"
195
+ ],
196
+ "additionalProperties": false
197
+ },
198
+ {
199
+ "type": "object",
200
+ "properties": {
201
+ "state": {
202
+ "type": "string",
203
+ "const": "approximate"
204
+ },
205
+ "value": {
206
+ "$ref": "#/$defs/__schema18"
207
+ },
208
+ "sourceRefs": {
209
+ "$ref": "#/$defs/__schema9"
210
+ },
211
+ "selection": {
212
+ "$ref": "#/$defs/__schema11"
213
+ },
214
+ "precision": {
215
+ "$ref": "#/$defs/__schema6"
216
+ }
217
+ },
218
+ "required": [
219
+ "state",
220
+ "value",
221
+ "sourceRefs",
222
+ "precision"
223
+ ],
224
+ "additionalProperties": false
225
+ },
226
+ {
227
+ "type": "object",
228
+ "properties": {
229
+ "state": {
230
+ "type": "string",
231
+ "const": "unknown"
232
+ },
233
+ "reason": {
234
+ "type": "string",
235
+ "enum": [
236
+ "not_recorded",
237
+ "not_collected",
238
+ "unavailable"
239
+ ]
240
+ }
241
+ },
242
+ "required": [
243
+ "state",
244
+ "reason"
245
+ ],
246
+ "additionalProperties": false
247
+ },
248
+ {
249
+ "type": "object",
250
+ "properties": {
251
+ "state": {
252
+ "type": "string",
253
+ "const": "redacted"
254
+ },
255
+ "reason": {
256
+ "$ref": "#/$defs/__schema6"
257
+ }
258
+ },
259
+ "required": [
260
+ "state",
261
+ "reason"
262
+ ],
263
+ "additionalProperties": false
264
+ }
265
+ ]
266
+ },
267
+ "sources": {
268
+ "type": "array",
269
+ "items": {
270
+ "type": "object",
271
+ "properties": {
272
+ "id": {
273
+ "$ref": "#/$defs/__schema4"
274
+ },
275
+ "kind": {
276
+ "type": "string",
277
+ "enum": [
278
+ "document",
279
+ "testimony",
280
+ "instrument_data",
281
+ "other",
282
+ "unknown"
283
+ ]
284
+ },
285
+ "access": {
286
+ "$ref": "#/$defs/__schema20"
287
+ },
288
+ "title": {
289
+ "$ref": "#/$defs/__schema6"
290
+ },
291
+ "uri": {
292
+ "type": "string",
293
+ "format": "uri"
294
+ },
295
+ "digest": {
296
+ "$ref": "#/$defs/__schema21"
297
+ }
298
+ },
299
+ "required": [
300
+ "id",
301
+ "kind",
302
+ "access"
303
+ ],
304
+ "additionalProperties": false
305
+ }
306
+ },
307
+ "products": {
308
+ "type": "array",
309
+ "items": {
310
+ "oneOf": [
311
+ {
312
+ "type": "object",
313
+ "properties": {
314
+ "id": {
315
+ "$ref": "#/$defs/__schema4"
316
+ },
317
+ "format": {
318
+ "$ref": "#/$defs/__schema6"
319
+ },
320
+ "access": {
321
+ "$ref": "#/$defs/__schema20"
322
+ },
323
+ "uri": {
324
+ "$ref": "#/$defs/__schema22"
325
+ },
326
+ "digest": {
327
+ "$ref": "#/$defs/__schema23"
328
+ },
329
+ "kind": {
330
+ "type": "string",
331
+ "const": "raw"
332
+ },
333
+ "sourceRefs": {
334
+ "minItems": 1,
335
+ "type": "array",
336
+ "items": {
337
+ "$ref": "#/$defs/__schema24"
338
+ }
339
+ }
340
+ },
341
+ "required": [
342
+ "id",
343
+ "format",
344
+ "access",
345
+ "kind",
346
+ "sourceRefs"
347
+ ],
348
+ "additionalProperties": false
349
+ },
350
+ {
351
+ "type": "object",
352
+ "properties": {
353
+ "id": {
354
+ "$ref": "#/$defs/__schema4"
355
+ },
356
+ "format": {
357
+ "$ref": "#/$defs/__schema6"
358
+ },
359
+ "access": {
360
+ "$ref": "#/$defs/__schema20"
361
+ },
362
+ "uri": {
363
+ "$ref": "#/$defs/__schema22"
364
+ },
365
+ "digest": {
366
+ "$ref": "#/$defs/__schema23"
367
+ },
368
+ "kind": {
369
+ "type": "string",
370
+ "const": "derived"
371
+ },
372
+ "generatedBy": {
373
+ "type": "string",
374
+ "pattern": "^(?:process):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
375
+ }
376
+ },
377
+ "required": [
378
+ "id",
379
+ "format",
380
+ "access",
381
+ "kind",
382
+ "generatedBy"
383
+ ],
384
+ "additionalProperties": false
385
+ }
386
+ ]
387
+ }
388
+ },
389
+ "methods": {
390
+ "type": "array",
391
+ "items": {
392
+ "type": "object",
393
+ "properties": {
394
+ "id": {
395
+ "$ref": "#/$defs/__schema4"
396
+ },
397
+ "version": {
398
+ "$ref": "#/$defs/__schema6"
399
+ },
400
+ "description": {
401
+ "$ref": "#/$defs/__schema6"
402
+ },
403
+ "uri": {
404
+ "type": "string",
405
+ "format": "uri"
406
+ }
407
+ },
408
+ "required": [
409
+ "id",
410
+ "version"
411
+ ],
412
+ "additionalProperties": false
413
+ }
414
+ },
415
+ "frames": {
416
+ "type": "array",
417
+ "items": {
418
+ "oneOf": [
419
+ {
420
+ "type": "object",
421
+ "properties": {
422
+ "id": {
423
+ "$ref": "#/$defs/__schema4"
424
+ },
425
+ "kind": {
426
+ "type": "string",
427
+ "const": "geodetic"
428
+ },
429
+ "definition": {
430
+ "$ref": "#/$defs/__schema25"
431
+ },
432
+ "angularUnit": {
433
+ "type": "string",
434
+ "const": "deg"
435
+ },
436
+ "vertical": {
437
+ "type": "object",
438
+ "properties": {
439
+ "definition": {
440
+ "$ref": "#/$defs/__schema25"
441
+ },
442
+ "unit": {
443
+ "$ref": "#/$defs/__schema6"
444
+ }
445
+ },
446
+ "required": [
447
+ "definition",
448
+ "unit"
449
+ ],
450
+ "additionalProperties": false
451
+ }
452
+ },
453
+ "required": [
454
+ "id",
455
+ "kind",
456
+ "definition",
457
+ "angularUnit"
458
+ ],
459
+ "additionalProperties": false
460
+ },
461
+ {
462
+ "type": "object",
463
+ "properties": {
464
+ "id": {
465
+ "$ref": "#/$defs/__schema4"
466
+ },
467
+ "kind": {
468
+ "type": "string",
469
+ "const": "cartesian"
470
+ },
471
+ "definition": {
472
+ "$ref": "#/$defs/__schema25"
473
+ },
474
+ "unit": {
475
+ "$ref": "#/$defs/__schema6"
476
+ }
477
+ },
478
+ "required": [
479
+ "id",
480
+ "kind",
481
+ "definition",
482
+ "unit"
483
+ ],
484
+ "additionalProperties": false
485
+ }
486
+ ]
487
+ }
488
+ },
489
+ "assertions": {
490
+ "type": "array",
491
+ "items": {
492
+ "oneOf": [
493
+ {
494
+ "type": "object",
495
+ "properties": {
496
+ "id": {
497
+ "$ref": "#/$defs/__schema4"
498
+ },
499
+ "field": {
500
+ "type": "string",
501
+ "const": "eventTime"
502
+ },
503
+ "value": {
504
+ "$ref": "#/$defs/__schema7"
505
+ },
506
+ "provenance": {
507
+ "$ref": "#/$defs/__schema26"
508
+ }
509
+ },
510
+ "required": [
511
+ "id",
512
+ "field",
513
+ "value",
514
+ "provenance"
515
+ ],
516
+ "additionalProperties": false
517
+ },
518
+ {
519
+ "type": "object",
520
+ "properties": {
521
+ "id": {
522
+ "$ref": "#/$defs/__schema4"
523
+ },
524
+ "field": {
525
+ "type": "string",
526
+ "const": "position"
527
+ },
528
+ "value": {
529
+ "$ref": "#/$defs/__schema18"
530
+ },
531
+ "provenance": {
532
+ "$ref": "#/$defs/__schema26"
533
+ }
534
+ },
535
+ "required": [
536
+ "id",
537
+ "field",
538
+ "value",
539
+ "provenance"
540
+ ],
541
+ "additionalProperties": false
542
+ },
543
+ {
544
+ "type": "object",
545
+ "properties": {
546
+ "id": {
547
+ "$ref": "#/$defs/__schema4"
548
+ },
549
+ "field": {
550
+ "type": "string",
551
+ "const": "measurement"
552
+ },
553
+ "measurementId": {
554
+ "$ref": "#/$defs/__schema4"
555
+ },
556
+ "value": {
557
+ "$ref": "#/$defs/__schema19"
558
+ },
559
+ "provenance": {
560
+ "$ref": "#/$defs/__schema26"
561
+ }
562
+ },
563
+ "required": [
564
+ "id",
565
+ "field",
566
+ "measurementId",
567
+ "value",
568
+ "provenance"
569
+ ],
570
+ "additionalProperties": false
571
+ }
572
+ ]
573
+ }
574
+ },
575
+ "measurements": {
576
+ "type": "array",
577
+ "items": {
578
+ "type": "object",
579
+ "properties": {
580
+ "id": {
581
+ "$ref": "#/$defs/__schema4"
582
+ },
583
+ "quantity": {
584
+ "$ref": "#/$defs/__schema6"
585
+ },
586
+ "value": {
587
+ "$ref": "#/$defs/__schema19"
588
+ },
589
+ "sourceRefs": {
590
+ "$ref": "#/$defs/__schema9"
591
+ },
592
+ "frameRef": {
593
+ "type": "string",
594
+ "pattern": "^(?:frame):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
595
+ },
596
+ "selection": {
597
+ "$ref": "#/$defs/__schema11"
598
+ }
599
+ },
600
+ "required": [
601
+ "id",
602
+ "quantity",
603
+ "value",
604
+ "sourceRefs"
605
+ ],
606
+ "additionalProperties": false
607
+ }
608
+ },
609
+ "processing": {
610
+ "type": "array",
611
+ "items": {
612
+ "type": "object",
613
+ "properties": {
614
+ "id": {
615
+ "$ref": "#/$defs/__schema4"
616
+ },
617
+ "methodRef": {
618
+ "type": "string",
619
+ "pattern": "^(?:method):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
620
+ },
621
+ "methodVersion": {
622
+ "$ref": "#/$defs/__schema6"
623
+ },
624
+ "performedBy": {
625
+ "$ref": "#/$defs/__schema6"
626
+ },
627
+ "performedAt": {
628
+ "$ref": "#/$defs/__schema5"
629
+ },
630
+ "inputRefs": {
631
+ "minItems": 1,
632
+ "type": "array",
633
+ "items": {
634
+ "$ref": "#/$defs/__schema10"
635
+ }
636
+ },
637
+ "outputRefs": {
638
+ "minItems": 1,
639
+ "type": "array",
640
+ "items": {
641
+ "$ref": "#/$defs/__schema27"
642
+ }
643
+ }
644
+ },
645
+ "required": [
646
+ "id",
647
+ "methodRef",
648
+ "methodVersion",
649
+ "performedBy",
650
+ "performedAt",
651
+ "inputRefs",
652
+ "outputRefs"
653
+ ],
654
+ "additionalProperties": false
655
+ }
656
+ },
657
+ "extensions": {
658
+ "$ref": "#/$defs/__schema28"
659
+ }
660
+ },
661
+ "required": [
662
+ "kind",
663
+ "schemaVersion",
664
+ "id",
665
+ "status",
666
+ "createdAt",
667
+ "updatedAt",
668
+ "eventTime",
669
+ "position",
670
+ "sources",
671
+ "products",
672
+ "methods",
673
+ "frames",
674
+ "assertions",
675
+ "measurements",
676
+ "processing"
677
+ ],
678
+ "additionalProperties": false
679
+ },
680
+ "claims": {
681
+ "type": "array",
682
+ "items": {
683
+ "anyOf": [
684
+ {
685
+ "type": "object",
686
+ "properties": {
687
+ "id": {
688
+ "$ref": "#/$defs/__schema0"
689
+ },
690
+ "recordedAt": {
691
+ "$ref": "#/$defs/__schema5"
692
+ },
693
+ "topic": {
694
+ "$ref": "#/$defs/__schema30"
695
+ },
696
+ "subject": {
697
+ "$ref": "#/$defs/__schema31"
698
+ },
699
+ "supersedes": {
700
+ "$ref": "#/$defs/__schema34"
701
+ },
702
+ "kind": {
703
+ "type": "string",
704
+ "const": "source_assertion"
705
+ },
706
+ "text": {
707
+ "$ref": "#/$defs/__schema30"
708
+ },
709
+ "reportedLevel": {
710
+ "$ref": "#/$defs/__schema30"
711
+ },
712
+ "provenance": {
713
+ "$ref": "#/$defs/__schema26"
714
+ }
715
+ },
716
+ "required": [
717
+ "id",
718
+ "recordedAt",
719
+ "topic",
720
+ "subject",
721
+ "kind",
722
+ "text",
723
+ "provenance"
724
+ ],
725
+ "additionalProperties": false
726
+ },
727
+ {
728
+ "type": "object",
729
+ "properties": {
730
+ "id": {
731
+ "$ref": "#/$defs/__schema0"
732
+ },
733
+ "recordedAt": {
734
+ "$ref": "#/$defs/__schema5"
735
+ },
736
+ "topic": {
737
+ "$ref": "#/$defs/__schema30"
738
+ },
739
+ "subject": {
740
+ "$ref": "#/$defs/__schema31"
741
+ },
742
+ "supersedes": {
743
+ "$ref": "#/$defs/__schema34"
744
+ },
745
+ "kind": {
746
+ "$ref": "#/$defs/__schema36"
747
+ },
748
+ "inputRefs": {
749
+ "$ref": "#/$defs/__schema37"
750
+ },
751
+ "contextInputRefs": {
752
+ "$ref": "#/$defs/__schema38"
753
+ },
754
+ "rationale": {
755
+ "$ref": "#/$defs/__schema30"
756
+ },
757
+ "status": {
758
+ "type": "string",
759
+ "const": "unassessed"
760
+ }
761
+ },
762
+ "required": [
763
+ "id",
764
+ "recordedAt",
765
+ "topic",
766
+ "subject",
767
+ "kind",
768
+ "inputRefs",
769
+ "rationale",
770
+ "status"
771
+ ],
772
+ "additionalProperties": false
773
+ },
774
+ {
775
+ "type": "object",
776
+ "properties": {
777
+ "id": {
778
+ "$ref": "#/$defs/__schema0"
779
+ },
780
+ "recordedAt": {
781
+ "$ref": "#/$defs/__schema5"
782
+ },
783
+ "topic": {
784
+ "$ref": "#/$defs/__schema30"
785
+ },
786
+ "subject": {
787
+ "$ref": "#/$defs/__schema31"
788
+ },
789
+ "supersedes": {
790
+ "$ref": "#/$defs/__schema34"
791
+ },
792
+ "kind": {
793
+ "$ref": "#/$defs/__schema36"
794
+ },
795
+ "inputRefs": {
796
+ "$ref": "#/$defs/__schema37"
797
+ },
798
+ "contextInputRefs": {
799
+ "$ref": "#/$defs/__schema38"
800
+ },
801
+ "rationale": {
802
+ "$ref": "#/$defs/__schema30"
803
+ },
804
+ "status": {
805
+ "type": "string",
806
+ "const": "assessed"
807
+ },
808
+ "outcome": {
809
+ "type": "string",
810
+ "enum": [
811
+ "reported",
812
+ "confirmed",
813
+ "absent",
814
+ "inconclusive"
815
+ ]
816
+ },
817
+ "evaluatedBy": {
818
+ "$ref": "#/$defs/__schema30"
819
+ },
820
+ "evaluatedAt": {
821
+ "$ref": "#/$defs/__schema5"
822
+ },
823
+ "methodRef": {
824
+ "type": "string",
825
+ "pattern": "^method:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
826
+ },
827
+ "methodVersion": {
828
+ "$ref": "#/$defs/__schema30"
829
+ },
830
+ "confidence": {
831
+ "type": "number",
832
+ "minimum": 0,
833
+ "maximum": 1
834
+ }
835
+ },
836
+ "required": [
837
+ "id",
838
+ "recordedAt",
839
+ "topic",
840
+ "subject",
841
+ "kind",
842
+ "inputRefs",
843
+ "rationale",
844
+ "status",
845
+ "outcome",
846
+ "evaluatedBy",
847
+ "evaluatedAt",
848
+ "methodRef",
849
+ "methodVersion"
850
+ ],
851
+ "additionalProperties": false
852
+ }
853
+ ]
854
+ }
855
+ },
856
+ "extensions": {
857
+ "$ref": "#/$defs/__schema28"
858
+ }
859
+ },
860
+ "required": [
861
+ "kind",
862
+ "schemaVersion",
863
+ "id",
864
+ "contextRefs",
865
+ "observation",
866
+ "claims"
867
+ ],
868
+ "additionalProperties": false,
869
+ "$defs": {
870
+ "__schema0": {
871
+ "type": "string",
872
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
873
+ },
874
+ "__schema1": {
875
+ "description": "ID inside the supplied document; not a URL.",
876
+ "$ref": "#/$defs/__schema2"
877
+ },
878
+ "__schema2": {
879
+ "type": "string",
880
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
881
+ },
882
+ "__schema3": {
883
+ "type": "string",
884
+ "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
885
+ "description": "SHA-256 of exact supplied document bytes."
886
+ },
887
+ "__schema4": {
888
+ "type": "string",
889
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
890
+ },
891
+ "__schema5": {
892
+ "type": "string",
893
+ "allOf": [
894
+ {
895
+ "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+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
896
+ },
897
+ {
898
+ "pattern": "^(?!0000)"
899
+ },
900
+ {
901
+ "pattern": "T[0-9]{2}:[0-9]{2}:[0-9]{2}"
902
+ },
903
+ {
904
+ "pattern": "(?:Z|[+-][0-9]{2}:[0-9]{2})(?![\\s\\S])"
905
+ }
906
+ ]
907
+ },
908
+ "__schema6": {
909
+ "type": "string",
910
+ "minLength": 1,
911
+ "pattern": "\\S"
912
+ },
913
+ "__schema7": {
914
+ "anyOf": [
915
+ {
916
+ "$ref": "#/$defs/__schema8"
917
+ },
918
+ {
919
+ "type": "object",
920
+ "properties": {
921
+ "kind": {
922
+ "type": "string",
923
+ "const": "interval"
924
+ },
925
+ "start": {
926
+ "$ref": "#/$defs/__schema8"
927
+ },
928
+ "end": {
929
+ "$ref": "#/$defs/__schema8"
930
+ }
931
+ },
932
+ "required": [
933
+ "kind",
934
+ "start",
935
+ "end"
936
+ ],
937
+ "additionalProperties": false
938
+ }
939
+ ]
940
+ },
941
+ "__schema8": {
942
+ "oneOf": [
943
+ {
944
+ "type": "object",
945
+ "properties": {
946
+ "kind": {
947
+ "type": "string",
948
+ "const": "year"
949
+ },
950
+ "value": {
951
+ "type": "string",
952
+ "pattern": "^(?!0000)[0-9]{4}$"
953
+ }
954
+ },
955
+ "required": [
956
+ "kind",
957
+ "value"
958
+ ],
959
+ "additionalProperties": false
960
+ },
961
+ {
962
+ "type": "object",
963
+ "properties": {
964
+ "kind": {
965
+ "type": "string",
966
+ "const": "month"
967
+ },
968
+ "value": {
969
+ "type": "string",
970
+ "pattern": "^(?!0000)[0-9]{4}-(0[1-9]|1[0-2])$"
971
+ }
972
+ },
973
+ "required": [
974
+ "kind",
975
+ "value"
976
+ ],
977
+ "additionalProperties": false
978
+ },
979
+ {
980
+ "type": "object",
981
+ "properties": {
982
+ "kind": {
983
+ "type": "string",
984
+ "const": "date"
985
+ },
986
+ "value": {
987
+ "type": "string",
988
+ "allOf": [
989
+ {
990
+ "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])))$"
991
+ },
992
+ {
993
+ "pattern": "^(?!0000)"
994
+ }
995
+ ]
996
+ }
997
+ },
998
+ "required": [
999
+ "kind",
1000
+ "value"
1001
+ ],
1002
+ "additionalProperties": false
1003
+ },
1004
+ {
1005
+ "type": "object",
1006
+ "properties": {
1007
+ "kind": {
1008
+ "type": "string",
1009
+ "const": "instant"
1010
+ },
1011
+ "value": {
1012
+ "$ref": "#/$defs/__schema5"
1013
+ },
1014
+ "timeScale": {
1015
+ "type": "string",
1016
+ "const": "UTC"
1017
+ }
1018
+ },
1019
+ "required": [
1020
+ "kind",
1021
+ "value",
1022
+ "timeScale"
1023
+ ],
1024
+ "additionalProperties": false
1025
+ }
1026
+ ]
1027
+ },
1028
+ "__schema9": {
1029
+ "minItems": 1,
1030
+ "type": "array",
1031
+ "items": {
1032
+ "$ref": "#/$defs/__schema10"
1033
+ }
1034
+ },
1035
+ "__schema10": {
1036
+ "type": "string",
1037
+ "pattern": "^(?:source|product|assertion):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1038
+ },
1039
+ "__schema11": {
1040
+ "type": "object",
1041
+ "properties": {
1042
+ "assertionRef": {
1043
+ "$ref": "#/$defs/__schema12"
1044
+ },
1045
+ "consideredAssertionRefs": {
1046
+ "minItems": 1,
1047
+ "type": "array",
1048
+ "items": {
1049
+ "$ref": "#/$defs/__schema12"
1050
+ }
1051
+ },
1052
+ "methodRef": {
1053
+ "type": "string",
1054
+ "pattern": "^method:[^\\s:]+(?![\\s\\S])"
1055
+ },
1056
+ "methodVersion": {
1057
+ "$ref": "#/$defs/__schema13"
1058
+ },
1059
+ "evaluatedBy": {
1060
+ "$ref": "#/$defs/__schema13"
1061
+ },
1062
+ "evaluatedAt": {
1063
+ "$ref": "#/$defs/__schema5"
1064
+ },
1065
+ "rationale": {
1066
+ "$ref": "#/$defs/__schema13"
1067
+ }
1068
+ },
1069
+ "required": [
1070
+ "assertionRef",
1071
+ "consideredAssertionRefs",
1072
+ "methodRef",
1073
+ "methodVersion",
1074
+ "evaluatedBy",
1075
+ "evaluatedAt",
1076
+ "rationale"
1077
+ ],
1078
+ "additionalProperties": false
1079
+ },
1080
+ "__schema12": {
1081
+ "type": "string",
1082
+ "pattern": "^assertion:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1083
+ },
1084
+ "__schema13": {
1085
+ "type": "string",
1086
+ "minLength": 1,
1087
+ "pattern": "\\S"
1088
+ },
1089
+ "__schema14": {
1090
+ "oneOf": [
1091
+ {
1092
+ "type": "object",
1093
+ "properties": {
1094
+ "kind": {
1095
+ "type": "string",
1096
+ "const": "unknown"
1097
+ },
1098
+ "reason": {
1099
+ "type": "string",
1100
+ "enum": [
1101
+ "not_reported",
1102
+ "not_characterized",
1103
+ "unavailable"
1104
+ ]
1105
+ }
1106
+ },
1107
+ "required": [
1108
+ "kind",
1109
+ "reason"
1110
+ ],
1111
+ "additionalProperties": false
1112
+ },
1113
+ {
1114
+ "type": "object",
1115
+ "properties": {
1116
+ "kind": {
1117
+ "type": "string",
1118
+ "const": "standard"
1119
+ },
1120
+ "magnitude": {
1121
+ "$ref": "#/$defs/__schema15"
1122
+ },
1123
+ "unit": {
1124
+ "$ref": "#/$defs/__schema6"
1125
+ },
1126
+ "sourceRefs": {
1127
+ "$ref": "#/$defs/__schema16"
1128
+ }
1129
+ },
1130
+ "required": [
1131
+ "kind",
1132
+ "magnitude",
1133
+ "unit",
1134
+ "sourceRefs"
1135
+ ],
1136
+ "additionalProperties": false
1137
+ },
1138
+ {
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "kind": {
1142
+ "type": "string",
1143
+ "const": "expanded"
1144
+ },
1145
+ "magnitude": {
1146
+ "$ref": "#/$defs/__schema15"
1147
+ },
1148
+ "unit": {
1149
+ "$ref": "#/$defs/__schema6"
1150
+ },
1151
+ "sourceRefs": {
1152
+ "$ref": "#/$defs/__schema16"
1153
+ },
1154
+ "coverageFactor": {
1155
+ "type": "number",
1156
+ "exclusiveMinimum": 0
1157
+ },
1158
+ "coverageProbability": {
1159
+ "type": "number",
1160
+ "exclusiveMinimum": 0,
1161
+ "maximum": 1
1162
+ }
1163
+ },
1164
+ "required": [
1165
+ "kind",
1166
+ "magnitude",
1167
+ "unit",
1168
+ "sourceRefs",
1169
+ "coverageFactor"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ },
1173
+ {
1174
+ "type": "object",
1175
+ "properties": {
1176
+ "kind": {
1177
+ "type": "string",
1178
+ "const": "bound"
1179
+ },
1180
+ "magnitude": {
1181
+ "$ref": "#/$defs/__schema15"
1182
+ },
1183
+ "unit": {
1184
+ "$ref": "#/$defs/__schema6"
1185
+ },
1186
+ "sourceRefs": {
1187
+ "$ref": "#/$defs/__schema16"
1188
+ }
1189
+ },
1190
+ "required": [
1191
+ "kind",
1192
+ "magnitude",
1193
+ "unit",
1194
+ "sourceRefs"
1195
+ ],
1196
+ "additionalProperties": false
1197
+ }
1198
+ ]
1199
+ },
1200
+ "__schema15": {
1201
+ "type": "number",
1202
+ "minimum": 0
1203
+ },
1204
+ "__schema16": {
1205
+ "minItems": 1,
1206
+ "type": "array",
1207
+ "items": {
1208
+ "$ref": "#/$defs/__schema17"
1209
+ }
1210
+ },
1211
+ "__schema17": {
1212
+ "type": "string",
1213
+ "pattern": "^(?:source|product):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1214
+ },
1215
+ "__schema18": {
1216
+ "oneOf": [
1217
+ {
1218
+ "type": "object",
1219
+ "properties": {
1220
+ "latitude": {
1221
+ "type": "number",
1222
+ "minimum": -90,
1223
+ "maximum": 90
1224
+ },
1225
+ "longitude": {
1226
+ "type": "number",
1227
+ "minimum": -180,
1228
+ "maximum": 180
1229
+ },
1230
+ "kind": {
1231
+ "type": "string",
1232
+ "const": "geodetic"
1233
+ },
1234
+ "frameRef": {
1235
+ "type": "string",
1236
+ "pattern": "^(?:frame):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1237
+ },
1238
+ "altitude": {
1239
+ "$ref": "#/$defs/__schema19"
1240
+ },
1241
+ "uncertainty": {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "latitude": {
1245
+ "$ref": "#/$defs/__schema14"
1246
+ },
1247
+ "longitude": {
1248
+ "$ref": "#/$defs/__schema14"
1249
+ }
1250
+ },
1251
+ "required": [
1252
+ "latitude",
1253
+ "longitude"
1254
+ ],
1255
+ "additionalProperties": false
1256
+ }
1257
+ },
1258
+ "required": [
1259
+ "latitude",
1260
+ "longitude",
1261
+ "kind",
1262
+ "frameRef"
1263
+ ],
1264
+ "additionalProperties": false
1265
+ },
1266
+ {
1267
+ "type": "object",
1268
+ "properties": {
1269
+ "kind": {
1270
+ "type": "string",
1271
+ "const": "cartesian"
1272
+ },
1273
+ "frameRef": {
1274
+ "type": "string",
1275
+ "pattern": "^(?:frame):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1276
+ },
1277
+ "x": {
1278
+ "$ref": "#/$defs/__schema19"
1279
+ },
1280
+ "y": {
1281
+ "$ref": "#/$defs/__schema19"
1282
+ },
1283
+ "z": {
1284
+ "$ref": "#/$defs/__schema19"
1285
+ }
1286
+ },
1287
+ "required": [
1288
+ "kind",
1289
+ "frameRef",
1290
+ "x",
1291
+ "y",
1292
+ "z"
1293
+ ],
1294
+ "additionalProperties": false
1295
+ }
1296
+ ]
1297
+ },
1298
+ "__schema19": {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "value": {
1302
+ "type": "number"
1303
+ },
1304
+ "unit": {
1305
+ "$ref": "#/$defs/__schema6"
1306
+ },
1307
+ "uncertainty": {
1308
+ "$ref": "#/$defs/__schema14"
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "value",
1313
+ "unit",
1314
+ "uncertainty"
1315
+ ],
1316
+ "additionalProperties": false
1317
+ },
1318
+ "__schema20": {
1319
+ "type": "string",
1320
+ "enum": [
1321
+ "public",
1322
+ "restricted",
1323
+ "withheld",
1324
+ "unknown"
1325
+ ]
1326
+ },
1327
+ "__schema21": {
1328
+ "type": "object",
1329
+ "properties": {
1330
+ "algorithm": {
1331
+ "type": "string",
1332
+ "const": "sha256"
1333
+ },
1334
+ "value": {
1335
+ "type": "string",
1336
+ "pattern": "^[a-f0-9]{64}(?![\\s\\S])"
1337
+ }
1338
+ },
1339
+ "required": [
1340
+ "algorithm",
1341
+ "value"
1342
+ ],
1343
+ "additionalProperties": false
1344
+ },
1345
+ "__schema22": {
1346
+ "type": "string",
1347
+ "format": "uri"
1348
+ },
1349
+ "__schema23": {
1350
+ "$ref": "#/$defs/__schema21"
1351
+ },
1352
+ "__schema24": {
1353
+ "type": "string",
1354
+ "pattern": "^(?:source):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1355
+ },
1356
+ "__schema25": {
1357
+ "oneOf": [
1358
+ {
1359
+ "type": "object",
1360
+ "properties": {
1361
+ "state": {
1362
+ "type": "string",
1363
+ "const": "identified"
1364
+ },
1365
+ "authority": {
1366
+ "$ref": "#/$defs/__schema6"
1367
+ },
1368
+ "code": {
1369
+ "$ref": "#/$defs/__schema6"
1370
+ },
1371
+ "revision": {
1372
+ "$ref": "#/$defs/__schema6"
1373
+ }
1374
+ },
1375
+ "required": [
1376
+ "state",
1377
+ "authority",
1378
+ "code"
1379
+ ],
1380
+ "additionalProperties": false
1381
+ },
1382
+ {
1383
+ "type": "object",
1384
+ "properties": {
1385
+ "state": {
1386
+ "type": "string",
1387
+ "const": "described"
1388
+ },
1389
+ "description": {
1390
+ "$ref": "#/$defs/__schema6"
1391
+ }
1392
+ },
1393
+ "required": [
1394
+ "state",
1395
+ "description"
1396
+ ],
1397
+ "additionalProperties": false
1398
+ },
1399
+ {
1400
+ "type": "object",
1401
+ "properties": {
1402
+ "state": {
1403
+ "type": "string",
1404
+ "const": "unknown"
1405
+ },
1406
+ "reason": {
1407
+ "$ref": "#/$defs/__schema6"
1408
+ }
1409
+ },
1410
+ "required": [
1411
+ "state",
1412
+ "reason"
1413
+ ],
1414
+ "additionalProperties": false
1415
+ }
1416
+ ]
1417
+ },
1418
+ "__schema26": {
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "sourceRef": {
1422
+ "$ref": "#/$defs/__schema17"
1423
+ },
1424
+ "sourceDigest": {
1425
+ "$ref": "#/$defs/__schema21"
1426
+ },
1427
+ "locator": {
1428
+ "oneOf": [
1429
+ {
1430
+ "type": "object",
1431
+ "properties": {
1432
+ "kind": {
1433
+ "type": "string",
1434
+ "const": "page"
1435
+ },
1436
+ "page": {
1437
+ "type": "integer",
1438
+ "minimum": 1,
1439
+ "maximum": 9007199254740991
1440
+ }
1441
+ },
1442
+ "required": [
1443
+ "kind",
1444
+ "page"
1445
+ ],
1446
+ "additionalProperties": false
1447
+ },
1448
+ {
1449
+ "type": "object",
1450
+ "properties": {
1451
+ "kind": {
1452
+ "type": "string",
1453
+ "const": "time_range"
1454
+ },
1455
+ "startSeconds": {
1456
+ "type": "number",
1457
+ "minimum": 0
1458
+ },
1459
+ "endSeconds": {
1460
+ "type": "number",
1461
+ "minimum": 0
1462
+ }
1463
+ },
1464
+ "required": [
1465
+ "kind",
1466
+ "startSeconds",
1467
+ "endSeconds"
1468
+ ],
1469
+ "additionalProperties": false
1470
+ },
1471
+ {
1472
+ "type": "object",
1473
+ "properties": {
1474
+ "kind": {
1475
+ "type": "string",
1476
+ "const": "json_pointer"
1477
+ },
1478
+ "pointer": {
1479
+ "type": "string",
1480
+ "pattern": "^(?:\\/(?:[^~]|~[01])*)?(?![\\s\\S])"
1481
+ }
1482
+ },
1483
+ "required": [
1484
+ "kind",
1485
+ "pointer"
1486
+ ],
1487
+ "additionalProperties": false
1488
+ }
1489
+ ]
1490
+ },
1491
+ "attributedTo": {
1492
+ "$ref": "#/$defs/__schema13"
1493
+ },
1494
+ "extractedBy": {
1495
+ "$ref": "#/$defs/__schema13"
1496
+ }
1497
+ },
1498
+ "required": [
1499
+ "sourceRef"
1500
+ ],
1501
+ "additionalProperties": false
1502
+ },
1503
+ "__schema27": {
1504
+ "type": "string",
1505
+ "pattern": "^(?:product):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1506
+ },
1507
+ "__schema28": {
1508
+ "type": "object",
1509
+ "propertyNames": {
1510
+ "type": "string",
1511
+ "pattern": "^[a-z][a-z0-9_-]*(?:\\.[a-z0-9_-]+)+(?![\\s\\S])"
1512
+ },
1513
+ "additionalProperties": {
1514
+ "$ref": "#/$defs/__schema29"
1515
+ }
1516
+ },
1517
+ "__schema29": {
1518
+ "anyOf": [
1519
+ {
1520
+ "type": "string"
1521
+ },
1522
+ {
1523
+ "type": "number"
1524
+ },
1525
+ {
1526
+ "type": "boolean"
1527
+ },
1528
+ {
1529
+ "type": "null"
1530
+ },
1531
+ {
1532
+ "type": "array",
1533
+ "items": {
1534
+ "$ref": "#/$defs/__schema29"
1535
+ }
1536
+ },
1537
+ {
1538
+ "type": "object",
1539
+ "propertyNames": {
1540
+ "type": "string"
1541
+ },
1542
+ "additionalProperties": {
1543
+ "$ref": "#/$defs/__schema29"
1544
+ }
1545
+ }
1546
+ ]
1547
+ },
1548
+ "__schema30": {
1549
+ "type": "string",
1550
+ "minLength": 1,
1551
+ "pattern": "\\S"
1552
+ },
1553
+ "__schema31": {
1554
+ "oneOf": [
1555
+ {
1556
+ "type": "object",
1557
+ "properties": {
1558
+ "kind": {
1559
+ "type": "string",
1560
+ "const": "observation"
1561
+ }
1562
+ },
1563
+ "required": [
1564
+ "kind"
1565
+ ],
1566
+ "additionalProperties": false
1567
+ },
1568
+ {
1569
+ "type": "object",
1570
+ "properties": {
1571
+ "kind": {
1572
+ "type": "string",
1573
+ "const": "context"
1574
+ },
1575
+ "reference": {
1576
+ "type": "object",
1577
+ "properties": {
1578
+ "document": {
1579
+ "$ref": "#/$defs/__schema32"
1580
+ },
1581
+ "target": {
1582
+ "$ref": "#/$defs/__schema33"
1583
+ }
1584
+ },
1585
+ "required": [
1586
+ "document",
1587
+ "target"
1588
+ ],
1589
+ "additionalProperties": false
1590
+ }
1591
+ },
1592
+ "required": [
1593
+ "kind",
1594
+ "reference"
1595
+ ],
1596
+ "additionalProperties": false
1597
+ },
1598
+ {
1599
+ "type": "object",
1600
+ "properties": {
1601
+ "kind": {
1602
+ "type": "string",
1603
+ "const": "measurement"
1604
+ },
1605
+ "measurementId": {
1606
+ "$ref": "#/$defs/__schema0"
1607
+ }
1608
+ },
1609
+ "required": [
1610
+ "kind",
1611
+ "measurementId"
1612
+ ],
1613
+ "additionalProperties": false
1614
+ }
1615
+ ]
1616
+ },
1617
+ "__schema32": {
1618
+ "type": "object",
1619
+ "properties": {
1620
+ "documentId": {
1621
+ "$ref": "#/$defs/__schema1"
1622
+ },
1623
+ "schemaId": {
1624
+ "type": "string",
1625
+ "const": "urn:disclosureos:experimental:observation-context:0.1.0"
1626
+ },
1627
+ "sha256": {
1628
+ "$ref": "#/$defs/__schema3"
1629
+ }
1630
+ },
1631
+ "required": [
1632
+ "documentId",
1633
+ "schemaId",
1634
+ "sha256"
1635
+ ],
1636
+ "additionalProperties": false
1637
+ },
1638
+ "__schema33": {
1639
+ "oneOf": [
1640
+ {
1641
+ "type": "object",
1642
+ "properties": {
1643
+ "kind": {
1644
+ "type": "string",
1645
+ "const": "event"
1646
+ },
1647
+ "id": {
1648
+ "$ref": "#/$defs/__schema2"
1649
+ },
1650
+ "field": {
1651
+ "type": "string",
1652
+ "enum": [
1653
+ "eventType",
1654
+ "description",
1655
+ "temporalId",
1656
+ "placeIds"
1657
+ ]
1658
+ }
1659
+ },
1660
+ "required": [
1661
+ "kind",
1662
+ "id"
1663
+ ],
1664
+ "additionalProperties": false
1665
+ },
1666
+ {
1667
+ "type": "object",
1668
+ "properties": {
1669
+ "kind": {
1670
+ "type": "string",
1671
+ "const": "reported_object"
1672
+ },
1673
+ "id": {
1674
+ "$ref": "#/$defs/__schema2"
1675
+ },
1676
+ "field": {
1677
+ "type": "string",
1678
+ "enum": [
1679
+ "shape",
1680
+ "sizeDescription",
1681
+ "color",
1682
+ "secondaryColors",
1683
+ "luminosity",
1684
+ "sound",
1685
+ "soundDescription",
1686
+ "surfaceDetails",
1687
+ "formation",
1688
+ "structuralFeatures",
1689
+ "countDescription",
1690
+ "speedDescription",
1691
+ "altitudeDescription",
1692
+ "flightPath",
1693
+ "maneuvers",
1694
+ "maneuverDescriptions",
1695
+ "trajectoryDescription",
1696
+ "radarContactReported",
1697
+ "infraredSignatureReported"
1698
+ ]
1699
+ }
1700
+ },
1701
+ "required": [
1702
+ "kind",
1703
+ "id"
1704
+ ],
1705
+ "additionalProperties": false
1706
+ },
1707
+ {
1708
+ "type": "object",
1709
+ "properties": {
1710
+ "kind": {
1711
+ "type": "string",
1712
+ "const": "place"
1713
+ },
1714
+ "id": {
1715
+ "$ref": "#/$defs/__schema2"
1716
+ },
1717
+ "field": {
1718
+ "type": "string",
1719
+ "enum": [
1720
+ "name",
1721
+ "country",
1722
+ "countryCode",
1723
+ "region",
1724
+ "city",
1725
+ "address",
1726
+ "position",
1727
+ "coordinatePrecision",
1728
+ "coordinatesApproximate",
1729
+ "elevationSource",
1730
+ "siteType",
1731
+ "secondarySiteTypes",
1732
+ "terrain",
1733
+ "airspaceClass",
1734
+ "proximity",
1735
+ "infrastructureSensitivity",
1736
+ "sensitivity"
1737
+ ]
1738
+ }
1739
+ },
1740
+ "required": [
1741
+ "kind",
1742
+ "id"
1743
+ ],
1744
+ "additionalProperties": false
1745
+ },
1746
+ {
1747
+ "type": "object",
1748
+ "properties": {
1749
+ "kind": {
1750
+ "type": "string",
1751
+ "const": "platform"
1752
+ },
1753
+ "id": {
1754
+ "$ref": "#/$defs/__schema2"
1755
+ },
1756
+ "field": {
1757
+ "type": "string",
1758
+ "enum": [
1759
+ "role",
1760
+ "placeId",
1761
+ "name",
1762
+ "type",
1763
+ "designation",
1764
+ "callsign",
1765
+ "flightNumber",
1766
+ "squadron",
1767
+ "mission",
1768
+ "operator",
1769
+ "radarContact",
1770
+ "weaponsSystemEngaged",
1771
+ "interceptAttempted"
1772
+ ]
1773
+ }
1774
+ },
1775
+ "required": [
1776
+ "kind",
1777
+ "id"
1778
+ ],
1779
+ "additionalProperties": false
1780
+ },
1781
+ {
1782
+ "type": "object",
1783
+ "properties": {
1784
+ "kind": {
1785
+ "type": "string",
1786
+ "const": "environment"
1787
+ },
1788
+ "id": {
1789
+ "$ref": "#/$defs/__schema2"
1790
+ },
1791
+ "field": {
1792
+ "type": "string",
1793
+ "enum": [
1794
+ "placeId",
1795
+ "platformId",
1796
+ "temporalId",
1797
+ "observedAt",
1798
+ "weather",
1799
+ "visibility",
1800
+ "cloudCover",
1801
+ "windDescription",
1802
+ "celestialConditions",
1803
+ "moonPhase",
1804
+ "precipitation"
1805
+ ]
1806
+ }
1807
+ },
1808
+ "required": [
1809
+ "kind",
1810
+ "id"
1811
+ ],
1812
+ "additionalProperties": false
1813
+ },
1814
+ {
1815
+ "type": "object",
1816
+ "properties": {
1817
+ "kind": {
1818
+ "type": "string",
1819
+ "const": "temporal"
1820
+ },
1821
+ "id": {
1822
+ "$ref": "#/$defs/__schema2"
1823
+ },
1824
+ "field": {
1825
+ "type": "string",
1826
+ "enum": [
1827
+ "eventTime",
1828
+ "calendarPeriod",
1829
+ "relativeDate",
1830
+ "calendarRange",
1831
+ "localTime",
1832
+ "dateCertainty",
1833
+ "timeCertainty",
1834
+ "timeOfDay",
1835
+ "durationDescription",
1836
+ "display",
1837
+ "notes",
1838
+ "rangeInclusivity"
1839
+ ]
1840
+ }
1841
+ },
1842
+ "required": [
1843
+ "kind",
1844
+ "id"
1845
+ ],
1846
+ "additionalProperties": false
1847
+ },
1848
+ {
1849
+ "type": "object",
1850
+ "properties": {
1851
+ "kind": {
1852
+ "type": "string",
1853
+ "const": "collection"
1854
+ },
1855
+ "id": {
1856
+ "$ref": "#/$defs/__schema2"
1857
+ },
1858
+ "field": {
1859
+ "type": "string",
1860
+ "enum": [
1861
+ "sensorType",
1862
+ "detectionMethod",
1863
+ "productRefs",
1864
+ "acquisitionIds",
1865
+ "retentionStatus",
1866
+ "rawDataAvailable",
1867
+ "anomalies",
1868
+ "correlationDescription",
1869
+ "alignmentDescription",
1870
+ "notes"
1871
+ ]
1872
+ }
1873
+ },
1874
+ "required": [
1875
+ "kind",
1876
+ "id"
1877
+ ],
1878
+ "additionalProperties": false
1879
+ }
1880
+ ]
1881
+ },
1882
+ "__schema34": {
1883
+ "minItems": 1,
1884
+ "type": "array",
1885
+ "items": {
1886
+ "$ref": "#/$defs/__schema35"
1887
+ }
1888
+ },
1889
+ "__schema35": {
1890
+ "type": "string",
1891
+ "pattern": "^claim:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1892
+ },
1893
+ "__schema36": {
1894
+ "type": "string",
1895
+ "const": "assessment"
1896
+ },
1897
+ "__schema37": {
1898
+ "type": "array",
1899
+ "items": {
1900
+ "type": "string",
1901
+ "pattern": "^(?:claim|source|product|assertion|measurement):[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
1902
+ }
1903
+ },
1904
+ "__schema38": {
1905
+ "type": "array",
1906
+ "items": {
1907
+ "type": "object",
1908
+ "properties": {
1909
+ "document": {
1910
+ "$ref": "#/$defs/__schema32"
1911
+ },
1912
+ "target": {
1913
+ "$ref": "#/$defs/__schema33"
1914
+ },
1915
+ "assertionId": {
1916
+ "$ref": "#/$defs/__schema2"
1917
+ }
1918
+ },
1919
+ "required": [
1920
+ "document",
1921
+ "target",
1922
+ "assertionId"
1923
+ ],
1924
+ "additionalProperties": false
1925
+ }
1926
+ }
1927
+ },
1928
+ "$id": "urn:disclosureos:experimental:claim-history:0.2.0"
1929
+ }