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.
tid
Timestamp-based ID
Properties
$type
string
nsid
Optional
The type of the record.
action
string
Required
The moderation action being recorded.
ban, unban, hideMessage, unhideMessage, kick, suppressEmbeds, unsuppressEmbedscreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
createdBy
string
did
Required
DID of the issuer (typically a member with the required permission).
embeds
array
of
string
uri
Optional
URLs this action applies to, used by suppressEmbeds and unsuppressEmbeds. Ignored by every other action.
reason
string
Optional
Optional human-readable reason for the action.
maxLength: 512 bytessubject
ref
lex:social.colibri.moderation#subject
Required
No description available.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"action",
"subject",
"createdBy",
"createdAt"
],
"properties": {
"$type": {
"type": "string",
"format": "nsid",
"description": "The type of the record."
},
"action": {
"type": "string",
"description": "The moderation action being recorded.",
"knownValues": [
"ban",
"unban",
"hideMessage",
"unhideMessage",
"kick",
"suppressEmbeds",
"unsuppressEmbeds"
]
},
"embeds": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "URLs this action applies to, used by suppressEmbeds and unsuppressEmbeds. Ignored by every other action."
},
"reason": {
"type": "string",
"maxLength": 512,
"description": "Optional human-readable reason for the action."
},
"subject": {
"ref": "lex:social.colibri.moderation#subject",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"createdBy": {
"type": "string",
"format": "did",
"description": "DID of the issuer (typically a member with the required permission)."
}
}
},
"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."
}