@azohra/meteo.station 0.1.1

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 (160) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +53 -0
  3. package/dist/air.d.ts +13 -0
  4. package/dist/air.js +76 -0
  5. package/dist/client/index.d.ts +4 -0
  6. package/dist/client/index.js +4 -0
  7. package/dist/client/poll.d.ts +42 -0
  8. package/dist/client/poll.js +121 -0
  9. package/dist/client/stores.d.ts +46 -0
  10. package/dist/client/stores.js +128 -0
  11. package/dist/client/ticker.d.ts +4 -0
  12. package/dist/client/ticker.js +19 -0
  13. package/dist/contract.d.ts +381 -0
  14. package/dist/contract.js +143 -0
  15. package/dist/derive.d.ts +54 -0
  16. package/dist/derive.js +134 -0
  17. package/dist/display.d.ts +28 -0
  18. package/dist/display.js +27 -0
  19. package/dist/elements/elements/AirMatrixElement.d.ts +14 -0
  20. package/dist/elements/elements/AirMatrixElement.js +83 -0
  21. package/dist/elements/elements/CurrentConditionsElement.d.ts +9 -0
  22. package/dist/elements/elements/CurrentConditionsElement.js +52 -0
  23. package/dist/elements/elements/DailyPatternElement.d.ts +15 -0
  24. package/dist/elements/elements/DailyPatternElement.js +200 -0
  25. package/dist/elements/elements/DialElement.d.ts +9 -0
  26. package/dist/elements/elements/DialElement.js +128 -0
  27. package/dist/elements/elements/FreshnessBadgeElement.d.ts +8 -0
  28. package/dist/elements/elements/FreshnessBadgeElement.js +22 -0
  29. package/dist/elements/elements/SparklineElement.d.ts +9 -0
  30. package/dist/elements/elements/SparklineElement.js +74 -0
  31. package/dist/elements/elements/StationCardElement.d.ts +53 -0
  32. package/dist/elements/elements/StationCardElement.js +211 -0
  33. package/dist/elements/elements/StationFeedElement.d.ts +32 -0
  34. package/dist/elements/elements/StationFeedElement.js +215 -0
  35. package/dist/elements/elements/StationStripElement.d.ts +9 -0
  36. package/dist/elements/elements/StationStripElement.js +43 -0
  37. package/dist/elements/elements/StationTableElement.d.ts +18 -0
  38. package/dist/elements/elements/StationTableElement.js +102 -0
  39. package/dist/elements/elements/TrendChartElement.d.ts +10 -0
  40. package/dist/elements/elements/TrendChartElement.js +174 -0
  41. package/dist/elements/elements/WindArrowElement.d.ts +8 -0
  42. package/dist/elements/elements/WindArrowElement.js +14 -0
  43. package/dist/elements/elements/WindHistoryChartElement.d.ts +10 -0
  44. package/dist/elements/elements/WindHistoryChartElement.js +277 -0
  45. package/dist/elements/elements/WindRoseElement.d.ts +17 -0
  46. package/dist/elements/elements/WindRoseElement.js +106 -0
  47. package/dist/elements/elements/atoms.d.ts +48 -0
  48. package/dist/elements/elements/atoms.js +131 -0
  49. package/dist/elements/index.d.ts +48 -0
  50. package/dist/elements/index.js +57 -0
  51. package/dist/elements/lib/ambient.d.ts +15 -0
  52. package/dist/elements/lib/ambient.js +5 -0
  53. package/dist/elements/lib/attributes.js +21 -0
  54. package/dist/elements/lib/base.d.ts +45 -0
  55. package/dist/elements/lib/base.js +152 -0
  56. package/dist/elements/lib/context.js +28 -0
  57. package/dist/elements/lib/fragments.js +45 -0
  58. package/dist/elements/lib/h.js +35 -0
  59. package/dist/elements/register.d.ts +1 -0
  60. package/dist/elements/register.js +5 -0
  61. package/dist/endpoints.d.ts +5 -0
  62. package/dist/endpoints.js +10 -0
  63. package/dist/fixtures.d.ts +23 -0
  64. package/dist/fixtures.js +67 -0
  65. package/dist/format.d.ts +31 -0
  66. package/dist/format.js +82 -0
  67. package/dist/geometry.d.ts +84 -0
  68. package/dist/geometry.js +333 -0
  69. package/dist/index.d.ts +12 -0
  70. package/dist/index.js +12 -0
  71. package/dist/instruments.d.ts +75 -0
  72. package/dist/instruments.js +173 -0
  73. package/dist/merge-current.d.ts +13 -0
  74. package/dist/merge-current.js +54 -0
  75. package/dist/react/components/AirMatrix.d.ts +11 -0
  76. package/dist/react/components/AirMatrix.js +82 -0
  77. package/dist/react/components/CurrentConditions.d.ts +17 -0
  78. package/dist/react/components/CurrentConditions.js +98 -0
  79. package/dist/react/components/DailyPattern.d.ts +19 -0
  80. package/dist/react/components/DailyPattern.js +212 -0
  81. package/dist/react/components/Dial.d.ts +17 -0
  82. package/dist/react/components/Dial.js +133 -0
  83. package/dist/react/components/FreshnessBadge.d.ts +10 -0
  84. package/dist/react/components/FreshnessBadge.js +20 -0
  85. package/dist/react/components/Sparkline.d.ts +17 -0
  86. package/dist/react/components/Sparkline.js +60 -0
  87. package/dist/react/components/StationCard.d.ts +46 -0
  88. package/dist/react/components/StationCard.js +140 -0
  89. package/dist/react/components/StationFeedProvider.d.ts +27 -0
  90. package/dist/react/components/StationFeedProvider.js +40 -0
  91. package/dist/react/components/StationStrip.d.ts +16 -0
  92. package/dist/react/components/StationStrip.js +84 -0
  93. package/dist/react/components/StationTable.d.ts +18 -0
  94. package/dist/react/components/StationTable.js +115 -0
  95. package/dist/react/components/TrendChart.d.ts +14 -0
  96. package/dist/react/components/TrendChart.js +150 -0
  97. package/dist/react/components/WindArrow.d.ts +7 -0
  98. package/dist/react/components/WindArrow.js +21 -0
  99. package/dist/react/components/WindHistoryChart.d.ts +18 -0
  100. package/dist/react/components/WindHistoryChart.js +278 -0
  101. package/dist/react/components/WindRose.d.ts +17 -0
  102. package/dist/react/components/WindRose.js +99 -0
  103. package/dist/react/components/atoms.d.ts +33 -0
  104. package/dist/react/components/atoms.js +136 -0
  105. package/dist/react/hooks/useFreshness.d.ts +6 -0
  106. package/dist/react/hooks/useFreshness.js +21 -0
  107. package/dist/react/hooks/usePolledJson.js +17 -0
  108. package/dist/react/hooks/useStation.d.ts +23 -0
  109. package/dist/react/hooks/useStation.js +42 -0
  110. package/dist/react/hooks/useStationCurrent.d.ts +23 -0
  111. package/dist/react/hooks/useStationCurrent.js +32 -0
  112. package/dist/react/hooks/useStationFeed.d.ts +22 -0
  113. package/dist/react/hooks/useStationFeed.js +28 -0
  114. package/dist/react/index.d.ts +20 -0
  115. package/dist/react/index.js +21 -0
  116. package/dist/react/lib/cells.js +29 -0
  117. package/dist/scene/air-matrix.js +71 -0
  118. package/dist/scene/atoms.js +102 -0
  119. package/dist/scene/card.js +54 -0
  120. package/dist/scene/chart.js +28 -0
  121. package/dist/scene/current.js +66 -0
  122. package/dist/scene/daily-pattern.js +81 -0
  123. package/dist/scene/dial.js +141 -0
  124. package/dist/scene/glyphs.js +24 -0
  125. package/dist/scene/rose.js +120 -0
  126. package/dist/scene/sparkline.js +73 -0
  127. package/dist/scene/strip.js +63 -0
  128. package/dist/scene/table.js +76 -0
  129. package/dist/scene/trend.js +160 -0
  130. package/dist/scene/wind-history.js +148 -0
  131. package/dist/scene/wind-plot.js +214 -0
  132. package/dist/server/adapter.d.ts +28 -0
  133. package/dist/server/adapter.js +32 -0
  134. package/dist/server/adapters/campbell.d.ts +112 -0
  135. package/dist/server/adapters/campbell.js +414 -0
  136. package/dist/server/adapters/tempest.d.ts +27 -0
  137. package/dist/server/adapters/tempest.js +137 -0
  138. package/dist/server/adapters/windnerd.d.ts +39 -0
  139. package/dist/server/adapters/windnerd.js +159 -0
  140. package/dist/server/config.d.ts +135 -0
  141. package/dist/server/config.js +57 -0
  142. package/dist/server/environment.d.ts +48 -0
  143. package/dist/server/environment.js +128 -0
  144. package/dist/server/feed.d.ts +31 -0
  145. package/dist/server/feed.js +216 -0
  146. package/dist/server/handler.d.ts +17 -0
  147. package/dist/server/handler.js +133 -0
  148. package/dist/server/index.d.ts +10 -0
  149. package/dist/server/index.js +10 -0
  150. package/dist/strings.d.ts +118 -0
  151. package/dist/strings.js +237 -0
  152. package/dist/windnerd.d.ts +5 -0
  153. package/dist/windnerd.js +25 -0
  154. package/package.json +97 -0
  155. package/schema/README.md +14 -0
  156. package/schema/example-current.json +48 -0
  157. package/schema/example-feed.json +147 -0
  158. package/schema/stationcurrent.schema.json +641 -0
  159. package/schema/stationfeed.schema.json +656 -0
  160. package/styles.css +1141 -0
