{
  "$schema": "https://json-schema.org/draft-07/schema",
  "additionalProperties": true,
  "defaultSnippets": [
    {
      "body": {
        "analytics": {
          "property": "${2:UA-XXXXXXXX-X}",
          "provider": "${1:google}"
        }
      },
      "label": "analytics (default)"
    }
  ],
  "definitions": {
    "cookie": {
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "checked": {
              "default": true,
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
              "title": "Initial state",
              "type": "boolean"
            },
            "name": {
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
              "title": "Cookie name",
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        },
        {
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
          "title": "Cookie name",
          "type": "string"
        }
      ],
      "title": "Cookie"
    },
    "icon": {
      "oneOf": [
        {
          "$ref": "assets/icons.json"
        },
        {
          "title": "Unknown icon",
          "type": "string"
        }
      ]
    }
  },
  "markdownDescription": "https://squidfunk.github.io/mkdocs-material/",
  "properties": {
    "alternate": {
      "items": {
        "additionalProperties": false,
        "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language-selector",
        "properties": {
          "lang": {
            "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#language-lang",
            "title": "Alternate language code (ISO 639-1)",
            "type": "string"
          },
          "link": {
            "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#language-link",
            "title": "Alternate language link",
            "type": "string"
          },
          "name": {
            "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#language-name",
            "title": "Alternate language name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "link",
          "lang"
        ],
        "title": "Alternate language",
        "type": "object"
      },
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language-selector",
      "title": "Site language selector",
      "type": "array"
    },
    "analytics": {
      "additionalProperties": false,
      "defaultSnippets": [
        {
          "body": {
            "feedback": {
              "ratings": [
                {
                  "data": 1,
                  "icon": "${2:material/emoticon-happy-outline}",
                  "name": "${3:This page was helpful}",
                  "note": "${4:Thanks for your feedback!}"
                },
                {
                  "data": 0,
                  "icon": "${5:material/emoticon-sad-outline}",
                  "name": "${6:This page could be improved}",
                  "note": "${7:Thanks for your feedback!}"
                }
              ],
              "title": "${1:Was this page helpful}"
            }
          },
          "label": "feedback (default)"
        }
      ],
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
      "properties": {
        "feedback": {
          "additionalProperties": false,
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#was-this-page-helpful",
          "properties": {
            "ratings": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#feedback-rating-data",
                    "title": "Feedback rating data",
                    "type": "number"
                  },
                  "icon": {
                    "$ref": "#/definitions/icon"
                  },
                  "name": {
                    "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#feedback-rating-name",
                    "title": "Feedback rating name",
                    "type": "string"
                  },
                  "note": {
                    "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#feedback-rating-note",
                    "title": "Feedback rating data",
                    "type": "string"
                  }
                },
                "required": [
                  "icon",
                  "name",
                  "data",
                  "note"
                ],
                "title": "Feedback rating",
                "type": "object"
              },
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#was-this-page-helpful",
              "title": "Feedback ratings",
              "type": "array"
            },
            "title": {
              "default": "Was this page helpful?",
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#was-this-page-helpful",
              "title": "Feedback widget title",
              "type": "string"
            }
          },
          "required": [
            "title"
          ],
          "title": "Was this page helpful?",
          "type": "object"
        },
        "property": {
          "oneOf": [
            {
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
              "pattern": "^G-\\w{10}$",
              "title": "Google Analytics 4"
            },
            {
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
              "pattern": "^UA-\\w{9}-\\w$",
              "title": "Universal Analytics"
            },
            {
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
              "title": "Unknown property",
              "type": "string"
            }
          ]
        },
        "provider": {
          "oneOf": [
            {
              "enum": [
                "google"
              ],
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
              "title": "Google Analytics"
            },
            {
              "type": "string"
            }
          ],
          "title": "Analytics provider"
        }
      },
      "required": [
        "provider",
        "property"
      ],
      "title": "Analytics provider",
      "type": "object"
    },
    "consent": {
      "additionalProperties": false,
      "defaultSnippets": [
        {
          "body": {
            "actions": [
              "accept",
              "manage"
            ]
          },
          "label": "actions (default)",
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent"
        }
      ],
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
      "properties": {
        "actions": {
          "items": {
            "oneOf": [
              {
                "enum": [
                  "accept"
                ],
                "title": "Button to accept cookies"
              },
              {
                "enum": [
                  "reject"
                ],
                "title": "Button to reject cookies"
              },
              {
                "enum": [
                  "manage"
                ],
                "title": "Button to manage settings"
              }
            ]
          },
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
          "title": "Cookie consent actions",
          "type": "array"
        },
        "cookies": {
          "additionalProperties": false,
          "defaultSnippets": [
            {
              "body": {
                "analytics": {
                  "checked": true,
                  "name": "Google Analytics"
                }
              },
              "label": "analytics (default)",
              "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent"
            }
          ],
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
          "patternProperties": {
            "\\w+": {
              "$ref": "#/definitions/cookie"
            }
          },
          "properties": {
            "analytics": {
              "$ref": "#/definitions/cookie"
            }
          },
          "title": "Cookies",
          "type": "object"
        },
        "description": {
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
          "title": "Cookie consent description",
          "type": "string"
        },
        "title": {
          "default": "Cookie consent",
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",
          "title": "Cookie consent title",
          "type": "string"
        }
      },
      "required": [
        "title",
        "description"
      ],
      "title": "Cookie consent",
      "type": "object"
    },
    "generator": {
      "default": true,
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#generator-notice",
      "title": "Generator notice",
      "type": "boolean"
    },
    "homepage": {
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo",
      "title": "Homepage link (when clicking on logo)",
      "type": "string"
    },
    "social": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "icon": {
            "$ref": "#/definitions/icon"
          },
          "link": {
            "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#social-link",
            "title": "Social link",
            "type": "string"
          },
          "name": {
            "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#social-name",
            "title": "Social link name",
            "type": "string"
          }
        },
        "required": [
          "icon",
          "link"
        ],
        "title": "Social link",
        "type": "object"
      },
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#social-links",
      "title": "Social links",
      "type": "array"
    },
    "tags": {
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#tag-icons",
      "patternProperties": {
        ".*": {
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#tag-icons",
          "pattern": "^[\\w-]+$",
          "title": "Tag identifier mapping"
        }
      },
      "title": "Tag identifiers",
      "type": "object"
    },
    "version": {
      "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#versioning",
      "properties": {
        "default": {
          "default": "stable",
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#version-warning",
          "title": "Default version"
        },
        "provider": {
          "enum": [
            "mike"
          ],
          "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#versioning",
          "title": "Versioning provider"
        }
      },
      "title": "Versioning",
      "type": "object"
    }
  },
  "title": "Extra configuration",
  "type": "object"
}