@disclosureos/schema 2.0.0-beta.2 → 2.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/CHANGELOG.md +101 -0
  2. package/README.md +95 -10
  3. package/dist/experimental/v2/index.d.ts +4431 -81
  4. package/dist/experimental/v2/index.js +8010 -322
  5. package/dist/experimental/v2/index.js.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/package.json +34 -6
  10. package/schema/enriched-observation.schema.json +16 -16
  11. package/schema/experimental/archival-case-presentation-0.1.0.schema.json +742 -0
  12. package/schema/experimental/case-presentation-0.1.0.schema.json +431 -0
  13. package/schema/experimental/context-case-presentation-0.1.0.schema.json +697 -0
  14. package/schema/experimental/lidar-point-cloud-profile-0.1.0.schema.json +416 -0
  15. package/schema/experimental/material-case-presentation-0.1.0.schema.json +802 -0
  16. package/schema/experimental/passive-sonar-profile-0.1.0.schema.json +238 -0
  17. package/schema/experimental/product-source-selection-0.1.0.schema.json +673 -0
  18. package/schema/experimental/radar-profile-0.1.0.schema.json +1232 -0
  19. package/schema/experimental/satellite-raster-profile-0.1.0.schema.json +406 -0
  20. package/schema/experimental/secondary-radar-profile-0.1.0.schema.json +154 -0
  21. package/schema/experimental/sonar-profile-0.1.0.schema.json +197 -0
  22. package/schema/experimental/steered-radar-profile-0.1.0.schema.json +214 -0
  23. package/schema/experimental/testimony-case-presentation-0.1.0.schema.json +682 -0
  24. package/schema/experimental/vocabulary-bindings-0.1.0.schema.json +167 -0
  25. package/schema/experimental/vocabulary-catalog-0.1.0.schema.json +155 -0
  26. package/schema/experimental/vocabulary-term-reference-0.1.0.schema.json +61 -0
