# coop.hypha.spores.content.image

> Published by [hypha.coop](https://lexicon.garden/identity/did:plc:rxduhzsfgfpl2glle7vagcwl)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:rxduhzsfgfpl2glle7vagcwl/coop.hypha.spores.content.image)
- [Documentation](https://lexicon.garden/lexicon/did:plc:rxduhzsfgfpl2glle7vagcwl/coop.hypha.spores.content.image/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:rxduhzsfgfpl2glle7vagcwl/coop.hypha.spores.content.image/examples)

## Definitions

### `coop.hypha.spores.content.image`

**Type**: `record`

An image uploaded to the garden.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `embed` | `unknown` | No | Optional Bluesky-compatible image embed payload. |
| `image` | `blob` | Yes | The image blob. |
| `title` | `string` | No | Optional title for the image. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when the image was uploaded. |

## Raw Schema

```json
{
  "id": "coop.hypha.spores.content.image",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "image",
          "createdAt"
        ],
        "properties": {
          "embed": {
            "type": "unknown",
            "description": "Optional Bluesky-compatible image embed payload."
          },
          "image": {
            "type": "blob",
            "accept": [
              "image/*"
            ],
            "maxSize": 10000000,
            "description": "The image blob."
          },
          "title": {
            "type": "string",
            "maxLength": 2000,
            "description": "Optional title for the image.",
            "maxGraphemes": 200
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when the image was uploaded."
          }
        }
      },
      "description": "An image uploaded to the garden."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
