@disclosureos/schema 2.0.0-beta.4 → 2.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +19 -0
- package/dist/experimental/v2/index.d.ts +572 -101
- package/dist/experimental/v2/index.js +1354 -682
- package/dist/experimental/v2/index.js.map +1 -1
- package/package.json +11 -7
- package/schema/experimental/claim-review-evaluation-0.1.0.schema.json +52 -0
- package/schema/experimental/claim-review-receipt-0.1.0.schema.json +99 -0
- package/schema/experimental/mcap-source-mapping-0.1.0.schema.json +303 -0
- package/schema/experimental/video-frame-source-mapping-0.1.0.schema.json +165 -0
|
@@ -8,7 +8,7 @@ declare const ASSESSMENT_DOCUMENTATION_PROFILE: Readonly<{
|
|
|
8
8
|
readonly version: "0.1.0";
|
|
9
9
|
readonly scope: "documentary_only";
|
|
10
10
|
}>;
|
|
11
|
-
type Status$
|
|
11
|
+
type Status$f = 'passed' | 'failed' | 'not_checked';
|
|
12
12
|
type DocumentationIssueCode = ClaimHistoryIssueCode | 'PROFILE.NO_ASSESSMENTS' | 'PROFILE.UNASSESSED' | 'PROFILE.INPUTS_REQUIRED' | 'PROFILE.METHOD_CONTEXT' | 'PROFILE.LOCATOR_REQUIRED' | 'PROFILE.DIGEST_REQUIRED' | 'PROFILE.MEASUREMENT_REQUIRED' | 'PROFILE.MEASUREMENT_UNCERTAINTY' | 'PROFILE.INSTRUMENT_PRODUCT_REQUIRED' | 'PROFILE.EVENT_TIME' | 'PROFILE.FRAME_CONTEXT' | 'EXTERNAL.ASSET_UNAVAILABLE' | 'EXTERNAL.DIGEST_MISMATCH' | 'EXTERNAL.HASH_UNAVAILABLE' | 'EXTERNAL.EMPTY_ASSET';
|
|
13
13
|
interface DocumentationIssue {
|
|
14
14
|
code: DocumentationIssueCode;
|
|
@@ -19,13 +19,13 @@ interface DocumentationIssue {
|
|
|
19
19
|
}
|
|
20
20
|
interface AssetCheck {
|
|
21
21
|
ref: string;
|
|
22
|
-
status: Status$
|
|
22
|
+
status: Status$f;
|
|
23
23
|
expectedSha256?: string;
|
|
24
24
|
actualSha256?: string;
|
|
25
25
|
}
|
|
26
26
|
interface AssessmentDocumentation {
|
|
27
27
|
claimRef: string;
|
|
28
|
-
status: Status$
|
|
28
|
+
status: Status$f;
|
|
29
29
|
inputRefs: string[];
|
|
30
30
|
sourceRefs: string[];
|
|
31
31
|
productRefs: string[];
|
|
@@ -42,10 +42,10 @@ interface DocumentationResult {
|
|
|
42
42
|
profile: typeof ASSESSMENT_DOCUMENTATION_PROFILE;
|
|
43
43
|
contract: ReturnType<typeof parseExperimentalClaimHistory>['contract'];
|
|
44
44
|
checks: {
|
|
45
|
-
structural: Status$
|
|
46
|
-
semantic: Status$
|
|
47
|
-
profile: Status$
|
|
48
|
-
external: Status$
|
|
45
|
+
structural: Status$f;
|
|
46
|
+
semantic: Status$f;
|
|
47
|
+
profile: Status$f;
|
|
48
|
+
external: Status$f;
|
|
49
49
|
};
|
|
50
50
|
scientific: 'not_checked';
|
|
51
51
|
locatorContents: 'not_checked';
|
|
@@ -55,6 +55,43 @@ interface DocumentationResult {
|
|
|
55
55
|
}
|
|
56
56
|
/** Documentary preflight plus local byte integrity, not scientific or locator-content verification. */
|
|
57
57
|
declare function evaluateAssessmentDocumentation(input: unknown, options?: DocumentationOptions): Promise<DocumentationResult>;
|
|
58
|
+
declare const OBSERVATION_CLAIM_DOCUMENTATION_PROFILE: Readonly<{
|
|
59
|
+
readonly id: "urn:disclosureos:experimental:profile:assessment-documentation";
|
|
60
|
+
readonly version: "0.2.0";
|
|
61
|
+
readonly scope: "documentary_only";
|
|
62
|
+
}>;
|
|
63
|
+
declare function evaluateObservationClaimDocumentation(input: unknown, options?: DocumentationOptions): Promise<{
|
|
64
|
+
processingChronology: "not_checked";
|
|
65
|
+
unknownProcessingTimes: {
|
|
66
|
+
processRef: string;
|
|
67
|
+
performedAt: string | {
|
|
68
|
+
state: "unknown";
|
|
69
|
+
reason: "not_recorded" | "not_collected" | "unavailable";
|
|
70
|
+
};
|
|
71
|
+
}[];
|
|
72
|
+
success: boolean;
|
|
73
|
+
checks: {
|
|
74
|
+
structural: Status$f;
|
|
75
|
+
semantic: Status$f;
|
|
76
|
+
profile: Status$f;
|
|
77
|
+
external: Status$f;
|
|
78
|
+
};
|
|
79
|
+
scientific: "not_checked";
|
|
80
|
+
locatorContents: "not_checked";
|
|
81
|
+
methodExecution: "not_checked";
|
|
82
|
+
assessments: AssessmentDocumentation[];
|
|
83
|
+
issues: DocumentationIssue[];
|
|
84
|
+
contract: {
|
|
85
|
+
readonly kind: "claim_history";
|
|
86
|
+
readonly schemaId: "urn:disclosureos:experimental:claim-history:0.6.0";
|
|
87
|
+
readonly rulesetVersion: "0.6.0";
|
|
88
|
+
};
|
|
89
|
+
profile: Readonly<{
|
|
90
|
+
readonly id: "urn:disclosureos:experimental:profile:assessment-documentation";
|
|
91
|
+
readonly version: "0.2.0";
|
|
92
|
+
readonly scope: "documentary_only";
|
|
93
|
+
}>;
|
|
94
|
+
}>;
|
|
58
95
|
|
|
59
96
|
declare const ACQUISITION_BINDINGS_SCHEMA_ID = "urn:disclosureos:experimental:acquisition-bindings:0.1.0";
|
|
60
97
|
declare const AcquisitionBindingsSchema: z.ZodObject<{
|
|
@@ -82,7 +119,7 @@ declare const ACQUISITION_BINDINGS_PROFILE: Readonly<{
|
|
|
82
119
|
readonly version: "0.1.0";
|
|
83
120
|
readonly scope: "product_identity_and_declared_context";
|
|
84
121
|
}>;
|
|
85
|
-
type Status$
|
|
122
|
+
type Status$e = 'passed' | 'failed' | 'not_checked';
|
|
86
123
|
type BindingIssueCode = ClaimHistoryIssueCode | AcquisitionContextIssueCode | 'BINDING.DOCUMENT_ID' | 'BINDING.SOURCE_KIND' | 'BINDING.RAW_REQUIRED' | 'BINDING.DIGEST_MISMATCH' | 'BINDING.FORMAT_MISMATCH' | 'BINDING.SOURCE_IDENTITY' | 'BINDING.PRODUCT_REQUIRED' | 'BINDING.SOURCE_REQUIRED' | 'BINDING.DIGEST_REQUIRED' | 'BINDING.CONTEXT_INCOMPLETE' | 'BINDING.NO_INSTRUMENT_PRODUCTS' | 'EXTERNAL.ASSET_UNAVAILABLE' | 'EXTERNAL.DIGEST_MISMATCH' | 'EXTERNAL.SIZE_MISMATCH' | 'EXTERNAL.HASH_UNAVAILABLE' | 'EXTERNAL.EMPTY_ASSET';
|
|
87
124
|
interface BindingIssue {
|
|
88
125
|
code: BindingIssueCode;
|
|
@@ -93,7 +130,7 @@ interface BindingIssue {
|
|
|
93
130
|
}
|
|
94
131
|
interface BindingAssetCheck {
|
|
95
132
|
ref: string;
|
|
96
|
-
status: Status$
|
|
133
|
+
status: Status$e;
|
|
97
134
|
pointer: string;
|
|
98
135
|
expectedSha256: string;
|
|
99
136
|
expectedByteLength: number;
|
|
@@ -106,7 +143,7 @@ interface ProductBindingCheck {
|
|
|
106
143
|
acquisitionRef: string;
|
|
107
144
|
instrumentRef: string;
|
|
108
145
|
assetRefs: string[];
|
|
109
|
-
status: Status$
|
|
146
|
+
status: Status$e;
|
|
110
147
|
issues: BindingIssue[];
|
|
111
148
|
}
|
|
112
149
|
interface AcquisitionBindingOptions {
|
|
@@ -125,10 +162,10 @@ interface AcquisitionBindingResult {
|
|
|
125
162
|
};
|
|
126
163
|
};
|
|
127
164
|
checks: {
|
|
128
|
-
structural: Status$
|
|
129
|
-
semantic: Status$
|
|
130
|
-
profile: Status$
|
|
131
|
-
external: Status$
|
|
165
|
+
structural: Status$e;
|
|
166
|
+
semantic: Status$e;
|
|
167
|
+
profile: Status$e;
|
|
168
|
+
external: Status$e;
|
|
132
169
|
};
|
|
133
170
|
scientific: 'not_checked';
|
|
134
171
|
identityAuthenticity: 'not_checked';
|
|
@@ -178,7 +215,7 @@ declare const MeasurementBindingsSchema: z.ZodObject<{
|
|
|
178
215
|
}, z.core.$strict>;
|
|
179
216
|
type MeasurementBindings = z.infer<typeof MeasurementBindingsSchema>;
|
|
180
217
|
declare function measurementBindingsJsonSchema(): Record<string, unknown>;
|
|
181
|
-
type Status$
|
|
218
|
+
type Status$d = "passed" | "failed" | "not_checked";
|
|
182
219
|
interface MeasurementBindingIssue {
|
|
183
220
|
code: string;
|
|
184
221
|
stage: "structural" | "semantic" | "profile" | "external";
|
|
@@ -194,10 +231,10 @@ interface MeasurementBindingResult {
|
|
|
194
231
|
rulesetVersion: "0.1.0";
|
|
195
232
|
};
|
|
196
233
|
checks: {
|
|
197
|
-
structural: Status$
|
|
198
|
-
semantic: Status$
|
|
199
|
-
profile: Status$
|
|
200
|
-
external: Status$
|
|
234
|
+
structural: Status$d;
|
|
235
|
+
semantic: Status$d;
|
|
236
|
+
profile: Status$d;
|
|
237
|
+
external: Status$d;
|
|
201
238
|
};
|
|
202
239
|
issues: MeasurementBindingIssue[];
|
|
203
240
|
acquisition: AcquisitionBindingResult | null;
|
|
@@ -331,7 +368,7 @@ declare const InstrumentResearchReviewSchema: z.ZodObject<{
|
|
|
331
368
|
}, z.core.$strict>;
|
|
332
369
|
type InstrumentResearchReview = z.infer<typeof InstrumentResearchReviewSchema>;
|
|
333
370
|
declare function instrumentResearchReviewJsonSchema(): Record<string, unknown>;
|
|
334
|
-
type Status$
|
|
371
|
+
type Status$c = "passed" | "failed" | "not_checked";
|
|
335
372
|
interface InstrumentResearchOptions {
|
|
336
373
|
observationAssets?: ReadonlyMap<string, Uint8Array>;
|
|
337
374
|
contextAssets?: ReadonlyMap<string, Uint8Array>;
|
|
@@ -340,7 +377,7 @@ interface InstrumentResearchOptions {
|
|
|
340
377
|
}
|
|
341
378
|
interface ResearchReviewAssetCheck {
|
|
342
379
|
ref: string;
|
|
343
|
-
status: Status$
|
|
380
|
+
status: Status$c;
|
|
344
381
|
expectedSha256: string;
|
|
345
382
|
expectedByteLength: number;
|
|
346
383
|
actualSha256?: string;
|
|
@@ -354,10 +391,10 @@ interface InstrumentResearchResult {
|
|
|
354
391
|
rulesetVersion: "0.1.0";
|
|
355
392
|
};
|
|
356
393
|
checks: {
|
|
357
|
-
structural: Status$
|
|
358
|
-
semantic: Status$
|
|
359
|
-
profile: Status$
|
|
360
|
-
external: Status$
|
|
394
|
+
structural: Status$c;
|
|
395
|
+
semantic: Status$c;
|
|
396
|
+
profile: Status$c;
|
|
397
|
+
external: Status$c;
|
|
361
398
|
};
|
|
362
399
|
review: {
|
|
363
400
|
id: string;
|
|
@@ -430,10 +467,10 @@ declare const ReproductionPacketSchema: z.ZodObject<{
|
|
|
430
467
|
}, z.core.$strict>;
|
|
431
468
|
type ReproductionPacket = z.infer<typeof ReproductionPacketSchema>;
|
|
432
469
|
declare function reproductionPacketJsonSchema(): Record<string, unknown>;
|
|
433
|
-
type Status$
|
|
470
|
+
type Status$b = "passed" | "failed" | "not_checked";
|
|
434
471
|
interface ReproductionFileCheck {
|
|
435
472
|
id: string;
|
|
436
|
-
status: Status$
|
|
473
|
+
status: Status$b;
|
|
437
474
|
expectedSha256: string;
|
|
438
475
|
expectedByteLength: number;
|
|
439
476
|
actualSha256?: string;
|
|
@@ -447,10 +484,10 @@ interface ReproductionPacketResult {
|
|
|
447
484
|
rulesetVersion: "0.1.0";
|
|
448
485
|
};
|
|
449
486
|
checks: {
|
|
450
|
-
structural: Status$
|
|
451
|
-
semantic: Status$
|
|
452
|
-
profile: Status$
|
|
453
|
-
external: Status$
|
|
487
|
+
structural: Status$b;
|
|
488
|
+
semantic: Status$b;
|
|
489
|
+
profile: Status$b;
|
|
490
|
+
external: Status$b;
|
|
454
491
|
};
|
|
455
492
|
packetId?: string;
|
|
456
493
|
method?: ReproductionPacket["method"];
|
|
@@ -527,7 +564,7 @@ interface DatasetPacketInput {
|
|
|
527
564
|
manifest: Uint8Array;
|
|
528
565
|
files: ReadonlyMap<string, Uint8Array>;
|
|
529
566
|
}
|
|
530
|
-
type Status$
|
|
567
|
+
type Status$a = "passed" | "failed" | "not_checked";
|
|
531
568
|
interface DatasetIssue {
|
|
532
569
|
code: string;
|
|
533
570
|
pointer: string;
|
|
@@ -542,10 +579,10 @@ interface DatasetReleaseResult {
|
|
|
542
579
|
rulesetVersion: "0.1.0";
|
|
543
580
|
};
|
|
544
581
|
checks: {
|
|
545
|
-
structural: Status$
|
|
546
|
-
semantic: Status$
|
|
547
|
-
profile: Status$
|
|
548
|
-
external: Status$
|
|
582
|
+
structural: Status$a;
|
|
583
|
+
semantic: Status$a;
|
|
584
|
+
profile: Status$a;
|
|
585
|
+
external: Status$a;
|
|
549
586
|
};
|
|
550
587
|
release?: {
|
|
551
588
|
id: string;
|
|
@@ -554,7 +591,7 @@ interface DatasetReleaseResult {
|
|
|
554
591
|
issues: DatasetIssue[];
|
|
555
592
|
packets: {
|
|
556
593
|
packetRef: string;
|
|
557
|
-
manifestStatus: Status$
|
|
594
|
+
manifestStatus: Status$a;
|
|
558
595
|
expectedSha256: string;
|
|
559
596
|
expectedByteLength: number;
|
|
560
597
|
actualSha256?: string;
|
|
@@ -563,12 +600,12 @@ interface DatasetReleaseResult {
|
|
|
563
600
|
}[];
|
|
564
601
|
sessions: {
|
|
565
602
|
sessionRef: string;
|
|
566
|
-
status: Status$
|
|
603
|
+
status: Status$a;
|
|
567
604
|
members: {
|
|
568
605
|
packetRef: string;
|
|
569
606
|
acquisitionRef: string;
|
|
570
607
|
classification?: string;
|
|
571
|
-
status: Status$
|
|
608
|
+
status: Status$a;
|
|
572
609
|
}[];
|
|
573
610
|
}[];
|
|
574
611
|
scientificEligibility: "not_checked";
|
|
@@ -675,7 +712,7 @@ declare const SourceIntakeSchema: z.ZodObject<{
|
|
|
675
712
|
}, z.core.$strict>;
|
|
676
713
|
type SourceIntake = z.infer<typeof SourceIntakeSchema>;
|
|
677
714
|
declare function sourceIntakeJsonSchema(): Record<string, unknown>;
|
|
678
|
-
type Status$
|
|
715
|
+
type Status$9 = "passed" | "failed" | "not_checked";
|
|
679
716
|
interface SourceIntakeResult {
|
|
680
717
|
success: boolean;
|
|
681
718
|
profile: typeof SOURCE_INTAKE_PROFILE;
|
|
@@ -684,10 +721,10 @@ interface SourceIntakeResult {
|
|
|
684
721
|
rulesetVersion: "0.1.0";
|
|
685
722
|
};
|
|
686
723
|
checks: {
|
|
687
|
-
structural: Status$
|
|
688
|
-
semantic: Status$
|
|
689
|
-
profile: Status$
|
|
690
|
-
external: Status$
|
|
724
|
+
structural: Status$9;
|
|
725
|
+
semantic: Status$9;
|
|
726
|
+
profile: Status$9;
|
|
727
|
+
external: Status$9;
|
|
691
728
|
};
|
|
692
729
|
issues: {
|
|
693
730
|
code: string;
|
|
@@ -702,7 +739,7 @@ interface SourceIntakeResult {
|
|
|
702
739
|
}[];
|
|
703
740
|
files: {
|
|
704
741
|
id: string;
|
|
705
|
-
status: Status$
|
|
742
|
+
status: Status$9;
|
|
706
743
|
expectedSha256: string;
|
|
707
744
|
expectedByteLength: number;
|
|
708
745
|
actualSha256?: string;
|
|
@@ -889,7 +926,7 @@ declare const ResearchEvaluationSchema: z.ZodObject<{
|
|
|
889
926
|
}, z.core.$strict>;
|
|
890
927
|
type ResearchEvaluation = z.infer<typeof ResearchEvaluationSchema>;
|
|
891
928
|
declare function researchEvaluationJsonSchema(): Record<string, unknown>;
|
|
892
|
-
type Status$
|
|
929
|
+
type Status$8 = "passed" | "failed" | "not_checked";
|
|
893
930
|
interface ResearchEvaluationOptions {
|
|
894
931
|
packetBytes?: Uint8Array;
|
|
895
932
|
files?: ReadonlyMap<string, Uint8Array>;
|
|
@@ -918,11 +955,11 @@ interface ResearchEvaluationResult {
|
|
|
918
955
|
success: boolean;
|
|
919
956
|
policy: typeof RESEARCH_EVALUATION_POLICY;
|
|
920
957
|
checks: {
|
|
921
|
-
structural: Status$
|
|
922
|
-
semantic: Status$
|
|
923
|
-
external: Status$
|
|
924
|
-
evaluation: Status$
|
|
925
|
-
receipt: Status$
|
|
958
|
+
structural: Status$8;
|
|
959
|
+
semantic: Status$8;
|
|
960
|
+
external: Status$8;
|
|
961
|
+
evaluation: Status$8;
|
|
962
|
+
receipt: Status$8;
|
|
926
963
|
};
|
|
927
964
|
issues: {
|
|
928
965
|
code: string;
|
|
@@ -1002,7 +1039,7 @@ declare const RELEASED_DOCUMENT_REQUIREMENTS: readonly Readonly<{
|
|
|
1002
1039
|
readonly label: "Source-side attribution for supplied direct extractions";
|
|
1003
1040
|
}>[];
|
|
1004
1041
|
type ReleasedDocumentRequirementId = (typeof RELEASED_DOCUMENT_REQUIREMENTS)[number]["id"];
|
|
1005
|
-
type Status$
|
|
1042
|
+
type Status$7 = "passed" | "failed" | "not_checked";
|
|
1006
1043
|
type ReleasedDocumentCompletionStatus = "satisfied" | "missing" | "failed" | "not_checked" | "not_applicable";
|
|
1007
1044
|
interface ReleasedDocumentIssue {
|
|
1008
1045
|
code: string;
|
|
@@ -1023,11 +1060,11 @@ interface ReleasedDocumentRequirement {
|
|
|
1023
1060
|
}
|
|
1024
1061
|
interface ReleasedDocumentReport {
|
|
1025
1062
|
sourceRef: string;
|
|
1026
|
-
status: Status$
|
|
1063
|
+
status: Status$7;
|
|
1027
1064
|
requirements: ReleasedDocumentRequirement[];
|
|
1028
1065
|
extractionRefs: string[];
|
|
1029
1066
|
asset: {
|
|
1030
|
-
status: Status$
|
|
1067
|
+
status: Status$7;
|
|
1031
1068
|
expectedSha256?: string;
|
|
1032
1069
|
actualSha256?: string;
|
|
1033
1070
|
byteLength?: number;
|
|
@@ -1039,10 +1076,10 @@ interface ReleasedDocumentResult {
|
|
|
1039
1076
|
selection: ReleasedDocumentSelection | null;
|
|
1040
1077
|
validation: ReturnType<typeof parseExperimentalClaimHistory>;
|
|
1041
1078
|
checks: {
|
|
1042
|
-
structural: Status$
|
|
1043
|
-
semantic: Status$
|
|
1044
|
-
profile: Status$
|
|
1045
|
-
external: Status$
|
|
1079
|
+
structural: Status$7;
|
|
1080
|
+
semantic: Status$7;
|
|
1081
|
+
profile: Status$7;
|
|
1082
|
+
external: Status$7;
|
|
1046
1083
|
};
|
|
1047
1084
|
documents: ReleasedDocumentReport[];
|
|
1048
1085
|
issues: ReleasedDocumentIssue[];
|
|
@@ -1115,7 +1152,7 @@ declare const HISTORICAL_TESTIMONY_REQUIREMENTS: readonly Readonly<{
|
|
|
1115
1152
|
readonly label: "Source retrieval reference";
|
|
1116
1153
|
}>[];
|
|
1117
1154
|
type HistoricalTestimonyRequirementId = (typeof HISTORICAL_TESTIMONY_REQUIREMENTS)[number]["id"];
|
|
1118
|
-
type Status$
|
|
1155
|
+
type Status$6 = "passed" | "failed" | "not_checked";
|
|
1119
1156
|
type HistoricalTestimonyCompletionStatus = "satisfied" | "missing" | "failed" | "not_checked" | "not_applicable";
|
|
1120
1157
|
interface HistoricalTestimonyIssue {
|
|
1121
1158
|
code: string;
|
|
@@ -1136,11 +1173,11 @@ interface HistoricalTestimonyRequirement {
|
|
|
1136
1173
|
}
|
|
1137
1174
|
interface HistoricalTestimonyReport {
|
|
1138
1175
|
sourceRef: string;
|
|
1139
|
-
status: Status$
|
|
1176
|
+
status: Status$6;
|
|
1140
1177
|
requirements: HistoricalTestimonyRequirement[];
|
|
1141
1178
|
extractionRefs: string[];
|
|
1142
1179
|
asset: {
|
|
1143
|
-
status: Status$
|
|
1180
|
+
status: Status$6;
|
|
1144
1181
|
expectedSha256?: string;
|
|
1145
1182
|
actualSha256?: string;
|
|
1146
1183
|
byteLength?: number;
|
|
@@ -1152,10 +1189,10 @@ interface HistoricalTestimonyResult {
|
|
|
1152
1189
|
selection: HistoricalTestimonySelection | null;
|
|
1153
1190
|
validation: ReturnType<typeof parseExperimentalClaimHistory>;
|
|
1154
1191
|
checks: {
|
|
1155
|
-
structural: Status$
|
|
1156
|
-
semantic: Status$
|
|
1157
|
-
profile: Status$
|
|
1158
|
-
external: Status$
|
|
1192
|
+
structural: Status$6;
|
|
1193
|
+
semantic: Status$6;
|
|
1194
|
+
profile: Status$6;
|
|
1195
|
+
external: Status$6;
|
|
1159
1196
|
};
|
|
1160
1197
|
accounts: HistoricalTestimonyReport[];
|
|
1161
1198
|
issues: HistoricalTestimonyIssue[];
|
|
@@ -1266,7 +1303,7 @@ declare const PHYSICAL_SAMPLE_REQUIREMENTS: readonly Readonly<{
|
|
|
1266
1303
|
readonly label: "External catalog identifier";
|
|
1267
1304
|
}>[];
|
|
1268
1305
|
type PhysicalSampleRequirementId = (typeof PHYSICAL_SAMPLE_REQUIREMENTS)[number]["id"];
|
|
1269
|
-
type Status$
|
|
1306
|
+
type Status$5 = "passed" | "failed" | "not_checked";
|
|
1270
1307
|
interface PhysicalSampleIssue {
|
|
1271
1308
|
code: string;
|
|
1272
1309
|
stage: "structural" | "semantic" | "profile" | "external" | "recommendation";
|
|
@@ -1286,14 +1323,14 @@ interface PhysicalSampleRequirement {
|
|
|
1286
1323
|
}
|
|
1287
1324
|
interface PhysicalSampleRecordCheck {
|
|
1288
1325
|
sourceRef: string;
|
|
1289
|
-
status: Status$
|
|
1326
|
+
status: Status$5;
|
|
1290
1327
|
expectedSha256?: string;
|
|
1291
1328
|
actualSha256?: string;
|
|
1292
1329
|
byteLength?: number;
|
|
1293
1330
|
}
|
|
1294
1331
|
interface PhysicalSampleReport {
|
|
1295
1332
|
sampleId: string;
|
|
1296
|
-
status: Status$
|
|
1333
|
+
status: Status$5;
|
|
1297
1334
|
requirements: PhysicalSampleRequirement[];
|
|
1298
1335
|
records: PhysicalSampleRecordCheck[];
|
|
1299
1336
|
}
|
|
@@ -1303,10 +1340,10 @@ interface PhysicalSampleResult {
|
|
|
1303
1340
|
selection: PhysicalSampleSelection | null;
|
|
1304
1341
|
validation: ReturnType<typeof parseExperimentalClaimHistory>;
|
|
1305
1342
|
checks: {
|
|
1306
|
-
structural: Status$
|
|
1307
|
-
semantic: Status$
|
|
1308
|
-
profile: Status$
|
|
1309
|
-
external: Status$
|
|
1343
|
+
structural: Status$5;
|
|
1344
|
+
semantic: Status$5;
|
|
1345
|
+
profile: Status$5;
|
|
1346
|
+
external: Status$5;
|
|
1310
1347
|
};
|
|
1311
1348
|
samples: PhysicalSampleReport[];
|
|
1312
1349
|
issues: PhysicalSampleIssue[];
|
|
@@ -1389,7 +1426,7 @@ interface ProfileEvaluationOptions {
|
|
|
1389
1426
|
assetFiles?: ReadonlyMap<string, Uint8Array>;
|
|
1390
1427
|
dependencyFiles?: ReadonlyMap<string, Uint8Array>;
|
|
1391
1428
|
}
|
|
1392
|
-
type Status$
|
|
1429
|
+
type Status$4 = "passed" | "failed" | "not_checked";
|
|
1393
1430
|
interface ProfileEvaluationReceipt {
|
|
1394
1431
|
format: "disclosureos-profile-evaluation-receipt:0.1.0";
|
|
1395
1432
|
serialization: "sorted-json-utf8:0.1.0";
|
|
@@ -1408,11 +1445,11 @@ interface ProfileEvaluationResult {
|
|
|
1408
1445
|
success: boolean;
|
|
1409
1446
|
policy: typeof PROFILE_EVALUATION_POLICY;
|
|
1410
1447
|
checks: {
|
|
1411
|
-
structural: Status$
|
|
1412
|
-
semantic: Status$
|
|
1413
|
-
external: Status$
|
|
1414
|
-
profile: Status$
|
|
1415
|
-
receipt: Status$
|
|
1448
|
+
structural: Status$4;
|
|
1449
|
+
semantic: Status$4;
|
|
1450
|
+
external: Status$4;
|
|
1451
|
+
profile: Status$4;
|
|
1452
|
+
receipt: Status$4;
|
|
1416
1453
|
};
|
|
1417
1454
|
issues: {
|
|
1418
1455
|
code: string;
|
|
@@ -1421,7 +1458,7 @@ interface ProfileEvaluationResult {
|
|
|
1421
1458
|
}[];
|
|
1422
1459
|
files: {
|
|
1423
1460
|
ref: string;
|
|
1424
|
-
status: Status$
|
|
1461
|
+
status: Status$4;
|
|
1425
1462
|
expectedSha256: string;
|
|
1426
1463
|
expectedByteLength: number;
|
|
1427
1464
|
actualSha256?: string;
|
|
@@ -1765,6 +1802,7 @@ interface CaseReviewResult {
|
|
|
1765
1802
|
}
|
|
1766
1803
|
/** Resolves the case's closed observation scope. Does not fetch URLs, authenticate sources or assess relationships. */
|
|
1767
1804
|
declare function evaluateCaseRecord(input: unknown, options: CaseReviewOptions): Promise<CaseReviewResult>;
|
|
1805
|
+
declare function evaluateCaseRecordV02(input: unknown, options: CaseReviewOptions): Promise<CaseReviewResult>;
|
|
1768
1806
|
|
|
1769
1807
|
interface CaseHistoryReviewResult {
|
|
1770
1808
|
success: boolean;
|
|
@@ -1787,6 +1825,7 @@ interface CaseHistoryReviewResult {
|
|
|
1787
1825
|
}
|
|
1788
1826
|
/** Validates declared assessments and their inputs, not the scientific truth of their outcomes. */
|
|
1789
1827
|
declare function evaluateCaseClaimHistory(input: unknown, options: CaseReviewOptions): Promise<CaseHistoryReviewResult>;
|
|
1828
|
+
declare function evaluateCaseClaimHistoryV02(input: unknown, options: CaseReviewOptions): Promise<CaseHistoryReviewResult>;
|
|
1790
1829
|
|
|
1791
1830
|
interface CaseLinksReviewResult {
|
|
1792
1831
|
success: boolean;
|
|
@@ -1878,10 +1917,10 @@ declare const CasePresentationSchema: z.ZodObject<{
|
|
|
1878
1917
|
id: z.ZodString;
|
|
1879
1918
|
kind: z.ZodEnum<{
|
|
1880
1919
|
document: "document";
|
|
1920
|
+
data: "data";
|
|
1881
1921
|
image: "image";
|
|
1882
1922
|
video: "video";
|
|
1883
1923
|
audio: "audio";
|
|
1884
|
-
data: "data";
|
|
1885
1924
|
}>;
|
|
1886
1925
|
role: z.ZodEnum<{
|
|
1887
1926
|
primary: "primary";
|
|
@@ -1974,7 +2013,7 @@ declare function parseCasePresentation(input: unknown): {
|
|
|
1974
2013
|
}[];
|
|
1975
2014
|
attachments: {
|
|
1976
2015
|
id: string;
|
|
1977
|
-
kind: "document" | "
|
|
2016
|
+
kind: "document" | "data" | "image" | "video" | "audio";
|
|
1978
2017
|
role: "primary" | "supporting" | "thumbnail";
|
|
1979
2018
|
observationId: string;
|
|
1980
2019
|
ref: string;
|
|
@@ -2186,10 +2225,10 @@ declare const ContextCasePresentationSchema: z.ZodObject<{
|
|
|
2186
2225
|
id: z.ZodString;
|
|
2187
2226
|
kind: z.ZodEnum<{
|
|
2188
2227
|
document: "document";
|
|
2228
|
+
data: "data";
|
|
2189
2229
|
image: "image";
|
|
2190
2230
|
video: "video";
|
|
2191
2231
|
audio: "audio";
|
|
2192
|
-
data: "data";
|
|
2193
2232
|
}>;
|
|
2194
2233
|
role: z.ZodEnum<{
|
|
2195
2234
|
primary: "primary";
|
|
@@ -2338,7 +2377,7 @@ declare function parseContextCasePresentation(input: unknown): {
|
|
|
2338
2377
|
}[];
|
|
2339
2378
|
attachments: {
|
|
2340
2379
|
id: string;
|
|
2341
|
-
kind: "document" | "
|
|
2380
|
+
kind: "document" | "data" | "image" | "video" | "audio";
|
|
2342
2381
|
role: "primary" | "supporting" | "thumbnail";
|
|
2343
2382
|
observationId: string;
|
|
2344
2383
|
ref: string;
|
|
@@ -2675,10 +2714,10 @@ declare const TestimonyCasePresentationSchema: z.ZodObject<{
|
|
|
2675
2714
|
id: z.ZodString;
|
|
2676
2715
|
kind: z.ZodEnum<{
|
|
2677
2716
|
document: "document";
|
|
2717
|
+
data: "data";
|
|
2678
2718
|
image: "image";
|
|
2679
2719
|
video: "video";
|
|
2680
2720
|
audio: "audio";
|
|
2681
|
-
data: "data";
|
|
2682
2721
|
}>;
|
|
2683
2722
|
role: z.ZodEnum<{
|
|
2684
2723
|
primary: "primary";
|
|
@@ -2823,7 +2862,7 @@ declare function parseTestimonyCasePresentation(input: unknown): {
|
|
|
2823
2862
|
}[];
|
|
2824
2863
|
attachments: {
|
|
2825
2864
|
id: string;
|
|
2826
|
-
kind: "document" | "
|
|
2865
|
+
kind: "document" | "data" | "image" | "video" | "audio";
|
|
2827
2866
|
role: "primary" | "supporting" | "thumbnail";
|
|
2828
2867
|
observationId: string;
|
|
2829
2868
|
ref: string;
|
|
@@ -3157,10 +3196,10 @@ declare const ArchivalCasePresentationSchema: z.ZodObject<{
|
|
|
3157
3196
|
id: z.ZodString;
|
|
3158
3197
|
kind: z.ZodEnum<{
|
|
3159
3198
|
document: "document";
|
|
3199
|
+
data: "data";
|
|
3160
3200
|
image: "image";
|
|
3161
3201
|
video: "video";
|
|
3162
3202
|
audio: "audio";
|
|
3163
|
-
data: "data";
|
|
3164
3203
|
}>;
|
|
3165
3204
|
role: z.ZodEnum<{
|
|
3166
3205
|
primary: "primary";
|
|
@@ -3321,7 +3360,7 @@ declare function parseArchivalCasePresentation(input: unknown): {
|
|
|
3321
3360
|
}[];
|
|
3322
3361
|
attachments: {
|
|
3323
3362
|
id: string;
|
|
3324
|
-
kind: "document" | "
|
|
3363
|
+
kind: "document" | "data" | "image" | "video" | "audio";
|
|
3325
3364
|
role: "primary" | "supporting" | "thumbnail";
|
|
3326
3365
|
observationId: string;
|
|
3327
3366
|
ref: string;
|
|
@@ -3695,10 +3734,10 @@ declare const MaterialCasePresentationSchema: z.ZodObject<{
|
|
|
3695
3734
|
id: z.ZodString;
|
|
3696
3735
|
kind: z.ZodEnum<{
|
|
3697
3736
|
document: "document";
|
|
3737
|
+
data: "data";
|
|
3698
3738
|
image: "image";
|
|
3699
3739
|
video: "video";
|
|
3700
3740
|
audio: "audio";
|
|
3701
|
-
data: "data";
|
|
3702
3741
|
}>;
|
|
3703
3742
|
role: z.ZodEnum<{
|
|
3704
3743
|
primary: "primary";
|
|
@@ -3869,7 +3908,7 @@ declare function parseMaterialCasePresentation(input: unknown): {
|
|
|
3869
3908
|
}[];
|
|
3870
3909
|
attachments: {
|
|
3871
3910
|
id: string;
|
|
3872
|
-
kind: "document" | "
|
|
3911
|
+
kind: "document" | "data" | "image" | "video" | "audio";
|
|
3873
3912
|
role: "primary" | "supporting" | "thumbnail";
|
|
3874
3913
|
observationId: string;
|
|
3875
3914
|
ref: string;
|
|
@@ -4585,7 +4624,7 @@ declare const ProductSourceSelectionSchema: z.ZodObject<{
|
|
|
4585
4624
|
}, z.core.$strict>;
|
|
4586
4625
|
type ProductSourceSelection = z.infer<typeof ProductSourceSelectionSchema>;
|
|
4587
4626
|
declare function productSourceSelectionJsonSchema(): Record<string, unknown>;
|
|
4588
|
-
type Status$
|
|
4627
|
+
type Status$3 = "passed" | "failed" | "not_checked";
|
|
4589
4628
|
interface ProductSourceSelectionIssue {
|
|
4590
4629
|
code: string;
|
|
4591
4630
|
stage: "structural" | "semantic" | "external";
|
|
@@ -4596,16 +4635,16 @@ interface ProductSourceSelectionResult {
|
|
|
4596
4635
|
success: boolean;
|
|
4597
4636
|
profile: typeof PRODUCT_SOURCE_SELECTION_PROFILE;
|
|
4598
4637
|
checks: {
|
|
4599
|
-
structural: Status$
|
|
4600
|
-
semantic: Status$
|
|
4601
|
-
external: Status$
|
|
4602
|
-
content: Status$
|
|
4638
|
+
structural: Status$3;
|
|
4639
|
+
semantic: Status$3;
|
|
4640
|
+
external: Status$3;
|
|
4641
|
+
content: Status$3;
|
|
4603
4642
|
};
|
|
4604
4643
|
issues: ProductSourceSelectionIssue[];
|
|
4605
4644
|
selections: {
|
|
4606
4645
|
id: string;
|
|
4607
4646
|
productRef: string;
|
|
4608
|
-
status: Status$
|
|
4647
|
+
status: Status$3;
|
|
4609
4648
|
content?: ProductSourceRead;
|
|
4610
4649
|
}[];
|
|
4611
4650
|
scientific: "not_checked";
|
|
@@ -6035,7 +6074,7 @@ declare function evaluateSatelliteRasterProfile(observationInput: unknown, conte
|
|
|
6035
6074
|
}): Promise<SatelliteRasterProfileResult>;
|
|
6036
6075
|
|
|
6037
6076
|
declare const VOCABULARY_BINDINGS_PROFILE = "urn:disclosureos:profile:vocabulary-reference-resolution:0.1.0";
|
|
6038
|
-
type Status = "passed" | "failed" | "not_checked";
|
|
6077
|
+
type Status$2 = "passed" | "failed" | "not_checked";
|
|
6039
6078
|
interface VocabularyBindingOptions {
|
|
6040
6079
|
/** Exact UTF-8 document bytes keyed by their declared SHA-256. Never fetched. */
|
|
6041
6080
|
documents: ReadonlyMap<string, Uint8Array>;
|
|
@@ -6051,7 +6090,7 @@ interface VocabularyBindingResolution {
|
|
|
6051
6090
|
relation: VocabularyBinding["relation"];
|
|
6052
6091
|
claim: VocabularyBinding["claim"];
|
|
6053
6092
|
term: VocabularyTermReference;
|
|
6054
|
-
status: Status;
|
|
6093
|
+
status: Status$2;
|
|
6055
6094
|
resolvedTerm?: VocabularyCatalogTerm;
|
|
6056
6095
|
}
|
|
6057
6096
|
interface VocabularyBindingResult {
|
|
@@ -6059,14 +6098,14 @@ interface VocabularyBindingResult {
|
|
|
6059
6098
|
profile: typeof VOCABULARY_BINDINGS_PROFILE;
|
|
6060
6099
|
checks: {
|
|
6061
6100
|
structural: "passed" | "failed";
|
|
6062
|
-
semantic: Status;
|
|
6063
|
-
profile: Status;
|
|
6101
|
+
semantic: Status$2;
|
|
6102
|
+
profile: Status$2;
|
|
6064
6103
|
external: "not_checked";
|
|
6065
6104
|
};
|
|
6066
6105
|
issues: VocabularyResolutionIssue[];
|
|
6067
6106
|
unresolvedReferences: DocumentSnapshotRef[];
|
|
6068
6107
|
snapshots: Array<DocumentSnapshotRef & {
|
|
6069
|
-
status: Status;
|
|
6108
|
+
status: Status$2;
|
|
6070
6109
|
}>;
|
|
6071
6110
|
bindings: VocabularyBindingResolution[];
|
|
6072
6111
|
/** Extensions are retained, but this core evaluator does not approve domain semantics. */
|
|
@@ -6077,4 +6116,436 @@ interface VocabularyBindingResult {
|
|
|
6077
6116
|
/** Resolve declared terminology without changing subjects, inputs or assessment outcomes. */
|
|
6078
6117
|
declare function evaluateVocabularyBindings(input: unknown, options: VocabularyBindingOptions): Promise<VocabularyBindingResult>;
|
|
6079
6118
|
|
|
6080
|
-
export { ACQUISITION_BINDINGS_PROFILE, ACQUISITION_BINDINGS_SCHEMA_ID, ARCHIVAL_CASE_PRESENTATION_SCHEMA_ID, ASSESSMENT_DOCUMENTATION_PROFILE, type AcquisitionBindingOptions, type AcquisitionBindingResult, type AcquisitionBindings, AcquisitionBindingsSchema, type AdvancedRadarProfileIssue, type AdvancedRadarProfileResult, ArchivalCasePresentationSchema, type ArchivalReviewOptions, type ArchivalReviewResult, type AssessmentDocumentation, type AssessmentDocumentationCompletion, type AssetCheck, type BindingAssetCheck, type BindingIssue, type BindingIssueCode, CASE_PRESENTATION_SCHEMA_ID, CONTEXT_CASE_PRESENTATION_SCHEMA_ID, CONTEXT_MEASUREMENT_ROLES, type CaseHistoryReviewResult, type CaseLinksReviewResult, type CasePresentation, CasePresentationSchema, type CasePublicationApproval, type CaseReviewOptions, type CaseReviewResult, type CompletionStatus, type ContextCasePresentation, ContextCasePresentationSchema, type ContextReviewOptions, type ContextReviewResult, DATASET_RELEASE_PROFILE, DATASET_RELEASE_SCHEMA_ID, DOCUMENTATION_COMPLETION_POLICY, DOCUMENTATION_REQUIREMENTS, type DatasetIssue, type DatasetPacketInput, type DatasetRelease, type DatasetReleaseResult, DatasetReleaseSchema, type DocumentationAction, type DocumentationCompletionResult, type DocumentationIssue, type DocumentationIssueCode, type DocumentationOptions, type DocumentationRequirement, type DocumentationRequirementId, type DocumentationResult, HISTORICAL_TESTIMONY_PROFILE, HISTORICAL_TESTIMONY_REQUIREMENTS, HISTORICAL_TESTIMONY_SELECTION_SCHEMA_ID, type HistoricalTestimonyCompletionStatus, type HistoricalTestimonyIssue, type HistoricalTestimonyReport, type HistoricalTestimonyRequirement, type HistoricalTestimonyRequirementId, type HistoricalTestimonyResult, type HistoricalTestimonySelection, HistoricalTestimonySelectionSchema, INSTRUMENT_RESEARCH_COMPLETION_POLICY, INSTRUMENT_RESEARCH_PREREQUISITES_PROFILE, INSTRUMENT_RESEARCH_REQUIREMENTS, INSTRUMENT_RESEARCH_REVIEW_SCHEMA_ID, type InstrumentResearchCompletionResult, type InstrumentResearchOptions, type InstrumentResearchResult, type InstrumentResearchReview, InstrumentResearchReviewSchema, LIDAR_POINT_COLUMNS, LIDAR_PROFILE, LIDAR_PROFILE_SCHEMA_ID, LIDAR_PULSE_COLUMNS, type LaboratoryReviewOptions, type LaboratoryReviewResult, type LidarDeclaration, type LidarDecodedProducts, type LidarPoint, type LidarProfile, type LidarProfileResult, LidarProfileSchema, type LidarPulse, type LidarSourceRow, MATERIAL_CASE_PRESENTATION_SCHEMA_ID, MEASUREMENT_BINDINGS_PROFILE, MEASUREMENT_BINDINGS_SCHEMA_ID, MIGRATION_COMPATIBILITY_SCHEMA_ID, MIGRATION_LEGACY_SCORES_SCHEMA_ID, MIGRATION_RESOLUTION_SCHEMA_ID, MIGRATION_REVIEW_SCHEMA_ID, MaterialCasePresentationSchema, type MeasurementBindingIssue, type MeasurementBindingResult, type MeasurementBindings, MeasurementBindingsSchema, type MigrationCompatibility, MigrationCompatibilitySchema, type MigrationLegacyScores, MigrationLegacyScoresSchema, type MigrationResolution, MigrationResolutionSchema, type MigrationReview, MigrationReviewSchema, PASSIVE_SONAR_PROFILE, PASSIVE_SONAR_PROFILE_SCHEMA_ID, PHYSICAL_SAMPLE_PROFILE, PHYSICAL_SAMPLE_REQUIREMENTS, PHYSICAL_SAMPLE_SELECTION_SCHEMA_ID, PRODUCT_SOURCE_SELECTION_PROFILE, PRODUCT_SOURCE_SELECTION_SCHEMA_ID, PROFILE_EVALUATION_POLICY, PROFILE_EVALUATION_SCHEMA_ID, PROFILE_PREPARATION_SCHEMA_ID, type PassiveSonarDeclaration, type PassiveSonarDecodedProducts, type PassiveSonarProfile, type PassiveSonarProfileResult, PassiveSonarProfileSchema, type PhysicalSampleIssue, type PhysicalSampleRecordCheck, type PhysicalSampleReport, type PhysicalSampleRequirement, type PhysicalSampleRequirementId, type PhysicalSampleResult, type PhysicalSampleSelection, PhysicalSampleSelectionSchema, type ProductBindingCheck, type ProductSourceLayout, ProductSourceLayoutSchema, type ProductSourceRead, type ProductSourceSelection, type ProductSourceSelectionIssue, type ProductSourceSelectionResult, ProductSourceSelectionSchema, type ProductSourceSelector, ProductSourceSelectorSchema, type ProfileEvaluation, type ProfileEvaluationOptions, type ProfileEvaluationReceipt, type ProfileEvaluationResult, ProfileEvaluationSchema, type ProfilePreparation, ProfilePreparationSchema, type PublicArchivalCasePayload, type PublicArchivalSelection, type PublicCasePayload, type PublicCaseResult, type PublicContextCasePayload, type PublicContextSelection, type PublicMaterialCasePayload, type PublicMaterialSelection, type PublicTestimonyCasePayload, type PublicTestimonySelection, RADAR_PROFILE, RADAR_PROFILE_SCHEMA_ID, RADAR_TABLE_COLUMNS, RELEASED_DOCUMENT_PROFILE, RELEASED_DOCUMENT_REQUIREMENTS, RELEASED_DOCUMENT_SELECTION_SCHEMA_ID, REPRODUCTION_PACKET_PROFILE, REPRODUCTION_PACKET_SCHEMA_ID, RESEARCH_EVALUATION_POLICY, RESEARCH_EVALUATION_SCHEMA_ID, type RadarAssociation, type RadarDecodedProducts, type RadarDetection, type RadarDwell, type RadarGeometry, type RadarPlatformPose, type RadarProductRoles, type RadarProfile, type RadarProfileIssue, type RadarProfileResult, RadarProfileSchema, type RadarSiteFeatureVertex, type RadarTrack, type RadarTruth, type Rational, type RelativeSourceTime, type ReleasedDocumentCompletionStatus, type ReleasedDocumentIssue, type ReleasedDocumentReport, type ReleasedDocumentRequirement, type ReleasedDocumentRequirementId, type ReleasedDocumentResult, type ReleasedDocumentSelection, ReleasedDocumentSelectionSchema, type ReproductionFileCheck, type ReproductionPacket, type ReproductionPacketResult, ReproductionPacketSchema, type ResearchCompletionAction, type ResearchCompletionRequirement, type ResearchCompletionStatus, type ResearchEvaluation, type ResearchEvaluationOptions, type ResearchEvaluationOutput, type ResearchEvaluationReceipt, type ResearchEvaluationResult, ResearchEvaluationSchema, type ResearchRequirementId, type ResearchReviewAssetCheck, type ResearchReviewOptions, type ResearchReviewResult, SATELLITE_RASTER_PROFILE, SATELLITE_RASTER_PROFILE_SCHEMA_ID, SECONDARY_RADAR_PROFILE, SECONDARY_RADAR_PROFILE_SCHEMA_ID, SECONDARY_RADAR_TABLE_COLUMNS, SONAR_PROFILE, SONAR_PROFILE_SCHEMA_ID, SOURCE_INTAKE_PROFILE, SOURCE_INTAKE_SCHEMA_ID, STEERED_RADAR_PROFILE, STEERED_RADAR_PROFILE_SCHEMA_ID, STEERED_RADAR_TABLE_COLUMNS, type SatelliteRasterBand, type SatelliteRasterCell, type SatelliteRasterDeclaration, type SatelliteRasterDecodedProducts, type SatelliteRasterProfile, type SatelliteRasterProfileResult, SatelliteRasterProfileSchema, type SatelliteRasterQuality, type SecondaryRadarDecodedProducts, type SecondaryRadarInterrogation, type SecondaryRadarProductRoles, type SecondaryRadarProfile, type SecondaryRadarProfileResult, SecondaryRadarProfileSchema, type SecondaryRadarReply, type SecondaryRadarReport, type SecondaryRadarTruth, type SonarDeclaration, type SonarDecodedProducts, type SonarProfile, type SonarProfileIssue, type SonarProfileResult, SonarProfileSchema, type SourceAxis, type SourceIntake, type SourceIntakeResult, SourceIntakeSchema, type SteeredRadarAssociation, type SteeredRadarDecodedProducts, type SteeredRadarDetection, type SteeredRadarDwell, type SteeredRadarProductRoles, type SteeredRadarProfile, type SteeredRadarProfileResult, SteeredRadarProfileSchema, type SteeredRadarTrack, type SteeredRadarTruth, TESTIMONY_CASE_PRESENTATION_SCHEMA_ID, TestimonyCasePresentationSchema, VOCABULARY_BINDINGS_PROFILE, type VocabularyBindingOptions, type VocabularyBindingResolution, type VocabularyBindingResult, type VocabularyResolutionIssue, acquisitionBindingsJsonSchema, archivalCasePresentationJsonSchema, buildPublicArchivalCase, buildPublicArchivalCaseOutputs, buildPublicCase, buildPublicCaseOutputs, buildPublicContextCase, buildPublicContextCaseOutputs, buildPublicMaterialCase, buildPublicMaterialCaseOutputs, buildPublicTestimonyCase, buildPublicTestimonyCaseOutputs, casePresentationJsonSchema, computePassiveSonarSpectrum, contextCasePresentationJsonSchema, datasetReleaseJsonSchema, evaluateAcquisitionBindings, evaluateArchivalClaimHistory, evaluateAssessmentDocumentation, evaluateCaseClaimHistory, evaluateCaseLinks, evaluateCaseRecord, evaluateContextClaimHistory, evaluateDatasetRelease, evaluateDocumentationCompletion, evaluateHistoricalTestimony, evaluateInstrumentResearchCompletion, evaluateInstrumentResearchPrerequisites, evaluateLaboratoryClaimHistory, evaluateLidarProfile, evaluateMeasurementBindings, evaluatePassiveSonarProfile, evaluatePhysicalSamples, evaluateProductSourceSelection, evaluateProfileEvaluation, evaluateRadarProfile, evaluateReleasedDocuments, evaluateReproductionPacket, evaluateResearchClaimHistory, evaluateResearchEvaluation, evaluateSatelliteRasterProfile, evaluateSecondaryRadarProfile, evaluateSonarProfile, evaluateSourceIntake, evaluateSteeredRadarProfile, evaluateVocabularyBindings, formatPublicCaseOutputs, historicalTestimonySelectionJsonSchema, instrumentResearchReviewJsonSchema, lidarProfileJsonSchema, materialCasePresentationJsonSchema, measurementBindingsJsonSchema, migrationCompatibilityJsonSchema, migrationLegacyScoresJsonSchema, migrationResolutionJsonSchema, migrationReviewJsonSchema, parseArchivalCasePresentation, parseCasePresentation, parseContextCasePresentation, parseMaterialCasePresentation, parseTestimonyCasePresentation, passiveSonarBin, passiveSonarDensityDb, passiveSonarDimensions, passiveSonarProfileJsonSchema, passiveSonarSample, physicalSampleSelectionJsonSchema, productSourceSelectionJsonSchema, profileEvaluationJsonSchema, profilePreparationJsonSchema, radarCellPosition, radarCovarianceScaleSquared, radarProfileJsonSchema, readLidarProducts, readPassiveSonarBin, readPassiveSonarProducts, readPassiveSonarSample, readProductSourceSelection, readRadarProducts, readSatelliteRasterProducts, readSecondaryRadarProducts, readSonarProducts, readSonarSample, readSourceCsv, readSteeredRadarProducts, releasedDocumentSelectionJsonSchema, reproductionPacketJsonSchema, researchEvaluationJsonSchema, satelliteCellBounds, satelliteRasterProfileJsonSchema, secondaryRadarProfileJsonSchema, sonarDistance, sonarProfileJsonSchema, sonarSample, sourceElementBytes, sourceIntakeJsonSchema, steeredRadarProfileJsonSchema, testimonyCasePresentationJsonSchema, validateLidarDeclaration, validatePassiveSonarDeclaration, validateSatelliteRasterDeclaration, validateSonarDeclaration };
|
|
6119
|
+
/** Optional source mapping. MCAP owns its container and message encodings;
|
|
6120
|
+
* this document connects retained messages to DisclosureOS measurements. */
|
|
6121
|
+
|
|
6122
|
+
declare const MCAP_SOURCE_MAPPING_SCHEMA_ID = "urn:disclosureos:experimental:mcap-source-mapping:0.1.0";
|
|
6123
|
+
declare const McapSourceMappingSchema: z.ZodObject<{
|
|
6124
|
+
kind: z.ZodLiteral<"mcap_source_mapping">;
|
|
6125
|
+
schemaVersion: z.ZodLiteral<"0.1.0">;
|
|
6126
|
+
id: z.ZodString;
|
|
6127
|
+
observationId: z.ZodString;
|
|
6128
|
+
recordings: z.ZodArray<z.ZodObject<{
|
|
6129
|
+
id: z.ZodString;
|
|
6130
|
+
productRef: z.ZodString;
|
|
6131
|
+
digest: z.ZodObject<{
|
|
6132
|
+
algorithm: z.ZodLiteral<"sha256">;
|
|
6133
|
+
value: z.ZodString;
|
|
6134
|
+
}, z.core.$strict>;
|
|
6135
|
+
byteLength: z.ZodString;
|
|
6136
|
+
mediaType: z.ZodLiteral<"application/mcap">;
|
|
6137
|
+
}, z.core.$strict>>;
|
|
6138
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
6139
|
+
id: z.ZodString;
|
|
6140
|
+
recordingRef: z.ZodString;
|
|
6141
|
+
channelId: z.ZodNumber;
|
|
6142
|
+
topic: z.ZodString;
|
|
6143
|
+
messageEncoding: z.ZodString;
|
|
6144
|
+
schema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6145
|
+
id: z.ZodLiteral<0>;
|
|
6146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6147
|
+
id: z.ZodNumber;
|
|
6148
|
+
name: z.ZodString;
|
|
6149
|
+
encoding: z.ZodString;
|
|
6150
|
+
digest: z.ZodObject<{
|
|
6151
|
+
algorithm: z.ZodLiteral<"sha256">;
|
|
6152
|
+
value: z.ZodString;
|
|
6153
|
+
}, z.core.$strict>;
|
|
6154
|
+
}, z.core.$strict>]>;
|
|
6155
|
+
decoder: z.ZodObject<{
|
|
6156
|
+
methodRef: z.ZodString;
|
|
6157
|
+
methodVersion: z.ZodString;
|
|
6158
|
+
}, z.core.$strict>;
|
|
6159
|
+
}, z.core.$strict>>;
|
|
6160
|
+
selections: z.ZodArray<z.ZodObject<{
|
|
6161
|
+
id: z.ZodString;
|
|
6162
|
+
measurementRef: z.ZodString;
|
|
6163
|
+
channelRef: z.ZodString;
|
|
6164
|
+
message: z.ZodObject<{
|
|
6165
|
+
location: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6166
|
+
kind: z.ZodLiteral<"file">;
|
|
6167
|
+
offset: z.ZodString;
|
|
6168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6169
|
+
kind: z.ZodLiteral<"chunk">;
|
|
6170
|
+
chunkOffset: z.ZodString;
|
|
6171
|
+
recordOffset: z.ZodString;
|
|
6172
|
+
}, z.core.$strict>], "kind">;
|
|
6173
|
+
sequence: z.ZodNumber;
|
|
6174
|
+
logTimeNs: z.ZodString;
|
|
6175
|
+
publishTimeNs: z.ZodString;
|
|
6176
|
+
}, z.core.$strict>;
|
|
6177
|
+
payloadPointer: z.ZodString;
|
|
6178
|
+
}, z.core.$strict>>;
|
|
6179
|
+
}, z.core.$strict>;
|
|
6180
|
+
type McapSourceMapping = z.infer<typeof McapSourceMappingSchema>;
|
|
6181
|
+
declare function mcapSourceMappingJsonSchema(): Record<string, unknown>;
|
|
6182
|
+
type McapResolvedMessage = {
|
|
6183
|
+
channelId: number;
|
|
6184
|
+
topic: string;
|
|
6185
|
+
messageEncoding: string;
|
|
6186
|
+
schema: McapSourceMapping["channels"][number]["schema"];
|
|
6187
|
+
message: McapSourceMapping["selections"][number]["message"];
|
|
6188
|
+
decoded: unknown;
|
|
6189
|
+
};
|
|
6190
|
+
/** A caller-supplied, trusted MCAP reader and versioned payload decoder. Locate
|
|
6191
|
+
* by byte location, never by time alone. No network access is performed here. */
|
|
6192
|
+
type McapMessageResolver = (request: {
|
|
6193
|
+
recording: McapSourceMapping["recordings"][number];
|
|
6194
|
+
channel: McapSourceMapping["channels"][number];
|
|
6195
|
+
message: McapSourceMapping["selections"][number]["message"];
|
|
6196
|
+
bytes: Uint8Array;
|
|
6197
|
+
}) => McapResolvedMessage | Promise<McapResolvedMessage>;
|
|
6198
|
+
type Status$1 = "passed" | "failed" | "not_checked";
|
|
6199
|
+
type McapSourceMappingResult = {
|
|
6200
|
+
success: boolean;
|
|
6201
|
+
checks: {
|
|
6202
|
+
structural: Status$1;
|
|
6203
|
+
semantic: Status$1;
|
|
6204
|
+
external: Status$1;
|
|
6205
|
+
content: Status$1;
|
|
6206
|
+
};
|
|
6207
|
+
issues: {
|
|
6208
|
+
code: string;
|
|
6209
|
+
pointer: string;
|
|
6210
|
+
message: string;
|
|
6211
|
+
}[];
|
|
6212
|
+
selections: {
|
|
6213
|
+
id: string;
|
|
6214
|
+
status: Status$1;
|
|
6215
|
+
value?: number;
|
|
6216
|
+
}[];
|
|
6217
|
+
scientific: "not_checked";
|
|
6218
|
+
calibration: "not_checked";
|
|
6219
|
+
units: "not_checked";
|
|
6220
|
+
};
|
|
6221
|
+
declare function evaluateMcapSourceMapping(observationInput: unknown, mappingInput: unknown, options?: {
|
|
6222
|
+
assets?: ReadonlyMap<string, Uint8Array>;
|
|
6223
|
+
resolveMessage?: McapMessageResolver;
|
|
6224
|
+
}): Promise<McapSourceMappingResult>;
|
|
6225
|
+
|
|
6226
|
+
/** Optional video source mapping. Containers and codecs remain external;
|
|
6227
|
+
* this contract addresses decoded presentation-order frames without UTC. */
|
|
6228
|
+
|
|
6229
|
+
declare const VIDEO_FRAME_SOURCE_MAPPING_SCHEMA_ID = "urn:disclosureos:experimental:video-frame-source-mapping:0.1.0";
|
|
6230
|
+
declare const VideoFrameSourceMappingSchema: z.ZodObject<{
|
|
6231
|
+
kind: z.ZodLiteral<"video_frame_source_mapping">;
|
|
6232
|
+
schemaVersion: z.ZodLiteral<"0.1.0">;
|
|
6233
|
+
id: z.ZodString;
|
|
6234
|
+
observationId: z.ZodString;
|
|
6235
|
+
productRef: z.ZodString;
|
|
6236
|
+
digest: z.ZodObject<{
|
|
6237
|
+
algorithm: z.ZodLiteral<"sha256">;
|
|
6238
|
+
value: z.ZodString;
|
|
6239
|
+
}, z.core.$strict>;
|
|
6240
|
+
byteLength: z.ZodNumber;
|
|
6241
|
+
mediaType: z.ZodString;
|
|
6242
|
+
indexer: z.ZodObject<{
|
|
6243
|
+
methodRef: z.ZodString;
|
|
6244
|
+
methodVersion: z.ZodString;
|
|
6245
|
+
}, z.core.$strict>;
|
|
6246
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
6247
|
+
streamIndex: z.ZodNumber;
|
|
6248
|
+
timeBase: z.ZodObject<{
|
|
6249
|
+
numerator: z.ZodNumber;
|
|
6250
|
+
denominator: z.ZodNumber;
|
|
6251
|
+
}, z.core.$strict>;
|
|
6252
|
+
presentationTicks: z.ZodArray<z.ZodString>;
|
|
6253
|
+
}, z.core.$strict>>;
|
|
6254
|
+
selections: z.ZodArray<z.ZodObject<{
|
|
6255
|
+
id: z.ZodString;
|
|
6256
|
+
streamIndex: z.ZodNumber;
|
|
6257
|
+
frameIndex: z.ZodNumber;
|
|
6258
|
+
}, z.core.$strict>>;
|
|
6259
|
+
}, z.core.$strict>;
|
|
6260
|
+
type VideoFrameSourceMapping = z.infer<typeof VideoFrameSourceMappingSchema>;
|
|
6261
|
+
declare function videoFrameSourceMappingJsonSchema(): Record<string, unknown>;
|
|
6262
|
+
type VideoPresentationStream = VideoFrameSourceMapping["streams"][number];
|
|
6263
|
+
/** Trusted external decoder returns complete frame timing for the requested
|
|
6264
|
+
* stream indexes, in presentation order. No seeking by rounded seconds. */
|
|
6265
|
+
type VideoFrameIndexResolver = (request: {
|
|
6266
|
+
bytes: Uint8Array;
|
|
6267
|
+
streamIndexes: number[];
|
|
6268
|
+
indexer: VideoFrameSourceMapping["indexer"];
|
|
6269
|
+
}) => VideoPresentationStream[] | Promise<VideoPresentationStream[]>;
|
|
6270
|
+
type VideoFrameReference = {
|
|
6271
|
+
productRef: string;
|
|
6272
|
+
digest: VideoFrameSourceMapping["digest"];
|
|
6273
|
+
streamIndex: number;
|
|
6274
|
+
frameIndex: number;
|
|
6275
|
+
presentationTick: string;
|
|
6276
|
+
timeBase: VideoPresentationStream["timeBase"];
|
|
6277
|
+
presentationSeconds: {
|
|
6278
|
+
numerator: string;
|
|
6279
|
+
denominator: string;
|
|
6280
|
+
};
|
|
6281
|
+
offsetFromFirstFrameSeconds: {
|
|
6282
|
+
numerator: string;
|
|
6283
|
+
denominator: string;
|
|
6284
|
+
};
|
|
6285
|
+
};
|
|
6286
|
+
/** Pure lookup after validation. The original timestamp is never rebased or
|
|
6287
|
+
* coerced through floating point; the relative offset is returned separately. */
|
|
6288
|
+
declare function readVideoFrameReference(mapping: VideoFrameSourceMapping, streamIndex: number, frameIndex: number): VideoFrameReference;
|
|
6289
|
+
type Status = "passed" | "failed" | "not_checked";
|
|
6290
|
+
type VideoFrameSourceMappingResult = {
|
|
6291
|
+
success: boolean;
|
|
6292
|
+
checks: {
|
|
6293
|
+
structural: Status;
|
|
6294
|
+
semantic: Status;
|
|
6295
|
+
external: Status;
|
|
6296
|
+
frameTiming: Status;
|
|
6297
|
+
};
|
|
6298
|
+
issues: {
|
|
6299
|
+
code: string;
|
|
6300
|
+
pointer: string;
|
|
6301
|
+
message: string;
|
|
6302
|
+
}[];
|
|
6303
|
+
selections: {
|
|
6304
|
+
id: string;
|
|
6305
|
+
status: Status;
|
|
6306
|
+
reference?: VideoFrameReference;
|
|
6307
|
+
}[];
|
|
6308
|
+
captureTime: "not_checked";
|
|
6309
|
+
scientific: "not_checked";
|
|
6310
|
+
calibration: "not_checked";
|
|
6311
|
+
pixelContent: "not_checked";
|
|
6312
|
+
};
|
|
6313
|
+
declare function evaluateVideoFrameSourceMapping(observationInput: unknown, mappingInput: unknown, options?: {
|
|
6314
|
+
assets?: ReadonlyMap<string, Uint8Array>;
|
|
6315
|
+
resolveFrameIndex?: VideoFrameIndexResolver;
|
|
6316
|
+
}): Promise<VideoFrameSourceMappingResult>;
|
|
6317
|
+
|
|
6318
|
+
declare const CLAIM_REVIEW_EVALUATION_SCHEMA_ID = "urn:disclosureos:experimental:claim-review-evaluation:0.1.0";
|
|
6319
|
+
declare const CLAIM_REVIEW_RECEIPT_SCHEMA_ID = "urn:disclosureos:experimental:claim-review-receipt:0.1.0";
|
|
6320
|
+
declare const CLAIM_REVIEW_EVALUATION_POLICY: Readonly<{
|
|
6321
|
+
readonly id: "urn:disclosureos:experimental:policy:claim-review-evaluation";
|
|
6322
|
+
readonly version: "0.1.0";
|
|
6323
|
+
readonly scope: "declared_claims_documentary_support_and_snapshot_identity";
|
|
6324
|
+
}>;
|
|
6325
|
+
declare const ClaimReviewEvaluationSchema: z.ZodObject<{
|
|
6326
|
+
kind: z.ZodLiteral<"claim_review_evaluation">;
|
|
6327
|
+
schemaVersion: z.ZodLiteral<"0.1.0">;
|
|
6328
|
+
id: z.ZodString;
|
|
6329
|
+
review: z.ZodObject<{
|
|
6330
|
+
documentId: z.ZodString;
|
|
6331
|
+
schemaId: z.ZodEnum<{
|
|
6332
|
+
"urn:disclosureos:experimental:claim-history:0.6.0": "urn:disclosureos:experimental:claim-history:0.6.0";
|
|
6333
|
+
"urn:disclosureos:experimental:case-claim-history:0.2.0": "urn:disclosureos:experimental:case-claim-history:0.2.0";
|
|
6334
|
+
}>;
|
|
6335
|
+
sha256: z.ZodString;
|
|
6336
|
+
}, z.core.$strict>;
|
|
6337
|
+
}, z.core.$strict>;
|
|
6338
|
+
type ClaimReviewEvaluation = z.infer<typeof ClaimReviewEvaluationSchema>;
|
|
6339
|
+
declare const ClaimReviewReceiptSchema: z.ZodObject<{
|
|
6340
|
+
kind: z.ZodLiteral<"claim_review_receipt">;
|
|
6341
|
+
schemaVersion: z.ZodLiteral<"0.1.0">;
|
|
6342
|
+
policy: z.ZodObject<{
|
|
6343
|
+
id: z.ZodLiteral<"urn:disclosureos:experimental:policy:claim-review-evaluation">;
|
|
6344
|
+
version: z.ZodLiteral<"0.1.0">;
|
|
6345
|
+
scope: z.ZodLiteral<"declared_claims_documentary_support_and_snapshot_identity">;
|
|
6346
|
+
}, z.core.$strict>;
|
|
6347
|
+
serialization: z.ZodLiteral<"sorted-json-utf8:0.1.0">;
|
|
6348
|
+
input: z.ZodObject<{
|
|
6349
|
+
sha256: z.ZodString;
|
|
6350
|
+
byteLength: z.ZodNumber;
|
|
6351
|
+
}, z.core.$strict>;
|
|
6352
|
+
output: z.ZodObject<{
|
|
6353
|
+
sha256: z.ZodString;
|
|
6354
|
+
byteLength: z.ZodNumber;
|
|
6355
|
+
}, z.core.$strict>;
|
|
6356
|
+
inputJson: z.ZodString;
|
|
6357
|
+
outputJson: z.ZodString;
|
|
6358
|
+
}, z.core.$strict>;
|
|
6359
|
+
type ClaimReviewReceipt = z.infer<typeof ClaimReviewReceiptSchema>;
|
|
6360
|
+
declare function claimReviewEvaluationJsonSchema(): {
|
|
6361
|
+
$id: string;
|
|
6362
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
6363
|
+
kind: z.ZodLiteral<"claim_review_evaluation">;
|
|
6364
|
+
schemaVersion: z.ZodLiteral<"0.1.0">;
|
|
6365
|
+
id: z.ZodString;
|
|
6366
|
+
review: z.ZodObject<{
|
|
6367
|
+
documentId: z.ZodString;
|
|
6368
|
+
schemaId: z.ZodEnum<{
|
|
6369
|
+
"urn:disclosureos:experimental:claim-history:0.6.0": "urn:disclosureos:experimental:claim-history:0.6.0";
|
|
6370
|
+
"urn:disclosureos:experimental:case-claim-history:0.2.0": "urn:disclosureos:experimental:case-claim-history:0.2.0";
|
|
6371
|
+
}>;
|
|
6372
|
+
sha256: z.ZodString;
|
|
6373
|
+
}, z.core.$strict>;
|
|
6374
|
+
}, z.core.$strict>>;
|
|
6375
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
6376
|
+
$anchor?: string;
|
|
6377
|
+
$ref?: string;
|
|
6378
|
+
$dynamicRef?: string;
|
|
6379
|
+
$dynamicAnchor?: string;
|
|
6380
|
+
$vocabulary?: Record<string, boolean>;
|
|
6381
|
+
$comment?: string;
|
|
6382
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
6383
|
+
type?: z.core.JSONSchema.SchemaType | z.core.JSONSchema.SchemaType[];
|
|
6384
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
6385
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
6386
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
6387
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
6388
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
6389
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
6390
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
6391
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
6392
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
6393
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
6394
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
6395
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
6396
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
6397
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
6398
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
6399
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
6400
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
6401
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
6402
|
+
multipleOf?: number;
|
|
6403
|
+
maximum?: number;
|
|
6404
|
+
exclusiveMaximum?: number | boolean;
|
|
6405
|
+
minimum?: number;
|
|
6406
|
+
exclusiveMinimum?: number | boolean;
|
|
6407
|
+
maxLength?: number;
|
|
6408
|
+
minLength?: number;
|
|
6409
|
+
pattern?: string;
|
|
6410
|
+
maxItems?: number;
|
|
6411
|
+
minItems?: number;
|
|
6412
|
+
uniqueItems?: boolean;
|
|
6413
|
+
maxContains?: number;
|
|
6414
|
+
minContains?: number;
|
|
6415
|
+
maxProperties?: number;
|
|
6416
|
+
minProperties?: number;
|
|
6417
|
+
required?: string[];
|
|
6418
|
+
dependentRequired?: Record<string, string[]>;
|
|
6419
|
+
enum?: Array<string | number | boolean | null>;
|
|
6420
|
+
const?: string | number | boolean | null;
|
|
6421
|
+
id?: string;
|
|
6422
|
+
title?: string;
|
|
6423
|
+
description?: string;
|
|
6424
|
+
default?: unknown;
|
|
6425
|
+
deprecated?: boolean;
|
|
6426
|
+
readOnly?: boolean;
|
|
6427
|
+
writeOnly?: boolean;
|
|
6428
|
+
nullable?: boolean;
|
|
6429
|
+
examples?: unknown[];
|
|
6430
|
+
format?: string;
|
|
6431
|
+
contentMediaType?: string;
|
|
6432
|
+
contentEncoding?: string;
|
|
6433
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
6434
|
+
_prefault?: unknown;
|
|
6435
|
+
};
|
|
6436
|
+
declare function claimReviewReceiptJsonSchema(): {
|
|
6437
|
+
$id: string;
|
|
6438
|
+
"~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
|
|
6439
|
+
kind: z.ZodLiteral<"claim_review_receipt">;
|
|
6440
|
+
schemaVersion: z.ZodLiteral<"0.1.0">;
|
|
6441
|
+
policy: z.ZodObject<{
|
|
6442
|
+
id: z.ZodLiteral<"urn:disclosureos:experimental:policy:claim-review-evaluation">;
|
|
6443
|
+
version: z.ZodLiteral<"0.1.0">;
|
|
6444
|
+
scope: z.ZodLiteral<"declared_claims_documentary_support_and_snapshot_identity">;
|
|
6445
|
+
}, z.core.$strict>;
|
|
6446
|
+
serialization: z.ZodLiteral<"sorted-json-utf8:0.1.0">;
|
|
6447
|
+
input: z.ZodObject<{
|
|
6448
|
+
sha256: z.ZodString;
|
|
6449
|
+
byteLength: z.ZodNumber;
|
|
6450
|
+
}, z.core.$strict>;
|
|
6451
|
+
output: z.ZodObject<{
|
|
6452
|
+
sha256: z.ZodString;
|
|
6453
|
+
byteLength: z.ZodNumber;
|
|
6454
|
+
}, z.core.$strict>;
|
|
6455
|
+
inputJson: z.ZodString;
|
|
6456
|
+
outputJson: z.ZodString;
|
|
6457
|
+
}, z.core.$strict>>;
|
|
6458
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
6459
|
+
$anchor?: string;
|
|
6460
|
+
$ref?: string;
|
|
6461
|
+
$dynamicRef?: string;
|
|
6462
|
+
$dynamicAnchor?: string;
|
|
6463
|
+
$vocabulary?: Record<string, boolean>;
|
|
6464
|
+
$comment?: string;
|
|
6465
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
6466
|
+
type?: z.core.JSONSchema.SchemaType | z.core.JSONSchema.SchemaType[];
|
|
6467
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
6468
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
6469
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
6470
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
6471
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
6472
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
6473
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
6474
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
6475
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
6476
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
6477
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
6478
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
6479
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
6480
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
6481
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
6482
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
6483
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
6484
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
6485
|
+
multipleOf?: number;
|
|
6486
|
+
maximum?: number;
|
|
6487
|
+
exclusiveMaximum?: number | boolean;
|
|
6488
|
+
minimum?: number;
|
|
6489
|
+
exclusiveMinimum?: number | boolean;
|
|
6490
|
+
maxLength?: number;
|
|
6491
|
+
minLength?: number;
|
|
6492
|
+
pattern?: string;
|
|
6493
|
+
maxItems?: number;
|
|
6494
|
+
minItems?: number;
|
|
6495
|
+
uniqueItems?: boolean;
|
|
6496
|
+
maxContains?: number;
|
|
6497
|
+
minContains?: number;
|
|
6498
|
+
maxProperties?: number;
|
|
6499
|
+
minProperties?: number;
|
|
6500
|
+
required?: string[];
|
|
6501
|
+
dependentRequired?: Record<string, string[]>;
|
|
6502
|
+
enum?: Array<string | number | boolean | null>;
|
|
6503
|
+
const?: string | number | boolean | null;
|
|
6504
|
+
id?: string;
|
|
6505
|
+
title?: string;
|
|
6506
|
+
description?: string;
|
|
6507
|
+
default?: unknown;
|
|
6508
|
+
deprecated?: boolean;
|
|
6509
|
+
readOnly?: boolean;
|
|
6510
|
+
writeOnly?: boolean;
|
|
6511
|
+
nullable?: boolean;
|
|
6512
|
+
examples?: unknown[];
|
|
6513
|
+
format?: string;
|
|
6514
|
+
contentMediaType?: string;
|
|
6515
|
+
contentEncoding?: string;
|
|
6516
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
6517
|
+
_prefault?: unknown;
|
|
6518
|
+
};
|
|
6519
|
+
interface ClaimReviewEvaluationOptions {
|
|
6520
|
+
/** Exact review document bytes, not a parsed/re-serialized substitute. */
|
|
6521
|
+
reviewBytes?: Uint8Array;
|
|
6522
|
+
/** Exact case and observation snapshots keyed by SHA-256. */
|
|
6523
|
+
documents?: ReadonlyMap<string, Uint8Array>;
|
|
6524
|
+
/** Source/product bytes keyed by their local reference in an observation history. */
|
|
6525
|
+
assets?: ReadonlyMap<string, Uint8Array>;
|
|
6526
|
+
}
|
|
6527
|
+
type ReviewOutput = Awaited<ReturnType<typeof evaluateObservationClaimDocumentation>> | Awaited<ReturnType<typeof evaluateCaseClaimHistoryV02>>;
|
|
6528
|
+
interface ClaimReviewEvaluationResult {
|
|
6529
|
+
success: boolean;
|
|
6530
|
+
checks: {
|
|
6531
|
+
structural: 'passed' | 'failed';
|
|
6532
|
+
external: 'passed' | 'failed' | 'not_checked';
|
|
6533
|
+
evaluation: 'passed' | 'failed' | 'not_checked';
|
|
6534
|
+
};
|
|
6535
|
+
issues: {
|
|
6536
|
+
code: string;
|
|
6537
|
+
pointer: string;
|
|
6538
|
+
message: string;
|
|
6539
|
+
}[];
|
|
6540
|
+
output: ReviewOutput | null;
|
|
6541
|
+
receipt: ClaimReviewReceipt | null;
|
|
6542
|
+
scientificEligibility: 'not_checked';
|
|
6543
|
+
processingChronology: 'not_checked';
|
|
6544
|
+
publicationPolicy: 'not_checked';
|
|
6545
|
+
}
|
|
6546
|
+
/** Offline, deterministic evaluation. Receipts record inputs/results, not an attestation or public projection. */
|
|
6547
|
+
declare function evaluateClaimReview(input: unknown, options?: ClaimReviewEvaluationOptions): Promise<ClaimReviewEvaluationResult>;
|
|
6548
|
+
/** Integrity of the receipt's serialized strings only. Replay the evaluator with source bytes to verify the computation. */
|
|
6549
|
+
declare function verifyClaimReviewReceipt(input: unknown): Promise<boolean>;
|
|
6550
|
+
|
|
6551
|
+
export { ACQUISITION_BINDINGS_PROFILE, ACQUISITION_BINDINGS_SCHEMA_ID, ARCHIVAL_CASE_PRESENTATION_SCHEMA_ID, ASSESSMENT_DOCUMENTATION_PROFILE, type AcquisitionBindingOptions, type AcquisitionBindingResult, type AcquisitionBindings, AcquisitionBindingsSchema, type AdvancedRadarProfileIssue, type AdvancedRadarProfileResult, ArchivalCasePresentationSchema, type ArchivalReviewOptions, type ArchivalReviewResult, type AssessmentDocumentation, type AssessmentDocumentationCompletion, type AssetCheck, type BindingAssetCheck, type BindingIssue, type BindingIssueCode, CASE_PRESENTATION_SCHEMA_ID, CLAIM_REVIEW_EVALUATION_POLICY, CLAIM_REVIEW_EVALUATION_SCHEMA_ID, CLAIM_REVIEW_RECEIPT_SCHEMA_ID, CONTEXT_CASE_PRESENTATION_SCHEMA_ID, CONTEXT_MEASUREMENT_ROLES, type CaseHistoryReviewResult, type CaseLinksReviewResult, type CasePresentation, CasePresentationSchema, type CasePublicationApproval, type CaseReviewOptions, type CaseReviewResult, type ClaimReviewEvaluation, type ClaimReviewEvaluationOptions, type ClaimReviewEvaluationResult, ClaimReviewEvaluationSchema, type ClaimReviewReceipt, ClaimReviewReceiptSchema, type CompletionStatus, type ContextCasePresentation, ContextCasePresentationSchema, type ContextReviewOptions, type ContextReviewResult, DATASET_RELEASE_PROFILE, DATASET_RELEASE_SCHEMA_ID, DOCUMENTATION_COMPLETION_POLICY, DOCUMENTATION_REQUIREMENTS, type DatasetIssue, type DatasetPacketInput, type DatasetRelease, type DatasetReleaseResult, DatasetReleaseSchema, type DocumentationAction, type DocumentationCompletionResult, type DocumentationIssue, type DocumentationIssueCode, type DocumentationOptions, type DocumentationRequirement, type DocumentationRequirementId, type DocumentationResult, HISTORICAL_TESTIMONY_PROFILE, HISTORICAL_TESTIMONY_REQUIREMENTS, HISTORICAL_TESTIMONY_SELECTION_SCHEMA_ID, type HistoricalTestimonyCompletionStatus, type HistoricalTestimonyIssue, type HistoricalTestimonyReport, type HistoricalTestimonyRequirement, type HistoricalTestimonyRequirementId, type HistoricalTestimonyResult, type HistoricalTestimonySelection, HistoricalTestimonySelectionSchema, INSTRUMENT_RESEARCH_COMPLETION_POLICY, INSTRUMENT_RESEARCH_PREREQUISITES_PROFILE, INSTRUMENT_RESEARCH_REQUIREMENTS, INSTRUMENT_RESEARCH_REVIEW_SCHEMA_ID, type InstrumentResearchCompletionResult, type InstrumentResearchOptions, type InstrumentResearchResult, type InstrumentResearchReview, InstrumentResearchReviewSchema, LIDAR_POINT_COLUMNS, LIDAR_PROFILE, LIDAR_PROFILE_SCHEMA_ID, LIDAR_PULSE_COLUMNS, type LaboratoryReviewOptions, type LaboratoryReviewResult, type LidarDeclaration, type LidarDecodedProducts, type LidarPoint, type LidarProfile, type LidarProfileResult, LidarProfileSchema, type LidarPulse, type LidarSourceRow, MATERIAL_CASE_PRESENTATION_SCHEMA_ID, MCAP_SOURCE_MAPPING_SCHEMA_ID, MEASUREMENT_BINDINGS_PROFILE, MEASUREMENT_BINDINGS_SCHEMA_ID, MIGRATION_COMPATIBILITY_SCHEMA_ID, MIGRATION_LEGACY_SCORES_SCHEMA_ID, MIGRATION_RESOLUTION_SCHEMA_ID, MIGRATION_REVIEW_SCHEMA_ID, MaterialCasePresentationSchema, type McapMessageResolver, type McapResolvedMessage, type McapSourceMapping, type McapSourceMappingResult, McapSourceMappingSchema, type MeasurementBindingIssue, type MeasurementBindingResult, type MeasurementBindings, MeasurementBindingsSchema, type MigrationCompatibility, MigrationCompatibilitySchema, type MigrationLegacyScores, MigrationLegacyScoresSchema, type MigrationResolution, MigrationResolutionSchema, type MigrationReview, MigrationReviewSchema, OBSERVATION_CLAIM_DOCUMENTATION_PROFILE, PASSIVE_SONAR_PROFILE, PASSIVE_SONAR_PROFILE_SCHEMA_ID, PHYSICAL_SAMPLE_PROFILE, PHYSICAL_SAMPLE_REQUIREMENTS, PHYSICAL_SAMPLE_SELECTION_SCHEMA_ID, PRODUCT_SOURCE_SELECTION_PROFILE, PRODUCT_SOURCE_SELECTION_SCHEMA_ID, PROFILE_EVALUATION_POLICY, PROFILE_EVALUATION_SCHEMA_ID, PROFILE_PREPARATION_SCHEMA_ID, type PassiveSonarDeclaration, type PassiveSonarDecodedProducts, type PassiveSonarProfile, type PassiveSonarProfileResult, PassiveSonarProfileSchema, type PhysicalSampleIssue, type PhysicalSampleRecordCheck, type PhysicalSampleReport, type PhysicalSampleRequirement, type PhysicalSampleRequirementId, type PhysicalSampleResult, type PhysicalSampleSelection, PhysicalSampleSelectionSchema, type ProductBindingCheck, type ProductSourceLayout, ProductSourceLayoutSchema, type ProductSourceRead, type ProductSourceSelection, type ProductSourceSelectionIssue, type ProductSourceSelectionResult, ProductSourceSelectionSchema, type ProductSourceSelector, ProductSourceSelectorSchema, type ProfileEvaluation, type ProfileEvaluationOptions, type ProfileEvaluationReceipt, type ProfileEvaluationResult, ProfileEvaluationSchema, type ProfilePreparation, ProfilePreparationSchema, type PublicArchivalCasePayload, type PublicArchivalSelection, type PublicCasePayload, type PublicCaseResult, type PublicContextCasePayload, type PublicContextSelection, type PublicMaterialCasePayload, type PublicMaterialSelection, type PublicTestimonyCasePayload, type PublicTestimonySelection, RADAR_PROFILE, RADAR_PROFILE_SCHEMA_ID, RADAR_TABLE_COLUMNS, RELEASED_DOCUMENT_PROFILE, RELEASED_DOCUMENT_REQUIREMENTS, RELEASED_DOCUMENT_SELECTION_SCHEMA_ID, REPRODUCTION_PACKET_PROFILE, REPRODUCTION_PACKET_SCHEMA_ID, RESEARCH_EVALUATION_POLICY, RESEARCH_EVALUATION_SCHEMA_ID, type RadarAssociation, type RadarDecodedProducts, type RadarDetection, type RadarDwell, type RadarGeometry, type RadarPlatformPose, type RadarProductRoles, type RadarProfile, type RadarProfileIssue, type RadarProfileResult, RadarProfileSchema, type RadarSiteFeatureVertex, type RadarTrack, type RadarTruth, type Rational, type RelativeSourceTime, type ReleasedDocumentCompletionStatus, type ReleasedDocumentIssue, type ReleasedDocumentReport, type ReleasedDocumentRequirement, type ReleasedDocumentRequirementId, type ReleasedDocumentResult, type ReleasedDocumentSelection, ReleasedDocumentSelectionSchema, type ReproductionFileCheck, type ReproductionPacket, type ReproductionPacketResult, ReproductionPacketSchema, type ResearchCompletionAction, type ResearchCompletionRequirement, type ResearchCompletionStatus, type ResearchEvaluation, type ResearchEvaluationOptions, type ResearchEvaluationOutput, type ResearchEvaluationReceipt, type ResearchEvaluationResult, ResearchEvaluationSchema, type ResearchRequirementId, type ResearchReviewAssetCheck, type ResearchReviewOptions, type ResearchReviewResult, SATELLITE_RASTER_PROFILE, SATELLITE_RASTER_PROFILE_SCHEMA_ID, SECONDARY_RADAR_PROFILE, SECONDARY_RADAR_PROFILE_SCHEMA_ID, SECONDARY_RADAR_TABLE_COLUMNS, SONAR_PROFILE, SONAR_PROFILE_SCHEMA_ID, SOURCE_INTAKE_PROFILE, SOURCE_INTAKE_SCHEMA_ID, STEERED_RADAR_PROFILE, STEERED_RADAR_PROFILE_SCHEMA_ID, STEERED_RADAR_TABLE_COLUMNS, type SatelliteRasterBand, type SatelliteRasterCell, type SatelliteRasterDeclaration, type SatelliteRasterDecodedProducts, type SatelliteRasterProfile, type SatelliteRasterProfileResult, SatelliteRasterProfileSchema, type SatelliteRasterQuality, type SecondaryRadarDecodedProducts, type SecondaryRadarInterrogation, type SecondaryRadarProductRoles, type SecondaryRadarProfile, type SecondaryRadarProfileResult, SecondaryRadarProfileSchema, type SecondaryRadarReply, type SecondaryRadarReport, type SecondaryRadarTruth, type SonarDeclaration, type SonarDecodedProducts, type SonarProfile, type SonarProfileIssue, type SonarProfileResult, SonarProfileSchema, type SourceAxis, type SourceIntake, type SourceIntakeResult, SourceIntakeSchema, type SteeredRadarAssociation, type SteeredRadarDecodedProducts, type SteeredRadarDetection, type SteeredRadarDwell, type SteeredRadarProductRoles, type SteeredRadarProfile, type SteeredRadarProfileResult, SteeredRadarProfileSchema, type SteeredRadarTrack, type SteeredRadarTruth, TESTIMONY_CASE_PRESENTATION_SCHEMA_ID, TestimonyCasePresentationSchema, VIDEO_FRAME_SOURCE_MAPPING_SCHEMA_ID, VOCABULARY_BINDINGS_PROFILE, type VideoFrameIndexResolver, type VideoFrameReference, type VideoFrameSourceMapping, type VideoFrameSourceMappingResult, VideoFrameSourceMappingSchema, type VideoPresentationStream, type VocabularyBindingOptions, type VocabularyBindingResolution, type VocabularyBindingResult, type VocabularyResolutionIssue, acquisitionBindingsJsonSchema, archivalCasePresentationJsonSchema, buildPublicArchivalCase, buildPublicArchivalCaseOutputs, buildPublicCase, buildPublicCaseOutputs, buildPublicContextCase, buildPublicContextCaseOutputs, buildPublicMaterialCase, buildPublicMaterialCaseOutputs, buildPublicTestimonyCase, buildPublicTestimonyCaseOutputs, casePresentationJsonSchema, claimReviewEvaluationJsonSchema, claimReviewReceiptJsonSchema, computePassiveSonarSpectrum, contextCasePresentationJsonSchema, datasetReleaseJsonSchema, evaluateAcquisitionBindings, evaluateArchivalClaimHistory, evaluateAssessmentDocumentation, evaluateCaseClaimHistory, evaluateCaseClaimHistoryV02, evaluateCaseLinks, evaluateCaseRecord, evaluateCaseRecordV02, evaluateClaimReview, evaluateContextClaimHistory, evaluateDatasetRelease, evaluateDocumentationCompletion, evaluateHistoricalTestimony, evaluateInstrumentResearchCompletion, evaluateInstrumentResearchPrerequisites, evaluateLaboratoryClaimHistory, evaluateLidarProfile, evaluateMcapSourceMapping, evaluateMeasurementBindings, evaluateObservationClaimDocumentation, evaluatePassiveSonarProfile, evaluatePhysicalSamples, evaluateProductSourceSelection, evaluateProfileEvaluation, evaluateRadarProfile, evaluateReleasedDocuments, evaluateReproductionPacket, evaluateResearchClaimHistory, evaluateResearchEvaluation, evaluateSatelliteRasterProfile, evaluateSecondaryRadarProfile, evaluateSonarProfile, evaluateSourceIntake, evaluateSteeredRadarProfile, evaluateVideoFrameSourceMapping, evaluateVocabularyBindings, formatPublicCaseOutputs, historicalTestimonySelectionJsonSchema, instrumentResearchReviewJsonSchema, lidarProfileJsonSchema, materialCasePresentationJsonSchema, mcapSourceMappingJsonSchema, measurementBindingsJsonSchema, migrationCompatibilityJsonSchema, migrationLegacyScoresJsonSchema, migrationResolutionJsonSchema, migrationReviewJsonSchema, parseArchivalCasePresentation, parseCasePresentation, parseContextCasePresentation, parseMaterialCasePresentation, parseTestimonyCasePresentation, passiveSonarBin, passiveSonarDensityDb, passiveSonarDimensions, passiveSonarProfileJsonSchema, passiveSonarSample, physicalSampleSelectionJsonSchema, productSourceSelectionJsonSchema, profileEvaluationJsonSchema, profilePreparationJsonSchema, radarCellPosition, radarCovarianceScaleSquared, radarProfileJsonSchema, readLidarProducts, readPassiveSonarBin, readPassiveSonarProducts, readPassiveSonarSample, readProductSourceSelection, readRadarProducts, readSatelliteRasterProducts, readSecondaryRadarProducts, readSonarProducts, readSonarSample, readSourceCsv, readSteeredRadarProducts, readVideoFrameReference, releasedDocumentSelectionJsonSchema, reproductionPacketJsonSchema, researchEvaluationJsonSchema, satelliteCellBounds, satelliteRasterProfileJsonSchema, secondaryRadarProfileJsonSchema, sonarDistance, sonarProfileJsonSchema, sonarSample, sourceElementBytes, sourceIntakeJsonSchema, steeredRadarProfileJsonSchema, testimonyCasePresentationJsonSchema, validateLidarDeclaration, validatePassiveSonarDeclaration, validateSatelliteRasterDeclaration, validateSonarDeclaration, verifyClaimReviewReceipt, videoFrameSourceMappingJsonSchema };
|