{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An append-only remove or restore action in a logical reply moderation chain.",
      "key": "any",
      "record": {
        "properties": {
          "action": {
            "knownValues": [
              "remove",
              "restore"
            ],
            "type": "string"
          },
          "actor": {
            "format": "did",
            "type": "string"
          },
          "admission": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "moderationKey": {
            "maxLength": 71,
            "minLength": 71,
            "type": "string"
          },
          "previousAction": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "reason": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "action",
          "admission",
          "subject",
          "moderationKey",
          "actor",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.phlogiston.community.replyAction",
  "lexicon": 1
}
