dev.sensorthings.observation

A single act of observation. The result type is determined by the $type discriminator on the result object.

Details · record, key any
Kindrecord
Record keyany
Authoritysensorthings.dev
Indexed

Record

record · key any

Properties

datastream

requiredstring · at-uri

AT-URI of the parent Datastream

AT-URIs of source observations or datastreams from which this observation was derived (e.g. tidal residual derived from observed and predicted level datastreams)

  • maxLength: 16
itemsstring · at-uri

featureOfInterest

string · at-uri

AT-URI of the feature being observed, if different from the Thing's location

parameters

unknown

Additional name-value pairs (e.g. depth, height above ground)

phenomenonTime

requiredstring · datetime

Time the phenomenon was observed (ISO 8601). Start of interval if phenomenonTimeEnd is present.

phenomenonTimeEnd

string · datetime

End of observation interval (ISO 8601). If absent, the observation is an instant. Used for aggregates (daily means), processing windows (wave burst statistics), and accumulations (hourly rainfall).

result

requiredunion

The observation result. Type determined by $type discriminator.

Quality flag as a token reference

  • maxLength: 64
  • knownValues: dev.sensorthings.quality#good | dev.sensorthings.quality#suspect | dev.sensorthings.quality#missing

resultTime

string · datetime

Time the result became available (if different from phenomenonTime)

#arrayResult

object

Array of scaled integer values sharing the parent Datastream's resultScaleFactor. Used for wave spectra (energy at frequency bins), current profiles (speed at depth bins), and similar array-valued observations.

Properties

labels

array

Optional labels identifying each element (e.g. frequency bin edges in Hz, depth bin centres in m). Must be same length as values if present.

  • maxLength: 1024
itemsstring
  • maxLength: 32

values

requiredarray

Ordered array of scaled integer values

  • maxLength: 1024
itemsinteger

#booleanResult

object

True/false observation. Used for threshold exceedances, detection flags, binary sensor states.

Properties

value

requiredboolean

#categoryResult

object

Categorical observation from a controlled vocabulary. Used for weather codes, flood alert levels, land cover classes, sea state.

Properties

value

requiredstring

Code or label from the vocabulary

  • maxLength: 256

vocabulary

string · uri

URI of the code list or vocabulary (e.g. https://codes.wmo.int/306/4677 for WMO present weather codes)

#geoPointResult

object

Geographic position result for position-as-observation (e.g. GPS fix from a drifting buoy). Uses the same encoding as Thing.location.

Properties

altMm

integer

Altitude in mm above WGS84 ellipsoid

latE7

requiredinteger
  • minimum: -900000000
  • maximum: 900000000

lonE7

requiredinteger
  • minimum: -1800000000
  • maximum: 1800000000

#numericResult

object

Scaled integer result. Real value = value × 10^(−resultScaleFactor). The common case for continuous measurements.

Properties

value

requiredinteger

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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 results are genuinely co-produced (e.g. wave statistics from spectral processing) and have no independent existence.

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

  • A batch of observations for a single Datastream, covering a contiguous time window. Trades individual addressability for reduced commit overhead.

  • The new or changed readings from one collector tick, for many Datastreams in the same repo. Created once and never updated. After the correction horizon has passed, the readings are sealed into dev.sensorthings.observationBatch day records and the frame is deleted. Apply frames in record key order: a later entry for the same datastream and phenomenonTime replaces an earlier one. The record key is the tick time to the millisecond and a three-digit shard number, for example 20260925T100700000Z-000

  • The real-world feature that an Observation is about.