dev.sensorthings.datastream
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Groups Observations of one ObservedProperty by one Sensor on one Thing. Carries all context needed to interpret observation results.",
"key": "any",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"maxLength": 2048,
"type": "string"
},
"name": {
"maxLength": 256,
"type": "string"
},
"observationType": {
"description": "O&M observation type URI, e.g. http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"format": "uri",
"type": "string"
},
"observedArea": {
"description": "Representative location for the datastream",
"ref": "dev.sensorthings.thing#geoPoint",
"type": "ref"
},
"observedProperty": {
"description": "AT-URI of the dev.sensorthings.observedProperty record",
"format": "at-uri",
"type": "string"
},
"resultScaleFactor": {
"description": "10^n divisor for numeric results. E.g. 2 means observation integers are in centi-units (÷100). Default 0. Only meaningful for numericResult and arrayResult types.",
"type": "integer"
},
"sensor": {
"description": "AT-URI of the dev.sensorthings.sensor record",
"format": "at-uri",
"type": "string"
},
"thing": {
"description": "AT-URI of the dev.sensorthings.thing record",
"format": "at-uri",
"type": "string"
},
"unitOfMeasurement": {
"ref": "#unitOfMeasurement",
"type": "ref"
},
"verticalDatum": {
"description": "Vertical datum reference for water level or elevation measurements. Either a URI (e.g. http://www.opengis.net/def/crs/EPSG/0/5731 for Malin Head) or a human-readable identifier (e.g. 'Chart Datum', 'local-gauge-zero'). Absent for non-vertical measurements.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"name",
"thing",
"sensor",
"observedProperty",
"unitOfMeasurement",
"observationType",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"unitOfMeasurement": {
"description": "UCUM-compatible unit description.",
"properties": {
"definition": {
"description": "URI from QUDT, UCUM, or similar unit ontology",
"format": "uri",
"type": "string"
},
"name": {
"maxLength": 128,
"type": "string"
},
"symbol": {
"maxLength": 32,
"type": "string"
}
},
"required": [
"name",
"symbol"
],
"type": "object"
}
},
"id": "dev.sensorthings.datastream",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:gqcmwsromoknyigx2afqcvqk - CID
-
bafyreiaoghyslmaf6bth4oxwmx7ebq4jger3waj6yyix3nvnb7fkdnyjly - Indexed At
- 2026-07-06 18:09 UTC
- AT-URI
-
at://did:plc:gqcmwsromoknyigx2afqcvqk/com.atproto.lexicon.schema/dev.sensorthings.datastream
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.sensorthings.observation record
A single act of observation. The result type is determined by the $type discriminator on the result object.
-
The phenomenon being observed (e.g. air temperature, PM2.5 concentration).
-
dev.sensorthings.sensor record
An instrument or procedure that produces observations.
-
A composite observation bundling multiple co-produced results from a single act of sensing. Each entry carries its own ObservedProperty, unit, and scale metadata. Use this instead of separate Observations when the resul…
-
dev.sensorthings.thing record
A physical object (station, platform, device) capable of hosting sensors.