support.supper.poll.poll

supper.support

Documentation

A public Supper poll authored by the repository owner. The question and ordered options are immutable after publication; publish a new poll identity to change them. Never publish member-only poll content in a public repository.

main record

A public Supper poll authored by the repository owner. The question and ordered options are immutable after publication; publish a new poll identity to change them. Never publish member-only poll content in a public repository.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Time the poll was originally published.

options array of ref #option Required

Ordered choices; a vote option is the zero-based position. Never reorder, replace or remove choices on a published poll.

maxLength: 10 itemsminLength: 2 items
text string Required

Plaintext poll question. Publishers and readers reject empty or whitespace-only questions.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "text",
      "options",
      "createdAt"
    ],
    "properties": {
      "text": {
        "type": "string",
        "maxLength": 3000,
        "description": "Plaintext poll question. Publishers and readers reject empty or whitespace-only questions.",
        "maxGraphemes": 300
      },
      "options": {
        "type": "array",
        "items": {
          "ref": "#option",
          "type": "ref"
        },
        "maxLength": 10,
        "minLength": 2,
        "description": "Ordered choices; a vote option is the zero-based position. Never reorder, replace or remove choices on a published poll."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Time the poll was originally published."
      }
    }
  },
  "description": "A public Supper poll authored by the repository owner. The question and ordered options are immutable after publication; publish a new poll identity to change them. Never publish member-only poll content in a public repository."
}
option object

One immutable poll choice. Object shape permits future optional presentation metadata.

Properties

label string Required

Plaintext choice label. Publishers and readers reject empty or whitespace-only labels.

maxLength: 1000 bytesmaxGraphemes: 100 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "label"
  ],
  "properties": {
    "label": {
      "type": "string",
      "maxLength": 1000,
      "description": "Plaintext choice label. Publishers and readers reject empty or whitespace-only labels.",
      "maxGraphemes": 100
    }
  },
  "description": "One immutable poll choice. Object shape permits future optional presentation metadata."
}

Lexicon Garden

@