{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/balladic-com/json-schema/balladic-com-user-response-schema.json",
  "title": "UserResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/balladic-com-openapi.json#/components/schemas/UserResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "avatar_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avatar Key"
    },
    "theme": {
      "type": "string",
      "title": "Theme"
    },
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "role": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Role"
    },
    "timezone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timezone"
    },
    "has_password": {
      "type": "boolean",
      "title": "Has Password"
    },
    "is_superuser": {
      "type": "boolean",
      "title": "Is Superuser"
    },
    "bot": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bot"
    },
    "email_preferences": {
      "additionalProperties": true,
      "type": "object",
      "title": "Email Preferences",
      "default": {}
    },
    "push_preferences": {
      "additionalProperties": true,
      "type": "object",
      "title": "Push Preferences",
      "default": {}
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "onboarded_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Onboarded At"
    },
    "last_workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Workspace Id"
    }
  },
  "type": "object",
  "required": [
    "id",
    "email",
    "name",
    "avatar_key",
    "theme",
    "plan",
    "has_password",
    "is_superuser",
    "created_at"
  ]
}