# fyi.opensocial.board.vote

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.board.vote)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.board.vote/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.board.vote/examples)

## Definitions

### `fyi.opensocial.board.vote`

**Type**: `record`

One member's answer to a poll: their own record, in their own repo in the board's space, like an RSVP. Keyed by the thread's key, so voting again overwrites rather than adds. Everyone who can read the space can read the votes: a group poll, not a secret ballot.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `option` | `string` | Yes | The key of the option they picked. |
| `thread` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One member's answer to a poll: their own record, in their own repo in the board's space, like an RSVP. Keyed by the thread's key, so voting again overwrites rather than adds. Everyone who can read the space can read the votes: a group poll, not a secret ballot.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "option": {
            "description": "The key of the option they picked.",
            "maxLength": 64,
            "type": "string"
          },
          "thread": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "thread",
          "option",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.board.vote",
  "lexicon": 1
}
```
