pub.leaflet.comment

leaflet.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "linearDocumentQuote": {
      "properties": {
        "document": {
          "format": "at-uri",
          "type": "string"
        },
        "quote": {
          "ref": "pub.leaflet.pages.linearDocument#quote",
          "type": "ref"
        }
      },
      "required": [
        "document",
        "quote"
      ],
      "type": "object"
    },
    "main": {
      "description": "Record containing a comment",
      "key": "tid",
      "record": {
        "properties": {
          "attachment": {
            "refs": [
              "#linearDocumentQuote"
            ],
            "type": "union"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "items": {
              "ref": "pub.leaflet.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "onPage": {
            "type": "string"
          },
          "plaintext": {
            "type": "string"
          },
          "reply": {
            "ref": "#replyRef",
            "type": "ref"
          },
          "subject": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "plaintext",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "replyRef": {
      "properties": {
        "parent": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "parent"
      ],
      "type": "object"
    }
  },
  "description": "A lexicon for comments on documents",
  "id": "pub.leaflet.comment",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.leaflet.comment

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreihxtquyyoqy6okhxe5qs7tewydcjvic2mzpsgn7pp42g35zsueyty
Indexed At
2026-02-18 20:04 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.comment

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A comment on a node, owned by its author.

  • A comment on an item, optionally replying to another comment.

  • A comment on a log or list. Stored in the commenter's repo; the subject's author can hide it via their social.respawn.feed.gate record.

  • A public Supper comment attached directly to a site.standard.document, support.supper.feed.post, fm.plyr.track, or support.supper.poll.poll. The record is authored in the commenter's repository; its subject identifies t…

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

Lexicon Garden

@