For those looking to validate dictionaries / JSON responses in Python, the voluptuous library works quite well: http://github.com/alecthomas/voluptuous. It also works for lists and other data types.
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.