pub.leaflet.comment

leaflet.pub

Documentation

Record containing a comment

main record

Record containing a comment

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

onPage string Optional

No description available.

plaintext string Required

No description available.

reply ref #replyRef Optional

No description available.

subject string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "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"
}
linearDocumentQuote object

No description available.

Properties

document string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "document",
    "quote"
  ],
  "properties": {
    "quote": {
      "ref": "pub.leaflet.pages.linearDocument#quote",
      "type": "ref"
    },
    "document": {
      "type": "string",
      "format": "at-uri"
    }
  }
}
replyRef object

No description available.

Properties

parent string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "parent"
  ],
  "properties": {
    "parent": {
      "type": "string",
      "format": "at-uri"
    }
  }
}

Lexicon Garden

@