social.colibri.moderation
A moderation event scoped to the community that owns this repo. Acts as an append-only audit log; current state is derived from the action history per subject.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | colibri.social |
| Indexed |
Checks
Validfield-name-syntaxdefs.main.record.properties.$typeThe field name $type should be letters and digits, starting with a letter.unlimited-stringdefs.main.record.properties.actionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A moderation event scoped to the community that owns this repo. Acts as an append-only audit log; current state is derived from the action history per subject.",
"key": "tid",
"record": {
"properties": {
"$type": {
"description": "The type of the record.",
"format": "nsid",
"type": "string"
},
"action": {
"description": "The moderation action being recorded.",
"knownValues": [
"ban",
"unban",
"hideMessage",
"unhideMessage",
"kick",
"suppressEmbeds",
"unsuppressEmbeds"
],
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"createdBy": {
"description": "DID of the issuer (typically a member with the required permission).",
"format": "did",
"type": "string"
},
"embeds": {
"description": "URLs this action applies to, used by suppressEmbeds and unsuppressEmbeds. Ignored by every other action.",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"reason": {
"description": "Optional human-readable reason for the action.",
"maxLength": 512,
"type": "string"
},
"subject": {
"ref": "lex:social.colibri.moderation#subject",
"type": "ref"
}
},
"required": [
"action",
"subject",
"createdBy",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"subject": {
"description": "Target of the moderation action. Use `did` for user-targeted actions, `uri` for content-targeted actions.",
"properties": {
"did": {
"format": "did",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"type": "object"
}
},
"id": "social.colibri.moderation",
"lexicon": 1,
"revision": 2
}