The items of an array are defined under the `items` key, not under `paths`. Let's fix this. Btw, this is possible because JSON Schema itself doesn't use additionalProperties = false. This allows extending the schemas easily, but is sadly a bit error-prone. Sadly, since this issue effectively disabled validation of the stage options, we also need to relax the schema a bit: We found out that there are manifests in the wild, that use relative paths, instead of absolute ones. Thus, this commit changes the validation regex to allow relative paths. However, this now emits a warning and it's strongly discouraged. The associated stage test was modified to accommodate for this. Co-authored-by: Tomáš Hozza <thozza@redhat.com> Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| cases | ||
| data | ||
| mod | ||
| run | ||
| .gitignore | ||
| __init__.py | ||
| conftest.py | ||
| initrd.py | ||
| test.py | ||