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