{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires a maintainer's service token.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "action": {
              "knownValues": [
                "remove",
                "keep",
                "removeAndHide",
                "restore"
              ],
              "type": "string"
            },
            "note": {
              "description": "For the maintainers' own record.",
              "maxGraphemes": 1000,
              "maxLength": 10000,
              "type": "string"
            },
            "uri": {
              "description": "The comment.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "action"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "A maintainer's decision on a reported Resenha comment: remove it from every reader's thread, keep it, remove it and hide its author from suggestions and the pack, or put a removed comment back. The record stays in its author's account either way.",
  "id": "ink.resenha.moderation.resolveReport",
  "lexicon": 1
}
