{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-authconfig-tacacs-servers-schema.json",
  "title": "authconfigTacacsServers",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-authconfig-api-openapi.yml#/components/schemas/authconfigTacacsServers",
  "type": "object",
  "properties": {
    "tacacs_servers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/authconfigTacacsServer"
      }
    }
  },
  "$defs": {
    "authconfigTacacsServer": {
      "type": "object",
      "required": [
        "host",
        "port",
        "secret",
        "service",
        "timeout",
        "retries"
      ],
      "properties": {
        "host": {
          "type": "string",
          "description": "IP Address"
        },
        "port": {
          "type": "integer"
        },
        "secret": {
          "type": "string",
          "description": "Shared secret"
        },
        "service": {
          "type": "string"
        },
        "priority": {
          "type": "integer"
        },
        "timeout": {
          "type": "integer",
          "description": "Re-transmit timeout"
        },
        "interface": {
          "type": "string",
          "description": "Interface IP Address"
        },
        "policy-id": {
          "type": "string",
          "description": "Key name for role ID configured on the TACACS server"
        }
      }
    }
  }
}