ropensci / jsonvalidate

:heavy_check_mark::interrobang: Validate JSON
https://docs.ropensci.org/jsonvalidate
Other
49 stars 14 forks source link

Support for protocol-based sub-schemas #70

Open cboettig opened 1 year ago

cboettig commented 1 year ago

When attempting to validate against a schema that uses sub-schemas referenced by a URL, we get an error:

 Don't yet support protocol-based sub schemas

Consider adding support for this? Is there a natural workaround meanwhile? (e.g. manually downloading the sub-schema first?)

cboettig commented 1 year ago

example of such a schema: https://github.com/radiantearth/stac-spec/tree/master/collection-spec/json-schema/collection.json

richfitz commented 1 year ago

Thanks @cboettig, I'm trying to remember why this was hard to implement and will come up with something. There is no workaround at present short of rewriting the schema unfortunately