{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/liftli-ai/json-schema/liftli-ai-liftli-api-routes-users-user-response-schema.json",
  "title": "UserResponse",
  "description": "Response model for user data.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/app-liftli-ai-openapi.json#/components/schemas/liftli__api__routes__users__UserResponse",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "avatar_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avatar Url"
    },
    "company": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company"
    },
    "linkedin_profile_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linkedin Profile Url"
    },
    "platforms": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Platforms"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "role": {
      "type": "string",
      "title": "Role"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "email_verified": {
      "type": "boolean",
      "title": "Email Verified"
    },
    "last_login": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Login"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At"
    },
    "deleted_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deleted At"
    },
    "timezone": {
      "type": "string",
      "title": "Timezone"
    },
    "billing_cycle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Cycle"
    },
    "total_drafts": {
      "type": "integer",
      "title": "Total Drafts",
      "default": 0
    },
    "total_api_calls": {
      "type": "integer",
      "title": "Total Api Calls",
      "default": 0
    },
    "drafts_this_month": {
      "type": "integer",
      "title": "Drafts This Month",
      "default": 0
    },
    "current_streak": {
      "type": "integer",
      "title": "Current Streak",
      "default": 0
    },
    "record_streak": {
      "type": "integer",
      "title": "Record Streak",
      "default": 0
    },
    "last_activity_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Activity Date"
    },
    "total_copied": {
      "type": "integer",
      "title": "Total Copied",
      "default": 0
    },
    "total_inserted": {
      "type": "integer",
      "title": "Total Inserted",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "id",
    "email",
    "name",
    "avatar_url",
    "company",
    "linkedin_profile_url",
    "tier",
    "role",
    "is_active",
    "email_verified",
    "last_login",
    "created_at",
    "updated_at",
    "deleted_at",
    "timezone"
  ]
}