# UserProfile model

What others see of a user and who may see it: the bio, whether the page is hidden, and who sees the upload activity. On a user as `profile`; a hidden user's isn't sent to anyone else.

## Fields

| Field | Type | Present | Notes |
|---|---|---|---|
| `bio` | `string` |  | A line or two about the user, on their page. |
| `hideProfile` | `boolean` |  | Whether the user hides their page. Anyone else then gets only their id and username, and none of their activity. |
| `activityVisibility` | `enum` |  | Who sees the user's upload activity (`GET /users/:userId/activity`) and counts (`imageCount`, `folderCount`). `All`: anyone sees every upload counted, private and unlisted ones too, never the images themselves. `Public`: anyone sees only the public uploads that show who made them. `Private`: no one else sees any activity, and the counts are of the public ones. One of `All`, `Public`, `Private`. |

## Inside other models

- [`User`](https://hematite.gg/docs/developers/models/user), as `profile`

## Example

```json
{
  "bio": "Screenshots from ranked nights",
  "hideProfile": false,
  "activityVisibility": "All"
}
```
