pub.oysters.comment

oysters.pub

Documentation

A comment in a post's discussion, or a reply to another comment.

main record

A comment in a post's discussion, or a reply to another comment.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

When the author wrote the comment.

subject ref com.atproto.repo.strongRef Required

The post this comment belongs to — the thread root. Carried on every comment, including replies, so a consumer can attach a comment to its thread without walking the parent chain.

text string Required

The comment body, in plain text.

maxLength: 40000 bytesminLength: 1 bytesmaxGraphemes: 10000 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "text",
      "subject",
      "createdAt"
    ],
    "properties": {
      "text": {
        "type": "string",
        "maxLength": 40000,
        "minLength": 1,
        "description": "The comment body, in plain text.",
        "maxGraphemes": 10000
      },
      "parent": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The comment being replied to. Absent on a top-level comment."
      },
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The post this comment belongs to — the thread root. Carried on every comment, including replies, so a consumer can attach a comment to its thread without walking the parent chain."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the author wrote the comment."
      }
    }
  },
  "description": "A comment in a post's discussion, or a reply to another comment."
}

Lexicon Garden

@