{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "disconnect_ovpn_session",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Fresh disconnectToken from list_ovpn_sessions on this router; expires after 60 seconds and is single-use."
    },
    "confirm": {
      "type": "boolean",
      "const": true,
      "description": "Explicit operator approval to terminate this one live connection. The client can reconnect."
    }
  },
  "required": ["token", "confirm"],
  "additionalProperties": false
}
