net.atmowx.observation
Schema Diff
+1 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "net.atmowx.observation:body.presentWeather", sort: "maximum", old_value: "511", new_value: "99" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "net.atmowx.observation:body.presentWeather", sort: "maximum", old_value: "511", new_value: "99" }
1
1
{
2
2
"id": "net.atmowx.observation",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"station",
11
11
"observedAt"
12
12
],
13
13
"properties": {
14
14
"wind": {
15
15
"type": "object",
16
16
"properties": {
17
17
"gust": {
18
18
"ref": "net.atmowx.defs#quantity",
19
19
"type": "ref",
20
20
"description": "m/s."
21
21
},
22
22
"speed": {
23
23
"ref": "net.atmowx.defs#quantity",
24
24
"type": "ref",
25
25
"description": "m/s."
26
26
},
27
27
"direction": {
28
28
"type": "integer",
29
29
"maximum": 359,
30
30
"minimum": 0,
31
31
"description": "Degrees true, 0 = north."
32
32
},
33
33
"gustDirection": {
34
34
"type": "integer",
35
35
"maximum": 359,
36
36
"minimum": 0,
37
37
"description": "Degrees true, 0 = north."
38
38
}
39
39
}
40
40
},
41
41
"extra": {
42
42
"type": "array",
43
43
"items": {
44
44
"refs": [
45
45
"net.atmowx.defs#measurement"
46
46
],
47
47
"type": "union",
48
48
"closed": false
49
49
},
50
50
"maxLength": 64,
51
51
"description": "Measurements not covered by core fields. Open union."
52
52
},
53
53
"station": {
54
54
"type": "string",
55
55
"format": "at-uri",
56
56
"description": "AT-URI of the net.atmowx.station this reading came from."
57
57
},
58
58
"uvIndex": {
59
59
"ref": "net.atmowx.defs#quantity",
60
60
"type": "ref",
61
61
"description": "UV index, dimensionless."
62
62
},
63
63
"dewPoint": {
64
64
"ref": "net.atmowx.defs#quantity",
65
65
"type": "ref",
66
66
"description": "Dew point, °C."
67
67
},
68
68
"snowDepth": {
69
69
"ref": "net.atmowx.defs#quantity",
70
70
"type": "ref",
71
71
"description": "Millimeters."
72
72
},
73
73
"airQuality": {
74
74
"type": "object",
75
75
"properties": {
76
76
"co": {
77
77
"ref": "net.atmowx.defs#quantity",
78
78
"type": "ref",
79
79
"description": "CO mass concentration, µg/m³."
80
80
},
81
81
"no2": {
82
82
"ref": "net.atmowx.defs#quantity",
83
83
"type": "ref",
84
84
"description": "NO₂ mass concentration, µg/m³."
85
85
},
86
86
"pm1": {
87
87
"ref": "net.atmowx.defs#quantity",
88
88
"type": "ref",
89
89
"description": "PM1 mass concentration, µg/m³."
90
90
},
91
91
"so2": {
92
92
"ref": "net.atmowx.defs#quantity",
93
93
"type": "ref",
94
94
"description": "SO₂ mass concentration, µg/m³."
95
95
},
96
96
"pm10": {
97
97
"ref": "net.atmowx.defs#quantity",
98
98
"type": "ref",
99
99
"description": "PM10 mass concentration, µg/m³."
100
100
},
101
101
"pm25": {
102
102
"ref": "net.atmowx.defs#quantity",
103
103
"type": "ref",
104
104
"description": "PM2.5 mass concentration, µg/m³."
105
105
},
106
106
"ozone": {
107
107
"ref": "net.atmowx.defs#quantity",
108
108
"type": "ref",
109
109
"description": "O₃ mass concentration, µg/m³."
110
110
}
111
111
},
112
112
"description": "Outdoor ambient air-quality mass concentrations, µg/m³. Derived indexes (AQI, EAQI, …) are intentionally not stored: they are jurisdiction- and time-window-specific and must be computed by consumers from the concentration series."
113
113
},
114
114
"observedAt": {
115
115
"type": "string",
116
116
"format": "datetime",
117
117
"description": "Measurement time, UTC."
118
118
},
119
119
"visibility": {
120
120
"ref": "net.atmowx.defs#quantity",
121
121
"type": "ref",
122
122
"description": "Meters."
123
123
},
124
124
"temperature": {
125
125
"ref": "net.atmowx.defs#quantity",
126
126
"type": "ref",
127
127
"description": "Air temperature, °C."
128
128
},
129
129
"soilMoisture": {
130
130
"ref": "net.atmowx.defs#quantity",
131
131
"type": "ref",
132
132
"description": "Percent."
133
133
},
134
134
"precipitation": {
135
135
"type": "object",
136
136
"properties": {
137
137
"day": {
138
138
"ref": "net.atmowx.defs#quantity",
139
139
"type": "ref",
140
140
"description": "mm since station-local midnight."
141
141
},
142
142
"hour": {
143
143
"ref": "net.atmowx.defs#quantity",
144
144
"type": "ref",
145
145
"description": "mm in the last 60 minutes."
146
146
},
147
147
"rate": {
148
148
"ref": "net.atmowx.defs#quantity",
149
149
"type": "ref",
150
150
"description": "mm/h."
151
151
},
152
152
"event": {
153
153
"ref": "net.atmowx.defs#quantity",
154
154
"type": "ref",
155
155
"description": "mm in the current rain event."
156
156
}
157
157
}
158
158
},
159
159
"presentWeather": {
160
160
"type": "integer",
161
-
"maximum": 511,
161
+
"maximum": 99,
162
162
"minimum": 0,
163
163
"description": "WMO code table 4680 (present weather from automatic station)."
164
164
},
165
165
"pressureStation": {
166
166
"ref": "net.atmowx.defs#quantity",
167
167
"type": "ref",
168
168
"description": "Absolute station pressure, hPa."
169
169
},
170
170
"soilTemperature": {
171
171
"ref": "net.atmowx.defs#quantity",
172
172
"type": "ref",
173
173
"description": "°C at default depth; use extra for multiple depths."
174
174
},
175
175
"solarIrradiance": {
176
176
"ref": "net.atmowx.defs#quantity",
177
177
"type": "ref",
178
178
"description": "W/m²."
179
179
},
180
180
"pressureSeaLevel": {
181
181
"ref": "net.atmowx.defs#quantity",
182
182
"type": "ref",
183
183
"description": "Mean-sea-level reduced pressure, hPa."
184
184
},
185
185
"relativeHumidity": {
186
186
"ref": "net.atmowx.defs#quantity",
187
187
"type": "ref",
188
188
"description": "Relative humidity, percent."
189
189
}
190
190
}
191
191
},
192
192
"description": "One immutable weather observation. All measurement fields are optional and SI-only: celsius, hectopascal, meters/second, millimeters, W/m². Record key SHOULD be a TID derived from observedAt."
193
193
}
194
194
},
195
195
"$type": "com.atproto.lexicon.schema",
196
196
"lexicon": 1
197
197
}