{
 "$id": "https://github.com/aws-cloudformation/cfn-python-lint/blob/main/src/cfnlint/data/CfnLintCli/config/schema.json",
 "$schema": "http://json-schema.org/draft-07/schema#",
 "additionalProperties": false,
 "description": "CFNLINTRC configuration schema",
 "properties": {
  "append_rules": {
   "description": "Location of directories to append rules from",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "configure_rules": {
   "additionalProperties": false,
   "description": "Configure rules",
   "patternProperties": {
    "^.*$": {
     "patternProperties": {
      "^.*$": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        },
        {
         "type": "boolean"
        },
        {
         "items": {
          "type": "string"
         },
         "type": "array"
        },
        {
         "items": {
          "type": "integer"
         },
         "type": "array"
        },
        {
         "items": {
          "type": "string"
         },
         "type": "boolean"
        }
       ]
      }
     },
     "type": "object"
    }
   },
   "type": "object"
  },
  "custom_rules": {
   "description": "custom rule file to use",
   "type": "string"
  },
  "debug": {
   "description": "Debug mode",
   "type": "boolean"
  },
  "deployment_files": {
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "format": {
   "description": "Output format",
   "enum": [
    "quiet",
    "parseable",
    "json",
    "junit",
    "pretty",
    "sarif"
   ],
   "type": "string"
  },
  "ignore_bad_template": {
   "description": "Ignore bad templates",
   "type": "boolean"
  },
  "ignore_checks": {
   "description": "List of checks to ignore",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "ignore_templates": {
   "description": "Templates to ignore",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "include_checks": {
   "description": "List of checks to include",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "include_experimental": {
   "description": "Include experimental rules",
   "type": "boolean"
  },
  "mandatory_checks": {
   "description": "List of mandatory checks to enforce",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "merge_configs": {
   "description": "Merges lists between configuration layers",
   "type": "boolean"
  },
  "non_zero_exit_code": {
   "description": "Exit code will be non zero from the specified rule class and higher",
   "enum": [
    "informational",
    "warning",
    "error",
    "none"
   ],
   "type": "string"
  },
  "output_file": {
   "description": "Path to the file to write the main output to",
   "type": "string"
  },
  "override_spec": {
   "description": "Path to spec file to override with",
   "type": "string"
  },
  "parameter_files": {
   "description": "Path to spec file to override with",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "parameters": {
   "description": "Path to spec file to override with",
   "items": {
    "type": "object"
   },
   "type": "array"
  },
  "regions": {
   "description": "Regions to test against",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "registry_schemas": {
   "description": "One or more directories of CloudFormation Registry Resource Schemas",
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "template_parameters": {
   "items": {
    "patternProperties": {
     "^.*$": {
      "type": [
       "string",
       "integer",
       "boolean",
       "number"
      ]
     }
    },
    "type": "object"
   },
   "type": "array"
  },
  "templates": {
   "description": "Templates to lint",
   "items": {
    "type": "string"
   },
   "type": "array"
  }
 },
 "title": "CFNLINTRC JSON Schema",
 "type": "object"
}
