{
  "pluginAlias": "Bond",
  "pluginType": "platform",
  "singular": true,
  "schema": {
    "type": "object",
    "properties": {
      "bonds": {
        "title": "Bonds",
        "type": "array",
        "required": true,
        "uniqueItems": true,
        "items": {
          "title": "Bond",
          "type": "object",
          "properties": {
            "ip_address": {
              "title": "IP Address",
              "type": "string",
              "required": true,
              "description": "IP Address of your Bond.",
              "placeholder": "e.g. 192.168.1.1"
            },
            "token": {
              "title": "Bond Token",
              "type": "string",
              "required": true,
              "description": "Can be found in the bond app by tapping your Bond device and looking for 'Local Token'.",
              "placeholder": "e.g. fd3904894ff98f"
            },
            "hide_device_ids": {
              "title": "Hide Device IDs",
              "description": "Hide individual devices by Device ID. Device ID can be found in the Bond app under Device Settings.",
              "placeholder": "e.g. 0000018",
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "ms_between_actions": {
              "title": "Wait between commands",
              "type": "number",
              "placeholder": "1000",
              "required": false,
              "description": "This will space out commands sent by the Bond by at least this many milliseconds."
            }
          }
        }
      },
      "include_dimmer": {
        "title": "Include dimmer",
        "type": "boolean",
        "default": false,
        "required": false,
        "description": "If dimming is a valid action on a device, it will be included as additional switch on the accessory. Since this is an odd solution to dimming, it's off by default."
      },
      "include_toggle_state": {
        "title": "Include toggle switch for fixing device state.",
        "type": "boolean",
        "default": false,
        "required": false,
        "description": "This will add a switch to single-action accessories to toggle the state (i.e. Shades, Fireplace, Generic, Lights). Fan speeds are not eligible for this option."
      },
      "fan_speed_values": {
        "title": "Use fan speed values",
        "type": "boolean",
        "default": false,
        "required": false,
        "description": "Use fan speed values instead of percentages (i.e. Hey Siri set the Office Fan to 2)."
      }
    }
  }
}