net.atmowx.queryStations
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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 has no floats).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"stations": {
"items": {
"ref": "net.atmowx.queryStations#stationView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"stations"
],
"type": "object"
}
},
"parameters": {
"properties": {
"maxLat": {
"description": "Bounding box north edge, decimal degrees.",
"type": "string"
},
"maxLon": {
"description": "Bounding box east edge, decimal degrees.",
"type": "string"
},
"minLat": {
"description": "Bounding box south edge, decimal degrees.",
"type": "string"
},
"minLon": {
"description": "Bounding box west edge, decimal degrees.",
"type": "string"
}
},
"type": "params"
},
"type": "query"
},
"stationView": {
"description": "A station with its most recent observation.",
"properties": {
"createdAt": {
"description": "The station record's self-reported creation time.",
"format": "datetime",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"elevation": {
"description": "Meters above mean sea level.",
"type": "integer"
},
"firstObservedAt": {
"description": "Timestamp of the station's earliest indexed observation.",
"format": "datetime",
"type": "string"
},
"kind": {
"maxLength": 64,
"type": "string"
},
"latest": {
"description": "The station's most recent net.atmowx.observation record, as stored.",
"type": "unknown"
},
"latitude": {
"description": "Decimal degrees.",
"type": "string"
},
"longitude": {
"description": "Decimal degrees.",
"type": "string"
},
"name": {
"maxLength": 640,
"type": "string"
},
"status": {
"maxLength": 64,
"type": "string"
},
"timezone": {
"maxLength": 64,
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"did",
"name",
"latitude",
"longitude"
],
"type": "object"
}
},
"id": "net.atmowx.queryStations",
"lexicon": 1
}
Metadata
- DID
-
did:plc:7ytchp6nym3ugtpx7ttilnur - CID
-
bafyreidhei7ktmjeewogwt5yu3fgbitet2mekvinphlzg2vxm4uu44isge - Indexed At
- 2026-07-29 16:17 UTC
- AT-URI
-
at://did:plc:7ytchp6nym3ugtpx7ttilnur/com.atproto.lexicon.schema/net.atmowx.queryStations
Version History (2 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
net.atmowx.station record
A weather station. One account may own many stations. A station that physically relocates MUST be retired (status: retired) and a new station record created, so historical observations stay tied to the site where they w…
-
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 precipitatio…