python-fastjsonschema icon indicating copy to clipboard operation
python-fastjsonschema copied to clipboard

2019-09 (aka Draft 08) support

Open rb-john opened this issue 5 years ago • 3 comments

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

rb-john avatar Dec 17 '19 15:12 rb-john

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.

horejsek avatar Dec 17 '19 16:12 horejsek

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.

handrews avatar Jan 16 '21 03:01 handrews

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.

coderextreme avatar Oct 22 '21 04:10 coderextreme