app.atmobb.moderation.action

lexicons.atmobb.app

Documentation

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.

main record

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.

Record Key tid Timestamp-based ID

Properties

action string Required

No description available.

maxLength: 64 bytes
Known values: hide, unhide, lock, unlock, pin, unpin, ban, unban, warn, block, unblock
board string at-uri Optional

Scopes account-level actions (e.g. a ban) to one board. Absent means forum-wide.

createdAt string datetime Optional

An RFC 3339 formatted timestamp.

expiresAt string datetime Optional

When a temporary action lapses. Absent means until reversed.

reason string Optional

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
View raw schema
{
  "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 object

An account as the subject of an action.

Properties

did string did Required

A decentralized identifier (DID).

View raw schema
{
  "type": "object",
  "required": [
    "did"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    }
  },
  "description": "An account as the subject of an action."
}

Lexicon Garden

@