{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "default": {},
  "id": "https://json.schemastore.org/imgbotconfig.json",
  "properties": {
    "schedule": {
      "title": "Limits the PRs from Imgbot to once a day, once a week, or once a month respectively. The default behavior is to receive Imgbot PRs as images require optimization.",
      "type": "string",
      "enum": ["daily", "weekly", "monthly"],
      "default": ""
    },
    "ignoredFiles": {
      "title": "Limits the images optimized by Imgbot by essentially ignoring them",
      "type": "array",
      "items": {
        "title": "Accepts the syntax for searchPattern on Directory.EnumerateFiles()",
        "type": "string",
        "pattern": "^/?([^/]+/)*[^/]+/?$",
        "default": ""
      },
      "default": []
    },
    "aggressiveCompression": {
      "title": "Opt in to use lossy compression algorithms. The default behaviour without this setting is loss less compression.",
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "string",
          "enum": ["true", "false"]
        }
      ],
      "default": false
    },
    "compressWiki": {
      "title": "Opt in to also compress wiki repo. The default behaviour is opt out.",
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "string",
          "enum": ["true", "false"]
        }
      ],
      "default": false
    },
    "minKBReduced": {
      "title": "Can be used to limit the frequency of PRs Imgbot will open over time",
      "type": "number",
      "default": 10
    }
  },
  "title": "JSON Schema for configuration for ImgBot",
  "type": "object"
}
