app.atmobb.moderation.action

lexicons.atmobb.app

{
  "id": "app.atmobb.moderation.action",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "action"
        ],
        "properties": {
          "board": {
            "type": "string",
            "format": "at-uri",
            "description": "Scopes account-level actions (e.g. a ban) to one board. Absent means forum-wide."
          },
          "action": {
            "type": "string",
            "maxLength": 64,
            "knownValues": [
              "hide",
              "unhide",
              "lock",
              "unlock",
              "pin",
              "unpin",
              "ban",
              "unban",
              "warn",
              "block",
              "unblock"
            ]
          },
          "reason": {
            "type": "string",
            "maxLength": 10000,
            "maxGraphemes": 1000
          },
          "subject": {
            "refs": [
              "com.atproto.repo.strongRef",
              "#account"
            ],
            "type": "union"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "expiresAt": {
            "type": "string",
            "format": "datetime",
            "description": "When a temporary action lapses. Absent means until reversed."
          }
        }
      },
      "description": "A moderation action taken by a forum. Lives in the forum account's repo, making moderation portable and auditable — any appview can honor it at read time."
    },
    "account": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      },
      "description": "An account as the subject of an action."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.atmobb.moderation.action

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:dqnwiguwsbb6uwrm7a2rsff2
CID
bafyreigydnphjsdynmm3yhecb6opx2ais3q6n7a3oa54miq7vb6i456yn4
Indexed At
2026-07-26 20:07 UTC
AT-URI
at://did:plc:dqnwiguwsbb6uwrm7a2rsff2/com.atproto.lexicon.schema/app.atmobb.moderation.action

Lexicon Garden

@