{
  "pluginAlias": "SomfyTaHoma",
  "pluginType": "platform",
  "singular": true,
  "customUi": true,
  "strictValidation": false,
  "schema": {
    "type": "object",
    "required": ["ip", "token"],
    "additionalProperties": false,
    "properties": {
      "name": {
        "title": "Name",
        "type": "string",
        "default": "Somfy TaHoma"
      },
      "ip": {
        "title": "TaHoma Host / IP",
        "type": "string",
        "placeholder": "192.168.1.100"
      },
      "token": {
        "title": "TaHoma Platform Token",
        "type": "string",
        "minLength": 1,
        "placeholder": "paste-token-generated-in-tahoma-app"
      },
      "pollIntervalSeconds": {
        "title": "Polling Delay (seconds)",
        "type": "integer",
        "minimum": 1,
        "maximum": 60,
        "default": 3
      },
      "ignoredDeviceUrls": {
        "title": "Ignored Device URLs",
        "type": "array",
        "items": {
          "type": "string"
        },
        "default": []
      }
    }
  }
}
