{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "autoclean"
  ],
  "properties": {
    "autoclean": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "succeededforwards": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "cleaned",
            "uncleaned"
          ],
          "properties": {
            "cleaned": {
              "type": "u64",
              "description": "total number of deletions done this run"
            },
            "uncleaned": {
              "type": "u64",
              "description": "the total number of entries *not* deleted this run"
            }
          }
        },
        "failedforwards": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "cleaned",
            "uncleaned"
          ],
          "properties": {
            "cleaned": {
              "type": "u64",
              "description": "total number of deletions done this run"
            },
            "uncleaned": {
              "type": "u64",
              "description": "the total number of entries *not* deleted this run"
            }
          }
        },
        "succeededpays": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "cleaned",
            "uncleaned"
          ],
          "properties": {
            "cleaned": {
              "type": "u64",
              "description": "total number of deletions done this run"
            },
            "uncleaned": {
              "type": "u64",
              "description": "the total number of entries *not* deleted this run"
            }
          }
        },
        "failedpays": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "cleaned",
            "uncleaned"
          ],
          "properties": {
            "cleaned": {
              "type": "u64",
              "description": "total number of deletions done this run"
            },
            "uncleaned": {
              "type": "u64",
              "description": "the total number of entries *not* deleted this run"
            }
          }
        },
        "paidinvoices": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "cleaned",
            "uncleaned"
          ],
          "properties": {
            "cleaned": {
              "type": "u64",
              "description": "total number of deletions done this run"
            },
            "uncleaned": {
              "type": "u64",
              "description": "the total number of entries *not* deleted this run"
            }
          }
        },
        "expiredinvoices": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "cleaned",
            "uncleaned"
          ],
          "properties": {
            "cleaned": {
              "type": "u64",
              "description": "total number of deletions done this run"
            },
            "uncleaned": {
              "type": "u64",
              "description": "the total number of entries *not* deleted this run"
            }
          }
        }
      }
    }
  }
}
