JSON-Schema-Test-Suite icon indicating copy to clipboard operation
JSON-Schema-Test-Suite copied to clipboard

Handling of false in then or else

Open Zash opened this issue 7 months ago • 0 comments
trafficstars

I noticed that our JSON Schema implementation is doing a simple check for the not, then and else keywords, meaning a schema like {"not":false} would be treated exactly like {}. I imagine this should matter in some conditions but I can't quite get my head around the double negatives needed. This does not seem to have been caught by the draft2020-12 tests as of 7950d9e and I see no changes since then to not.json or `if-then-else.json

Zash avatar Mar 30 '25 16:03 Zash