# dev.kualta.post

> A post published through the kualta.dev publisher. This record is the original; each platform copy is listed under syndication.

- Kind: record
- Record key: tid
- Authority: kualta.dev
- Lexicon: 1
- Published by [kualta.dev](https://lexicon.garden/identity/did:plc:jhvnnnd3adml7t6anu3ay7ip), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:jhvnnnd3adml7t6anu3ay7ip/dev.kualta.post)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:jhvnnnd3adml7t6anu3ay7ip/dev.kualta.post/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:jhvnnnd3adml7t6anu3ay7ip/dev.kualta.post/analytics)

## Record (`dev.kualta.post`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required): When the first copy was published.
- `kind` (string, required): What the post carries: no media, photos, one video, or photos and videos together.
  - Constraints: knownValues: text | photo | video | mixed
- `syndication` (array, required): The copies of this post that are up now.
  - `items` (ref)
    - Reference: `#copy`
- `tags` (array): Without the leading #, most important first.
  - Constraints: maxLength: 30
  - `items` (string)
    - Constraints: maxLength: 640, maxGraphemes: 64
- `text` (string, required): The post's caption.
  - Constraints: maxLength: 15000, maxGraphemes: 5000
- `thumbnail` (blob): A small picture of the post.
  - Constraints: maxSize: 200000, accept: image/jpeg, image/png, image/webp
- `title` (string)
  - Constraints: maxLength: 300, maxGraphemes: 100

## #copy (`dev.kualta.post#copy`)

Type: object

### Properties

- `platform` (string, required)
  - Constraints: knownValues: bluesky | grain | instagram | twitter | youtube | tiktok | xiaohongshu | farcaster | lens
- `publishedAt` (string · datetime): When this copy went up. Absent when it was published elsewhere and linked to the post later.
- `uri` (string · at-uri): The copy's own record, when the platform keeps it in an AT Protocol repository.
- `url` (string · uri, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "copy": {
      "properties": {
        "platform": {
          "knownValues": [
            "bluesky",
            "grain",
            "instagram",
            "twitter",
            "youtube",
            "tiktok",
            "xiaohongshu",
            "farcaster",
            "lens"
          ],
          "type": "string"
        },
        "publishedAt": {
          "description": "When this copy went up. Absent when it was published elsewhere and linked to the post later.",
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "description": "The copy's own record, when the platform keeps it in an AT Protocol repository.",
          "format": "at-uri",
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "platform",
        "url"
      ],
      "type": "object"
    },
    "main": {
      "description": "A post published through the kualta.dev publisher. This record is the original; each platform copy is listed under syndication.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the first copy was published.",
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "description": "What the post carries: no media, photos, one video, or photos and videos together.",
            "knownValues": [
              "text",
              "photo",
              "video",
              "mixed"
            ],
            "type": "string"
          },
          "syndication": {
            "description": "The copies of this post that are up now.",
            "items": {
              "ref": "#copy",
              "type": "ref"
            },
            "type": "array"
          },
          "tags": {
            "description": "Without the leading #, most important first.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 30,
            "type": "array"
          },
          "text": {
            "description": "The post's caption.",
            "maxGraphemes": 5000,
            "maxLength": 15000,
            "type": "string"
          },
          "thumbnail": {
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp"
            ],
            "description": "A small picture of the post.",
            "maxSize": 200000,
            "type": "blob"
          },
          "title": {
            "maxGraphemes": 100,
            "maxLength": 300,
            "type": "string"
          }
        },
        "required": [
          "kind",
          "text",
          "createdAt",
          "syndication"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.kualta.post",
  "lexicon": 1
}
```
