{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "https://json.schemastore.org/htmlhint.json",
  "properties": {
    "alt-require": {
      "description": "Alt of img must be present and alt of area[href] and input[type=image] must be set value.",
      "type": "boolean",
      "default": false
    },
    "attr-lowercase": {
      "description": "Attribute name must be lowercase.",
      "type": "boolean",
      "default": false
    },
    "attr-no-duplication": {
      "description": "The same attribute can't be specified twice.",
      "type": "boolean",
      "default": false
    },
    "attr-unsafe-chars": {
      "description": "Attribute value can't not use unsafe chars.",
      "type": "boolean",
      "default": false
    },
    "attr-value-double-quotes": {
      "description": "Attribute value must closed by double quotes.",
      "type": "boolean",
      "default": false
    },
    "attr-value-not-empty": {
      "description": "Attribute must set value.",
      "type": "boolean",
      "default": false
    },
    "doctype-first": {
      "description": "Doctype must be first.",
      "type": "boolean",
      "default": false
    },
    "doctype-html5": {
      "description": "Doctype must be html5.",
      "type": "boolean",
      "default": false
    },
    "head-script-disabled": {
      "description": "The script tag can not be used in head.",
      "type": "boolean",
      "default": false
    },
    "href-abs-or-rel": {
      "description": "Href must be absolute or relative.",
      "default": false,
      "enum": [false, "abs", "rel"]
    },
    "html-lang-require": {
      "description": "The lang attribute of an <html> element must be present and should be valid.",
      "type": "boolean",
      "default": false
    },
    "id-class-ad-disabled": {
      "description": "Id and class can not use ad keyword, it will blocked by adblock software.",
      "type": "boolean",
      "default": false
    },
    "id-class-value": {
      "description": "Id and class value must meet some rules: underline, dash, hump.",
      "default": false,
      "enum": [false, "underline", "dash", "hump"]
    },
    "id-unique": {
      "description": "ID attributes must be unique in the document.",
      "type": "boolean",
      "default": false
    },
    "inline-script-disabled": {
      "description": "Inline script cannot be used.",
      "type": "boolean",
      "default": false
    },
    "inline-style-disabled": {
      "description": "Inline style cannot be used.",
      "type": "boolean",
      "default": false
    },
    "space-tab-mixed-disabled": {
      "description": "Spaces and tabs can not mixed in front of line.",
      "default": false,
      "enum": [false, "space", "tab"]
    },
    "spec-char-escape": {
      "description": "Special characters must be escaped.",
      "type": "boolean",
      "default": false
    },
    "src-not-empty": {
      "description": "Src of img(script,link) must set value. Empty of src will visit current page twice.",
      "type": "boolean",
      "default": false
    },
    "style-disabled": {
      "description": "Style tag can not be used.",
      "type": "boolean",
      "default": false
    },
    "tag-pair": {
      "description": "Tag must be paired.",
      "type": "boolean",
      "default": false
    },
    "tag-self-close": {
      "description": "The empty tag must closed by self.",
      "type": "boolean",
      "default": false
    },
    "tagname-lowercase": {
      "description": "Tagname must be lowercase.",
      "type": "boolean",
      "default": false
    },
    "title-require": {
      "description": "<title> must be present in <head> tag.",
      "type": "boolean",
      "default": false
    }
  },
  "title": "JSON schema for HTMLHint configuration files",
  "type": "object"
}
