{
"id": "town.muni.arbiter.updateDidDoc",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"did",
"config"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The DID to update the document for."
},
"config": {
"ref": "town.muni.arbiter.defs#didDocConfig",
"type": "ref",
"description": "Updated DID document configuration."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "ErrDidNotManaged",
"description": "The specified DID is not managed by this service."
},
{
"name": "ErrPermissionDenied",
"description": "The requesting user is not allowed to make the request."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
}
}
},
"encoding": "application/json"
},
"description": "Update the DID doc for a DID that is hosted by this service."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}