@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.
- package/CHANGELOG.md +101 -0
- package/README.md +95 -10
- package/dist/experimental/v2/index.d.ts +4431 -81
- package/dist/experimental/v2/index.js +8010 -322
- package/dist/experimental/v2/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +34 -6
- package/schema/enriched-observation.schema.json +16 -16
- package/schema/experimental/archival-case-presentation-0.1.0.schema.json +742 -0
- package/schema/experimental/case-presentation-0.1.0.schema.json +431 -0
- package/schema/experimental/context-case-presentation-0.1.0.schema.json +697 -0
- package/schema/experimental/lidar-point-cloud-profile-0.1.0.schema.json +416 -0
- package/schema/experimental/material-case-presentation-0.1.0.schema.json +802 -0
- package/schema/experimental/passive-sonar-profile-0.1.0.schema.json +238 -0
- package/schema/experimental/product-source-selection-0.1.0.schema.json +673 -0
- package/schema/experimental/radar-profile-0.1.0.schema.json +1232 -0
- package/schema/experimental/satellite-raster-profile-0.1.0.schema.json +406 -0
- package/schema/experimental/secondary-radar-profile-0.1.0.schema.json +154 -0
- package/schema/experimental/sonar-profile-0.1.0.schema.json +197 -0
- package/schema/experimental/steered-radar-profile-0.1.0.schema.json +214 -0
- package/schema/experimental/testimony-case-presentation-0.1.0.schema.json +682 -0
- package/schema/experimental/vocabulary-bindings-0.1.0.schema.json +167 -0
- package/schema/experimental/vocabulary-catalog-0.1.0.schema.json +155 -0
- package/schema/experimental/vocabulary-term-reference-0.1.0.schema.json +61 -0
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"kind": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "lidar_point_cloud_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
|
+
"channelId": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
|
|
36
|
+
},
|
|
37
|
+
"acquisitionProducts": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"pulses": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
|
|
43
|
+
},
|
|
44
|
+
"points": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"pulses",
|
|
51
|
+
"points"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"dataOrigin": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": [
|
|
58
|
+
"synthetic",
|
|
59
|
+
"instrument"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"mode": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"const": "static_discrete_return_raster"
|
|
65
|
+
},
|
|
66
|
+
"coordinateFrame": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"kind": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"const": "local_cartesian"
|
|
72
|
+
},
|
|
73
|
+
"axes": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"prefixItems": [
|
|
76
|
+
{
|
|
77
|
+
"type": "string",
|
|
78
|
+
"const": "east"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "string",
|
|
82
|
+
"const": "north"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "string",
|
|
86
|
+
"const": "up"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"minItems": 3,
|
|
90
|
+
"maxItems": 3
|
|
91
|
+
},
|
|
92
|
+
"unit": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"const": "m"
|
|
95
|
+
},
|
|
96
|
+
"handedness": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"const": "right_handed"
|
|
99
|
+
},
|
|
100
|
+
"originDescription": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"minLength": 1,
|
|
103
|
+
"maxLength": 2000
|
|
104
|
+
},
|
|
105
|
+
"sensorOrigin": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"prefixItems": [
|
|
108
|
+
{
|
|
109
|
+
"type": "number",
|
|
110
|
+
"minimum": -10000000,
|
|
111
|
+
"maximum": 10000000
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "number",
|
|
115
|
+
"minimum": -10000000,
|
|
116
|
+
"maximum": 10000000
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "number",
|
|
120
|
+
"minimum": -10000000,
|
|
121
|
+
"maximum": 10000000
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"minItems": 3,
|
|
125
|
+
"maxItems": 3
|
|
126
|
+
},
|
|
127
|
+
"georeferencing": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"const": "not_provided"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"kind",
|
|
134
|
+
"axes",
|
|
135
|
+
"unit",
|
|
136
|
+
"handedness",
|
|
137
|
+
"originDescription",
|
|
138
|
+
"sensorOrigin",
|
|
139
|
+
"georeferencing"
|
|
140
|
+
],
|
|
141
|
+
"additionalProperties": false
|
|
142
|
+
},
|
|
143
|
+
"scan": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"rows": {
|
|
147
|
+
"type": "integer",
|
|
148
|
+
"exclusiveMinimum": 0,
|
|
149
|
+
"maximum": 4096
|
|
150
|
+
},
|
|
151
|
+
"columns": {
|
|
152
|
+
"type": "integer",
|
|
153
|
+
"exclusiveMinimum": 0,
|
|
154
|
+
"maximum": 4096
|
|
155
|
+
},
|
|
156
|
+
"pulses": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"exclusiveMinimum": 0,
|
|
159
|
+
"maximum": 65536
|
|
160
|
+
},
|
|
161
|
+
"points": {
|
|
162
|
+
"type": "integer",
|
|
163
|
+
"minimum": 0,
|
|
164
|
+
"maximum": 983040
|
|
165
|
+
},
|
|
166
|
+
"order": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"const": "row_major_index_not_time"
|
|
169
|
+
},
|
|
170
|
+
"aim": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"const": "direction_reference_not_surface_hit"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"rows",
|
|
177
|
+
"columns",
|
|
178
|
+
"pulses",
|
|
179
|
+
"points",
|
|
180
|
+
"order",
|
|
181
|
+
"aim"
|
|
182
|
+
],
|
|
183
|
+
"additionalProperties": false
|
|
184
|
+
},
|
|
185
|
+
"geometry": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"nearRangeM": {
|
|
189
|
+
"type": "number",
|
|
190
|
+
"exclusiveMinimum": 0,
|
|
191
|
+
"maximum": 10000000
|
|
192
|
+
},
|
|
193
|
+
"farRangeM": {
|
|
194
|
+
"type": "number",
|
|
195
|
+
"exclusiveMinimum": 0,
|
|
196
|
+
"maximum": 10000000
|
|
197
|
+
},
|
|
198
|
+
"rayToleranceM": {
|
|
199
|
+
"type": "number",
|
|
200
|
+
"exclusiveMinimum": 0,
|
|
201
|
+
"maximum": 0.1
|
|
202
|
+
},
|
|
203
|
+
"toleranceMeaning": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"const": "encoding_consistency_not_measurement_uncertainty"
|
|
206
|
+
},
|
|
207
|
+
"bounds": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"min": {
|
|
211
|
+
"type": "array",
|
|
212
|
+
"prefixItems": [
|
|
213
|
+
{
|
|
214
|
+
"type": "number",
|
|
215
|
+
"minimum": -10000000,
|
|
216
|
+
"maximum": 10000000
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "number",
|
|
220
|
+
"minimum": -10000000,
|
|
221
|
+
"maximum": 10000000
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "number",
|
|
225
|
+
"minimum": -10000000,
|
|
226
|
+
"maximum": 10000000
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"minItems": 3,
|
|
230
|
+
"maxItems": 3
|
|
231
|
+
},
|
|
232
|
+
"max": {
|
|
233
|
+
"type": "array",
|
|
234
|
+
"prefixItems": [
|
|
235
|
+
{
|
|
236
|
+
"type": "number",
|
|
237
|
+
"minimum": -10000000,
|
|
238
|
+
"maximum": 10000000
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "number",
|
|
242
|
+
"minimum": -10000000,
|
|
243
|
+
"maximum": 10000000
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "number",
|
|
247
|
+
"minimum": -10000000,
|
|
248
|
+
"maximum": 10000000
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"minItems": 3,
|
|
252
|
+
"maxItems": 3
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"required": [
|
|
256
|
+
"min",
|
|
257
|
+
"max"
|
|
258
|
+
],
|
|
259
|
+
"additionalProperties": false
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"required": [
|
|
263
|
+
"nearRangeM",
|
|
264
|
+
"farRangeM",
|
|
265
|
+
"rayToleranceM",
|
|
266
|
+
"toleranceMeaning",
|
|
267
|
+
"bounds"
|
|
268
|
+
],
|
|
269
|
+
"additionalProperties": false
|
|
270
|
+
},
|
|
271
|
+
"intensity": {
|
|
272
|
+
"type": "object",
|
|
273
|
+
"properties": {
|
|
274
|
+
"kind": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"const": "normalized_return_amplitude"
|
|
277
|
+
},
|
|
278
|
+
"min": {
|
|
279
|
+
"type": "number",
|
|
280
|
+
"const": 0
|
|
281
|
+
},
|
|
282
|
+
"max": {
|
|
283
|
+
"type": "number",
|
|
284
|
+
"const": 1
|
|
285
|
+
},
|
|
286
|
+
"calibration": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"const": "not_calibrated_to_reflectance"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"required": [
|
|
292
|
+
"kind",
|
|
293
|
+
"min",
|
|
294
|
+
"max",
|
|
295
|
+
"calibration"
|
|
296
|
+
],
|
|
297
|
+
"additionalProperties": false
|
|
298
|
+
},
|
|
299
|
+
"classifications": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"authority": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"enum": [
|
|
305
|
+
"authored_annotations",
|
|
306
|
+
"source_annotations"
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
"method": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"minLength": 1,
|
|
312
|
+
"maxLength": 4000
|
|
313
|
+
},
|
|
314
|
+
"classes": {
|
|
315
|
+
"minItems": 1,
|
|
316
|
+
"maxItems": 256,
|
|
317
|
+
"type": "array",
|
|
318
|
+
"items": {
|
|
319
|
+
"type": "object",
|
|
320
|
+
"properties": {
|
|
321
|
+
"code": {
|
|
322
|
+
"type": "integer",
|
|
323
|
+
"minimum": 0,
|
|
324
|
+
"maximum": 255
|
|
325
|
+
},
|
|
326
|
+
"label": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"minLength": 1,
|
|
329
|
+
"maxLength": 100
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"code",
|
|
334
|
+
"label"
|
|
335
|
+
],
|
|
336
|
+
"additionalProperties": false
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"required": [
|
|
341
|
+
"authority",
|
|
342
|
+
"method",
|
|
343
|
+
"classes"
|
|
344
|
+
],
|
|
345
|
+
"additionalProperties": false
|
|
346
|
+
},
|
|
347
|
+
"availability": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"retained": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"const": "complete_return_group"
|
|
353
|
+
},
|
|
354
|
+
"noReturn": {
|
|
355
|
+
"type": "string",
|
|
356
|
+
"const": "zero_detected_returns_not_clear_space"
|
|
357
|
+
},
|
|
358
|
+
"unavailable": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"const": "unknown_return_count_empty_cell"
|
|
361
|
+
},
|
|
362
|
+
"noTiming": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"const": "no_per_pulse_timestamps"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": [
|
|
368
|
+
"retained",
|
|
369
|
+
"noReturn",
|
|
370
|
+
"unavailable",
|
|
371
|
+
"noTiming"
|
|
372
|
+
],
|
|
373
|
+
"additionalProperties": false
|
|
374
|
+
},
|
|
375
|
+
"products": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"properties": {
|
|
378
|
+
"pulses": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
|
|
381
|
+
},
|
|
382
|
+
"points": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"required": [
|
|
388
|
+
"pulses",
|
|
389
|
+
"points"
|
|
390
|
+
],
|
|
391
|
+
"additionalProperties": false
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"required": [
|
|
395
|
+
"kind",
|
|
396
|
+
"schemaVersion",
|
|
397
|
+
"id",
|
|
398
|
+
"observationId",
|
|
399
|
+
"contextId",
|
|
400
|
+
"sourceSelectionId",
|
|
401
|
+
"acquisitionRef",
|
|
402
|
+
"channelId",
|
|
403
|
+
"acquisitionProducts",
|
|
404
|
+
"dataOrigin",
|
|
405
|
+
"mode",
|
|
406
|
+
"coordinateFrame",
|
|
407
|
+
"scan",
|
|
408
|
+
"geometry",
|
|
409
|
+
"intensity",
|
|
410
|
+
"classifications",
|
|
411
|
+
"availability",
|
|
412
|
+
"products"
|
|
413
|
+
],
|
|
414
|
+
"additionalProperties": false,
|
|
415
|
+
"$id": "urn:disclosureos:experimental:lidar-point-cloud-profile:0.1.0"
|
|
416
|
+
}
|