lineNumber
Lexicon: eco.wonderland.workcell.observation.event.defs
Type: object
Line-number
Properties
Section titled “Properties”compositionId
Section titled “compositionId”Type: string
Identifier of the composition entity defined in the devices response associated with the data reported for the observation.
dataItemId
Section titled “dataItemId”Type: string
Required
Unique identifier of the dataItem associated with this observation. dataItemId MUST match the associated id defined in the devices response.
Type: string
Name of the dataItem associated with this observation. name MUST match the associated name defined in the devices response.
sequence
Section titled “sequence”Type: uint64
Required
Number representing the sequential position of an occurrence of an observation in the data buffer of an agent. sequence MUST have a value represented as an unsigned 64-bit value from 1 to $$ 2^{64}-1 $$.
subType
Section titled “subType”Type: dataItemSubType
Subtype of the dataItem associated with this observation. subType MUST match the associated subType defined in the devices response.
timestamp
Section titled “timestamp”Type: timestamp
Required
Most accurate time available to a piece of equipment that represents the point in time that the data reported was measured.
Type: event
Default: line-number
Required
Type: unit
Units of the dataItem associated with this observation. units MUST match the associated units defined in the devices response.
isUnavailable
Section titled “isUnavailable”Type: boolean
Required
Type: int32
resetTriggered
Section titled “resetTriggered”Type: resetTriggered
Identifies when a reported value has been reset and what has caused that reset to occur for those dataItem entities that may be periodically reset to an initial value.
resetTriggered MUST only be provided for the specific occurrence of a dataItem reported in the streams response when the reset occurred.
Referenced By
Section titled “Referenced By”- events
eco.wonderland.workcell.observation.event.defs - observations
eco.wonderland.workcell.observation.defs
Schema
Section titled “Schema”{ "type": "object", "required": [ "dataItemId", "sequence", "timestamp", "type", "isUnavailable" ], "properties": { "compositionId": { "type": "string" }, "dataItemId": { "type": "string" }, "name": { "type": "string" }, "sequence": { "type": "integer" }, "subType": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#dataItemSubType" }, "timestamp": { "type": "string", "format": "datetime" }, "type": { "type": "string", "default": "line-number" }, "units": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#unit" }, "isUnavailable": { "type": "boolean" }, "value": { "type": "integer" }, "resetTriggered": { "type": "ref", "ref": "lex:eco.wonderland.workcell.observation.data.defs#resetTriggered" } }}