net.atmowx.defs
Schema Diff
+3 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "net.atmowx.defs",
3
3
"defs": {
4
4
"location": {
5
5
"type": "object",
6
6
"required": [
7
7
"position"
8
8
],
9
9
"properties": {
10
10
"geohash": {
11
11
"type": "string",
12
12
"maxLength": 12,
13
13
"description": "Denormalized geohash index hint. Precision is the owner's choice and doubles as a privacy knob."
14
14
},
15
15
"position": {
16
16
"refs": [
17
17
"community.lexicon.location.geo",
18
18
"community.lexicon.location.hthree",
19
19
"community.lexicon.location.address"
20
20
],
21
21
"type": "union",
22
22
"closed": false,
23
23
"description": "The position, as a community location shape. Open union: additional shapes remain valid."
24
24
},
25
25
"elevation": {
26
26
"type": "integer",
27
27
"description": "Meters above mean sea level (whole meters)."
28
28
},
29
29
"sensorHeight": {
30
30
"ref": "net.atmowx.defs#quantity",
31
31
"type": "ref",
32
32
"description": "Sensor height above ground level, meters."
33
33
}
34
34
},
35
35
"description": "Where a station is sited. Elevation is strongly recommended: pressure data is hard to interpret without it."
36
36
},
37
37
"quantity": {
38
38
"type": "object",
39
39
"required": [
40
40
"value"
41
41
],
42
42
"properties": {
43
43
"scale": {
44
44
"type": "integer",
45
45
"default": 0,
46
46
"description": "Power-of-ten exponent. Default 0."
47
47
},
48
48
"value": {
49
49
"type": "integer",
50
50
"description": "Significand."
51
51
}
52
52
},
53
53
"description": "A decimal number as a scaled integer: decimal = value * 10^scale. Publishers MUST NOT report more precision than the sensor resolves."
54
54
},
55
55
"measurement": {
56
56
"type": "object",
57
57
"required": [
58
58
"parameter",
59
59
"value",
60
60
"unit"
61
61
],
62
62
"properties": {
63
63
"unit": {
64
64
"type": "string",
65
65
"maxLength": 64,
66
66
"description": "SI unit name.",
67
67
"knownValues": [
68
68
"celsius",
69
69
"hectopascal",
70
70
"metersPerSecond",
71
71
"millimeters",
72
72
"millimetersPerHour",
73
73
"percent",
74
74
"wattsPerSquareMeter",
75
75
"meters",
76
-
"degrees"
76
+
"degrees",
77
+
"microgramsPerCubicMeter",
78
+
"partsPerMillion"
77
79
]
78
80
},
79
81
"value": {
80
82
"ref": "net.atmowx.defs#quantity",
81
83
"type": "ref"
82
84
},
83
85
"height": {
84
86
"ref": "net.atmowx.defs#quantity",
85
87
"type": "ref",
86
88
"description": "Meters relative to ground level; negative values are below the surface (e.g. soil probes)."
87
89
},
88
90
"parameter": {
89
91
"type": "string",
90
92
"maxLength": 128,
91
93
"description": "Measurement name, lowerCamelCase by convention."
92
94
}
93
95
},
94
96
"description": "An arbitrary measurement for parameters not covered by the core observation fields. Units MUST be SI."
95
97
}
96
98
},
97
99
"$type": "com.atproto.lexicon.schema",
98
100
"lexicon": 1
99
101
}