{
  "$schema": "https://json-schema.org/draft-07/schema",
  "title": "Redirects plugin",
  "type": "object",
  "properties": {
    "redirects": {
      "markdownDescription": "https://github.com/datarobot/mkdocs-redirects",
      "type": "object",
      "properties": {
        "redirect_maps": {
          "title": "Mapping of Markdown files",
          "markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
          "type": "object",
          "patternProperties": {
            "\\.md$": {
              "oneOf": [
                {
                  "title": "Internal redirect",
                  "markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
                  "pattern": "\\.md$"
                },
                {
                  "title": "External redirect",
                  "markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
                  "pattern": "^https?:"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
