UNPKG

@itentialopensource/adapter-sevone

Version:
224 lines 5.38 kB
{ "$id": "sevone_indicator", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "ph_request_type": { "type": "string", "description": "type of request (internal to adapter)", "default": "createIndicatorData", "enum": [ "createIndicatorData" ], "external_name": "ph_request_type" }, "id": { "type": "integer", "description": "id of the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "id" }, "deviceId": { "type": "integer", "description": "id of the device for the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "deviceId" }, "componentId": { "type": "integer", "description": "id of the component for the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "objectId" }, "evaluationOrder": { "type": "integer", "description": "order of evaluation for the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "evaluationOrder" }, "format": { "type": "string", "description": "format to display the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "format" }, "isBaselining": { "type": "boolean", "description": "whether the indicator is baselined", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "isBaselining" }, "isDeleted": { "type": "boolean", "description": "whether the indicator has been deleted", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "isDeleted" }, "isEnabled": { "type": "boolean", "description": "whether the indicator is enabled", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "isEnabled" }, "lastInvalidationTime": { "type": "integer", "description": "time the indicator was last invalid", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "lastInvalidationTime" }, "maxValue": { "type": "integer", "description": "maximum value of hte indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "maxValue" }, "pluginId": { "type": "integer", "description": "the id of the lugin for the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "pluginId" }, "pluginIndicatorTypeId": { "type": "integer", "description": "the id of the plugin indicator type", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "pluginIndicatorTypeId" }, "syntheticExpression": { "type": "string", "description": "the synthetic expression of the indicator", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "syntheticExpression" }, "extendedInfo": { "type": "object", "dynamicfields": true, "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "extendedInfo" }, "timestamp": { "type": "integer", "description": "timestamp of the indicator data being added (on create)", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "minimum": 0, "external_name": "timestamp" }, "indicatorData": { "type": "array", "items": { "type": "object", "properties": { "indicatorId": { "type": "integer", "description": "the id of the indicator the data is for", "minimum": 0, "external_name": "indicatorId" }, "value": { "type": "integer", "description": "the value of the data", "minimum": 0, "external_name": "value" } }, "required": [ "indicatorId", "value" ] }, "description": "array containing the indicator data (on create)", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "indicatorDataDtos" } }, "definitions": {} }