{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/raccha-ai/json-schema/raccha-ai-register-body-schema.json",
  "title": "RegisterBody",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/raccha-ai-openapi.yaml#/components/schemas/RegisterBody",
  "type": "object",
  "required": [
    "client_name"
  ],
  "properties": {
    "client_name": {
      "description": "Human-readable name for this client -- shown to the approving human on the device-code approval screen (e.g. \"raccha.ai CLI\", \"Claude Desktop\"). RFC 7591 marks this OPTIONAL; this endpoint requires a non-empty value so the approval screen always has something real to show instead of silently falling back to \"unknown client\".",
      "type": "string"
    },
    "redirect_uris": {
      "description": "Accepted per RFC 7591 section 2 and echoed back if present. Not used by anything -- raccha.ai's device-code flow (RFC 8628) has no redirect step, so this client type legitimately has none. See this module's top comment.",
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}