# at.colocate.post

> Published by [colocate.at](https://lexicon.garden/identity/did:plc:5q2ni46yjdcgf3baqd5e4prs)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5q2ni46yjdcgf3baqd5e4prs/at.colocate.post)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5q2ni46yjdcgf3baqd5e4prs/at.colocate.post/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5q2ni46yjdcgf3baqd5e4prs/at.colocate.post/examples)

## Definitions

### `at.colocate.post`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes |  |
| `images` | `array` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |

### `at.colocate.post#image`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | Yes |  |
| `image` | `blob` | Yes |  |

## Raw Schema

```json
{
  "id": "at.colocate.post",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 100000,
            "maxGraphemes": 10000
          },
          "images": {
            "type": "array",
            "items": {
              "ref": "#image",
              "type": "ref"
            },
            "maxLength": 4
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    },
    "image": {
      "type": "object",
      "required": [
        "image",
        "alt"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 20000,
          "maxGraphemes": 2000
        },
        "image": {
          "type": "blob",
          "accept": [
            "image/jpeg",
            "image/png",
            "image/webp"
          ],
          "maxSize": 5000000
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
