jsonschema2db icon indicating copy to clipboard operation
jsonschema2db copied to clipboard

Unable to use $ref

Open swilkinsmitre opened this issue 1 year ago • 0 comments

Issue: If I have a complex json which has a $ref like - "$ref": "../common/my.json", then the library errors with the error =>TypeError: 'NoneType' object is not iterable

The element it is looking at is ".." of {"..", "common", "my.json"}.

Question: Should I be able to use a $ref to a another json file, either locally or based on $schema?

swilkinsmitre avatar Dec 11 '23 23:12 swilkinsmitre