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