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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# ajv errors
```json
[
{
"instancePath": "/platforms/0/networks/0",
"keyword": "type",
"message": "must be object",
"params": {
"type": "object"
},
"schemaPath": "#/$defs/platform-network/type"
},
{
"instancePath": "/platforms/0/networks/1",
"keyword": "type",
"message": "must be object",
"params": {
"type": "object"
},
"schemaPath": "#/$defs/platform-network/type"
}
]
```
# check-jsonschema
stdout:
```json
{
"status": "fail",
"errors": [
{
"filename": "negative_test/molecule/platforms_networks/molecule.yml",
"path": "$.platforms[0].networks[0]",
"message": "'foo' is not of type 'object'",
"has_sub_errors": false
},
{
"filename": "negative_test/molecule/platforms_networks/molecule.yml",
"path": "$.platforms[0].networks[1]",
"message": "'bar' is not of type 'object'",
"has_sub_errors": false
}
],
"parse_errors": []
}
```
|