# scot.comhairle.testingPolisStatementV1

> 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.testingPolisStatementV1)
- [Documentation](https://lexicon.garden/lexicon/did:plc:bigr55vtitf7uxcfxrzknj2s/scot.comhairle.testingPolisStatementV1/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:bigr55vtitf7uxcfxrzknj2s/scot.comhairle.testingPolisStatementV1/examples)

## Definitions

### `scot.comhairle.testingPolisStatementV1`

**Type**: `record`

A statement in the Polis-style deliberation system

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `poll` | `ref` → `#pollRef` | Yes | Reference to the poll this statement belongs to |
| `text` | `string` | Yes | The text content of the statement |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the statement was created |

### `scot.comhairle.testingPolisStatementV1#pollRef`

**Type**: `object`

Reference to a poll record

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | Content identifier of the poll record |
| `uri` | `string` (at-uri) | Yes | AT-URI of the poll record |

## Raw Schema

```json
{
  "id": "scot.comhairle.testingPolisStatementV1",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "poll",
          "createdAt"
        ],
        "properties": {
          "poll": {
            "ref": "#pollRef",
            "type": "ref",
            "description": "Reference to the poll this statement belongs to"
          },
          "text": {
            "type": "string",
            "maxLength": 3000,
            "description": "The text content of the statement"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the statement was created"
          }
        }
      },
      "description": "A statement in the Polis-style deliberation system"
    },
    "pollRef": {
      "type": "object",
      "required": [
        "uri",
        "cid"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "Content identifier of the poll record"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the poll record"
        }
      },
      "description": "Reference to a poll record"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
