{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apache-guacamole/json-schema/apache-guacamole-connection-schema.json",
  "title": "Connection",
  "description": "Remote desktop connection configuration",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apache-guacamole-connections-api-openapi.yml#/components/schemas/Connection",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string",
      "description": "Unique connection identifier"
    },
    "name": {
      "type": "string",
      "description": "Human-readable connection name"
    },
    "protocol": {
      "type": "string",
      "description": "Remote desktop protocol",
      "enum": [
        "rdp",
        "vnc",
        "ssh",
        "telnet",
        "kubernetes"
      ]
    },
    "parentIdentifier": {
      "type": "string",
      "description": "Parent connection group identifier (ROOT for top-level)"
    },
    "activeConnections": {
      "type": "integer",
      "description": "Number of active sessions for this connection"
    },
    "parameters": {
      "type": "object",
      "description": "Protocol-specific connection parameters",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}