pub.leaflet.poll.definition

leaflet.pub

Documentation

Record declaring a poll

main record

Record declaring a poll

Record Key tid Timestamp-based ID

Properties

endDate string datetime Optional

An RFC 3339 formatted timestamp.

name string Required

No description available.

maxLength: 500 bytesmaxGraphemes: 100 graphemes
options array of ref #option Required

No description available.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "options"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 500,
        "maxGraphemes": 100
      },
      "endDate": {
        "type": "string",
        "format": "datetime"
      },
      "options": {
        "type": "array",
        "items": {
          "ref": "#option",
          "type": "ref"
        }
      }
    }
  },
  "description": "Record declaring a poll"
}
option object

No description available.

Properties

text string Optional

No description available.

maxLength: 500 bytesmaxGraphemes: 50 graphemes
View raw schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 500,
      "maxGraphemes": 50
    }
  }
}

Lexicon Garden

@