From 7c72aabb25fbc87ce2b671867de7f824e07a1462 Mon Sep 17 00:00:00 2001 From: Berkay Date: Mon, 8 Apr 2019 22:26:30 +0200 Subject: [PATCH] Add Schema for Config Add schema file for homebridge-config-ui-x and similar plugins --- config.schema.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config.schema.json diff --git a/config.schema.json b/config.schema.json new file mode 100644 index 0000000..290f674 --- /dev/null +++ b/config.schema.json @@ -0,0 +1,23 @@ +{ + "pluginAlias": "NeatoVacuumRobot", + "pluginType": "platform", + "headerDisplay": "For Advanced settings like Refresh time interval or Disabled switches/sensors. [Check Here](https://github.com/naofireblade/homebridge-neato#readme)", + "schema": { + "type": "object", + "properties": { + "email": { + "title": "email", + "type": "string", + "required": true, + "format": "email", + "description": "Your Email Address" + }, + "password": { + "title": "password", + "type": "string", + "required": true, + "description": "Your Password" + } + } + } +} \ No newline at end of file