full diff

pub.chive.governance.listVotes

From
bafyreidasu4s7t6why4ccrhhslbtqrgpw365hpilnttkqqp3e7xv6ic4la indexed 2026-06-18 13:14 UTC View this version
To
bafyreidasu4s7t6why4ccrhhslbtqrgpw365hpilnttkqqp3e7xv6ic4la indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "List votes for a specific governance proposal",
66 "errors": [],
77 "output": {
88 "encoding": "application/json",
99 "schema": {
1010 "properties": {
1111 "cursor": {
1212 "description": "Cursor for next page",
1313 "type": "string"
1414 },
1515 "total": {
1616 "description": "Total number of votes",
1717 "type": "integer"
1818 },
1919 "votes": {
2020 "description": "List of votes",
2121 "items": {
2222 "ref": "#voteView",
2323 "type": "ref"
2424 },
2525 "type": "array"
2626 }
2727 },
2828 "required": [
2929 "votes",
3030 "total"
3131 ],
3232 "type": "object"
3333 }
3434 },
3535 "parameters": {
3636 "properties": {
3737 "cursor": {
3838 "description": "Pagination cursor for next page",
3939 "type": "string"
4040 },
4141 "limit": {
4242 "default": 100,
4343 "description": "Maximum number of results to return",
4444 "maximum": 100,
4545 "minimum": 1,
4646 "type": "integer"
4747 },
4848 "proposalId": {
4949 "description": "Proposal identifier",
5050 "type": "string"
5151 }
5252 },
5353 "required": [
5454 "proposalId"
5555 ],
5656 "type": "params"
5757 },
5858 "type": "query"
5959 },
6060 "voteView": {
6161 "description": "View of a vote on a proposal",
6262 "properties": {
6363 "cid": {
6464 "description": "Content identifier",
6565 "type": "string"
6666 },
6767 "createdAt": {
6868 "description": "Vote timestamp",
6969 "format": "datetime",
7070 "type": "string"
7171 },
7272 "id": {
7373 "description": "Vote identifier",
7474 "type": "string"
7575 },
7676 "proposalUri": {
7777 "description": "Proposal AT-URI",
7878 "format": "at-uri",
7979 "type": "string"
8080 },
8181 "rationale": {
8282 "description": "Vote rationale",
8383 "type": "string"
8484 },
8585 "uri": {
8686 "description": "Vote AT-URI",
8787 "format": "at-uri",
8888 "type": "string"
8989 },
9090 "vote": {
9191 "description": "Vote value",
9292 "knownValues": [
9393 "approve",
9494 "reject",
9595 "abstain",
9696 "request-changes"
9797 ],
9898 "type": "string"
9999 },
100100 "voterDid": {
101101 "description": "Voter DID",
102102 "format": "did",
103103 "type": "string"
104104 },
105105 "voterName": {
106106 "description": "Voter display name",
107107 "type": "string"
108108 },
109109 "voterRole": {
110110 "description": "Voter governance role",
111111 "knownValues": [
112112 "community-member",
113113 "reviewer",
114114 "domain-expert",
115115 "administrator"
116116 ],
117117 "type": "string"
118118 },
119119 "weight": {
120120 "description": "Weighted vote value (scaled by 1000 for 0.0-1.0 range)",
121121 "maximum": 1000,
122122 "minimum": 0,
123123 "type": "integer"
124124 }
125125 },
126126 "required": [
127127 "id",
128128 "uri",
129129 "cid",
130130 "proposalUri",
131131 "voterDid",
132132 "voterRole",
133133 "vote",
134134 "weight",
135135 "createdAt"
136136 ],
137137 "type": "object"
138138 }
139139 },
140140 "id": "pub.chive.governance.listVotes",
141141 "lexicon": 1,
142142 "revision": 1
143143}