pub.leaflet.blocks.questions
Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer) or accepted (pub.leaflet.interactions.questionVisibility). Questions are resolved at render time rather than stored on the block.
Details · object
| Kind | object |
|---|---|
| Authority | blocks.leaflet.pub |
| Commit rev | 3n2rf64q4h42j |
| Indexed |
Showing version bafyreicxdmfgawktjfp46yd7gnz4fbsrwsbccb5arx3u2fk7sf6vauqizi. Show the latest
Checks
Validunlimited-stringdefs.main.properties.audienceNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Lets readers ask the author public questions (pub.leaflet.interactions.question) and shows the ones the author has answered (pub.leaflet.interactions.answer) or accepted (pub.leaflet.interactions.questionVisibility). Questions are resolved at render time rather than stored on the block.",
"properties": {
"audience": {
"description": "Who may ask: 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 question is asked.",
"knownValues": [
"anyone",
"subscribers",
"paid",
"tiers",
"follows",
"followers"
],
"type": "string"
},
"buttonText": {
"description": "Label for the button readers use to submit a question.",
"maxGraphemes": 50,
"maxLength": 500,
"type": "string"
},
"closesAt": {
"description": "When the block stops taking questions. Absent means it never closes. Checked when a question 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"
},
"showPending": {
"description": "Show readers questions the author hasn't accepted, answered or hidden yet. Defaults to false.",
"type": "boolean"
},
"tierIds": {
"description": "Paid membership tier ids whose active members may ask when audience is tiers.",
"items": {
"maxLength": 100,
"type": "string"
},
"maxLength": 50,
"type": "array"
}
},
"required": [],
"type": "object"
}
},
"id": "pub.leaflet.blocks.questions",
"lexicon": 1
}