{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/graphiant/main/json-schema/graphiant-v1-auth-login-post-response-schema.json",
  "title": "v1AuthLoginPostResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/graphiant-auth-api-openapi.yml#/components/schemas/v1AuthLoginPostResponse",
  "type": "object",
  "properties": {
    "auth": {
      "type": "boolean"
    },
    "token": {
      "type": "string"
    },
    "accountType": {
      "type": "string",
      "enum": [
        "no_account",
        "enterprise",
        "provider",
        "msp",
        "graphiant"
      ]
    },
    "email": {
      "type": "string",
      "description": "User email address (returned for MFA users)"
    },
    "mfaType": {
      "type": "string",
      "description": "MFA type (returned for MFA users)"
    },
    "stateToken": {
      "type": "string",
      "description": "State token for MFA verification (returned for MFA users)"
    },
    "status": {
      "type": "string",
      "description": "Authentication status (returned for MFA users)"
    }
  }
}