You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by alephnull December 31, 2023
When attempting to use github.com/santhosh-tekuri/jsonschema/v5 to validate config files, I am unable to compile https://goreleaser.com/static/schema.json due to the errors:
panic: jsonschema: jsonschema file:///home/alok/work/tyk/src/gromit/gorel.json compilation failed: "/$defs/File/oneOf/1" and "/$defs/NixDependency/oneOf/1" in https://github.com/goreleaser/goreleaser/pkg/config/project have same canonical-uri
panic: jsonschema: jsonschema file:///home/alok/work/tyk/src/gromit/gorel.json compilation failed: "/$defs/File/oneOf/1" and "/$defs/Hooks/oneOf/1/items/oneOf/1" in https://github.com/goreleaser/goreleaser/pkg/config/project have same canonical-uri
This is my first attempt at using json schemas so I tried an online validator but they either do not support draft 2020-12 or fail to parse the schema. I'm trying to figure out where the problem is. I have used the library to validate against the Github Actions json schema but that is draft-07.
The text was updated successfully, but these errors were encountered:
Discussed in https://github.com/orgs/goreleaser/discussions/4510
Originally posted by alephnull December 31, 2023
When attempting to use github.com/santhosh-tekuri/jsonschema/v5 to validate config files, I am unable to compile https://goreleaser.com/static/schema.json due to the errors:
This is my first attempt at using json schemas so I tried an online validator but they either do not support draft 2020-12 or fail to parse the schema. I'm trying to figure out where the problem is. I have used the library to validate against the Github Actions json schema but that is draft-07.
The text was updated successfully, but these errors were encountered: