pub.chive.governance.listTrustedEditors

lexicons.governance.chive.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List all users with trusted editor or higher roles (admin only)",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "Unauthorized"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Cursor for next page",
              "type": "string"
            },
            "editors": {
              "description": "List of trusted editors",
              "items": {
                "ref": "#trustedEditor",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "Total number of editors",
              "type": "integer"
            }
          },
          "required": [
            "editors",
            "total"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor for next page",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of results to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "role": {
            "description": "Filter by role",
            "knownValues": [
              "community-member",
              "trusted-editor",
              "graph-editor",
              "domain-expert",
              "administrator"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "reputationMetrics": {
      "description": "User reputation metrics for governance",
      "properties": {
        "accountAgeDays": {
          "description": "Account age in days",
          "minimum": 0,
          "type": "integer"
        },
        "accountCreatedAt": {
          "description": "Account creation timestamp",
          "type": "integer"
        },
        "did": {
          "description": "User DID",
          "format": "did",
          "type": "string"
        },
        "eligibleForTrustedEditor": {
          "description": "Whether user meets trusted editor criteria",
          "type": "boolean"
        },
        "eprintCount": {
          "description": "Total eprints authored",
          "minimum": 0,
          "type": "integer"
        },
        "missingCriteria": {
          "description": "List of missing eligibility criteria",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "proposalCount": {
          "description": "Governance proposals submitted",
          "minimum": 0,
          "type": "integer"
        },
        "reputationScore": {
          "description": "Computed reputation score",
          "minimum": 0,
          "type": "integer"
        },
        "role": {
          "description": "Current governance role",
          "knownValues": [
            "community-member",
            "trusted-editor",
            "graph-editor",
            "domain-expert",
            "administrator"
          ],
          "type": "string"
        },
        "successfulProposals": {
          "description": "Proposals that were approved",
          "minimum": 0,
          "type": "integer"
        },
        "totalEndorsements": {
          "description": "Total endorsements received",
          "minimum": 0,
          "type": "integer"
        },
        "violationCount": {
          "description": "Policy violations recorded",
          "minimum": 0,
          "type": "integer"
        },
        "voteCount": {
          "description": "Votes cast",
          "minimum": 0,
          "type": "integer"
        },
        "warningCount": {
          "description": "Moderation warnings received",
          "minimum": 0,
          "type": "integer"
        },
        "wellEndorsedEprintCount": {
          "description": "Eprints with substantial endorsements",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "did",
        "accountCreatedAt",
        "accountAgeDays",
        "eprintCount",
        "wellEndorsedEprintCount",
        "totalEndorsements",
        "proposalCount",
        "voteCount",
        "successfulProposals",
        "warningCount",
        "violationCount",
        "reputationScore",
        "role",
        "eligibleForTrustedEditor",
        "missingCriteria"
      ],
      "type": "object"
    },
    "trustedEditor": {
      "description": "Trusted editor record",
      "properties": {
        "dailyRateLimit": {
          "description": "Daily rate limit for delegation",
          "minimum": 0,
          "type": "integer"
        },
        "delegationExpiresAt": {
          "description": "Delegation expiration timestamp",
          "type": "integer"
        },
        "did": {
          "description": "Editor DID",
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "description": "Editor display name",
          "type": "string"
        },
        "handle": {
          "description": "Editor handle",
          "type": "string"
        },
        "hasDelegation": {
          "description": "Whether editor has an active PDS delegation",
          "type": "boolean"
        },
        "metrics": {
          "ref": "#reputationMetrics",
          "type": "ref"
        },
        "recordsCreatedToday": {
          "description": "Records created today under delegation",
          "minimum": 0,
          "type": "integer"
        },
        "role": {
          "description": "Current governance role",
          "knownValues": [
            "community-member",
            "trusted-editor",
            "graph-editor",
            "domain-expert",
            "administrator"
          ],
          "type": "string"
        },
        "roleGrantedAt": {
          "description": "Timestamp when role was granted",
          "type": "integer"
        },
        "roleGrantedBy": {
          "description": "DID of admin who granted the role",
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did",
        "role",
        "roleGrantedAt",
        "hasDelegation",
        "metrics"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.governance.listTrustedEditors",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.governance.listTrustedEditors

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:egjghlwgts2hlcer2txilxeh
CID
bafyreigfl3ggwgoxj5m5yu5jag757lvgwdjohv4mdxoq3d4okdelvqwxsq
Indexed At
2026-06-18 13:14 UTC
AT-URI
at://did:plc:egjghlwgts2hlcer2txilxeh/com.atproto.lexicon.schema/pub.chive.governance.listTrustedEditors

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@