{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stalwart/main/json-schema/stalwart-get-api-auth-client-response-schema.json",
  "title": "GetApiAuthClientResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/stalwart-http-openapi-generated.yml#/components/schemas/GetApiAuthClientResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Client name."
    },
    "logo": {
      "type": "string",
      "description": "URL of the client logo."
    },
    "clientHost": {
      "type": "string",
      "description": "Host of the client."
    },
    "redirectHost": {
      "type": "string",
      "description": "Redirect host."
    },
    "scopes": {
      "type": "string",
      "description": "Labels of the requested scopes."
    },
    "verified": {
      "type": "string",
      "description": "Whether the client is verified."
    },
    "consentRequired": {
      "type": "string",
      "description": "Whether consent is required."
    },
    "denyLocation": {
      "type": "string",
      "description": "Location to send the user to if denied."
    },
    "error": {
      "type": "string",
      "description": "OAuth error code on failure."
    },
    "description": {
      "type": "string",
      "description": "Optional error description."
    },
    "redirect": {
      "type": "string",
      "description": "True if a redirect location is provided."
    }
  }
}