adapter-nso Schemas

On this page:

deviceSyncFrom

{ "$id": "deviceSyncFrom", "title": "sync-from for a device", "description": "Output of device sync-from", "type": "object", "schema": { "oneOf": [ { "type": "object", "title": "Status", "properties": { "code": { "type": "number", "title": "Status code", "examples": [ 504, 500 ] }, "value": { "type": "string" } }, "required": [ "code", "value" ] }, { "type": "object", "title": "Status", "properties": { "jsonrpc": { "type": "string", "examples": [ "2.0", "1.0" ] }, "result": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "title": "Device name", "examples": [ "device1", "device2", "device3" ] }, "value": { "type": "boolean", "title": "Value" } }, "required": [ "name", "value" ] } }, "id": { "type": "number", "pattern": "[1-50]" } }, "required": [ "jsonrpc", "result", "id" ] } ] } }