pub.leaflet.interactions.question

leaflet.pub

Documentation

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

main record

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

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

plaintext string Required

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
subject string at-uri Required

The document the question is asked on.

View raw schema
{
  "description": "A public question asked of a document's author, shown on the document once the author answers it (pub.leaflet.interactions.answer)",
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "facets": {
        "items": {
          "ref": "pub.leaflet.richtext.facet",
          "type": "ref"
        },
        "type": "array"
      },
      "plaintext": {
        "maxGraphemes": 1000,
        "maxLength": 10000,
        "type": "string"
      },
      "subject": {
        "description": "The document the question is asked on.",
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "subject",
      "plaintext",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@