Closed dhimmel closed 5 years ago
One workaround is dereference the schema before feeding it to jsonschema
. I was able to do this with the jsonref package
import jsonref
schema = jsonref.load_uri(url, jsonschema=True)
This is almost certainly one of the other two issues there.
Closing this one, since it's tied up in all the other unrelated stuff, but feel free to follow those.
Greetings, I'm new to using this library and would like to validate objects based on the Citation Styles Language schema as part of https://github.com/greenelab/manubot/issues/47.
In the code snippet below with Python v3.6.6 and jsonschema v2.6.0, I'm getting a
JSONDecodeError
/RefResolutionError
. If I remove theissued
object of my CSL data, there are no errors.issued
is defined in the schema as:I saw in https://github.com/Julian/jsonschema/issues/343 and https://github.com/Julian/jsonschema/pull/371 that there may be some complexities with internal reference resolution. Not sure if that is the issue here.
Code snippet
Stacktrace / error