condition
Lexicon: eco.wonderland.workcell.device.data.defs
Type: object
Abstract dataItem that is about an entity’s status regarding its ability to operate or it provides an indication whether the data reported for the entity is within an expected range. condition is reported differently than sample or event. condition MUST be reported as normal, warning, or fault. All samples MAY have associated condition states. condition states indicate whether the value for the data is within an expected range and MUST be reported as normal, or the value is unexpected or out of tolerance for the data and a warning or fault MUST be provided.
Properties
Section titled “Properties”category
Section titled “category”Type: category
Default: condition
Required
compositionId
Section titled “compositionId”Type: string
Identifier attribute of the composition that the reported data is most closely associated.
discrete
Section titled “discrete”Type: boolean
Required
Indication signifying whether each value reported for the Observation is significant and whether duplicate values are to be suppressed.
If a value is not defined for discrete, the default value MUST be false.
Type: string
Required
Unique identifier for this data item.
Type: string
Name of the data item.
nativeScale
Section titled “nativeScale”Type: int32
Used to convert the reported value to represent the original measured value.
nativeUnits
Section titled “nativeUnits”Type: nativeUnit
Native units of measurement for the reported value of the data item.
sampleRate
Section titled “sampleRate”Type: binary32
Rate at which successive samples of a data item are recorded by a piece of equipment.
significantDigits
Section titled “significantDigits”Type: int32
Number of significant digits in the reported value.
statistic
Section titled “statistic”Type: statistic
Type of statistical calculation performed on a series of data samples to provide the reported data value.
subType
Section titled “subType”Type: dataItemSubType
Sub-categorization of the type.
Type: condition
Required
Type: unit
Unit of measurement for the reported value of the data item.
representation
Section titled “representation”Type: representation
Description of a means to interpret data consisting of multiple data points or samples reported as a single value.
If representation is not specified, it MUST be determined to be value.
source
Section titled “source”Type: source
constraints
Section titled “constraints”Type: constraints
filters
Section titled “filters”Type: [ filter | minimumDeltaFilter | periodFilter ]
initialValue
Section titled “initialValue”Type: initialValue
resetTrigger
Section titled “resetTrigger”Type: resetTrigger
definition
Section titled “definition”Type: definition
coordinateSystemIdRef
Section titled “coordinateSystemIdRef”Type: string
Associated coordinateSystem context for the dataItem.
relationships
Section titled “relationships”Type: [ abstractDataItemRelationship | dataItemRelationship | specificationRelationship ]
Referenced By
Section titled “Referenced By”- dataItems
eco.wonderland.workcell.device.data.defs
Schema
Section titled “Schema”{ "type": "object", "required": [ "category", "discrete", "id", "type" ], "properties": { "category": { "type": "string", "default": "condition" }, "compositionId": { "type": "string" }, "discrete": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" }, "nativeScale": { "type": "integer" }, "nativeUnits": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#nativeUnit" }, "sampleRate": { "type": "bytes", "minLength": 4, "maxLength": 4 }, "significantDigits": { "type": "integer" }, "statistic": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#statistic" }, "subType": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#dataItemSubType" }, "type": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#condition" }, "units": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#unit" }, "representation": { "type": "ref", "ref": "lex:eco.wonderland.workcell.common.data.defs#representation" }, "source": { "type": "ref", "ref": "lex:eco.wonderland.workcell.device.data.property.defs#source" }, "constraints": { "type": "ref", "ref": "lex:eco.wonderland.workcell.device.data.property.defs#constraints" }, "filters": { "type": "array", "items": { "type": "union", "refs": [ "lex:eco.wonderland.workcell.device.data.property.defs#filter", "lex:eco.wonderland.workcell.device.data.property.defs#minimumDeltaFilter", "lex:eco.wonderland.workcell.device.data.property.defs#periodFilter" ] } }, "initialValue": { "type": "ref", "ref": "lex:eco.wonderland.workcell.device.data.property.defs#initialValue" }, "resetTrigger": { "type": "ref", "ref": "lex:eco.wonderland.workcell.device.data.property.defs#resetTrigger" }, "definition": { "type": "ref", "ref": "lex:eco.wonderland.workcell.device.data.property.defs#definition" }, "coordinateSystemIdRef": { "type": "string" }, "relationships": { "type": "array", "items": { "type": "union", "refs": [ "lex:eco.wonderland.workcell.device.data.property.relationship.defs#abstractDataItemRelationship", "lex:eco.wonderland.workcell.device.data.property.relationship.defs#dataItemRelationship", "lex:eco.wonderland.workcell.device.data.property.relationship.defs#specificationRelationship" ] } } }}