{
"id": "pub.chive.governance.grantDelegation",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"delegateDid",
"collections",
"daysValid"
],
"properties": {
"daysValid": {
"type": "integer",
"default": 365,
"maximum": 365,
"minimum": 1,
"description": "Number of days the delegation is valid"
},
"collections": {
"type": "array",
"items": {
"type": "string"
},
"minLength": 1,
"description": "NSID collections the delegation covers"
},
"delegateDid": {
"type": "string",
"format": "did",
"description": "DID of the user to delegate to"
},
"maxRecordsPerDay": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum records delegate can create per day"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Unauthorized"
},
{
"name": "InvalidRequest"
}
],
"output": {
"schema": {
"ref": "#delegationResult",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Grant PDS delegation to a trusted editor. Only accessible to administrators. Delegation allows the user to write records to the Governance PDS."
},
"delegationResult": {
"type": "object",
"required": [
"success",
"message"
],
"properties": {
"message": {
"type": "string",
"description": "Human-readable result message"
},
"success": {
"type": "boolean",
"description": "Whether the operation succeeded"
},
"delegationId": {
"type": "string",
"description": "Delegation ID (if created)"
}
},
"description": "Result of delegation operation"
}
},
"$type": "com.atproto.lexicon.schema",
"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