{
"id": "chat.yakka.grant",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"subject",
"role",
"createdAt"
],
"properties": {
"role": {
"type": "string",
"format": "at-uri",
"description": "The chat.yakka.role record granted."
},
"subject": {
"type": "string",
"format": "did",
"description": "The member holding the role."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
},
"description": "One member holds one role. Authority-written (ADR 0006) — a member cannot grant themselves a role, which is why this is not self-written the way membership is. The mint reads these to decide gated-channel credentials (ADR 0007)."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}