{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One poll of a content space the viewer reads, with its results counted now: each member's newest vote cast between opensAt and closesAt by a member the viewer may see.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotSpaceMember"
        },
        {
          "name": "RecordNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "us.off-the-clock.polls.pollView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "allVoters": {
            "default": false,
            "description": "Every voter in each result row's recentVoters, newest first, rather than three: the poll's own page lists them all.",
            "type": "boolean"
          },
          "uri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.polls.getPoll",
  "lexicon": 1
}
