{
  "pluginAlias": "HomebridgeMHIWFRACPlatform",
  "pluginType": "platform",
  "singular": true,
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "title": "Name",
        "type": "string",
        "required": true,
        "default": "Homebrdige MHI WF-RAC"
      },
      "operatorId": {
        "title": "Operator ID (uuid)",
        "type": "string",
        "required": true,
        "default": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "description": "The operator ID of the Smart M-Air app. See https://github.com/JobDoesburg/homebridge-mhi-wfrac for more information."
      },
      "devices": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "required": false
            },
            "mac": {
              "type": "string",
              "required": true,
              "pattern": "^[a-f0-9]{12}",
              "title": "MAC Address (serial number)",
              "description": "The MAC address (serial number) of the device, without separating characters (so denote 12:34:56:78:90:ab as 1234567890ab)."
            },
            "ip": {
              "type": "string",
              "required": false,
              "format": "ipv4"
            }
          }
        }
      }
    }
  }
}