A system for describing and enforcing a Python object schema