@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,238 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "kind": {
6
+ "type": "string",
7
+ "const": "passive_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
+ "sampleMaskAcquisitionProductRef": {
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
+ "processingRef": {
46
+ "type": "string",
47
+ "pattern": "^process:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
48
+ },
49
+ "timeOrigin": {
50
+ "type": "string",
51
+ "format": "date-time",
52
+ "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)))$"
53
+ },
54
+ "mode": {
55
+ "type": "string",
56
+ "const": "single_hydrophone_pressure"
57
+ },
58
+ "dataOrigin": {
59
+ "type": "string",
60
+ "enum": [
61
+ "synthetic",
62
+ "instrument"
63
+ ]
64
+ },
65
+ "sampling": {
66
+ "type": "object",
67
+ "properties": {
68
+ "samples": {
69
+ "type": "integer",
70
+ "minimum": 1,
71
+ "maximum": 16777216
72
+ },
73
+ "sampleRateHz": {
74
+ "type": "integer",
75
+ "exclusiveMinimum": 0,
76
+ "maximum": 1000000000
77
+ }
78
+ },
79
+ "required": [
80
+ "samples",
81
+ "sampleRateHz"
82
+ ],
83
+ "additionalProperties": false
84
+ },
85
+ "transform": {
86
+ "type": "object",
87
+ "properties": {
88
+ "kind": {
89
+ "type": "string",
90
+ "const": "one_sided_power_spectral_density"
91
+ },
92
+ "windowSamples": {
93
+ "type": "integer",
94
+ "minimum": 4,
95
+ "maximum": 65536
96
+ },
97
+ "hopSamples": {
98
+ "type": "integer",
99
+ "exclusiveMinimum": 0,
100
+ "maximum": 65536
101
+ },
102
+ "window": {
103
+ "type": "string",
104
+ "const": "periodic_hann"
105
+ },
106
+ "detrend": {
107
+ "type": "string",
108
+ "const": "remove_arithmetic_mean_before_window"
109
+ },
110
+ "padding": {
111
+ "type": "string",
112
+ "const": "none_full_windows_only"
113
+ },
114
+ "scaling": {
115
+ "type": "string",
116
+ "const": "sum_squared_window_times_sample_rate"
117
+ },
118
+ "oneSided": {
119
+ "type": "string",
120
+ "const": "double_interior_bins_only"
121
+ },
122
+ "missingWindow": {
123
+ "type": "string",
124
+ "const": "unavailable_if_any_input_missing"
125
+ }
126
+ },
127
+ "required": [
128
+ "kind",
129
+ "windowSamples",
130
+ "hopSamples",
131
+ "window",
132
+ "detrend",
133
+ "padding",
134
+ "scaling",
135
+ "oneSided",
136
+ "missingWindow"
137
+ ],
138
+ "additionalProperties": false
139
+ },
140
+ "display": {
141
+ "type": "object",
142
+ "properties": {
143
+ "densityReferencePa2PerHz": {
144
+ "type": "number",
145
+ "const": 1e-12
146
+ },
147
+ "logarithm": {
148
+ "type": "string",
149
+ "const": "10_log10_density_over_reference"
150
+ },
151
+ "zeroDensity": {
152
+ "type": "string",
153
+ "const": "negative_infinity_no_floor"
154
+ }
155
+ },
156
+ "required": [
157
+ "densityReferencePa2PerHz",
158
+ "logarithm",
159
+ "zeroDensity"
160
+ ],
161
+ "additionalProperties": false
162
+ },
163
+ "availability": {
164
+ "type": "object",
165
+ "properties": {
166
+ "unavailable": {
167
+ "type": "number",
168
+ "const": 0
169
+ },
170
+ "available": {
171
+ "type": "number",
172
+ "const": 1
173
+ },
174
+ "missingValue": {
175
+ "type": "string",
176
+ "const": "zero_storage_placeholder"
177
+ }
178
+ },
179
+ "required": [
180
+ "unavailable",
181
+ "available",
182
+ "missingValue"
183
+ ],
184
+ "additionalProperties": false
185
+ },
186
+ "products": {
187
+ "type": "object",
188
+ "properties": {
189
+ "pressure": {
190
+ "type": "string",
191
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
192
+ },
193
+ "sampleMask": {
194
+ "type": "string",
195
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
196
+ },
197
+ "powerSpectralDensity": {
198
+ "type": "string",
199
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
200
+ },
201
+ "frameMask": {
202
+ "type": "string",
203
+ "pattern": "^product:[A-Za-z0-9][A-Za-z0-9._-]*(?![\\s\\S])"
204
+ }
205
+ },
206
+ "required": [
207
+ "pressure",
208
+ "sampleMask",
209
+ "powerSpectralDensity",
210
+ "frameMask"
211
+ ],
212
+ "additionalProperties": false
213
+ }
214
+ },
215
+ "required": [
216
+ "kind",
217
+ "schemaVersion",
218
+ "id",
219
+ "observationId",
220
+ "contextId",
221
+ "sourceSelectionId",
222
+ "acquisitionRef",
223
+ "acquisitionProductRef",
224
+ "sampleMaskAcquisitionProductRef",
225
+ "channelId",
226
+ "processingRef",
227
+ "timeOrigin",
228
+ "mode",
229
+ "dataOrigin",
230
+ "sampling",
231
+ "transform",
232
+ "display",
233
+ "availability",
234
+ "products"
235
+ ],
236
+ "additionalProperties": false,
237
+ "$id": "urn:disclosureos:experimental:passive-sonar-profile:0.1.0"
238
+ }