{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bluenexus-ai/json-schema/bluenexus-ai-post-auth-token-request-schema.json",
  "title": "PostAuthTokenRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bluenexus-ai-openapi-generated.yml#/components/schemas/PostAuthTokenRequest",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "authorization_code or refresh_token"
    },
    "code": {
      "type": "string",
      "description": "AUTH_CODE for authorization_code grant"
    },
    "redirect_uri": {
      "type": "string",
      "description": "Redirect URI used in auth request"
    },
    "code_verifier": {
      "type": "string",
      "description": "PKCE verifier"
    },
    "client_id": {
      "type": "string"
    },
    "refresh_token": {
      "type": "string",
      "description": "REFRESH_TOKEN for refresh_token grant"
    }
  },
  "required": [
    "grant_type",
    "client_id"
  ]
}