constraints
Lexicon: eco.wonderland.workcell.device.data.property.defs
Type: object
Organize a set of expected values that can be reported for a dataItem.
Properties
Section titled “Properties”maximum
Section titled “maximum”Type: binary32
Numeric upper constraint. If the data reported for a data item is a range of numeric values, the expected value reported MAY be described with an upper limit defined by this constraint.
minimum
Section titled “minimum”Type: binary32
Numeric lower constraint. If the data reported for a data item is a range of numeric values, the expected value reported MAY be described with a lower limit defined by this constraint.
nominal
Section titled “nominal”Type: binary32
Numeric target or expected value.
Type: [ string ]
Single data value that is expected to be reported for a dataItem. value MUST NOT be used in conjunction with any other constraint elements.
filter
Section titled “filter”Type: filter | minimumDeltaFilter | periodFilter
Referenced By
Section titled “Referenced By”- condition
eco.wonderland.workcell.device.data.defs - event
eco.wonderland.workcell.device.data.defs - sample
eco.wonderland.workcell.device.data.defs - dataItem
eco.wonderland.workcell.device.data.defs
Schema
Section titled “Schema”{ "type": "object", "properties": { "maximum": { "type": "bytes", "minLength": 4, "maxLength": 4 }, "minimum": { "type": "bytes", "minLength": 4, "maxLength": 4 }, "nominal": { "type": "bytes", "minLength": 4, "maxLength": 4 }, "value": { "type": "array", "items": { "type": "string" } }, "filter": { "type": "union", "refs": [ "#filter", "#minimumDeltaFilter", "#periodFilter" ] } }}