summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/changelogs/list/changelogs/changelog.yaml.md
blob: 59389443db84b0e4a47e984f8486ac837b022d30 (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": "",
    "keyword": "type",
    "message": "must be object",
    "params": {
      "type": "object"
    },
    "schemaPath": "#/type"
  }
]
```

# check-jsonschema

stdout:

```json
{
  "status": "fail",
  "errors": [
    {
      "filename": "negative_test/changelogs/list/changelogs/changelog.yaml",
      "path": "$",
      "message": "['this is invalid', 'as changelog must be object (mapping)', 'not an array (sequence)'] is not of type 'object'",
      "has_sub_errors": false
    }
  ],
  "parse_errors": []
}
```