JSON Schema validation

What is the recommended package to use for validating json data with a schema?

I see schema, schema · PyPI

I also see Schema Validation - jsonschema 4.17.4.dev60+g65afdce documentation

I was using the 1st one, schema, and was trying to understand how to represent tuples and then realized, maybe I’m not using the “recommended one”.

Pydantic has support for json schemas, but I haven’t used it and can’t say if it fits your needs.