blue.backyard.feed.comment

lexicon.store View official

Documentation

A comment (note) on a Backyard post or reblog.

main record

A comment (note) on a Backyard post or reblog.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

parent ref com.atproto.repo.strongRef Optional

If replying to another comment, the parent comment. If absent, subject is the direct parent.

subject ref com.atproto.repo.strongRef Required

The direct parent record being commented on (a post, reblog, or another comment).

text string Required

The text content of the comment.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "text",
      "subject",
      "root",
      "createdAt"
    ],
    "properties": {
      "root": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The root post of the thread. Always a blue.backyard.feed.post."
      },
      "text": {
        "type": "string",
        "maxLength": 10000,
        "description": "The text content of the comment.",
        "maxGraphemes": 1000
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "blue.backyard.richtext.facet",
          "type": "ref"
        },
        "description": "Annotations of text (mentions, URLs, hashtags)."
      },
      "parent": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "If replying to another comment, the parent comment. If absent, subject is the direct parent."
      },
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The direct parent record being commented on (a post, reblog, or another comment)."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A comment (note) on a Backyard post or reblog."
}

Lexicon Garden

@