{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphabazaar-ai/json-schema/alphabazaar-ai-auth-response-schema.json",
  "title": "AuthResponse",
  "description": "POST /api/auth/register, POST /api/auth/login",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphabazaar-ai-auth-api-openapi.yml#/components/schemas/AuthResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success"
    },
    "user": {
      "title": "User"
    },
    "access_token": {
      "type": "string",
      "title": "Access Token"
    },
    "token_type": {
      "type": "string",
      "title": "Token Type",
      "default": "bearer"
    }
  },
  "type": "object",
  "required": [
    "success",
    "user",
    "access_token"
  ]
}