full diff

us.off-the-clock.polls.pollView

From
bafyreicuvkr4yp35wuos522dj4ffrlkm24dkclx6d66onqw2ydx2bq4wvy indexed 2026-10-26 23:37 UTC View this version
To
bafyreige7cplgdwbvju3xshzmrf5gglmccsl62zp7ox66qdfeipuomrb24 indexed 2026-11-10 03:55 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.defs#warningView" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.polls.pollView.warnings" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.polls.pollView.warnings:items" }
  • AddedEdge AddedEdge { src: "us.off-the-clock.polls.pollView", tgt: "us.off-the-clock.polls.pollView.warnings", kind: "prop", name: Some("warnings") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.polls.pollView.warnings", tgt: "us.off-the-clock.polls.pollView.warnings:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "us.off-the-clock.polls.pollView.warnings:items", tgt: "us.off-the-clock.defs#warningView", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "us.off-the-clock.defs#warningView" }
  • AddedVertex { vertex_id: "us.off-the-clock.polls.pollView.warnings" }
  • AddedVertex { vertex_id: "us.off-the-clock.polls.pollView.warnings:items" }

Notes

  • Non-breaking: AddedEdge { src: "us.off-the-clock.polls.pollView", tgt: "us.off-the-clock.polls.pollView.warnings", kind: "prop", name: Some("warnings") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.polls.pollView.warnings", tgt: "us.off-the-clock.polls.pollView.warnings:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.polls.pollView.warnings:items", tgt: "us.off-the-clock.defs#warningView", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "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.",
66 "properties": {
77 "author": {
88 "ref": "app.bsky.actor.defs#profileViewBasic",
99 "type": "ref"
1010 },
1111 "cid": {
1212 "format": "cid",
1313 "type": "string"
1414 },
1515 "closesAt": {
1616 "format": "datetime",
1717 "type": "string"
1818 },
1919 "indexedAt": {
2020 "format": "datetime",
2121 "type": "string"
2222 },
2323 "labels": {
2424 "items": {
2525 "ref": "com.atproto.label.defs#label",
2626 "type": "ref"
2727 },
2828 "type": "array"
2929 },
3030 "opensAt": {
3131 "format": "datetime",
3232 "type": "string"
3333 },
3434 "prompt": {
3535 "type": "string"
3636 },
3737 "record": {
3838 "description": "The poll as written.",
3939 "type": "unknown"
4040 },
4141 "replyCount": {
4242 "minimum": 0,
4343 "type": "integer"
4444 },
4545 "results": {
4646 "items": {
4747 "ref": "#result",
4848 "type": "ref"
4949 },
5050 "type": "array"
5151 },
5252 "state": {
5353 "knownValues": [
5454 "pending",
5555 "open",
5656 "closed"
5757 ],
5858 "maxLength": 32,
5959 "type": "string"
6060 },
6161 "uri": {
6262 "format": "at-uri",
6363 "type": "string"
6464 },
6565 "viewerVote": {
6666 "ref": "#viewerVote",
6767 "type": "ref"
6868 },
6969 "voters": {
7070 "description": "Members with a counting vote, abstentions included.",
7171 "minimum": 0,
7272 "type": "integer"
73 },
74 "warnings": {
75 "description": "The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).",
76 "items": {
77 "ref": "us.off-the-clock.defs#warningView",
78 "type": "ref"
79 },
80 "type": "array"
7381 }
7482 },
7583 "required": [
7684 "uri",
7785 "cid",
7886 "author",
7987 "record",
8088 "prompt",
8189 "results",
8290 "voters",
8391 "state",
8492 "replyCount",
8593 "indexedAt"
8694 ],
8795 "type": "object"
8896 },
8997 "result": {
9098 "description": "The votes for one key with no typed answer, or for one typed answer (compared trimmed and without case, shown as first typed).",
9199 "properties": {
92100 "input": {
93101 "maxLength": 1000,
94102 "type": "string"
95103 },
96104 "key": {
97105 "maxLength": 64,
98106 "type": "string"
99107 },
100108 "recentVoters": {
101109 "description": "Up to three of the row's voters, newest first; every one with getPoll's allVoters.",
102110 "items": {
103111 "ref": "app.bsky.actor.defs#profileViewBasic",
104112 "type": "ref"
105113 },
106114 "type": "array"
107115 },
108116 "votes": {
109117 "minimum": 0,
110118 "type": "integer"
111119 }
112120 },
113121 "required": [
114122 "key",
115123 "votes",
116124 "recentVoters"
117125 ],
118126 "type": "object"
119127 },
120128 "viewerVote": {
121129 "properties": {
122130 "uri": {
123131 "format": "at-uri",
124132 "type": "string"
125133 },
126134 "votes": {
127135 "items": {
128136 "ref": "us.off-the-clock.polls.vote#entry",
129137 "type": "ref"
130138 },
131139 "type": "array"
132140 }
133141 },
134142 "required": [
135143 "uri",
136144 "votes"
137145 ],
138146 "type": "object"
139147 }
140148 },
141149 "id": "us.off-the-clock.polls.pollView",
142150 "lexicon": 1
143151}

Compare other versions