app.protoimsg.chat.ban
A ban issued by a room owner or moderator. Lives in the issuer's repo.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | chat.protoimsg.app |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A ban issued by a room owner or moderator. Lives in the issuer's repo.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"description": "Timestamp of ban.",
"format": "datetime",
"type": "string"
},
"reason": {
"description": "Reason for the ban.",
"maxLength": 300,
"type": "string"
},
"room": {
"description": "AT-URI of the room the ban applies to.",
"format": "at-uri",
"type": "string"
},
"subject": {
"description": "DID of the banned user.",
"format": "did",
"type": "string"
}
},
"required": [
"room",
"subject",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.protoimsg.chat.ban",
"lexicon": 1
}