dev.sensorthings.datastream

sensorthings.dev

Documentation

Groups Observations of one ObservedProperty by one Sensor on one Thing. Carries all context needed to interpret observation results.

main record

Groups Observations of one ObservedProperty by one Sensor on one Thing. Carries all context needed to interpret observation results.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Optional

No description available.

maxLength: 2048 bytes
name string Required

No description available.

maxLength: 256 bytes
observationType string uri Required

O&M observation type URI, e.g. http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement

observedProperty string at-uri Required

AT-URI of the dev.sensorthings.observedProperty record

resultScaleFactor integer Optional

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.

sensor string at-uri Required

AT-URI of the dev.sensorthings.sensor record

thing string at-uri Required

AT-URI of the dev.sensorthings.thing record

verticalDatum string Optional

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 bytes
View raw schema
{
  "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 object

UCUM-compatible unit description.

Properties

definition string uri Optional

URI from QUDT, UCUM, or similar unit ontology

name string Required

No description available.

maxLength: 128 bytes
symbol string Required

No description available.

maxLength: 32 bytes
View raw schema
{
  "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"
}

Lexicon Garden

@