schema
pydantic
On simple schema, 5x faster than jsonschema-rs!
Advantage: if input is "str" and schema is int, pydantic converts to int and make it compliant (it is the default behaviour, can be modified with class Config: strict = True
or with Field(..., strict=True)
jsonschema
jsonschema
python libs
jsonschema-rs
Python wrapper of jsonschema validator written in Rust
from jsonschema_rs import validate as schema_validate