# ajv errors

```json
[
  {
    "instancePath": "/rules",
    "keyword": "enum",
    "message": "must be equal to one of the allowed values",
    "params": {
      "allowedValues": [
        "command-instead-of-module",
        "command-instead-of-shell",
        "deprecated-bare-vars",
        "deprecated-local-action",
        "deprecated-module",
        "empty-string-compare",
        "fqcn",
        "fqcn[action-core]",
        "fqcn[action]",
        "fqcn[canonical]",
        "fqcn[keyword]",
        "galaxy",
        "galaxy[no-changelog]",
        "galaxy[no-runtime]",
        "galaxy[tags]",
        "galaxy[version-incorrect]",
        "galaxy[version-missing]",
        "ignore-errors",
        "inline-env-var",
        "internal-error",
        "jinja",
        "jinja[invalid]",
        "jinja[spacing]",
        "key-order",
        "latest",
        "literal-compare",
        "load-failure",
        "load-failure[not-found]",
        "loop-var-prefix",
        "loop-var-prefix[missing]",
        "loop-var-prefix[wrong]",
        "meta-incorrect",
        "meta-no-tags",
        "meta-runtime",
        "meta-video-links",
        "name",
        "name[casing]",
        "name[play]",
        "name[prefix]",
        "name[template]",
        "no-changed-when",
        "no-handler",
        "no-jinja-when",
        "no-log-password",
        "no-prompting",
        "no-relative-paths",
        "no-same-owner",
        "no-tabs",
        "only-builtins",
        "package-latest",
        "parser-error",
        "partial-become",
        "playbook-extension",
        "risky-file-permissions",
        "risky-octal",
        "risky-shell-pipe",
        "role-name",
        "run-once",
        "run-once[play]",
        "run-once[task]",
        "sanity",
        "sanity[bad-ignore]",
        "sanity[cannot-ignore]",
        "schema",
        "syntax-check",
        "var-naming",
        "yaml"
      ]
    },
    "propertyName": "Wrong_Rule_name",
    "schemaPath": "#/properties/rules/propertyNames/oneOf/0/enum"
  },
  {
    "instancePath": "/rules",
    "keyword": "pattern",
    "message": "must match pattern \"^[a-z0-9-\\[\\]]+$\"",
    "params": {
      "pattern": "^[a-z0-9-\\[\\]]+$"
    },
    "propertyName": "Wrong_Rule_name",
    "schemaPath": "#/properties/rules/propertyNames/oneOf/1/pattern"
  },
  {
    "instancePath": "/rules",
    "keyword": "oneOf",
    "message": "must match exactly one schema in oneOf",
    "params": {
      "passingSchemas": null
    },
    "propertyName": "Wrong_Rule_name",
    "schemaPath": "#/properties/rules/propertyNames/oneOf"
  },
  {
    "instancePath": "/rules",
    "keyword": "propertyNames",
    "message": "property name must be valid",
    "params": {
      "propertyName": "Wrong_Rule_name"
    },
    "schemaPath": "#/properties/rules/propertyNames"
  },
  {
    "instancePath": "/rules/Wrong_Rule_name",
    "keyword": "type",
    "message": "must be object",
    "params": {
      "type": "object"
    },
    "schemaPath": "#/$defs/rule/type"
  }
]
```

# check-jsonschema

stdout:

```json
{
  "status": "fail",
  "successes": [],
  "errors": [],
  "parse_errors": [
    {
      "filename": "negative_test/.ansible-lint",
      "message": "Failed to parse negative_test/.ansible-lint"
    }
  ]
}
```
