{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gmi-cloud/main/json-schema/gmi-cloud-auth-token-response-schema.json",
  "title": "authTokenResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gmi-cloud-idc-service-openapi.yml#/components/schemas/authTokenResponse",
  "type": "object",
  "x-go-name": "authTokenResponse",
  "properties": {
    "authToken": {
      "type": "string",
      "description": "A temporary token issued  after the initial login step. This token is used in the create session API to exchange for access and refresh tokens."
    },
    "is2FARequired": {
      "type": "boolean",
      "description": "Whether two-factor authentication (2FA) is required for the create session API. If `true`, the client must include an OTP code in the request body to complete the authentication."
    }
  },
  "required": [
    "authToken",
    "is2FARequired"
  ]
}