Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

Json schema should have a version #331

Open
skonto opened this issue Jul 18, 2018 · 1 comment
Open

Json schema should have a version #331

skonto opened this issue Jul 18, 2018 · 1 comment

Comments

@skonto
Copy link

skonto commented Jul 18, 2018

The jenerated schema here specifies no version:
"$schema": "http://json-schema.org/schema#".
Libraries for validating json expect a specific version because version 4 is not compatible with version 6.
Check: https://github.com/everit-org/json-schema
That breaks the process of validating a k8s json file.
I had to modify the json schema object to make it work, but I am not sure where the version is documented.

@skonto
Copy link
Author

skonto commented Jul 18, 2018

@iocanel thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant