# blog.brookie.poll.question

> Published by [evil.brookie.blog](https://lexicon.garden/identity/did:plc:xigvguflvkv2sjvh7kxq7c3x)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xigvguflvkv2sjvh7kxq7c3x/blog.brookie.poll.question)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xigvguflvkv2sjvh7kxq7c3x/blog.brookie.poll.question/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xigvguflvkv2sjvh7kxq7c3x/blog.brookie.poll.question/examples)

## Definitions

### `blog.brookie.poll.question`

**Type**: `record`

A poll published in the author's repo. Options are strong refs to blog.brookie.poll.option records created beforehand in the same repo, so the poll pins the exact option content it was published with.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `options` | `array` | Yes |  |
| `question` | `string` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "blog.brookie.poll.question",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "question",
          "options",
          "createdAt"
        ],
        "properties": {
          "options": {
            "type": "array",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 12,
            "minLength": 2
          },
          "question": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A poll published in the author's repo. Options are strong refs to blog.brookie.poll.option records created beforehand in the same repo, so the poll pins the exact option content it was published with."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
