pub.leaflet.blocks.reply

Lets readers submit their own documents as replies to this one (pub.leaflet.interactions.reply) and shows the ones the author made visible (pub.leaflet.interactions.replyVisibility). Replies are resolved at render time rather than stored on the block.

Repository @leaflet.pub did:plc:btxrwcaeyodrap5mnjw2fvmz namespace authority
Details · object
Kindobject
Authorityblocks.leaflet.pub
Commit rev3n2rf64w2u22m
Indexed
cid bafyreiadlw2xl56knbkg4ozl73fq6ayon5lx2axh4jkexqwpyrltmqimwa

Checks

Valid
  • unlimited-string defs.main.properties.audienceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Lets readers submit their own documents as replies to this one (pub.leaflet.interactions.reply) and shows the ones the author made visible (pub.leaflet.interactions.replyVisibility). Replies are resolved at render time rather than stored on the block.",
      "properties": {
        "audience": {
          "description": "Who may reply: anyone, only subscribers to the document's publication, only its paid members, only members of the tiers in tierIds, only accounts the author follows, or only accounts following the author. Defaults to anyone. Checked when a reply is submitted.",
          "knownValues": [
            "anyone",
            "subscribers",
            "paid",
            "tiers",
            "follows",
            "followers"
          ],
          "type": "string"
        },
        "buttonText": {
          "description": "Label for the button readers use to submit a reply.",
          "maxGraphemes": 50,
          "maxLength": 500,
          "type": "string"
        },
        "closesAt": {
          "description": "When the block stops taking replies. Absent means it never closes. Checked when a reply is submitted.",
          "format": "datetime",
          "type": "string"
        },
        "key": {
          "description": "Tells this block apart from the document's other blocks of its type; interaction records name it in their `block` field. Records without a matching key belong to the first block of the type.",
          "maxLength": 100,
          "type": "string"
        },
        "promptText": {
          "description": "Text inviting readers to reply, shown beside the button.",
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "showPublicationTheme": {
          "description": "Render each reply in its own publication's theme. Defaults to true.",
          "type": "boolean"
        },
        "tierIds": {
          "description": "Paid membership tier ids whose active members may reply when audience is tiers.",
          "items": {
            "maxLength": 100,
            "type": "string"
          },
          "maxLength": 50,
          "type": "array"
        }
      },
      "required": [],
      "type": "object"
    }
  },
  "id": "pub.leaflet.blocks.reply",
  "lexicon": 1
}