blob: 1b8dcd0e3c53357ebfd36f6a8c2e091eec7342b5 (
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": "/collections/0",
"keyword": "pattern",
"message": "must match pattern \"^[a-z_]+\\.[a-z_]+$\"",
"params": {
"pattern": "^[a-z_]+\\.[a-z_]+$"
},
"schemaPath": "#/$defs/collections/items/pattern"
}
]
```
# check-jsonschema
stdout:
```json
{
"status": "fail",
"errors": [
{
"filename": "negative_test/roles/meta_invalid_collection/meta/main.yml",
"path": "$.collections[0]",
"message": "'foo' does not match '^[a-z_]+\\\\.[a-z_]+$'",
"has_sub_errors": false
}
],
"parse_errors": []
}
```
|