python-fastjsonschema
python-fastjsonschema copied to clipboard
2019-09 (aka Draft 08) support
Is 2019-09 support planned?
support for format (such as duration) should be minimal, and the use of $defs over definitions seems not to be strictly enforced.
Thanks
I missed this update. :-) Support is not planned yet, but yeah, it will be added one day. If you want to take care of it, go ahead.
Draft 2020-12 is now out :-) It is also being used in OpenAPI 3.1 (as is! No restrictions or modifications like the old nullable anymore), so I'd very much recommend targeting 2020-12 and only doing 2019-09 later if at all. In addition to fixing some awkward bits of 2019-09, the OpenAPI 3.1 integration means the user base for 2020-12 will be much larger.
My boss said, oh, let's update to 2020-12, and I hesitantly said we kind of have it working for draft07. So now we're kind of stuck with jsonschema instead of fastjsonschema. We normally validate 4000 example JSON files. We really need the fastest possible correct schema validator in python.
I don't really have an axe to grid, but Ajv is much faster than jsonschema. I would love to have fastjsonschema at least competitive with Ajv as far as version support.