diff options
Diffstat (limited to 'config.schema.json')
| -rw-r--r-- | config.schema.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config.schema.json b/config.schema.json new file mode 100644 index 0000000..f53abf7 --- /dev/null +++ b/config.schema.json @@ -0,0 +1,38 @@ +{ + "pluginAlias": "Airmx", + "pluginType": "platform", + "singular": true, + "schema": { + "type": "object", + "properties": { + "mqtt": { + "title": "MQTT Broker URL", + "type": "string", + "placeholder": "mqtt://192.168.10.10", + "required": true + }, + "devices": { + "title": "Devices", + "type": "array", + "items": { + "title": "Device", + "type": "object", + "properties": { + "id": { + "title": "ID", + "type": "number", + "placeholder": "12345", + "required": true + }, + "key": { + "title": "Key", + "type": "string", + "placeholder": "XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXO", + "required": true + } + } + } + } + } + } +} |
