# scot.comhairle.testingPolisPollV1

> Published by [stuartlynn.bsky.social](https://lexicon.garden/identity/did:plc:bigr55vtitf7uxcfxrzknj2s)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:bigr55vtitf7uxcfxrzknj2s/scot.comhairle.testingPolisPollV1)
- [Documentation](https://lexicon.garden/lexicon/did:plc:bigr55vtitf7uxcfxrzknj2s/scot.comhairle.testingPolisPollV1/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:bigr55vtitf7uxcfxrzknj2s/scot.comhairle.testingPolisPollV1/examples)

## Definitions

### `scot.comhairle.testingPolisPollV1`

**Type**: `record`

A poll/topic for deliberation in the Polis-style system

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `topic` | `string` | Yes | The topic or question being discussed |
| `closedAt` | `string` (datetime) | No | Optional timestamp when the poll was closed to new submissions |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the poll was created |
| `description` | `string` | No | Optional longer description of the poll |

## Raw Schema

```json
{
  "id": "scot.comhairle.testingPolisPollV1",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "topic",
          "createdAt"
        ],
        "properties": {
          "topic": {
            "type": "string",
            "maxLength": 300,
            "description": "The topic or question being discussed"
          },
          "closedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Optional timestamp when the poll was closed to new submissions"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the poll was created"
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "description": "Optional longer description of the poll"
          }
        }
      },
      "description": "A poll/topic for deliberation in the Polis-style system"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
