summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/molecule/platforms_children/molecule.yml.md
blob: 5c0320e4b2495a204a2007fdc4a09d6c11acbab7 (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": "/platforms/0/children",
    "keyword": "type",
    "message": "must be array",
    "params": {
      "type": "array"
    },
    "schemaPath": "#/properties/children/type"
  }
]
```

# check-jsonschema

stdout:

```json
{
  "status": "fail",
  "successes": [],
  "errors": [
    {
      "filename": "negative_test/molecule/platforms_children/molecule.yml",
      "path": "$.platforms[0].children",
      "message": "2 is not of type 'array'",
      "has_sub_errors": false
    }
  ],
  "parse_errors": []
}
```