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