{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/giljo-ai/json-schema/giljo-ai-login-response-schema.json",
  "title": "LoginResponse",
  "description": "Login response with user info",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/giljo-ai-account-lifecycle-api-openapi.yml#/components/schemas/LoginResponse",
  "properties": {
    "message": {
      "type": "string",
      "title": "Message"
    },
    "username": {
      "type": "string",
      "title": "Username"
    },
    "role": {
      "type": "string",
      "title": "Role"
    },
    "tenant_key": {
      "type": "string",
      "title": "Tenant Key"
    },
    "password_change_required": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Password Change Required"
    }
  },
  "type": "object",
  "required": [
    "message",
    "username",
    "role",
    "tenant_key"
  ]
}