summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/inventory/broken_dev_inventory.yml.md
blob: 19792975771286ad85c13d4d07172484be19d1f7 (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
35
# 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",
  "successes": [],
  "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": []
}
```