{
"id": "social.colibri.beta.moderation",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"action",
"subject",
"createdBy",
"createdAt"
],
"properties": {
"action": {
"type": "string",
"description": "The action taken.",
"knownValues": [
"ban",
"unban",
"kick"
]
},
"reason": {
"type": "string",
"maxLength": 512,
"description": "Human-readable reason."
},
"subject": {
"type": "string",
"format": "did",
"description": "The member the action was taken against."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the action was taken."
},
"createdBy": {
"type": "string",
"format": "did",
"description": "DID of the moderator who took the action."
}
}
},
"description": "An audit log entry for a moderation action taken by the community. Enforcement is the space authority declining to issue credentials, and this records that it happened."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}