# at.ducs.users.defs

> Published by [ducs.at](https://lexicon.garden/identity/did:plc:c5ljrscuf2xu4oovnafzoqlg)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:c5ljrscuf2xu4oovnafzoqlg/at.ducs.users.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:c5ljrscuf2xu4oovnafzoqlg/at.ducs.users.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:c5ljrscuf2xu4oovnafzoqlg/at.ducs.users.defs/examples)

## Definitions

### `at.ducs.users.defs#avatar`

**Type**: `blob`

Image to be displayed next to messages from a user

```json
{
  "type": "blob",
  "accept": [
    "image/png",
    "image/jpeg"
  ],
  "maxSize": 1000000,
  "description": "Image to be displayed next to messages from a user"
}
```

### `at.ducs.users.defs#profile`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `avatar` | `string` (uri) | No |  |
| `handle` | `string` (handle) | Yes |  |
| `displayName` | `string` | No |  |

## Raw Schema

```json
{
  "id": "at.ducs.users.defs",
  "defs": {
    "avatar": {
      "type": "blob",
      "accept": [
        "image/png",
        "image/jpeg"
      ],
      "maxSize": 1000000,
      "description": "Image to be displayed next to messages from a user"
    },
    "profile": {
      "type": "object",
      "required": [
        "did",
        "handle"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "avatar": {
          "type": "string",
          "format": "uri"
        },
        "handle": {
          "type": "string",
          "format": "handle"
        },
        "displayName": {
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
