social.colibri.beta.moderation

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.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritybeta.colibri.social
Indexed
cid bafyreiaudhubpjgqxex47rro36aguf5lnotei5rwkb4jw6rjwx6p3lptvm

Checks

Valid
  • unlimited-string defs.main.record.properties.actionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "key": "tid",
      "record": {
        "properties": {
          "action": {
            "description": "The action taken.",
            "knownValues": [
              "ban",
              "unban",
              "kick"
            ],
            "type": "string"
          },
          "createdAt": {
            "description": "When the action was taken.",
            "format": "datetime",
            "type": "string"
          },
          "createdBy": {
            "description": "DID of the moderator who took the action.",
            "format": "did",
            "type": "string"
          },
          "reason": {
            "description": "Human-readable reason.",
            "maxLength": 512,
            "type": "string"
          },
          "subject": {
            "description": "The member the action was taken against.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "action",
          "subject",
          "createdBy",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.colibri.beta.moderation",
  "lexicon": 1
}