# pics.pixl.image

> Published by [pixl.pics](https://lexicon.garden/identity/did:plc:uws5uxauetrlhhuhibqd2r7n)

✓ This is the authoritative definition for this NSID.

## Description

An image stored in an AT Protocol repository.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uws5uxauetrlhhuhibqd2r7n/pics.pixl.image)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uws5uxauetrlhhuhibqd2r7n/pics.pixl.image/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uws5uxauetrlhhuhibqd2r7n/pics.pixl.image/examples)

## Definitions

### `pics.pixl.image`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | Yes | Alt text for the image. |
| `image` | `blob` | Yes | The original image file. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "pics.pixl.image",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "image",
          "alt",
          "createdAt"
        ],
        "properties": {
          "alt": {
            "type": "string",
            "maxLength": 20000,
            "description": "Alt text for the image.",
            "maxGraphemes": 2000
          },
          "image": {
            "type": "blob",
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp",
              "image/gif",
              "image/avif",
              "image/heic"
            ],
            "maxSize": 50000000,
            "description": "The original image file."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "An image stored in an AT Protocol repository."
}
```
