tdegrunt / jsonschema

JSON Schema validation
Other
1.83k stars 262 forks source link

Base URI does not work. #356

Open xp4xbox opened 2 years ago

xp4xbox commented 2 years ago

The jsonschema returns no such schema with correct base.

SchemaError: no such schema #/$defs/slot located in <file:///C:/Users/nhawrysh/Documents/catena/schemata/ogp.schema.json>

{
  ...
    "$defs": {
        "slot": {
            "title": "Slot ID",
            "description": "Uniquely identifies the device within the scope of its frame",
            "type": "integer",
            "min": 0,
            "max": 255,
            "default": 0,
            "$comment": "Max slot index is set abitrarily, it could go higher if needed."
        },
...
}
awwright commented 2 years ago

Can you please provide the code that's producing this?