net.atchan.thread

atchan.net

Documentation

A record containing an imageboard thread. Commonly referred to as the OP.

main record

A record containing an imageboard thread. Commonly referred to as the OP.

Record Key tid Timestamp-based ID

Properties

board string at-uri Required

Reference to the net.atchan.board record this thread is posted on

body string Optional

Comment line for this thread

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
createdAt string datetime Required

Client-declared timestamp when this post was originally created

embeds array of union Required

A list of embedded data for this post. Only one embed is permitted. This limit may be raised in the future.

maxLength: 1 itemsminLength: 1 items
Known types:
name string Optional

Cosmetic name associated with the poster

maxLength: 640 bytesmaxGraphemes: 64 graphemes
spoiler boolean Optional

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.

subject string Optional

Subject line for this thread

maxLength: 1280 bytesmaxGraphemes: 128 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "board",
      "embeds",
      "createdAt"
    ],
    "properties": {
      "body": {
        "type": "string",
        "maxLength": 20000,
        "description": "Comment line for this thread",
        "maxGraphemes": 2000
      },
      "name": {
        "type": "string",
        "maxLength": 640,
        "description": "Cosmetic name associated with the poster",
        "maxGraphemes": 64
      },
      "board": {
        "type": "string",
        "format": "at-uri",
        "description": "Reference to the net.atchan.board record this thread is posted on"
      },
      "embeds": {
        "type": "array",
        "items": {
          "refs": [
            "net.atchan.embed.image"
          ],
          "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`"
      },
      "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."
      },
      "subject": {
        "type": "string",
        "maxLength": 1280,
        "description": "Subject line for this thread",
        "maxGraphemes": 128
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this post was originally created"
      }
    }
  },
  "description": "A record containing an imageboard thread. Commonly referred to as the OP."
}

Lexicon Garden

@