{
  "id": "moorline/http",
  "name": "moorline/http",
  "version": "0.0.9",
  "type": "api-adapter",
  "description": "Moorline HTTP Control API adapter.",
  "entrypoint": "index.mjs",
  "displayCategory": "Moorline API Adapters",
  "activation": {
    "uniqueKey": "api-adapter"
  },
  "configSchema": {
    "type": "object",
    "properties": {
      "enabled": {
        "type": "boolean",
        "title": "Enabled",
        "description": "Whether the HTTP adapter should listen for control API requests.",
        "default": true
      },
      "host": {
        "type": "string",
        "title": "Host",
        "description": "HTTP bind host.",
        "default": "127.0.0.1"
      },
      "port": {
        "type": "number",
        "title": "Port",
        "description": "HTTP bind port.",
        "default": 45173
      },
      "exposure": {
        "type": "string",
        "title": "Exposure",
        "description": "Use loopback by default; remote is intended for reverse-proxy deployments.",
        "default": "loopback",
        "enum": [
          "loopback",
          "remote"
        ]
      }
    }
  }
}
