pub.chive.governance.getEditorStatus

chive.pub

{
  "id": "pub.chive.governance.getEditorStatus",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "ref": "#editorStatus",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "User DID (defaults to authenticated user)"
          }
        }
      },
      "description": "Get the trusted editor status and reputation metrics for a user"
    },
    "editorStatus": {
      "type": "object",
      "required": [
        "did",
        "role",
        "hasDelegation",
        "metrics"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "User DID"
        },
        "role": {
          "type": "string",
          "description": "Current governance role",
          "knownValues": [
            "community-member",
            "trusted-editor",
            "graph-editor",
            "domain-expert",
            "administrator"
          ]
        },
        "metrics": {
          "ref": "#reputationMetrics",
          "type": "ref"
        },
        "displayName": {
          "type": "string",
          "description": "User display name"
        },
        "hasDelegation": {
          "type": "boolean",
          "description": "Whether user has an active PDS delegation"
        },
        "roleGrantedAt": {
          "type": "integer",
          "description": "Timestamp when role was granted"
        },
        "roleGrantedBy": {
          "type": "string",
          "format": "did",
          "description": "DID of admin who granted the role"
        },
        "dailyRateLimit": {
          "type": "integer",
          "minimum": 0,
          "description": "Daily rate limit for delegation"
        },
        "delegationExpiresAt": {
          "type": "integer",
          "description": "Delegation expiration timestamp"
        },
        "recordsCreatedToday": {
          "type": "integer",
          "minimum": 0,
          "description": "Records created today under delegation"
        },
        "delegationCollections": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Collections the delegation covers"
        }
      },
      "description": "Editor status and metrics"
    },
    "reputationMetrics": {
      "type": "object",
      "required": [
        "did",
        "accountCreatedAt",
        "accountAgeDays",
        "eprintCount",
        "wellEndorsedEprintCount",
        "totalEndorsements",
        "proposalCount",
        "voteCount",
        "successfulProposals",
        "warningCount",
        "violationCount",
        "reputationScore",
        "role",
        "eligibleForTrustedEditor",
        "missingCriteria"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "User DID"
        },
        "role": {
          "type": "string",
          "description": "Current governance role",
          "knownValues": [
            "community-member",
            "trusted-editor",
            "graph-editor",
            "domain-expert",
            "administrator"
          ]
        },
        "voteCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Votes cast"
        },
        "eprintCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Total eprints authored"
        },
        "warningCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Moderation warnings received"
        },
        "proposalCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Governance proposals submitted"
        },
        "accountAgeDays": {
          "type": "integer",
          "minimum": 0,
          "description": "Account age in days"
        },
        "violationCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Policy violations recorded"
        },
        "missingCriteria": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of missing eligibility criteria"
        },
        "reputationScore": {
          "type": "integer",
          "minimum": 0,
          "description": "Computed reputation score"
        },
        "accountCreatedAt": {
          "type": "integer",
          "description": "Account creation timestamp"
        },
        "totalEndorsements": {
          "type": "integer",
          "minimum": 0,
          "description": "Total endorsements received"
        },
        "successfulProposals": {
          "type": "integer",
          "minimum": 0,
          "description": "Proposals that were approved"
        },
        "wellEndorsedEprintCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Eprints with substantial endorsements"
        },
        "eligibleForTrustedEditor": {
          "type": "boolean",
          "description": "Whether user meets trusted editor criteria"
        }
      },
      "description": "User reputation metrics for governance"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.governance.getEditorStatus

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreigrt6hpqqnz2gv4ikfnw7lpm2tacopid2n5anfoltrquyqqlmmmvm
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.governance.getEditorStatus

Lexicon Garden

@