{
  "id": "device-pair",
  "categories": [
    "security"
  ],
  "doctorContract": {
    "stateMigrations": [
      {
        "id": "device-pair-retired-state"
      }
    ]
  },
  "activation": {
    "onStartup": true
  },
  "enabledByDefault": true,
  "name": "Device Pairing",
  "description": "Generate setup codes and approve device pairing requests.",
  "commandAliases": [
    {
      "name": "pair",
      "kind": "runtime-slash"
    }
  ],
  "configGroups": [
    {
      "id": "device-pairing",
      "title": "Device pairing",
      "order": 10,
      "properties": [
        "publicUrl"
      ]
    }
  ],
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "publicUrl": {
        "type": "string"
      }
    }
  },
  "uiHints": {
    "publicUrl": {
      "label": "Gateway URL",
      "help": "Public WebSocket URL used for /pair setup codes (ws/wss or http/https)."
    }
  }
}
