{ "name": "Switch.basic", "version": 0.1, "description": "Simple switch", "lang": "en", "documentation": "http://recherche.telecom-bretagne.eu/xaal/documentation/", "ref": "http://recherche.telecom-bretagne.eu/xaal/documentation/switch.basic", "license": "LGPLv3+ Christophe Lohr Telecom Bretagne 2014", "licenseref": "http://www.gnu.org/licenses/lgpl.txt", "extends": "any.any", "stateVariables": [ { "name": "position", "description": "Position of the switch", "unit": "true=on false=off", "type": { "$schema": "http://json-schema.org/schema#", "type": "boolean" } } ], "notifications": [ { "name": "stateChange", "description": "Notify the state variables that have changed", "parameters": [ { "name": "ciphers", "description": "List of the supported ciphers", "unit": "", "type": { "$schema": "http://json-schema.org/schema#", "type": "array", "items": { "type": "string" } } }, { "name": "position", "description": "Position of the switch", "unit": "true=on false=off", "type": { "$schema": "http://json-schema.org/schema#", "type": "boolean" } } ] } ] }