JSON has a well defined schema system that works across languages. http://json-schema.org/
Python comes with the jsonschema module out of the box.
Python comes with the jsonschema module out of the box.
It's a slight pity that the python jsonschema package doesn't support some of the more powerful recent features though.