pub.leaflet.comment

leaflet.pub

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

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-01-09 09:26 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.comment

Referenced Schemas (2)

Lexicon Garden

@