social.colibri.beta.moderation

colibri.social

Documentation

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.

main record

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.

Record Key tid Timestamp-based ID

Properties

action string Required

The action taken.

Known values: ban, unban, kick
createdAt string datetime Required

When the action was taken.

createdBy string did Required

DID of the moderator who took the action.

reason string Optional

Human-readable reason.

maxLength: 512 bytes
subject string did Required

The member the action was taken against.

View raw schema
{
  "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."
}

Lexicon Garden

@