@disclosureos/schema 2.0.0-beta.5 → 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
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Use patched Zod 4.6.6 for validation, resolving GHSA-mrhx-c7xc-m3w5 without requiring a consumer dependency override. Preserve published schema identities and verify existing documents and package consumers against the patched runtime.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @disclosureos/records@2.0.0-beta.6
|
|
10
|
+
- @disclosureos/observables@2.0.0-beta.6
|
|
11
|
+
- @disclosureos/origins@2.0.0-beta.6
|
|
12
|
+
- @disclosureos/instruments@2.0.0-beta.6
|
|
13
|
+
|
|
3
14
|
## 2.0.0-beta.5
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -6380,7 +6380,7 @@ declare function claimReviewEvaluationJsonSchema(): {
|
|
|
6380
6380
|
$vocabulary?: Record<string, boolean>;
|
|
6381
6381
|
$comment?: string;
|
|
6382
6382
|
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
6383
|
-
type?:
|
|
6383
|
+
type?: z.core.JSONSchema.SchemaType | z.core.JSONSchema.SchemaType[];
|
|
6384
6384
|
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
6385
6385
|
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
6386
6386
|
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
@@ -6463,7 +6463,7 @@ declare function claimReviewReceiptJsonSchema(): {
|
|
|
6463
6463
|
$vocabulary?: Record<string, boolean>;
|
|
6464
6464
|
$comment?: string;
|
|
6465
6465
|
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
6466
|
-
type?:
|
|
6466
|
+
type?: z.core.JSONSchema.SchemaType | z.core.JSONSchema.SchemaType[];
|
|
6467
6467
|
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
6468
6468
|
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
6469
6469
|
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OBSERVATION_CLAIM_HISTORY_SCHEMA_ID, CASE_CLAIM_HISTORY_V02_SCHEMA_ID, parseExperimentalClaimHistory, parseObservationClaimHistory, compareUtcInstants, parseContextClaimHistory, parseObservationContext, parseExperimentalObservation, caseProvenances, parseCaseRecordV02, caseSnapshotKey, parseCaseClaimHistoryV02, parseCaseLinks, parseCaseRecord, parseResearchEntities, parseArchivalEntities, parseMaterialEntities, parseLaboratoryEntities, parseCaseClaimHistory, contextAssertions, parseResearchClaimHistory, researchEntityAssertions, parseArchivalClaimHistory, parseLaboratoryClaimHistory, parseVocabularyBindings, parseVocabularyCatalog, VOCABULARY_CATALOG_SCHEMA_ID, archivalArtifactReferences, researchEntityContextReferences, CASE_CLAIM_HISTORY_SCHEMA_ID, LABORATORY_CLAIM_HISTORY_SCHEMA_ID, ARCHIVAL_CLAIM_HISTORY_SCHEMA_ID, RESEARCH_CLAIM_HISTORY_SCHEMA_ID, CONTEXT_CLAIM_HISTORY_SCHEMA_ID, EXPERIMENTAL_CLAIM_HISTORY_SCHEMA_ID } from '@disclosureos/records/experimental/v2';
|
|
2
2
|
export { VOCABULARY_BINDINGS_SCHEMA_ID, VOCABULARY_CATALOG_SCHEMA_ID, VOCABULARY_TERM_REFERENCE_SCHEMA_ID, VocabularyBindingSchema, VocabularyBindingsSchema, VocabularyCatalogSchema, VocabularyCatalogTermSchema, VocabularyTermReferenceSchema, parseVocabularyBindings, parseVocabularyCatalog, vocabularyBindingsJsonSchema, vocabularyCatalogJsonSchema, vocabularyTermReferenceJsonSchema } from '@disclosureos/records/experimental/v2';
|
|
3
|
+
import { preservePublishedSchema } from '@disclosureos/records/shared';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
import { parseAcquisitionContext } from '@disclosureos/instruments/experimental/v2';
|
|
5
6
|
|
|
@@ -218,7 +219,7 @@ var AcquisitionBindingsSchema = z.strictObject({
|
|
|
218
219
|
extensions: z.record(z.string().regex(/^[a-z][a-z0-9_-]*(?:\.[a-z0-9_-]+)+(?![\s\S])/), z.json()).optional()
|
|
219
220
|
});
|
|
220
221
|
function acquisitionBindingsJsonSchema() {
|
|
221
|
-
return { ...z.toJSONSchema(AcquisitionBindingsSchema, { target: "draft-2020-12" }), $id: ACQUISITION_BINDINGS_SCHEMA_ID };
|
|
222
|
+
return { ...preservePublishedSchema(z.toJSONSchema(AcquisitionBindingsSchema, { target: "draft-2020-12" })), $id: ACQUISITION_BINDINGS_SCHEMA_ID };
|
|
222
223
|
}
|
|
223
224
|
var ACQUISITION_BINDINGS_PROFILE = Object.freeze({
|
|
224
225
|
id: "urn:disclosureos:experimental:profile:acquisition-bindings",
|
|
@@ -425,7 +426,7 @@ var MeasurementBindingsSchema = z.strictObject({
|
|
|
425
426
|
});
|
|
426
427
|
function measurementBindingsJsonSchema() {
|
|
427
428
|
return {
|
|
428
|
-
...z.toJSONSchema(MeasurementBindingsSchema, { target: "draft-2020-12" }),
|
|
429
|
+
...preservePublishedSchema(z.toJSONSchema(MeasurementBindingsSchema, { target: "draft-2020-12" })),
|
|
429
430
|
$id: MEASUREMENT_BINDINGS_SCHEMA_ID
|
|
430
431
|
};
|
|
431
432
|
}
|
|
@@ -767,9 +768,9 @@ var InstrumentResearchReviewSchema = z.strictObject({
|
|
|
767
768
|
});
|
|
768
769
|
function instrumentResearchReviewJsonSchema() {
|
|
769
770
|
return {
|
|
770
|
-
...z.toJSONSchema(InstrumentResearchReviewSchema, {
|
|
771
|
+
...preservePublishedSchema(z.toJSONSchema(InstrumentResearchReviewSchema, {
|
|
771
772
|
target: "draft-2020-12"
|
|
772
|
-
}),
|
|
773
|
+
})),
|
|
773
774
|
$id: INSTRUMENT_RESEARCH_REVIEW_SCHEMA_ID
|
|
774
775
|
};
|
|
775
776
|
}
|
|
@@ -1171,7 +1172,7 @@ var ReproductionPacketSchema = z.strictObject({
|
|
|
1171
1172
|
});
|
|
1172
1173
|
function reproductionPacketJsonSchema() {
|
|
1173
1174
|
return {
|
|
1174
|
-
...z.toJSONSchema(ReproductionPacketSchema, { target: "draft-2020-12" }),
|
|
1175
|
+
...preservePublishedSchema(z.toJSONSchema(ReproductionPacketSchema, { target: "draft-2020-12" })),
|
|
1175
1176
|
$id: REPRODUCTION_PACKET_SCHEMA_ID
|
|
1176
1177
|
};
|
|
1177
1178
|
}
|
|
@@ -1442,7 +1443,7 @@ var DatasetReleaseSchema = z.strictObject({
|
|
|
1442
1443
|
});
|
|
1443
1444
|
function datasetReleaseJsonSchema() {
|
|
1444
1445
|
return {
|
|
1445
|
-
...z.toJSONSchema(DatasetReleaseSchema, { target: "draft-2020-12" }),
|
|
1446
|
+
...preservePublishedSchema(z.toJSONSchema(DatasetReleaseSchema, { target: "draft-2020-12" })),
|
|
1446
1447
|
$id: DATASET_RELEASE_SCHEMA_ID
|
|
1447
1448
|
};
|
|
1448
1449
|
}
|
|
@@ -1820,7 +1821,7 @@ var SourceIntakeSchema = z.strictObject({
|
|
|
1820
1821
|
});
|
|
1821
1822
|
function sourceIntakeJsonSchema() {
|
|
1822
1823
|
return {
|
|
1823
|
-
...z.toJSONSchema(SourceIntakeSchema, { target: "draft-2020-12" }),
|
|
1824
|
+
...preservePublishedSchema(z.toJSONSchema(SourceIntakeSchema, { target: "draft-2020-12" })),
|
|
1824
1825
|
$id: SOURCE_INTAKE_SCHEMA_ID
|
|
1825
1826
|
};
|
|
1826
1827
|
}
|
|
@@ -2456,7 +2457,7 @@ var ResearchEvaluationSchema = z.strictObject({
|
|
|
2456
2457
|
});
|
|
2457
2458
|
function researchEvaluationJsonSchema() {
|
|
2458
2459
|
return {
|
|
2459
|
-
...z.toJSONSchema(ResearchEvaluationSchema, { target: "draft-2020-12" }),
|
|
2460
|
+
...preservePublishedSchema(z.toJSONSchema(ResearchEvaluationSchema, { target: "draft-2020-12" })),
|
|
2460
2461
|
$id: RESEARCH_EVALUATION_SCHEMA_ID
|
|
2461
2462
|
};
|
|
2462
2463
|
}
|
|
@@ -2762,9 +2763,9 @@ var ReleasedDocumentSelectionSchema = z.strictObject({
|
|
|
2762
2763
|
});
|
|
2763
2764
|
function releasedDocumentSelectionJsonSchema() {
|
|
2764
2765
|
return {
|
|
2765
|
-
...z.toJSONSchema(ReleasedDocumentSelectionSchema, {
|
|
2766
|
+
...preservePublishedSchema(z.toJSONSchema(ReleasedDocumentSelectionSchema, {
|
|
2766
2767
|
target: "draft-2020-12"
|
|
2767
|
-
}),
|
|
2768
|
+
})),
|
|
2768
2769
|
$id: RELEASED_DOCUMENT_SELECTION_SCHEMA_ID
|
|
2769
2770
|
};
|
|
2770
2771
|
}
|
|
@@ -3184,9 +3185,9 @@ var HistoricalTestimonySelectionSchema = z.strictObject({
|
|
|
3184
3185
|
});
|
|
3185
3186
|
function historicalTestimonySelectionJsonSchema() {
|
|
3186
3187
|
return {
|
|
3187
|
-
...z.toJSONSchema(HistoricalTestimonySelectionSchema, {
|
|
3188
|
+
...preservePublishedSchema(z.toJSONSchema(HistoricalTestimonySelectionSchema, {
|
|
3188
3189
|
target: "draft-2020-12"
|
|
3189
|
-
}),
|
|
3190
|
+
})),
|
|
3190
3191
|
$id: HISTORICAL_TESTIMONY_SELECTION_SCHEMA_ID
|
|
3191
3192
|
};
|
|
3192
3193
|
}
|
|
@@ -3626,9 +3627,9 @@ var PhysicalSampleSelectionSchema = z.strictObject({
|
|
|
3626
3627
|
});
|
|
3627
3628
|
function physicalSampleSelectionJsonSchema() {
|
|
3628
3629
|
return {
|
|
3629
|
-
...z.toJSONSchema(PhysicalSampleSelectionSchema, {
|
|
3630
|
+
...preservePublishedSchema(z.toJSONSchema(PhysicalSampleSelectionSchema, {
|
|
3630
3631
|
target: "draft-2020-12"
|
|
3631
|
-
}),
|
|
3632
|
+
})),
|
|
3632
3633
|
$id: PHYSICAL_SAMPLE_SELECTION_SCHEMA_ID
|
|
3633
3634
|
};
|
|
3634
3635
|
}
|
|
@@ -4108,9 +4109,9 @@ var ProfileEvaluationSchema = z.strictObject({
|
|
|
4108
4109
|
});
|
|
4109
4110
|
function profileEvaluationJsonSchema() {
|
|
4110
4111
|
return {
|
|
4111
|
-
...z.toJSONSchema(ProfileEvaluationSchema, {
|
|
4112
|
+
...preservePublishedSchema(z.toJSONSchema(ProfileEvaluationSchema, {
|
|
4112
4113
|
target: "draft-2020-12"
|
|
4113
|
-
}),
|
|
4114
|
+
})),
|
|
4114
4115
|
$id: PROFILE_EVALUATION_SCHEMA_ID
|
|
4115
4116
|
};
|
|
4116
4117
|
}
|
|
@@ -4401,7 +4402,7 @@ var ProfilePreparationSchema = z.strictObject({
|
|
|
4401
4402
|
});
|
|
4402
4403
|
function profilePreparationJsonSchema() {
|
|
4403
4404
|
return {
|
|
4404
|
-
...z.toJSONSchema(ProfilePreparationSchema, { target: "draft-2020-12" }),
|
|
4405
|
+
...preservePublishedSchema(z.toJSONSchema(ProfilePreparationSchema, { target: "draft-2020-12" })),
|
|
4405
4406
|
$id: PROFILE_PREPARATION_SCHEMA_ID
|
|
4406
4407
|
};
|
|
4407
4408
|
}
|
|
@@ -4436,7 +4437,7 @@ var MigrationReviewSchema = z.strictObject({
|
|
|
4436
4437
|
});
|
|
4437
4438
|
function migrationReviewJsonSchema() {
|
|
4438
4439
|
return {
|
|
4439
|
-
...z.toJSONSchema(MigrationReviewSchema, { target: "draft-2020-12" }),
|
|
4440
|
+
...preservePublishedSchema(z.toJSONSchema(MigrationReviewSchema, { target: "draft-2020-12" })),
|
|
4440
4441
|
$id: MIGRATION_REVIEW_SCHEMA_ID
|
|
4441
4442
|
};
|
|
4442
4443
|
}
|
|
@@ -4469,7 +4470,7 @@ var MigrationResolutionSchema = z.strictObject({
|
|
|
4469
4470
|
});
|
|
4470
4471
|
function migrationResolutionJsonSchema() {
|
|
4471
4472
|
return {
|
|
4472
|
-
...z.toJSONSchema(MigrationResolutionSchema, { target: "draft-2020-12" }),
|
|
4473
|
+
...preservePublishedSchema(z.toJSONSchema(MigrationResolutionSchema, { target: "draft-2020-12" })),
|
|
4473
4474
|
$id: MIGRATION_RESOLUTION_SCHEMA_ID
|
|
4474
4475
|
};
|
|
4475
4476
|
}
|
|
@@ -4498,7 +4499,7 @@ var MigrationLegacyScoresSchema = z.strictObject({
|
|
|
4498
4499
|
});
|
|
4499
4500
|
function migrationLegacyScoresJsonSchema() {
|
|
4500
4501
|
return {
|
|
4501
|
-
...z.toJSONSchema(MigrationLegacyScoresSchema, { target: "draft-2020-12" }),
|
|
4502
|
+
...preservePublishedSchema(z.toJSONSchema(MigrationLegacyScoresSchema, { target: "draft-2020-12" })),
|
|
4502
4503
|
$id: MIGRATION_LEGACY_SCORES_SCHEMA_ID
|
|
4503
4504
|
};
|
|
4504
4505
|
}
|
|
@@ -4537,9 +4538,9 @@ var MigrationCompatibilitySchema = z.strictObject({
|
|
|
4537
4538
|
});
|
|
4538
4539
|
function migrationCompatibilityJsonSchema() {
|
|
4539
4540
|
return {
|
|
4540
|
-
...z.toJSONSchema(MigrationCompatibilitySchema, {
|
|
4541
|
+
...preservePublishedSchema(z.toJSONSchema(MigrationCompatibilitySchema, {
|
|
4541
4542
|
target: "draft-2020-12"
|
|
4542
|
-
}),
|
|
4543
|
+
})),
|
|
4543
4544
|
$id: MIGRATION_COMPATIBILITY_SCHEMA_ID
|
|
4544
4545
|
};
|
|
4545
4546
|
}
|
|
@@ -6369,7 +6370,7 @@ var CasePresentationSchema = z.strictObject({
|
|
|
6369
6370
|
});
|
|
6370
6371
|
function casePresentationJsonSchema() {
|
|
6371
6372
|
return {
|
|
6372
|
-
...z.toJSONSchema(CasePresentationSchema, { target: "draft-2020-12", reused: "ref" }),
|
|
6373
|
+
...preservePublishedSchema(z.toJSONSchema(CasePresentationSchema, { target: "draft-2020-12", reused: "ref" })),
|
|
6373
6374
|
$id: CASE_PRESENTATION_SCHEMA_ID
|
|
6374
6375
|
};
|
|
6375
6376
|
}
|
|
@@ -6715,10 +6716,10 @@ var ContextCasePresentationSchema = z.strictObject({
|
|
|
6715
6716
|
});
|
|
6716
6717
|
function contextCasePresentationJsonSchema() {
|
|
6717
6718
|
return {
|
|
6718
|
-
...z.toJSONSchema(ContextCasePresentationSchema, {
|
|
6719
|
+
...preservePublishedSchema(z.toJSONSchema(ContextCasePresentationSchema, {
|
|
6719
6720
|
target: "draft-2020-12",
|
|
6720
6721
|
reused: "ref"
|
|
6721
|
-
}),
|
|
6722
|
+
})),
|
|
6722
6723
|
$id: CONTEXT_CASE_PRESENTATION_SCHEMA_ID
|
|
6723
6724
|
};
|
|
6724
6725
|
}
|
|
@@ -7124,10 +7125,10 @@ var TestimonyCasePresentationSchema = z.strictObject({
|
|
|
7124
7125
|
});
|
|
7125
7126
|
function testimonyCasePresentationJsonSchema() {
|
|
7126
7127
|
return {
|
|
7127
|
-
...z.toJSONSchema(TestimonyCasePresentationSchema, {
|
|
7128
|
+
...preservePublishedSchema(z.toJSONSchema(TestimonyCasePresentationSchema, {
|
|
7128
7129
|
target: "draft-2020-12",
|
|
7129
7130
|
reused: "ref"
|
|
7130
|
-
}),
|
|
7131
|
+
})),
|
|
7131
7132
|
$id: TESTIMONY_CASE_PRESENTATION_SCHEMA_ID
|
|
7132
7133
|
};
|
|
7133
7134
|
}
|
|
@@ -7575,10 +7576,10 @@ var ArchivalCasePresentationSchema = z.strictObject({
|
|
|
7575
7576
|
});
|
|
7576
7577
|
function archivalCasePresentationJsonSchema() {
|
|
7577
7578
|
return {
|
|
7578
|
-
...z.toJSONSchema(ArchivalCasePresentationSchema, {
|
|
7579
|
+
...preservePublishedSchema(z.toJSONSchema(ArchivalCasePresentationSchema, {
|
|
7579
7580
|
target: "draft-2020-12",
|
|
7580
7581
|
reused: "ref"
|
|
7581
|
-
}),
|
|
7582
|
+
})),
|
|
7582
7583
|
$id: ARCHIVAL_CASE_PRESENTATION_SCHEMA_ID
|
|
7583
7584
|
};
|
|
7584
7585
|
}
|
|
@@ -8096,10 +8097,10 @@ var MaterialCasePresentationSchema = z.strictObject({
|
|
|
8096
8097
|
});
|
|
8097
8098
|
function materialCasePresentationJsonSchema() {
|
|
8098
8099
|
return {
|
|
8099
|
-
...z.toJSONSchema(MaterialCasePresentationSchema, {
|
|
8100
|
+
...preservePublishedSchema(z.toJSONSchema(MaterialCasePresentationSchema, {
|
|
8100
8101
|
target: "draft-2020-12",
|
|
8101
8102
|
reused: "ref"
|
|
8102
|
-
}),
|
|
8103
|
+
})),
|
|
8103
8104
|
$id: MATERIAL_CASE_PRESENTATION_SCHEMA_ID
|
|
8104
8105
|
};
|
|
8105
8106
|
}
|
|
@@ -8862,9 +8863,9 @@ var ProductSourceSelectionSchema = z.strictObject({
|
|
|
8862
8863
|
});
|
|
8863
8864
|
function productSourceSelectionJsonSchema() {
|
|
8864
8865
|
return {
|
|
8865
|
-
...z.toJSONSchema(ProductSourceSelectionSchema, {
|
|
8866
|
+
...preservePublishedSchema(z.toJSONSchema(ProductSourceSelectionSchema, {
|
|
8866
8867
|
target: "draft-2020-12"
|
|
8867
|
-
}),
|
|
8868
|
+
})),
|
|
8868
8869
|
$id: PRODUCT_SOURCE_SELECTION_SCHEMA_ID
|
|
8869
8870
|
};
|
|
8870
8871
|
}
|
|
@@ -9271,9 +9272,9 @@ var RADAR_PROFILE = Object.freeze({
|
|
|
9271
9272
|
scope: "retained_rotating_scan_products_and_declared_processing"
|
|
9272
9273
|
});
|
|
9273
9274
|
function radarProfileJsonSchema() {
|
|
9274
|
-
const schema = z.toJSONSchema(RadarProfileSchema, {
|
|
9275
|
+
const schema = preservePublishedSchema(z.toJSONSchema(RadarProfileSchema, {
|
|
9275
9276
|
target: "draft-2020-12"
|
|
9276
|
-
});
|
|
9277
|
+
}));
|
|
9277
9278
|
for (const branch of schema.anyOf ?? []) {
|
|
9278
9279
|
if (typeof branch !== "object") continue;
|
|
9279
9280
|
const uncertainty = branch.properties?.uncertainty;
|
|
@@ -10292,9 +10293,9 @@ var SECONDARY_RADAR_PROFILE = Object.freeze({
|
|
|
10292
10293
|
scope: "retained_cooperative_interrogations_and_decoded_replies"
|
|
10293
10294
|
});
|
|
10294
10295
|
function steeredRadarProfileJsonSchema() {
|
|
10295
|
-
const schema = z.toJSONSchema(SteeredRadarProfileSchema, {
|
|
10296
|
+
const schema = preservePublishedSchema(z.toJSONSchema(SteeredRadarProfileSchema, {
|
|
10296
10297
|
target: "draft-2020-12"
|
|
10297
|
-
});
|
|
10298
|
+
}));
|
|
10298
10299
|
const uncertainty = schema.properties?.uncertainty;
|
|
10299
10300
|
const axes = typeof uncertainty === "object" ? uncertainty.properties?.axes : void 0;
|
|
10300
10301
|
if (typeof axes === "object") {
|
|
@@ -10305,7 +10306,7 @@ function steeredRadarProfileJsonSchema() {
|
|
|
10305
10306
|
}
|
|
10306
10307
|
function secondaryRadarProfileJsonSchema() {
|
|
10307
10308
|
return {
|
|
10308
|
-
...z.toJSONSchema(SecondaryRadarProfileSchema, { target: "draft-2020-12" }),
|
|
10309
|
+
...preservePublishedSchema(z.toJSONSchema(SecondaryRadarProfileSchema, { target: "draft-2020-12" })),
|
|
10309
10310
|
$id: SECONDARY_RADAR_PROFILE_SCHEMA_ID
|
|
10310
10311
|
};
|
|
10311
10312
|
}
|
|
@@ -11146,7 +11147,7 @@ var SONAR_PROFILE = Object.freeze({
|
|
|
11146
11147
|
});
|
|
11147
11148
|
function sonarProfileJsonSchema() {
|
|
11148
11149
|
return {
|
|
11149
|
-
...z.toJSONSchema(SonarProfileSchema, { target: "draft-2020-12" }),
|
|
11150
|
+
...preservePublishedSchema(z.toJSONSchema(SonarProfileSchema, { target: "draft-2020-12" })),
|
|
11150
11151
|
$id: SONAR_PROFILE_SCHEMA_ID
|
|
11151
11152
|
};
|
|
11152
11153
|
}
|
|
@@ -11513,7 +11514,7 @@ var PASSIVE_SONAR_PROFILE = Object.freeze({
|
|
|
11513
11514
|
});
|
|
11514
11515
|
function passiveSonarProfileJsonSchema() {
|
|
11515
11516
|
return {
|
|
11516
|
-
...z.toJSONSchema(PassiveSonarProfileSchema, { target: "draft-2020-12" }),
|
|
11517
|
+
...preservePublishedSchema(z.toJSONSchema(PassiveSonarProfileSchema, { target: "draft-2020-12" })),
|
|
11517
11518
|
$id: PASSIVE_SONAR_PROFILE_SCHEMA_ID
|
|
11518
11519
|
};
|
|
11519
11520
|
}
|
|
@@ -11975,9 +11976,9 @@ var LIDAR_PROFILE = Object.freeze({
|
|
|
11975
11976
|
scope: "static_discrete_returns_and_complete_pulse_ledger"
|
|
11976
11977
|
});
|
|
11977
11978
|
function lidarProfileJsonSchema() {
|
|
11978
|
-
const schema = z.toJSONSchema(LidarProfileSchema, {
|
|
11979
|
+
const schema = preservePublishedSchema(z.toJSONSchema(LidarProfileSchema, {
|
|
11979
11980
|
target: "draft-2020-12"
|
|
11980
|
-
});
|
|
11981
|
+
}));
|
|
11981
11982
|
const constrainTuples = (node) => {
|
|
11982
11983
|
if (node === null || typeof node !== "object") return;
|
|
11983
11984
|
const value = node;
|
|
@@ -12343,9 +12344,9 @@ var SATELLITE_RASTER_PROFILE = Object.freeze({
|
|
|
12343
12344
|
scope: "north_up_utm_multispectral_reflectance_and_pixel_quality"
|
|
12344
12345
|
});
|
|
12345
12346
|
function satelliteRasterProfileJsonSchema() {
|
|
12346
|
-
const schema = z.toJSONSchema(SatelliteRasterProfileSchema, {
|
|
12347
|
+
const schema = preservePublishedSchema(z.toJSONSchema(SatelliteRasterProfileSchema, {
|
|
12347
12348
|
target: "draft-2020-12"
|
|
12348
|
-
});
|
|
12349
|
+
}));
|
|
12349
12350
|
const constrain = (node) => {
|
|
12350
12351
|
if (node === null || typeof node !== "object") return;
|
|
12351
12352
|
const value = node;
|
|
@@ -13179,7 +13180,7 @@ var McapSourceMappingSchema = z.strictObject({
|
|
|
13179
13180
|
});
|
|
13180
13181
|
function mcapSourceMappingJsonSchema() {
|
|
13181
13182
|
return {
|
|
13182
|
-
...z.toJSONSchema(McapSourceMappingSchema, { target: "draft-2020-12" }),
|
|
13183
|
+
...preservePublishedSchema(z.toJSONSchema(McapSourceMappingSchema, { target: "draft-2020-12" })),
|
|
13183
13184
|
$id: MCAP_SOURCE_MAPPING_SCHEMA_ID
|
|
13184
13185
|
};
|
|
13185
13186
|
}
|
|
@@ -13440,9 +13441,9 @@ var VideoFrameSourceMappingSchema = z.strictObject({
|
|
|
13440
13441
|
});
|
|
13441
13442
|
function videoFrameSourceMappingJsonSchema() {
|
|
13442
13443
|
return {
|
|
13443
|
-
...z.toJSONSchema(VideoFrameSourceMappingSchema, {
|
|
13444
|
+
...preservePublishedSchema(z.toJSONSchema(VideoFrameSourceMappingSchema, {
|
|
13444
13445
|
target: "draft-2020-12"
|
|
13445
|
-
}),
|
|
13446
|
+
})),
|
|
13446
13447
|
$id: VIDEO_FRAME_SOURCE_MAPPING_SCHEMA_ID
|
|
13447
13448
|
};
|
|
13448
13449
|
}
|
|
@@ -13654,10 +13655,10 @@ var ClaimReviewReceiptSchema = z.strictObject({
|
|
|
13654
13655
|
outputJson: z.string().min(1)
|
|
13655
13656
|
});
|
|
13656
13657
|
function claimReviewEvaluationJsonSchema() {
|
|
13657
|
-
return { ...z.toJSONSchema(ClaimReviewEvaluationSchema, { target: "draft-2020-12" }), $id: CLAIM_REVIEW_EVALUATION_SCHEMA_ID };
|
|
13658
|
+
return { ...preservePublishedSchema(z.toJSONSchema(ClaimReviewEvaluationSchema, { target: "draft-2020-12" })), $id: CLAIM_REVIEW_EVALUATION_SCHEMA_ID };
|
|
13658
13659
|
}
|
|
13659
13660
|
function claimReviewReceiptJsonSchema() {
|
|
13660
|
-
return { ...z.toJSONSchema(ClaimReviewReceiptSchema, { target: "draft-2020-12" }), $id: CLAIM_REVIEW_RECEIPT_SCHEMA_ID };
|
|
13661
|
+
return { ...preservePublishedSchema(z.toJSONSchema(ClaimReviewReceiptSchema, { target: "draft-2020-12" })), $id: CLAIM_REVIEW_RECEIPT_SCHEMA_ID };
|
|
13661
13662
|
}
|
|
13662
13663
|
var bytes5 = (s) => new TextEncoder().encode(s);
|
|
13663
13664
|
var hash7 = async (b) => [...new Uint8Array(await crypto.subtle.digest("SHA-256", Uint8Array.from(b)))].map((n) => n.toString(16).padStart(2, "0")).join("");
|