I'm not sure if I'm doing something wrong here or what. I'm using version 0.2.1 of this library.
I have this schema, which declares that it's draft 2019-09, and uses $defs, as draft 2019-09 requires. However, jsonschema v0.2.1 fails to codegen, saying it can't find the reference.
Here's the schema. I've confirmed that it validates against the draft 2019-09 metaschema:
Given that there are several other issues with the exact opposite problem (#97, #79, #68 — all using <= draft 7 definitions, which don't work), I have no idea why this is happening.
I'm not sure if I'm doing something wrong here or what. I'm using version 0.2.1 of this library.
I have this schema, which declares that it's draft 2019-09, and uses
$defs
, as draft 2019-09 requires. However, jsonschema v0.2.1 fails to codegen, saying it can't find the reference.Here's the schema. I've confirmed that it validates against the draft 2019-09 metaschema:
Codegen fails with this error:
If I change
$defs
todefinitions
, it works fine:Given that there are several other issues with the exact opposite problem (#97, #79, #68 — all using <= draft 7
definitions
, which don't work), I have no idea why this is happening.