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