summaryrefslogtreecommitdiff
path: root/config.schema.json
blob: f53abf7eebf2fd2b4ae23f374c148d3c6e40fe00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  "pluginAlias": "Airmx",
  "pluginType": "platform",
  "singular": true,
  "schema": {
    "type": "object",
    "properties": {
      "mqtt": {
        "title": "MQTT Broker URL",
        "type": "string",
        "placeholder": "mqtt://192.168.10.10",
        "required": true
      },
      "devices": {
        "title": "Devices",
        "type": "array",
        "items": {
          "title": "Device",
          "type": "object",
          "properties": {
            "id": {
              "title": "ID",
              "type": "number",
              "placeholder": "12345",
              "required": true
            },
            "key": {
              "title": "Key",
              "type": "string",
              "placeholder": "XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXO",
              "required": true
            }
          }
        }
      }
    }
  }
}