From
bafyreiehhalelzvg4lhniiqurudq77ijmnipvhoiy2dfzmyghb6m27lrr4
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreiehhalelzvg4lhniiqurudq77ijmnipvhoiy2dfzmyghb6m27lrr4
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": "Get a user's vote on a specific proposal, if they have voted",66
"errors": [77
{88
"name": "NotFound"99
}1010
],1111
"output": {1212
"encoding": "application/json",1313
"schema": {1414
"properties": {1515
"vote": {1616
"description": "Vote if found, or null",1717
"refs": [1818
"#voteView"1919
],2020
"type": "union"2121
}2222
},2323
"required": [2424
"vote"2525
],2626
"type": "object"2727
}2828
},2929
"parameters": {3030
"properties": {3131
"proposalId": {3232
"description": "Proposal identifier",3333
"type": "string"3434
},3535
"userDid": {3636
"description": "User DID",3737
"format": "did",3838
"type": "string"3939
}4040
},4141
"required": [4242
"proposalId",4343
"userDid"4444
],4545
"type": "params"4646
},4747
"type": "query"4848
},4949
"voteView": {5050
"description": "View of a vote on a proposal",5151
"properties": {5252
"cid": {5353
"description": "Content identifier",5454
"type": "string"5555
},5656
"createdAt": {5757
"description": "Vote timestamp",5858
"format": "datetime",5959
"type": "string"6060
},6161
"id": {6262
"description": "Vote identifier",6363
"type": "string"6464
},6565
"proposalUri": {6666
"description": "Proposal AT-URI",6767
"format": "at-uri",6868
"type": "string"6969
},7070
"rationale": {7171
"description": "Vote rationale",7272
"type": "string"7373
},7474
"uri": {7575
"description": "Vote AT-URI",7676
"format": "at-uri",7777
"type": "string"7878
},7979
"vote": {8080
"description": "Vote value",8181
"knownValues": [8282
"approve",8383
"reject",8484
"abstain",8585
"request-changes"8686
],8787
"type": "string"8888
},8989
"voterDid": {9090
"description": "Voter DID",9191
"format": "did",9292
"type": "string"9393
},9494
"voterRole": {9595
"description": "Voter governance role",9696
"knownValues": [9797
"community-member",9898
"reviewer",9999
"domain-expert",100100
"administrator"101101
],102102
"type": "string"103103
},104104
"weight": {105105
"description": "Weighted vote value (scaled by 1000 for 0.0-1.0 range)",106106
"maximum": 1000,107107
"minimum": 0,108108
"type": "integer"109109
}110110
},111111
"required": [112112
"id",113113
"uri",114114
"cid",115115
"proposalUri",116116
"voterDid",117117
"voterRole",118118
"vote",119119
"weight",120120
"createdAt"121121
],122122
"type": "object"123123
}124124
},125125
"id": "pub.chive.governance.getUserVote",126126
"lexicon": 1,127127
"revision": 1128128
}