{
  "title": "Matterbridge somfy tahoma plugin",
  "description": "matterbridge-somfy-tahoma v. 1.0.7 by https://github.com/Luligu",
  "type": "object",
  "required": ["username", "password", "service"],
  "properties": {
    "name": {
      "title": "Plugin Name",
      "description": "Plugin name",
      "type": "string",
      "readOnly": true,
      "ui:widget": "hidden"
    },
    "type": {
      "title": "Plugin Type",
      "description": "Plugin type",
      "type": "string",
      "readOnly": true,
      "ui:widget": "hidden"
    },
    "username": {
      "title": "Username",
      "description": "Username",
      "type": "string"
    },
    "password": {
      "title": "Password",
      "description": "Password",
      "type": "string",
      "ui:widget": "password"
    },
    "service": {
      "title": "Service",
      "description": "Service name to connect to",
      "type": "string",
      "oneOf": [
        {
          "title": "Local API (TaHoma / Switch)",
          "enum": ["local"]
        },
        {
          "title": "Somfy Europe (TaHoma / Switch / Connexoon IO)",
          "enum": ["somfy_europe"]
        },
        {
          "title": "Somfy Australia (Connexoon RTS)",
          "enum": ["somfy_australia"]
        },
        {
          "title": "Somfy North America",
          "enum": ["somfy_north_america"]
        }
      ]
    },
    "blackList": {
      "title": "Black List",
      "description": "The devices in the list will not be exposed.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "uniqueItems": true,
      "selectFrom": "name"
    },
    "whiteList": {
      "title": "White List",
      "description": "Only the devices in the list will be exposed.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "uniqueItems": true,
      "selectFrom": "name"
    },
    "movementDuration": {
      "title": "Movement Duration",
      "description": "Set the duration in seconds of the full movement for each device. Enter in the first field the name of the device and in the second field the duration in seconds.",
      "type": "object",
      "uniqueItems": true,
      "selectFrom": "name",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "debug": {
      "title": "Enable Debug",

      "description": "Enable the debug for the plugin (development only)",
      "type": "boolean",
      "default": false
    },
    "unregisterOnShutdown": {
      "title": "Unregister On Shutdown",
      "description": "Unregister all devices on shutdown (development only)",
      "type": "boolean",
      "default": false,
      "ui:widget": "hidden"
    }
  }
}
