# net.atchan.reply

> 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.reply)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.reply/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.reply/examples)

## Definitions

### `net.atchan.reply`

**Type**: `record`

A record containing a reply to an imageboard thread

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes | The main text of the post. May be an empty string if there are embeds. |
| `name` | `string` | No | Cosmetic name associated with the poster |
| `sage` | `boolean` | No | Indication that user does not want to bump the OP when making a reply |
| `embeds` | `array` | No | A list of embedded data for this post. Only one embed is permitted. This limit may be raised in the future. |
| `facets` | `array` | No | Rich-text formatting annotations over byte ranges of `body` |
| `thread` | `ref` → `com.atproto.repo.strongRef` | Yes | The post being replied to. The referenced post must be an OP. Replies to other replies are made with >> in the text body |
| `spoiler` | `boolean` | No | If the post's embed should require an additional UI interaction to be shown. Intended to hide spoilers from users. Sometimes used to hide NSFW content. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this post was originally created |

## Raw Schema

```json
{
  "id": "net.atchan.reply",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "thread",
          "body",
          "createdAt"
        ],
        "properties": {
          "body": {
            "type": "string",
            "maxLength": 20000,
            "description": "The main text of the post. May be an empty string if there are embeds.",
            "maxGraphemes": 2000
          },
          "name": {
            "type": "string",
            "maxLength": 640,
            "description": "Cosmetic name associated with the poster",
            "maxGraphemes": 64
          },
          "sage": {
            "type": "boolean",
            "description": "Indication that user does not want to bump the OP when making a reply"
          },
          "embeds": {
            "type": "array",
            "items": {
              "refs": [
                "net.atchan.embed.image",
                "net.atchan.embed.audio",
                "net.atchan.embed.video"
              ],
              "type": "union"
            },
            "maxLength": 1,
            "minLength": 1,
            "description": "A list of embedded data for this post. Only one embed is permitted. This limit may be raised in the future."
          },
          "facets": {
            "type": "array",
            "items": {
              "ref": "net.atchan.richtext.facet",
              "type": "ref"
            },
            "description": "Rich-text formatting annotations over byte ranges of `body`"
          },
          "thread": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The post being replied to. The referenced post must be an OP. Replies to other replies are made with >> in the text body"
          },
          "spoiler": {
            "type": "boolean",
            "description": "If the post's embed should require an additional UI interaction to be shown. Intended to hide spoilers from users. Sometimes used to hide NSFW content."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this post was originally created"
          }
        }
      },
      "description": "A record containing a reply to an imageboard thread"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
