summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/inventory/broken_dev_inventory.yml.md
blob: d4fefafa7b202e32150b52f7389045a4e8b3aecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ajv errors

```json
[
  {
    "instancePath": "/all",
    "keyword": "additionalProperties",
    "message": "must NOT have additional properties",
    "params": {
      "additionalProperty": "foo"
    },
    "schemaPath": "#/$defs/special-group/additionalProperties"
  }
]
```

# check-jsonschema

stdout:

```json
{
  "status": "fail",
  "errors": [
    {
      "filename": "negative_test/inventory/broken_dev_inventory.yml",
      "path": "$.all",
      "message": "Additional properties are not allowed ('foo' was unexpected)",
      "has_sub_errors": false
    }
  ],
  "parse_errors": []
}
```