Edit: Please note that it's much easier and faster to do this sort of validation directly using pydantic. If, however, you must use jsonschema, this...