From
bafyreihhxafmcatbpxlyy4qtkzys57kd2zdq4qj25pk6rqyntypqwihoya
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreihhxafmcatbpxlyy4qtkzys57kd2zdq4qj25pk6rqyntypqwihoya
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
"consensusProgress": {55
"properties": {66
"approvalPercentage": {77
"description": "Current approval percentage (0-100)",88
"maximum": 100,99
"minimum": 0,1010
"type": "integer"1111
},1212
"consensusReached": {1313
"description": "Whether consensus has been reached",1414
"type": "boolean"1515
},1616
"minimumVotes": {1717
"description": "Minimum votes required",1818
"minimum": 0,1919
"type": "integer"2020
},2121
"recommendedStatus": {2222
"description": "Recommended status based on votes",2323
"knownValues": [2424
"approved",2525
"rejected",2626
"pending"2727
],2828
"type": "string"2929
},3030
"threshold": {3131
"description": "Required threshold for approval (0-100)",3232
"maximum": 100,3333
"minimum": 0,3434
"type": "integer"3535
},3636
"voterCount": {3737
"description": "Number of voters",3838
"minimum": 0,3939
"type": "integer"4040
}4141
},4242
"required": [4343
"approvalPercentage",4444
"threshold",4545
"voterCount",4646
"minimumVotes",4747
"consensusReached",4848
"recommendedStatus"4949
],5050
"type": "object"5151
},5252
"externalId": {5353
"properties": {5454
"identifier": {5555
"description": "Identifier in external system",5656
"type": "string"5757
},5858
"matchType": {5959
"description": "Match type",6060
"knownValues": [6161
"exact",6262
"close",6363
"broader",6464
"narrower",6565
"related"6666
],6767
"type": "string"6868
},6969
"system": {7070
"description": "External system name",7171
"type": "string"7272
},7373
"uri": {7474
"description": "URI in external system",7575
"format": "uri",7676
"type": "string"7777
}7878
},7979
"required": [8080
"system",8181
"identifier"8282
],8383
"type": "object"8484
},8585
"main": {8686
"description": "Get a single governance proposal by ID with full enrichment",8787
"errors": [8888
{8989
"name": "NotFound"9090
}9191
],9292
"output": {9393
"encoding": "application/json",9494
"schema": {9595
"ref": "#proposalView",9696
"type": "ref"9797
}9898
},9999
"parameters": {100100
"properties": {101101
"proposalId": {102102
"description": "Proposal identifier",103103
"type": "string"104104
}105105
},106106
"required": [107107
"proposalId"108108
],109109
"type": "params"110110
},111111
"type": "query"112112
},113113
"proposalChanges": {114114
"description": "Proposed changes to a node",115115
"properties": {116116
"alternateLabels": {117117
"description": "Alternate labels",118118
"items": {119119
"type": "string"120120
},121121
"type": "array"122122
},123123
"description": {124124
"description": "Node description",125125
"type": "string"126126
},127127
"externalIds": {128128
"description": "External identifiers",129129
"items": {130130
"ref": "#externalId",131131
"type": "ref"132132
},133133
"type": "array"134134
},135135
"kind": {136136
"description": "Node kind",137137
"knownValues": [138138
"type",139139
"object"140140
],141141
"type": "string"142142
},143143
"label": {144144
"description": "Node label",145145
"type": "string"146146
},147147
"mergeIntoUri": {148148
"description": "Merge target URI",149149
"format": "at-uri",150150
"type": "string"151151
},152152
"metadata": {153153
"description": "Additional metadata",154154
"type": "unknown"155155
},156156
"subkind": {157157
"description": "Node subkind",158158
"type": "string"159159
},160160
"targetUri": {161161
"description": "Target URI for update/deprecate",162162
"format": "at-uri",163163
"type": "string"164164
}165165
},166166
"type": "object"167167
},168168
"proposalView": {169169
"description": "View of a governance proposal",170170
"properties": {171171
"changes": {172172
"description": "Proposed changes",173173
"ref": "#proposalChanges",174174
"type": "ref"175175
},176176
"cid": {177177
"description": "Content identifier",178178
"type": "string"179179
},180180
"consensus": {181181
"ref": "#consensusProgress",182182
"type": "ref"183183
},184184
"createdAt": {185185
"description": "Creation timestamp",186186
"format": "datetime",187187
"type": "string"188188
},189189
"expiresAt": {190190
"description": "Expiration timestamp",191191
"format": "datetime",192192
"type": "string"193193
},194194
"id": {195195
"description": "Proposal identifier",196196
"type": "string"197197
},198198
"label": {199199
"description": "Node label (from target node or proposed changes)",200200
"type": "string"201201
},202202
"nodeUri": {203203
"description": "Target node URI (for update/merge/deprecate)",204204
"format": "at-uri",205205
"type": "string"206206
},207207
"proposedBy": {208208
"description": "DID of the proposer",209209
"format": "did",210210
"type": "string"211211
},212212
"proposerName": {213213
"description": "Display name of the proposer",214214
"type": "string"215215
},216216
"rationale": {217217
"description": "Rationale for the proposal",218218
"type": "string"219219
},220220
"status": {221221
"description": "Current proposal status",222222
"knownValues": [223223
"pending",224224
"approved",225225
"rejected",226226
"expired"227227
],228228
"type": "string"229229
},230230
"type": {231231
"description": "Proposal type",232232
"knownValues": [233233
"create",234234
"update",235235
"merge",236236
"deprecate"237237
],238238
"type": "string"239239
},240240
"updatedAt": {241241
"description": "Last update timestamp",242242
"format": "datetime",243243
"type": "string"244244
},245245
"uri": {246246
"description": "Proposal AT-URI",247247
"format": "at-uri",248248
"type": "string"249249
},250250
"votes": {251251
"ref": "#voteCounts",252252
"type": "ref"253253
}254254
},255255
"required": [256256
"id",257257
"uri",258258
"cid",259259
"type",260260
"changes",261261
"status",262262
"proposedBy",263263
"votes",264264
"consensus",265265
"createdAt"266266
],267267
"type": "object"268268
},269269
"voteCounts": {270270
"properties": {271271
"abstain": {272272
"description": "Number of abstain votes",273273
"minimum": 0,274274
"type": "integer"275275
},276276
"approve": {277277
"description": "Number of approve votes",278278
"minimum": 0,279279
"type": "integer"280280
},281281
"reject": {282282
"description": "Number of reject votes",283283
"minimum": 0,284284
"type": "integer"285285
}286286
},287287
"required": [288288
"approve",289289
"reject",290290
"abstain"291291
],292292
"type": "object"293293
}294294
},295295
"id": "pub.chive.governance.getProposal",296296
"lexicon": 1,297297
"revision": 1298298
}