@@ -0,0 +1,197 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "kind": {
6
+ "type": "string",
7
+ "const": "sonar_profile"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "string",
11
+ "const": "0.1.0"
12
+ },
13
+ "id": {
14
+ "type": "string",
15
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
16
+ },
17
+ "observationId": {
18
+ "type": "string",
19
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
20
+ },
21
+ "contextId": {
22
+ "type": "string",
23
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
24
+ },
25
+ "sourceSelectionId": {
26
+ "type": "string",
27
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
28
+ },
29
+ "acquisitionRef": {
30
+ "type": "string",
31
+ "pattern": "^acquisition:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
32
+ },
33
+ "acquisitionProductRef": {
34
+ "type": "string",
35
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
36
+ },
37
+ "receiveMaskAcquisitionProductRef": {
38
+ "type": "string",
39
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
40
+ },
41
+ "channelId": {
42
+ "type": "string",
43
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
44
+ },
45
+ "timeOrigin": {
46
+ "type": "string",
47
+ "format": "date-time",
48
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
49
+ },
50
+ "mode": {
51
+ "type": "string",
52
+ "const": "monostatic_echo_envelope"
53
+ },
54
+ "dataOrigin": {
55
+ "type": "string",
56
+ "enum": [
57
+ "synthetic",
58
+ "instrument"
59
+ ]
60
+ },
61
+ "amplitudeRepresentation": {
62
+ "type": "string",
63
+ "const": "normalized_envelope"
64
+ },
65
+ "sampling": {
66
+ "type": "object",
67
+ "properties": {
68
+ "pings": {
69
+ "type": "integer",
70
+ "minimum": 1,
71
+ "maximum": 1000000
72
+ },
73
+ "delayBins": {
74
+ "type": "integer",
75
+ "minimum": 1,
76
+ "maximum": 1000000
77
+ },
78
+ "delayStartSeconds": {
79
+ "type": "number",
80
+ "minimum": 0
81
+ },
82
+ "delayStepSeconds": {
83
+ "type": "number",
84
+ "exclusiveMinimum": 0
85
+ },
86
+ "pingStepSeconds": {
87
+ "type": "number",
88
+ "exclusiveMinimum": 0
89
+ }
90
+ },
91
+ "required": [
92
+ "pings",
93
+ "delayBins",
94
+ "delayStartSeconds",
95
+ "delayStepSeconds",
96
+ "pingStepSeconds"
97
+ ],
98
+ "additionalProperties": false
99
+ },
100
+ "propagation": {
101
+ "type": "object",
102
+ "properties": {
103
+ "kind": {
104
+ "type": "string",
105
+ "const": "constant_assumed_sound_speed"
106
+ },
107
+ "soundSpeedMps": {
108
+ "type": "number",
109
+ "exclusiveMinimum": 0
110
+ },
111
+ "travelPath": {
112
+ "type": "string",
113
+ "const": "two_way"
114
+ },
115
+ "distanceMeaning": {
116
+ "type": "string",
117
+ "const": "modeled_one_way_path_length"
118
+ }
119
+ },
120
+ "required": [
121
+ "kind",
122
+ "soundSpeedMps",
123
+ "travelPath",
124
+ "distanceMeaning"
125
+ ],
126
+ "additionalProperties": false
127
+ },
128
+ "availability": {
129
+ "type": "object",
130
+ "properties": {
131
+ "kind": {
132
+ "type": "string",
133
+ "const": "receive_retention_mask"
134
+ },
135
+ "unavailable": {
136
+ "type": "number",
137
+ "const": 0
138
+ },
139
+ "available": {
140
+ "type": "number",
141
+ "const": 1
142
+ },
143
+ "missingAmplitude": {
144
+ "type": "string",
145
+ "const": "zero_storage_placeholder"
146
+ }
147
+ },
148
+ "required": [
149
+ "kind",
150
+ "unavailable",
151
+ "available",
152
+ "missingAmplitude"
153
+ ],
154
+ "additionalProperties": false
155
+ },
156
+ "products": {
157
+ "type": "object",
158
+ "properties": {
159
+ "amplitudes": {
160
+ "type": "string",
161
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
162
+ },
163
+ "receiveMask": {
164
+ "type": "string",
165
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
166
+ }
167
+ },
168
+ "required": [
169
+ "amplitudes",
170
+ "receiveMask"
171
+ ],
172
+ "additionalProperties": false
173
+ }
174
+ },
175
+ "required": [
176
+ "kind",
177
+ "schemaVersion",
178
+ "id",
179
+ "observationId",
180
+ "contextId",
181
+ "sourceSelectionId",
182
+ "acquisitionRef",
183
+ "acquisitionProductRef",
184
+ "receiveMaskAcquisitionProductRef",
185
+ "channelId",
186
+ "timeOrigin",
187
+ "mode",
188
+ "dataOrigin",
189
+ "amplitudeRepresentation",
190
+ "sampling",
191
+ "propagation",
192
+ "availability",
193
+ "products"
194
+ ],
195
+ "additionalProperties": false,
196
+ "$id": "urn:disclosureos:experimental:sonar-profile:0.1.0"
197
+ }
@@ -0,0 +1,214 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "string",
7
+ "const": "0.1.0"
8
+ },
9
+ "id": {
10
+ "type": "string",
11
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
12
+ },
13
+ "observationId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
16
+ },
17
+ "contextId": {
18
+ "type": "string",
19
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
20
+ },
21
+ "sourceSelectionId": {
22
+ "type": "string",
23
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
24
+ },
25
+ "acquisitionRef": {
26
+ "type": "string",
27
+ "pattern": "^acquisition:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
28
+ },
29
+ "acquisitionProductRef": {
30
+ "type": "string",
31
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
32
+ },
33
+ "channelId": {
34
+ "type": "string",
35
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
36
+ },
37
+ "frameRef": {
38
+ "type": "string",
39
+ "pattern": "^frame:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
40
+ },
41
+ "origin": {
42
+ "type": "object",
43
+ "properties": {
44
+ "eastM": {
45
+ "type": "number"
46
+ },
47
+ "northM": {
48
+ "type": "number"
49
+ }
50
+ },
51
+ "required": [
52
+ "eastM",
53
+ "northM"
54
+ ],
55
+ "additionalProperties": false
56
+ },
57
+ "timeOrigin": {
58
+ "type": "string",
59
+ "format": "date-time",
60
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
61
+ },
62
+ "dataOrigin": {
63
+ "type": "string",
64
+ "enum": [
65
+ "synthetic",
66
+ "instrument"
67
+ ]
68
+ },
69
+ "bearingConvention": {
70
+ "type": "string",
71
+ "const": "clockwise_from_north"
72
+ },
73
+ "kind": {
74
+ "type": "string",
75
+ "const": "steered_radar_profile"
76
+ },
77
+ "mode": {
78
+ "type": "string",
79
+ "const": "electronically_steered_sector"
80
+ },
81
+ "rangeConvention": {
82
+ "type": "string",
83
+ "const": "horizontal_range"
84
+ },
85
+ "beamWidthConvention": {
86
+ "type": "string",
87
+ "const": "full_width_half_maximum_power"
88
+ },
89
+ "processingAvailability": {
90
+ "type": "string",
91
+ "const": "dwell_end"
92
+ },
93
+ "detectionPosition": {
94
+ "type": "object",
95
+ "properties": {
96
+ "kind": {
97
+ "type": "string",
98
+ "const": "cell_center"
99
+ }
100
+ },
101
+ "required": [
102
+ "kind"
103
+ ],
104
+ "additionalProperties": false
105
+ },
106
+ "products": {
107
+ "type": "object",
108
+ "properties": {
109
+ "beamSchedule": {
110
+ "type": "string",
111
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
112
+ },
113
+ "returns": {
114
+ "type": "string",
115
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
116
+ },
117
+ "thresholds": {
118
+ "type": "string",
119
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
120
+ },
121
+ "detections": {
122
+ "type": "string",
123
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
124
+ },
125
+ "tracks": {
126
+ "type": "string",
127
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
128
+ },
129
+ "associations": {
130
+ "type": "string",
131
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
132
+ },
133
+ "truth": {
134
+ "type": "string",
135
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
136
+ }
137
+ },
138
+ "required": [
139
+ "beamSchedule",
140
+ "returns",
141
+ "thresholds",
142
+ "detections",
143
+ "tracks",
144
+ "associations"
145
+ ],
146
+ "additionalProperties": false
147
+ },
148
+ "uncertainty": {
149
+ "type": "object",
150
+ "properties": {
151
+ "kind": {
152
+ "type": "string",
153
+ "const": "gaussian_position_covariance"
154
+ },
155
+ "axes": {
156
+ "type": "array",
157
+ "prefixItems": [
158
+ {
159
+ "type": "string",
160
+ "const": "east"
161
+ },
162
+ {
163
+ "type": "string",
164
+ "const": "north"
165
+ }
166
+ ],
167
+ "minItems": 2,
168
+ "maxItems": 2
169
+ },
170
+ "unit": {
171
+ "type": "string",
172
+ "const": "m2"
173
+ },
174
+ "confidenceProbability": {
175
+ "type": "number",
176
+ "exclusiveMinimum": 0,
177
+ "exclusiveMaximum": 1
178
+ }
179
+ },
180
+ "required": [
181
+ "kind",
182
+ "axes",
183
+ "unit",
184
+ "confidenceProbability"
185
+ ],
186
+ "additionalProperties": false
187
+ }
188
+ },
189
+ "required": [
190
+ "schemaVersion",
191
+ "id",
192
+ "observationId",
193
+ "contextId",
194
+ "sourceSelectionId",
195
+ "acquisitionRef",
196
+ "acquisitionProductRef",
197
+ "channelId",
198
+ "frameRef",
199
+ "origin",
200
+ "timeOrigin",
201
+ "dataOrigin",
202
+ "bearingConvention",
203
+ "kind",
204
+ "mode",
205
+ "rangeConvention",
206
+ "beamWidthConvention",
207
+ "processingAvailability",
208
+ "detectionPosition",
209
+ "products",
210
+ "uncertainty"
211
+ ],
212
+ "additionalProperties": false,
213
+ "$id": "urn:disclosureos:experimental:steered-radar-profile:0.1.0"
214
+ }