jsonschema
Check a JSON file against the fields and types you expect.
python-jsonschema · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Check an inventory record with a required integer quantity.
What we tested
4.10.3. Accepted a numeric quantity and rejected a text quantity.