app.phlogiston.community.modAction

An append-only moderation action in a community view. V0 understands removal only.

Details · record, key any
Kindrecord
Record keyany
Authoritycommunity.phlogiston.app
Indexed
cid bafyreidzest6g3la5j6qfncmk5z3bx57kn266bezpv5zk7yxbz6qx6ehzy

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 append-only moderation action in a community view. V0 understands removal only.",
      "key": "any",
      "record": {
        "properties": {
          "action": {
            "knownValues": [
              "remove"
            ],
            "type": "string"
          },
          "actor": {
            "format": "did",
            "type": "string"
          },
          "admission": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "reason": {
            "description": "Optional explanatory text; it does not determine authority or state.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "action",
          "admission",
          "subject",
          "actor",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.phlogiston.community.modAction",
  "lexicon": 1
}