UNPKG

iotagent-node-lib

Version:

IoT Agent library to interface with NGSI Context Broker

69 lines (68 loc) 1.97 kB
{ "title": "Service", "description": "A service", "additionalProperties": false, "type": "object", "properties": { "services": { "type": "array", "id": "services", "required": true, "items": { "type": "object", "properties": { "entity_type": { "description": "default entity_type, if a device has not got entity_type uses this", "type": "string" }, "apikey": { "description": "apikey", "type": "string", "required": true }, "endpoint": { "description": "Endpoint for the commands targeting this group", "type": "string" }, "transport": { "description": "Transport protocol used by the platform to communicate with the device", "type": "string" }, "token": { "description": "token", "type": "string" }, "cbHost": { "description": "uri for the context broker", "type": "string" }, "resource": { "description": "uri for the iotagent", "type": "string", "required": true }, "lazy": { "description": "list of lazy attributes of the devices", "type": "array" }, "ngsiVersion": { "description": "NGSI Interface for this group of devices", "type": "string" }, "payloadType": { "description": "Payload type allowed for measures for this group", "type": "string" }, "attributes": { "description": "list of active attributes of the devices", "type": "array" }, "commands": { "description": "list of commands of the devices", "type": "array" } } } } } }