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