@@ -0,0 +1,641 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://meteo.azohra.com/schema/stationcurrent.schema.json",
4
+ "title": "StationCurrent",
5
+ "description": "The single-station light document served at /current. Reuses the station shape with history null so clients need one decoder.",
6
+ "type": "object",
7
+ "properties": {
8
+ "schemaVersion": {
9
+ "type": "number",
10
+ "const": 2
11
+ },
12
+ "servedAt": {
13
+ "type": "string",
14
+ "format": "date-time"
15
+ },
16
+ "station": {
17
+ "$ref": "#/$defs/Station"
18
+ }
19
+ },
20
+ "required": [
21
+ "schemaVersion",
22
+ "servedAt",
23
+ "station"
24
+ ],
25
+ "$defs": {
26
+ "Station": {
27
+ "oneOf": [
28
+ {
29
+ "type": "object",
30
+ "properties": {
31
+ "id": {
32
+ "type": "string",
33
+ "minLength": 1
34
+ },
35
+ "name": {
36
+ "type": "string",
37
+ "minLength": 1
38
+ },
39
+ "sourceLabel": {
40
+ "type": "string"
41
+ },
42
+ "pageUrl": {
43
+ "anyOf": [
44
+ {
45
+ "type": "string"
46
+ },
47
+ {
48
+ "type": "null"
49
+ }
50
+ ]
51
+ },
52
+ "latitude": {
53
+ "anyOf": [
54
+ {
55
+ "type": "number",
56
+ "minimum": -90,
57
+ "maximum": 90
58
+ },
59
+ {
60
+ "type": "null"
61
+ }
62
+ ]
63
+ },
64
+ "longitude": {
65
+ "anyOf": [
66
+ {
67
+ "type": "number",
68
+ "minimum": -180,
69
+ "exclusiveMaximum": 180
70
+ },
71
+ {
72
+ "type": "null"
73
+ }
74
+ ]
75
+ },
76
+ "timeZone": {
77
+ "anyOf": [
78
+ {
79
+ "type": "string",
80
+ "minLength": 1
81
+ },
82
+ {
83
+ "type": "null"
84
+ }
85
+ ]
86
+ },
87
+ "elevationM": {
88
+ "anyOf": [
89
+ {
90
+ "type": "number"
91
+ },
92
+ {
93
+ "type": "null"
94
+ }
95
+ ]
96
+ },
97
+ "capabilities": {
98
+ "$ref": "#/$defs/StationCapabilities"
99
+ },
100
+ "samplingWindowSeconds": {
101
+ "anyOf": [
102
+ {
103
+ "type": "number",
104
+ "exclusiveMinimum": 0
105
+ },
106
+ {
107
+ "type": "null"
108
+ }
109
+ ]
110
+ },
111
+ "recommendedPollSeconds": {
112
+ "type": "number",
113
+ "exclusiveMinimum": 0
114
+ },
115
+ "status": {
116
+ "type": "string",
117
+ "const": "ok"
118
+ },
119
+ "reading": {
120
+ "$ref": "#/$defs/Reading"
121
+ },
122
+ "history": {
123
+ "anyOf": [
124
+ {
125
+ "$ref": "#/$defs/History"
126
+ },
127
+ {
128
+ "type": "null"
129
+ }
130
+ ]
131
+ }
132
+ },
133
+ "required": [
134
+ "id",
135
+ "name",
136
+ "sourceLabel",
137
+ "pageUrl",
138
+ "latitude",
139
+ "longitude",
140
+ "timeZone",
141
+ "elevationM",
142
+ "capabilities",
143
+ "samplingWindowSeconds",
144
+ "recommendedPollSeconds",
145
+ "status",
146
+ "reading",
147
+ "history"
148
+ ]
149
+ },
150
+ {
151
+ "type": "object",
152
+ "properties": {
153
+ "id": {
154
+ "type": "string",
155
+ "minLength": 1
156
+ },
157
+ "name": {
158
+ "type": "string",
159
+ "minLength": 1
160
+ },
161
+ "sourceLabel": {
162
+ "type": "string"
163
+ },
164
+ "pageUrl": {
165
+ "anyOf": [
166
+ {
167
+ "type": "string"
168
+ },
169
+ {
170
+ "type": "null"
171
+ }
172
+ ]
173
+ },
174
+ "latitude": {
175
+ "anyOf": [
176
+ {
177
+ "type": "number",
178
+ "minimum": -90,
179
+ "maximum": 90
180
+ },
181
+ {
182
+ "type": "null"
183
+ }
184
+ ]
185
+ },
186
+ "longitude": {
187
+ "anyOf": [
188
+ {
189
+ "type": "number",
190
+ "minimum": -180,
191
+ "exclusiveMaximum": 180
192
+ },
193
+ {
194
+ "type": "null"
195
+ }
196
+ ]
197
+ },
198
+ "timeZone": {
199
+ "anyOf": [
200
+ {
201
+ "type": "string",
202
+ "minLength": 1
203
+ },
204
+ {
205
+ "type": "null"
206
+ }
207
+ ]
208
+ },
209
+ "elevationM": {
210
+ "anyOf": [
211
+ {
212
+ "type": "number"
213
+ },
214
+ {
215
+ "type": "null"
216
+ }
217
+ ]
218
+ },
219
+ "capabilities": {
220
+ "$ref": "#/$defs/StationCapabilities"
221
+ },
222
+ "samplingWindowSeconds": {
223
+ "anyOf": [
224
+ {
225
+ "type": "number",
226
+ "exclusiveMinimum": 0
227
+ },
228
+ {
229
+ "type": "null"
230
+ }
231
+ ]
232
+ },
233
+ "recommendedPollSeconds": {
234
+ "type": "number",
235
+ "exclusiveMinimum": 0
236
+ },
237
+ "status": {
238
+ "type": "string",
239
+ "const": "unavailable"
240
+ },
241
+ "reason": {
242
+ "type": "string",
243
+ "enum": [
244
+ "upstream_error",
245
+ "timeout",
246
+ "rate_limited",
247
+ "contract_break",
248
+ "not_configured"
249
+ ]
250
+ },
251
+ "reading": {
252
+ "type": "null"
253
+ },
254
+ "history": {
255
+ "type": "null"
256
+ }
257
+ },
258
+ "required": [
259
+ "id",
260
+ "name",
261
+ "sourceLabel",
262
+ "pageUrl",
263
+ "latitude",
264
+ "longitude",
265
+ "timeZone",
266
+ "elevationM",
267
+ "capabilities",
268
+ "samplingWindowSeconds",
269
+ "recommendedPollSeconds",
270
+ "status",
271
+ "reason",
272
+ "reading",
273
+ "history"
274
+ ]
275
+ }
276
+ ]
277
+ },
278
+ "StationCapabilities": {
279
+ "type": "object",
280
+ "properties": {
281
+ "gustLull": {
282
+ "type": "boolean"
283
+ },
284
+ "temperature": {
285
+ "type": "boolean"
286
+ },
287
+ "conditions": {
288
+ "type": "boolean"
289
+ },
290
+ "history": {
291
+ "type": "boolean"
292
+ }
293
+ },
294
+ "required": [
295
+ "gustLull",
296
+ "temperature",
297
+ "conditions",
298
+ "history"
299
+ ],
300
+ "description": "Declared from what the hardware carries, never inferred from data. Capabilities gate client UI structure; a dark sensor keeps its structure and reports null."
301
+ },
302
+ "Reading": {
303
+ "type": "object",
304
+ "properties": {
305
+ "observedAt": {
306
+ "type": "string",
307
+ "format": "date-time"
308
+ },
309
+ "windAvgMps": {
310
+ "type": "number",
311
+ "minimum": 0,
312
+ "description": "Wind speed in m/s, averaged over samplingWindowSeconds. Absence is null, never zero."
313
+ },
314
+ "windDirectionDeg": {
315
+ "anyOf": [
316
+ {
317
+ "type": "number",
318
+ "minimum": 0,
319
+ "exclusiveMaximum": 360
320
+ },
321
+ {
322
+ "type": "null"
323
+ }
324
+ ],
325
+ "description": "Bearing the wind blows FROM, degrees [0, 360). null exactly when calm (windAvgMps below the WMO 0.5 m/s threshold) — calm carries no direction; a null on a blowing reading is a dead vane."
326
+ },
327
+ "windGustMps": {
328
+ "anyOf": [
329
+ {
330
+ "type": "number",
331
+ "minimum": 0
332
+ },
333
+ {
334
+ "type": "null"
335
+ }
336
+ ],
337
+ "description": "Peak m/s within the sampling window; null ≠ zero."
338
+ },
339
+ "windLullMps": {
340
+ "anyOf": [
341
+ {
342
+ "type": "number",
343
+ "minimum": 0
344
+ },
345
+ {
346
+ "type": "null"
347
+ }
348
+ ],
349
+ "description": "Minimum m/s within the sampling window; null ≠ zero."
350
+ },
351
+ "temperatureC": {
352
+ "anyOf": [
353
+ {
354
+ "type": "number"
355
+ },
356
+ {
357
+ "type": "null"
358
+ }
359
+ ]
360
+ },
361
+ "windChillC": {
362
+ "anyOf": [
363
+ {
364
+ "type": "number"
365
+ },
366
+ {
367
+ "type": "null"
368
+ }
369
+ ]
370
+ },
371
+ "conditions": {
372
+ "anyOf": [
373
+ {
374
+ "$ref": "#/$defs/AirConditions"
375
+ },
376
+ {
377
+ "type": "null"
378
+ }
379
+ ]
380
+ }
381
+ },
382
+ "required": [
383
+ "observedAt",
384
+ "windAvgMps",
385
+ "windDirectionDeg",
386
+ "windGustMps",
387
+ "windLullMps",
388
+ "temperatureC",
389
+ "windChillC",
390
+ "conditions"
391
+ ]
392
+ },
393
+ "AirConditions": {
394
+ "type": "object",
395
+ "properties": {
396
+ "dewPointC": {
397
+ "anyOf": [
398
+ {
399
+ "type": "number"
400
+ },
401
+ {
402
+ "type": "null"
403
+ }
404
+ ]
405
+ },
406
+ "lastLightningStrikeAt": {
407
+ "anyOf": [
408
+ {
409
+ "type": "string",
410
+ "format": "date-time"
411
+ },
412
+ {
413
+ "type": "null"
414
+ }
415
+ ]
416
+ },
417
+ "lastLightningStrikeDistanceKm": {
418
+ "anyOf": [
419
+ {
420
+ "type": "number"
421
+ },
422
+ {
423
+ "type": "null"
424
+ }
425
+ ]
426
+ },
427
+ "lightningStrikeCountLastHour": {
428
+ "anyOf": [
429
+ {
430
+ "type": "number"
431
+ },
432
+ {
433
+ "type": "null"
434
+ }
435
+ ]
436
+ },
437
+ "precipitationMinutesToday": {
438
+ "anyOf": [
439
+ {
440
+ "type": "number"
441
+ },
442
+ {
443
+ "type": "null"
444
+ }
445
+ ]
446
+ },
447
+ "precipitationRateMmPerHour": {
448
+ "anyOf": [
449
+ {
450
+ "type": "number"
451
+ },
452
+ {
453
+ "type": "null"
454
+ }
455
+ ]
456
+ },
457
+ "precipitationTodayMm": {
458
+ "anyOf": [
459
+ {
460
+ "type": "number"
461
+ },
462
+ {
463
+ "type": "null"
464
+ }
465
+ ]
466
+ },
467
+ "pressureTrend": {
468
+ "anyOf": [
469
+ {
470
+ "type": "string",
471
+ "enum": [
472
+ "falling",
473
+ "rising",
474
+ "steady",
475
+ "unknown"
476
+ ]
477
+ },
478
+ {
479
+ "type": "null"
480
+ }
481
+ ]
482
+ },
483
+ "relativeHumidityPercent": {
484
+ "anyOf": [
485
+ {
486
+ "type": "number"
487
+ },
488
+ {
489
+ "type": "null"
490
+ }
491
+ ]
492
+ },
493
+ "seaLevelPressureHpa": {
494
+ "anyOf": [
495
+ {
496
+ "type": "number"
497
+ },
498
+ {
499
+ "type": "null"
500
+ }
501
+ ]
502
+ },
503
+ "solarRadiationWm2": {
504
+ "anyOf": [
505
+ {
506
+ "type": "number"
507
+ },
508
+ {
509
+ "type": "null"
510
+ }
511
+ ]
512
+ },
513
+ "uvIndex": {
514
+ "anyOf": [
515
+ {
516
+ "type": "number",
517
+ "minimum": 0
518
+ },
519
+ {
520
+ "type": "null"
521
+ }
522
+ ]
523
+ }
524
+ },
525
+ "required": [
526
+ "dewPointC",
527
+ "lastLightningStrikeAt",
528
+ "lastLightningStrikeDistanceKm",
529
+ "lightningStrikeCountLastHour",
530
+ "precipitationMinutesToday",
531
+ "precipitationRateMmPerHour",
532
+ "precipitationTodayMm",
533
+ "pressureTrend",
534
+ "relativeHumidityPercent",
535
+ "seaLevelPressureHpa",
536
+ "solarRadiationWm2",
537
+ "uvIndex"
538
+ ],
539
+ "description": "Extended air data. null means 'not reported here' — it does not distinguish a missing sensor from a dark one; the station-level conditions capability gates whether a client allocates UI structure."
540
+ },
541
+ "History": {
542
+ "type": "object",
543
+ "properties": {
544
+ "periodMinutes": {
545
+ "type": "number",
546
+ "exclusiveMinimum": 0,
547
+ "description": "Minutes each point covers. Wind run, vane thinning, and dropout detection are functions of it."
548
+ },
549
+ "points": {
550
+ "type": "array",
551
+ "items": {
552
+ "$ref": "#/$defs/HistoryPoint"
553
+ },
554
+ "description": "A dropout is an ABSENT record, never a zeroed one — gaps carry no points."
555
+ }
556
+ },
557
+ "required": [
558
+ "periodMinutes",
559
+ "points"
560
+ ]
561
+ },
562
+ "HistoryPoint": {
563
+ "type": "object",
564
+ "properties": {
565
+ "observedAt": {
566
+ "type": "string",
567
+ "format": "date-time"
568
+ },
569
+ "windAvgMps": {
570
+ "type": "number",
571
+ "minimum": 0,
572
+ "description": "Mean m/s over the record's period."
573
+ },
574
+ "windGustMps": {
575
+ "anyOf": [
576
+ {
577
+ "type": "number",
578
+ "minimum": 0
579
+ },
580
+ {
581
+ "type": "null"
582
+ }
583
+ ]
584
+ },
585
+ "windLullMps": {
586
+ "anyOf": [
587
+ {
588
+ "type": "number",
589
+ "minimum": 0
590
+ },
591
+ {
592
+ "type": "null"
593
+ }
594
+ ]
595
+ },
596
+ "windDirectionDeg": {
597
+ "anyOf": [
598
+ {
599
+ "type": "number",
600
+ "minimum": 0,
601
+ "exclusiveMaximum": 360
602
+ },
603
+ {
604
+ "type": "null"
605
+ }
606
+ ],
607
+ "description": "Degrees FROM; null exactly when the period was calm (below 0.5 m/s)."
608
+ },
609
+ "temperatureC": {
610
+ "anyOf": [
611
+ {
612
+ "type": "number"
613
+ },
614
+ {
615
+ "type": "null"
616
+ }
617
+ ]
618
+ },
619
+ "seaLevelPressureHpa": {
620
+ "anyOf": [
621
+ {
622
+ "type": "number",
623
+ "exclusiveMinimum": 0
624
+ },
625
+ {
626
+ "type": "null"
627
+ }
628
+ ]
629
+ }
630
+ },
631
+ "required": [
632
+ "observedAt",
633
+ "windAvgMps",
634
+ "windGustMps",
635
+ "windLullMps",
636
+ "windDirectionDeg",
637
+ "temperatureC"
638
+ ]
639
+ }
640
+ }
641
+ }