From
bafyreigfl3ggwgoxj5m5yu5jag757lvgwdjohv4mdxoq3d4okdelvqwxsq
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreigfl3ggwgoxj5m5yu5jag757lvgwdjohv4mdxoq3d4okdelvqwxsq
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 all users with trusted editor or higher roles (admin only)",66
"errors": [77
{88
"name": "AuthenticationRequired"99
},1010
{1111
"name": "Unauthorized"1212
}1313
],1414
"output": {1515
"encoding": "application/json",1616
"schema": {1717
"properties": {1818
"cursor": {1919
"description": "Cursor for next page",2020
"type": "string"2121
},2222
"editors": {2323
"description": "List of trusted editors",2424
"items": {2525
"ref": "#trustedEditor",2626
"type": "ref"2727
},2828
"type": "array"2929
},3030
"total": {3131
"description": "Total number of editors",3232
"type": "integer"3333
}3434
},3535
"required": [3636
"editors",3737
"total"3838
],3939
"type": "object"4040
}4141
},4242
"parameters": {4343
"properties": {4444
"cursor": {4545
"description": "Pagination cursor for next page",4646
"type": "string"4747
},4848
"limit": {4949
"default": 50,5050
"description": "Maximum number of results to return",5151
"maximum": 100,5252
"minimum": 1,5353
"type": "integer"5454
},5555
"role": {5656
"description": "Filter by role",5757
"knownValues": [5858
"community-member",5959
"trusted-editor",6060
"graph-editor",6161
"domain-expert",6262
"administrator"6363
],6464
"type": "string"6565
}6666
},6767
"type": "params"6868
},6969
"type": "query"7070
},7171
"reputationMetrics": {7272
"description": "User reputation metrics for governance",7373
"properties": {7474
"accountAgeDays": {7575
"description": "Account age in days",7676
"minimum": 0,7777
"type": "integer"7878
},7979
"accountCreatedAt": {8080
"description": "Account creation timestamp",8181
"type": "integer"8282
},8383
"did": {8484
"description": "User DID",8585
"format": "did",8686
"type": "string"8787
},8888
"eligibleForTrustedEditor": {8989
"description": "Whether user meets trusted editor criteria",9090
"type": "boolean"9191
},9292
"eprintCount": {9393
"description": "Total eprints authored",9494
"minimum": 0,9595
"type": "integer"9696
},9797
"missingCriteria": {9898
"description": "List of missing eligibility criteria",9999
"items": {100100
"type": "string"101101
},102102
"type": "array"103103
},104104
"proposalCount": {105105
"description": "Governance proposals submitted",106106
"minimum": 0,107107
"type": "integer"108108
},109109
"reputationScore": {110110
"description": "Computed reputation score",111111
"minimum": 0,112112
"type": "integer"113113
},114114
"role": {115115
"description": "Current governance role",116116
"knownValues": [117117
"community-member",118118
"trusted-editor",119119
"graph-editor",120120
"domain-expert",121121
"administrator"122122
],123123
"type": "string"124124
},125125
"successfulProposals": {126126
"description": "Proposals that were approved",127127
"minimum": 0,128128
"type": "integer"129129
},130130
"totalEndorsements": {131131
"description": "Total endorsements received",132132
"minimum": 0,133133
"type": "integer"134134
},135135
"violationCount": {136136
"description": "Policy violations recorded",137137
"minimum": 0,138138
"type": "integer"139139
},140140
"voteCount": {141141
"description": "Votes cast",142142
"minimum": 0,143143
"type": "integer"144144
},145145
"warningCount": {146146
"description": "Moderation warnings received",147147
"minimum": 0,148148
"type": "integer"149149
},150150
"wellEndorsedEprintCount": {151151
"description": "Eprints with substantial endorsements",152152
"minimum": 0,153153
"type": "integer"154154
}155155
},156156
"required": [157157
"did",158158
"accountCreatedAt",159159
"accountAgeDays",160160
"eprintCount",161161
"wellEndorsedEprintCount",162162
"totalEndorsements",163163
"proposalCount",164164
"voteCount",165165
"successfulProposals",166166
"warningCount",167167
"violationCount",168168
"reputationScore",169169
"role",170170
"eligibleForTrustedEditor",171171
"missingCriteria"172172
],173173
"type": "object"174174
},175175
"trustedEditor": {176176
"description": "Trusted editor record",177177
"properties": {178178
"dailyRateLimit": {179179
"description": "Daily rate limit for delegation",180180
"minimum": 0,181181
"type": "integer"182182
},183183
"delegationExpiresAt": {184184
"description": "Delegation expiration timestamp",185185
"type": "integer"186186
},187187
"did": {188188
"description": "Editor DID",189189
"format": "did",190190
"type": "string"191191
},192192
"displayName": {193193
"description": "Editor display name",194194
"type": "string"195195
},196196
"handle": {197197
"description": "Editor handle",198198
"type": "string"199199
},200200
"hasDelegation": {201201
"description": "Whether editor has an active PDS delegation",202202
"type": "boolean"203203
},204204
"metrics": {205205
"ref": "#reputationMetrics",206206
"type": "ref"207207
},208208
"recordsCreatedToday": {209209
"description": "Records created today under delegation",210210
"minimum": 0,211211
"type": "integer"212212
},213213
"role": {214214
"description": "Current governance role",215215
"knownValues": [216216
"community-member",217217
"trusted-editor",218218
"graph-editor",219219
"domain-expert",220220
"administrator"221221
],222222
"type": "string"223223
},224224
"roleGrantedAt": {225225
"description": "Timestamp when role was granted",226226
"type": "integer"227227
},228228
"roleGrantedBy": {229229
"description": "DID of admin who granted the role",230230
"format": "did",231231
"type": "string"232232
}233233
},234234
"required": [235235
"did",236236
"role",237237
"roleGrantedAt",238238
"hasDelegation",239239
"metrics"240240
],241241
"type": "object"242242
}243243
},244244
"id": "pub.chive.governance.listTrustedEditors",245245
"lexicon": 1,246246
"revision": 1247247
}