blob: 5d775f0286f4a83fe943fa2c2d73aa3df5e4ce90 (
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_collections/meta/main.yml",
"path": "$.collections[0]",
"message": "'FOO.BAR' does not match '^[a-z_]+\\\\.[a-z_]+$'",
"has_sub_errors": false
}
],
"parse_errors": []
}
```
|