net.atmowx.getStationHistory
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "No indexed station with that AT-URI.",
"name": "StationNotFound"
},
{
"description": "raw bucket over 5000 points; narrow the range or use hour/day.",
"name": "RangeTooLarge"
},
{
"description": "bucket must be raw, hour, or day.",
"name": "InvalidBucket"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"bucket": {
"type": "string"
},
"series": {
"items": {
"ref": "net.atmowx.getStationHistory#series",
"type": "ref"
},
"type": "array"
},
"station": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"station",
"bucket",
"series"
],
"type": "object"
}
},
"parameters": {
"properties": {
"bucket": {
"default": "raw",
"knownValues": [
"raw",
"hour",
"day"
],
"type": "string"
},
"from": {
"format": "datetime",
"type": "string"
},
"station": {
"description": "AT-URI of the net.atmowx.station record.",
"format": "at-uri",
"type": "string"
},
"to": {
"format": "datetime",
"type": "string"
}
},
"required": [
"station",
"from",
"to"
],
"type": "params"
},
"type": "query"
},
"point": {
"properties": {
"avg": {
"ref": "net.atmowx.defs#quantity",
"type": "ref"
},
"max": {
"ref": "net.atmowx.defs#quantity",
"type": "ref"
},
"min": {
"ref": "net.atmowx.defs#quantity",
"type": "ref"
},
"sum": {
"description": "Precipitation buckets report sum instead of min/avg/max.",
"ref": "net.atmowx.defs#quantity",
"type": "ref"
},
"time": {
"description": "Reading time (raw) or UTC bucket start (hour/day).",
"format": "datetime",
"type": "string"
},
"value": {
"description": "Present for bucket=raw.",
"ref": "net.atmowx.defs#quantity",
"type": "ref"
}
},
"required": [
"time"
],
"type": "object"
},
"series": {
"description": "One measured parameter's series. The parameter set is open: additional parameters may be served later without a schema change.",
"properties": {
"parameter": {
"knownValues": [
"temperature",
"dewPoint",
"relativeHumidity",
"pressureSeaLevel",
"windSpeed",
"windGust",
"precipitationRate",
"precipitationDay",
"solarIrradiance",
"uvIndex"
],
"maxLength": 128,
"type": "string"
},
"points": {
"items": {
"ref": "net.atmowx.getStationHistory#point",
"type": "ref"
},
"type": "array"
},
"unit": {
"description": "SI unit name, e.g. celsius, hectopascal, metersPerSecond, millimeters, percent, wattsPerSquareMeter.",
"maxLength": 64,
"type": "string"
}
},
"required": [
"parameter",
"unit",
"points"
],
"type": "object"
}
},
"id": "net.atmowx.getStationHistory",
"lexicon": 1
}
Metadata
- DID
-
did:plc:7ytchp6nym3ugtpx7ttilnur - CID
-
bafyreibzbf7u52znqrc44w6yc5posx6qn3riyge4uvq5dvz2ekypbd7ciq - Indexed At
- 2026-07-24 15:05 UTC
- AT-URI
-
at://did:plc:7ytchp6nym3ugtpx7ttilnur/com.atproto.lexicon.schema/net.atmowx.getStationHistory
Version History (3 versions)
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
net.atmowx.queryStations query
List active weather stations with their latest observation. No auth. Pass all four bbox params to filter by bounding box; otherwise all active stations are returned. Decimal degrees as strings (the lexicon data model ha…