Debian Codegraph @

test/schemas/negative_test/roles/meta/main.yml.md

raw
1 # ajv errors
2
3 ```json
4 [
5 {
6 "instancePath": "/galaxy_info",
7 "keyword": "required",
8 "message": "must have required property 'author'",
9 "params": {
10 "missingProperty": "author"
11 },
12 "schemaPath": "#/allOf/0/then/required"
13 },
14 {
15 "instancePath": "/galaxy_info",
16 "keyword": "if",
17 "message": "must match \"then\" schema",
18 "params": {
19 "failingKeyword": "then"
20 },
21 "schemaPath": "#/allOf/0/if"
22 },
23 {
24 "instancePath": "/galaxy_info/galaxy_tags",
25 "keyword": "type",
26 "message": "must be array",
27 "params": {
28 "type": "array"
29 },
30 "schemaPath": "#/properties/galaxy_tags/type"
31 }
32 ]
33 ```
34
35 # check-jsonschema
36
37 stdout:
38
39 ```json
40 {
41 "status": "fail",
42 "successes": [],
43 "errors": [
44 {
45 "filename": "negative_test/roles/meta/main.yml",
46 "path": "$.galaxy_info",
47 "message": "'author' is a required property",
48 "has_sub_errors": false
49 },
50 {
51 "filename": "negative_test/roles/meta/main.yml",
52 "path": "$.galaxy_info.galaxy_tags",
53 "message": "'database' is not of type 'array'",
54 "has_sub_errors": false
55 }
56 ],
57 "parse_errors": []
58 }
59 ```