net.atmowx.getStationHistory

atmowx.net

Schema Diff

+8 -1

From

CID
bafyreibzbf7u52z...
Indexed At
2026-07-24 15:05 UTC
View this version

To

CID
bafyreiejyuvzfrj...
Indexed At
2026-07-25 18:08 UTC
View this version

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\"]", new_value: "[\"temperature\",\"dewPoint\",\"relativeHumidity\",\"pressureSeaLevel\",\"windSpeed\",\"windGust\",\"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\"]", new_value: "[\"temperature\",\"dewPoint\",\"relativeHumidity\",\"pressureSeaLevel\",\"windSpeed\",\"windGust\",\"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 127
            "precipitationRate",
128 128
            "precipitationDay",
129 129
            "solarIrradiance",
130 -
            "uvIndex"
130 +
            "uvIndex",
131 +
            "pm1",
132 +
            "pm25",
133 +
            "pm10",
134 +
            "ozone",
135 +
            "no2",
136 +
            "so2",
137 +
            "co"
131 138
          ],
132 139
          "maxLength": 128,
133 140
          "type": "string"
134 141
        },
135 142
        "points": {
136 143
          "items": {
137 144
            "ref": "net.atmowx.getStationHistory#point",
138 145
            "type": "ref"
139 146
          },
140 147
          "type": "array"
141 148
        },
142 149
        "unit": {
143 150
          "description": "SI unit name, e.g. celsius, hectopascal, metersPerSecond, millimeters, percent, wattsPerSquareMeter.",
144 151
          "maxLength": 64,
145 152
          "type": "string"
146 153
        }
147 154
      },
148 155
      "required": [
149 156
        "parameter",
150 157
        "unit",
151 158
        "points"
152 159
      ],
153 160
      "type": "object"
154 161
    }
155 162
  },
156 163
  "id": "net.atmowx.getStationHistory",
157 164
  "lexicon": 1
158 165
}

Compare Other Versions

Lexicon Garden

@