{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-create-client-request-schema.json",
  "title": "CreateClientRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-clients-api-openapi.yml#/components/schemas/CreateClientRequest",
  "type": "object",
  "required": [
    "name",
    "ip_address"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Human-readable name for the client."
    },
    "type": {
      "type": "string",
      "enum": [
        "user",
        "server"
      ],
      "description": "Client type. Defaults to `server` if not specified.",
      "default": "server"
    },
    "ip_address": {
      "type": "string",
      "description": "IP address or CIDR range to authorize. Supports individual IPs (e.g. `203.0.113.42`),\nCIDR notation (e.g. `203.0.113.0/24`), and IPv6 addresses.\n"
    },
    "description": {
      "type": "string",
      "description": "Optional description."
    }
  }
}