{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stalwart/main/json-schema/stalwart-post-api-auth-response-schema.json",
  "title": "PostApiAuthResponse",
  "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/PostApiAuthResponse",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Indicates the response kind (authenticated, redirect, invalid, verified, denied, mfaRequired, expired, failure)."
    },
    "location": {
      "type": "string",
      "description": "Redirect URI with appropriate parameters for the response type."
    },
    "error": {
      "type": "string",
      "description": "Error code for failure cases."
    },
    "description": {
      "type": "string",
      "description": "Human‑readable description of the error."
    }
  }
}