blob: 5613d80e1f4f52b5fa17d0b8be2858dcb2f770ec [file] [log] [blame]
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{355:function(e,t){e.exports={type:"object",properties:{"content-spec":{type:"string",default:"urn:spec://eclipse.org/unide/machine-message#v3",description:"Defines what the format version is"},device:{type:"object",description:"Contains information about the device",properties:{id:{type:"string",description:"The unique identification of the device. As this is used to identify a device independently from time or location the id itself must be stable and unique. Recommended is to use a universally unique identifier (UUID).",maxLength:36},mode:{type:"string",description:"The operational mode indicates the functional state of the device. This is not restrictected to enum, since it is dependent on the machine, process or use case. Examples are 'auto', 'manual', 'test', 'wait', 'maintenance', 'run', 'stop', 'other' or 'unknown'"},state:{type:"string",enum:["OK","INFO","WARN","ERROR","UNKNOWN"],default:"UNKNOWN",description:"The state describes the technical condition of a device."},additionalData:{type:"object"}},required:["id"]},messages:{minItems:1,type:"array",items:{type:"object",description:"Collection of messages",properties:{code:{type:"string",description:"The code is an addendum to the result which allows to pass information in the case the result was NOK. The value often stems from the integrated system e.g. a PLC code",maxLength:128},description:{type:"string",description:"The description is used to describe the purpose of the message, e.g. the problem",maxLength:2e3},hint:{type:"string",description:"In case a problem is reported, the hint can be used to point out a possible solution",maxLength:2e3},origin:{type:"string",description:"The origin of the message if not the device identified by deviceID in the header element. Could be used to identify a subsystem or a particular sensor/part of the device where the message actually relates to."},severity:{type:"string",description:"Severity of the message. It complements type for describing urgency and relevance of a message",enum:["HIGH","MEDIUM","LOW","UNKNOWN"],default:"UNKNOWN"},source:{type:"string",description:"The type of message. Default is DEVICE but can be set to TECHNICAL_INFO indicating a problem with the integration of the actual device. Allowed values: DEVICE, TECHNICAL_INFO",enum:["DEVICE","TECHNICAL_INFO"],default:"DEVICE"},state:{type:"string",enum:["NEW","ENDED"],description:"Determines the lifecycle state of the message"},title:{type:"string",description:"Title of the message. If title not set the code will be stored as fallback",maxLength:1e3},ts:{format:"date-time",type:"string",description:"Start time of the the data measurment in ISO 8601 format"},type:{type:"string",description:"Describes the debug level of the message. It complements severity for describing urgency and relevance of a message",enum:["INFO","WARNING","ERROR","UNKNOWN"],default:"UNKNOWN"},additionalData:{type:"object"}},required:["ts","code"]}}},required:["content-spec","device","messages"]}}}]);