# net.atchan.embed.image

> Published by [atchan.net](https://lexicon.garden/identity/did:plc:vshgahazzq7qwvp2xc6ai27o)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.embed.image)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.embed.image/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.embed.image/examples)

## Definitions

### `net.atchan.embed.image`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | Yes | Alt text description of the image for accessibility. May be empty. |
| `image` | `blob` | Yes | The image represented as bytes |
| `filename` | `string` | Yes | Name of the file as uploaded |
| `aspectRatio` | `ref` → `net.atchan.embed.defs#aspectRatio` | No |  |

## Raw Schema

```json
{
  "id": "net.atchan.embed.image",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "filename",
        "image",
        "alt"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 20000,
          "description": "Alt text description of the image for accessibility. May be empty.",
          "maxGraphemes": 2000
        },
        "image": {
          "type": "blob",
          "accept": [
            "image/*"
          ],
          "maxSize": 26214400,
          "description": "The image represented as bytes"
        },
        "filename": {
          "type": "string",
          "maxLength": 2600,
          "description": "Name of the file as uploaded",
          "maxGraphemes": 260
        },
        "aspectRatio": {
          "ref": "net.atchan.embed.defs#aspectRatio",
          "type": "ref"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
