pub.chive.governance.grantDelegation
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"delegationResult": {
"description": "Result of delegation operation",
"properties": {
"delegationId": {
"description": "Delegation ID (if created)",
"type": "string"
},
"message": {
"description": "Human-readable result message",
"type": "string"
},
"success": {
"description": "Whether the operation succeeded",
"type": "boolean"
}
},
"required": [
"success",
"message"
],
"type": "object"
},
"main": {
"description": "Grant PDS delegation to a trusted editor. Only accessible to administrators. Delegation allows the user to write records to the Governance PDS.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Unauthorized"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"collections": {
"description": "NSID collections the delegation covers",
"items": {
"type": "string"
},
"minLength": 1,
"type": "array"
},
"daysValid": {
"default": 365,
"description": "Number of days the delegation is valid",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"delegateDid": {
"description": "DID of the user to delegate to",
"format": "did",
"type": "string"
},
"maxRecordsPerDay": {
"default": 100,
"description": "Maximum records delegate can create per day",
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"delegateDid",
"collections",
"daysValid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#delegationResult",
"type": "ref"
}
},
"type": "procedure"
}
},
"id": "pub.chive.governance.grantDelegation",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e - CID
-
bafyreiah4tu7vsj4rstxzotypesj4jwwms4pxsowbymof2uceif6qygwni - Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.governance.grantDelegation
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
List active PDS delegations. Only accessible by administrators.
-
pub.chive.governance.revokeDelegation procedure
Revoke an active PDS delegation. Only accessible to administrators.
-
Delegation grant from a human to an agent. Lives on the grantor's (human's) PDS. Accumulating record keyed by TID (one per delegation).