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.

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

Object

object

Properties

audience

string

Who may ask: anyone, only subscribers to the document's publication, only accounts the author follows, or only accounts following the author. Defaults to anyone. Checked when a question is asked.

  • knownValues: anyone | subscribers | follows | followers

Label for the button readers use to submit a question.

  • maxLength: 500
  • maxGraphemes: 50

key

string

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

Show readers questions the author hasn't accepted, answered or hidden yet. Defaults to false.

Similar lexicons

semantic match

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

  • 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.

  • A public question asked of a document's author, shown on the document once the author answers (pub.leaflet.interactions.answer) or accepts it (pub.leaflet.interactions.questionVisibility)

  • Declares which questions asked on a document the author accepted or hid. Lives in the document's repo, with a record key matching the document's. An answered question shows unless hidden; any other question is pending.

  • The author's answer to a pub.leaflet.interactions.question, written in the repo that owns the question's subject document. One record per question.