{
  "title": "Matterbridge BTHome plugin",
  "description": "matterbridge-bthome v. 0.0.1 by https://github.com/Luligu",
  "type": "object",
  "properties": {
    "name": {
      "description": "Plugin name",
      "type": "string",
      "readOnly": true,
      "ui:widget": "hidden"
    },
    "type": {
      "description": "Plugin type",
      "type": "string",
      "readOnly": true,
      "ui:widget": "hidden"
    },
    "version": {
      "description": "Plugin version",
      "type": "string",
      "readOnly": true,
      "default": "0.0.1",
      "ui:widget": "hidden"
    },
    "whiteList": {
      "description": "Only the BTHome devices in the list will be exposed. If the list is empty, all the BTHome devices will be exposed.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "uniqueItems": true,
      "selectFrom": "serial"
    },
    "blackList": {
      "description": "The BTHome devices in the list will not be exposed. If the list is empty, no BTHome devices will be excluded.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "uniqueItems": true,
      "selectFrom": "serial"
    },
    "delete": {
      "description": "Delete a device from the storage. This will remove the devices from the storage and from the controller(s).",
      "type": "boolean",
      "buttonField": "Delete",
      "textPlaceholder": "Enter the device mac address",
      "buttonClose": false,
      "buttonSave": false,
      "default": false
    },
    "reset": {
      "description": "Reset the storage. This will remove all the devices from the storage and from the controller(s).",
      "type": "boolean",
      "buttonText": "Reset",
      "buttonClose": true,
      "buttonSave": true,
      "default": false
    },
    "debug": {
      "description": "Enable the debug for the plugin.",
      "type": "boolean",
      "default": false
    },
    "unregisterOnShutdown": {
      "description": "Unregister all devices on shutdown. This will remove all devices from the controller when the plugin is stopped.",
      "type": "boolean",
      "default": false
    }
  }
}
