{ "title": "gateway.basic", "description": "Simple gateway that manage physical devices", "lang": "en", "documentation": "http://recherche.imt-atlantique.fr/xaal/documentation/", "ref": "http://recherche.imt-atlantique.fr/xaal/documentation/gateway.basic", "license": "Copyright Christophe Lohr IMT Atlantique 2017 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", "extends": "basic.basic", "attributes": { "embedded": { "description": "Embeded devices", "unit": "", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "uniqueItems": true } } }, "methods": { "getAttributes": { "description": "Get the list of embedded devices and the addresses mapping", "parameters": { "attribute": { "description": "List of wanted attributes", "unit": "", "direction": "in", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "enum": [ "embedded" ] }, "additionalItems": false } }, "embedded": { "description": "Embeded devices", "unit": "", "direction": "out", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "uniqueItems": true } } }, "relatedAttributes": [ ] } }, "notifications": { "attributesChange": { "description": "Change about some embedded", "parameters": { "embedded": { "description": "Embeded devices", "unit": "", "type": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "string", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "uniqueItems": true } } } } } }