net.atmowx.getStationHistory
Schema Diff
+1 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "net.atmowx.getStationHistory#series.parameter", sort: "knownValues", old_value: "[\"temperature\",\"dewPoint\",\"relativeHumidity\",\"pressureSeaLevel\",\"windSpeed\",\"windGust\",\"precipitationRate\",\"precipitationDay\",\"solarIrradiance\",\"uvIndex\",\"pm1\",\"pm25\",\"pm10\",\"ozone\",\"no2\",\"so2\",\"co\"]", new_value: "[\"temperature\",\"dewPoint\",\"relativeHumidity\",\"pressureSeaLevel\",\"windSpeed\",\"windGust\",\"windDirection\",\"precipitationRate\",\"precipitationDay\",\"solarIrradiance\",\"uvIndex\",\"pm1\",\"pm25\",\"pm10\",\"ozone\",\"no2\",\"so2\",\"co\"]" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "net.atmowx.getStationHistory#series.parameter", sort: "knownValues", old_value: "[\"temperature\",\"dewPoint\",\"relativeHumidity\",\"pressureSeaLevel\",\"windSpeed\",\"windGust\",\"precipitationRate\",\"precipitationDay\",\"solarIrradiance\",\"uvIndex\",\"pm1\",\"pm25\",\"pm10\",\"ozone\",\"no2\",\"so2\",\"co\"]", new_value: "[\"temperature\",\"dewPoint\",\"relativeHumidity\",\"pressureSeaLevel\",\"windSpeed\",\"windGust\",\"windDirection\",\"precipitationRate\",\"precipitationDay\",\"solarIrradiance\",\"uvIndex\",\"pm1\",\"pm25\",\"pm10\",\"ozone\",\"no2\",\"so2\",\"co\"]" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Time series for one station. bucket=raw returns individual readings (capped at 5000 points; narrow the range or coarsen the bucket on RangeTooLarge). hour/day buckets return UTC-aligned min/avg/max (sum for precipitation). No auth.",
6
6
"errors": [
7
7
{
8
8
"description": "No indexed station with that AT-URI.",
9
9
"name": "StationNotFound"
10
10
},
11
11
{
12
12
"description": "raw bucket over 5000 points; narrow the range or use hour/day.",
13
13
"name": "RangeTooLarge"
14
14
},
15
15
{
16
16
"description": "bucket must be raw, hour, or day.",
17
17
"name": "InvalidBucket"
18
18
}
19
19
],
20
20
"output": {
21
21
"encoding": "application/json",
22
22
"schema": {
23
23
"properties": {
24
24
"bucket": {
25
25
"type": "string"
26
26
},
27
27
"series": {
28
28
"items": {
29
29
"ref": "net.atmowx.getStationHistory#series",
30
30
"type": "ref"
31
31
},
32
32
"type": "array"
33
33
},
34
34
"station": {
35
35
"format": "at-uri",
36
36
"type": "string"
37
37
}
38
38
},
39
39
"required": [
40
40
"station",
41
41
"bucket",
42
42
"series"
43
43
],
44
44
"type": "object"
45
45
}
46
46
},
47
47
"parameters": {
48
48
"properties": {
49
49
"bucket": {
50
50
"default": "raw",
51
51
"knownValues": [
52
52
"raw",
53
53
"hour",
54
54
"day"
55
55
],
56
56
"type": "string"
57
57
},
58
58
"from": {
59
59
"format": "datetime",
60
60
"type": "string"
61
61
},
62
62
"station": {
63
63
"description": "AT-URI of the net.atmowx.station record.",
64
64
"format": "at-uri",
65
65
"type": "string"
66
66
},
67
67
"to": {
68
68
"format": "datetime",
69
69
"type": "string"
70
70
}
71
71
},
72
72
"required": [
73
73
"station",
74
74
"from",
75
75
"to"
76
76
],
77
77
"type": "params"
78
78
},
79
79
"type": "query"
80
80
},
81
81
"point": {
82
82
"properties": {
83
83
"avg": {
84
84
"ref": "net.atmowx.defs#quantity",
85
85
"type": "ref"
86
86
},
87
87
"max": {
88
88
"ref": "net.atmowx.defs#quantity",
89
89
"type": "ref"
90
90
},
91
91
"min": {
92
92
"ref": "net.atmowx.defs#quantity",
93
93
"type": "ref"
94
94
},
95
95
"sum": {
96
96
"description": "Precipitation buckets report sum instead of min/avg/max.",
97
97
"ref": "net.atmowx.defs#quantity",
98
98
"type": "ref"
99
99
},
100
100
"time": {
101
101
"description": "Reading time (raw) or UTC bucket start (hour/day).",
102
102
"format": "datetime",
103
103
"type": "string"
104
104
},
105
105
"value": {
106
106
"description": "Present for bucket=raw.",
107
107
"ref": "net.atmowx.defs#quantity",
108
108
"type": "ref"
109
109
}
110
110
},
111
111
"required": [
112
112
"time"
113
113
],
114
114
"type": "object"
115
115
},
116
116
"series": {
117
117
"description": "One measured parameter's series. The parameter set is open: additional parameters may be served later without a schema change.",
118
118
"properties": {
119
119
"parameter": {
120
120
"knownValues": [
121
121
"temperature",
122
122
"dewPoint",
123
123
"relativeHumidity",
124
124
"pressureSeaLevel",
125
125
"windSpeed",
126
126
"windGust",
127
+
"windDirection",
127
128
"precipitationRate",
128
129
"precipitationDay",
129
130
"solarIrradiance",
130
131
"uvIndex",
131
132
"pm1",
132
133
"pm25",
133
134
"pm10",
134
135
"ozone",
135
136
"no2",
136
137
"so2",
137
138
"co"
138
139
],
139
140
"maxLength": 128,
140
141
"type": "string"
141
142
},
142
143
"points": {
143
144
"items": {
144
145
"ref": "net.atmowx.getStationHistory#point",
145
146
"type": "ref"
146
147
},
147
148
"type": "array"
148
149
},
149
150
"unit": {
150
151
"description": "SI unit name, e.g. celsius, hectopascal, metersPerSecond, millimeters, percent, wattsPerSquareMeter.",
151
152
"maxLength": 64,
152
153
"type": "string"
153
154
}
154
155
},
155
156
"required": [
156
157
"parameter",
157
158
"unit",
158
159
"points"
159
160
],
160
161
"type": "object"
161
162
}
162
163
},
163
164
"id": "net.atmowx.getStationHistory",
164
165
"lexicon": 1
165
166
}