oysters.pubOpen oyste.rs

pub.oysters.comment

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

recordJSON

pub.oysters.comment

recordkey: tid

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

fieldtypeabout
textrequiredstring

The comment body, in plain text.

minLength 1maxLength 40000maxGraphemes 10000
subjectrequiredcom.atproto.repo.strongRef

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.

parentcom.atproto.repo.strongRef

The comment being replied to. Absent on a top-level comment.

createdAtrequiredstring<datetime>

When the author wrote the comment.

Raw document
{
  "lexicon": 1,
  "id": "pub.oysters.comment",
  "defs": {
    "main": {
      "type": "record",
      "description": "A comment in a post's discussion, or a reply to another comment.",
      "key": "tid",
      "record": {
        "type": "object",
        "required": [
          "text",
          "subject",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "description": "The comment body, in plain text.",
            "minLength": 1,
            "maxGraphemes": 10000,
            "maxLength": 40000
          },
          "subject": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "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."
          },
          "parent": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "The comment being replied to. Absent on a top-level comment."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the author wrote the comment."
          }
        }
      }
    }
  }
}