# support.supper.poll.poll

> Published by [supper.support](https://lexicon.garden/identity/did:plc:mcsqdltevtjpu26xthzzmm2l)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.poll.poll)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.poll.poll/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.poll.poll/examples)

## Definitions

### `support.supper.poll.poll`

**Type**: `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.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes | Plaintext poll question. Publishers and readers reject empty or whitespace-only questions. |
| `options` | `array` | Yes | Ordered choices; a vote option is the zero-based position. Never reorder, replace or remove choices on a published poll. |
| `createdAt` | `string` (datetime) | Yes | Time the poll was originally published. |

### `support.supper.poll.poll#option`

**Type**: `object`

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

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `label` | `string` | Yes | Plaintext choice label. Publishers and readers reject empty or whitespace-only labels. |

## Raw Schema

```json
{
  "id": "support.supper.poll.poll",
  "defs": {
    "main": {
      "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": {
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
