{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/ansible-vars-file/latest.json",
  "title": "Ansible Vars Schema",
  "description": "<https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_variables.html>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/vars.json",
    "sourceSha256": "48d85c412a82028298d5b11c51b02a02e5bcacd038b71f073c1aa5f6d5b65e27",
    "fileMatch": [
      "**/vars/*.yml",
      "**/vars/*.yaml",
      "**/defaults/*.yml",
      "**/defaults/*.yaml",
      "**/host_vars/*.yml",
      "**/host_vars/*.yaml",
      "**/group_vars/*.yml",
      "**/group_vars/*.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "markdownDescription": "See [Using Variables](https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_variables.html)",
  "examples": [
    "playbooks/vars/*.yml",
    "vars/*.yml",
    "defaults/*.yml",
    "host_vars/*.yml",
    "group_vars/*.yml"
  ],
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^(?!(False|None|True|and|any_errors_fatal|as|assert|async|await|become|become_exe|become_flags|become_method|become_user|break|check_mode|class|collections|connection|continue|debugger|def|del|diff|elif|else|environment|except|fact_path|finally|for|force_handlers|from|gather_facts|gather_subset|gather_timeout|global|handlers|hosts|if|ignore_errors|ignore_unreachable|import|in|is|lambda|max_fail_percentage|module_defaults|name|no_log|nonlocal|not|or|order|pass|port|post_tasks|pre_tasks|raise|remote_user|return|roles|run_once|serial|strategy|tags|tasks|throttle|timeout|try|vars|vars_files|vars_prompt|while|with|yield)$)[a-zA-Z_][\\w]*$": {}
      }
    },
    {
      "pattern": "^\\$ANSIBLE_VAULT;",
      "type": "string"
    },
    {
      "type": "null"
    }
  ]
}
