us.off-the-clock.polls.pollView
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A us.off-the-clock.polls.poll with its results: a row per option key, then a row per distinct typed answer under an option that takes input. There is no anonymous voting: the rows name their voters.",
"properties": {
"author": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"cid": {
"format": "cid",
"type": "string"
},
"closesAt": {
"format": "datetime",
"type": "string"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"labels": {
"items": {
"ref": "com.atproto.label.defs#label",
"type": "ref"
},
"type": "array"
},
"opensAt": {
"format": "datetime",
"type": "string"
},
"prompt": {
"type": "string"
},
"record": {
"description": "The poll as written.",
"type": "unknown"
},
"replyCount": {
"minimum": 0,
"type": "integer"
},
"results": {
"items": {
"ref": "#result",
"type": "ref"
},
"type": "array"
},
"state": {
"knownValues": [
"pending",
"open",
"closed"
],
"maxLength": 32,
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"viewerVote": {
"ref": "#viewerVote",
"type": "ref"
},
"voters": {
"description": "Members with a counting vote, abstentions included.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"uri",
"cid",
"author",
"record",
"prompt",
"results",
"voters",
"state",
"replyCount",
"indexedAt"
],
"type": "object"
},
"result": {
"description": "The votes for one key with no typed answer, or for one typed answer (compared trimmed and without case, shown as first typed).",
"properties": {
"input": {
"maxLength": 1000,
"type": "string"
},
"key": {
"maxLength": 64,
"type": "string"
},
"recentVoters": {
"description": "Up to three of the row's voters, newest first; every one with getPoll's allVoters.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"votes": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"key",
"votes",
"recentVoters"
],
"type": "object"
},
"viewerVote": {
"properties": {
"uri": {
"format": "at-uri",
"type": "string"
},
"votes": {
"items": {
"ref": "us.off-the-clock.polls.vote#entry",
"type": "ref"
},
"type": "array"
}
},
"required": [
"uri",
"votes"
],
"type": "object"
}
},
"id": "us.off-the-clock.polls.pollView",
"lexicon": 1
}
Metadata
- DID
-
did:plc:tevv7zpavtjtsvqrrwwipobt - CID
-
bafyreicuvkr4yp35wuos522dj4ffrlkm24dkclx6d66onqw2ydx2bq4wvy - Indexed At
- 2026-10-26 23:37 UTC
- AT-URI
-
at://did:plc:tevv7zpavtjtsvqrrwwipobt/com.atproto.lexicon.schema/us.off-the-clock.polls.pollView
Referenced Schemas (3)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
us.off-the-clock.polls.vote record
A member's answer to a us.off-the-clock.polls.poll in the same space. The member's newest vote counts; one with no entries is an abstention. Votes are records in the space, so every member who reads it can see who voted…
-
us.off-the-clock.polls.poll record
A question a member asks a content space, with two to ten options that members answer with us.off-the-clock.polls.vote records. Each option is named by a key that stays the same when the poll is edited, so votes follow …
-
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.
-
A poll posted within the fella space.
-
tech.tokimeki.poll.poll record
A poll record. Lives in the author's own repo, either as a public record (attached to a post via embed.external and indexed from the firehose) or inside an ATProto Space (permissioned data), where the AppView is told ab…