{
  "pluginAlias": "JciHitachi Platform",
  "pluginType": "platform",
  "singular": true,
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "title": "Plugin Name",
        "description": "This name will be displayed in the Homebridge log.",
        "type": "string",
        "default": "JciHitachi Platform",
        "placeholder": "JciHitachi Platform",
        "required": true
      },
      "email": {
        "title": "Email",
        "description": "It is recommended to set up a separate account for Homebridge and share the devices from your main account.",
        "type": "string",
        "placeholder": "Email",
        "required": true,
        "format": "email"
      },
      "password": {
        "title": "Password",
        "type": "string",
        "placeholder": "Password",
        "required": true
      },
      "debugMode": {
        "title": "Debug Mode",
        "description": "When enabled, debug messages will be written to the log.",
        "type": "boolean",
        "default": false
      }
    }
  },
  "layout": [
    {
      "type": "flex",
      "flex-flow": "row wrap",
      "items": [
        "name"
      ]
    },
    {
      "type": "flex",
      "flex-flow": "row wrap",
      "items": [
        {
          "key": "email",
          "type": "email"
        },
        {
          "key": "password",
          "type": "password"
        }
      ]
    }
  ]
}
