Enter json schema
Someone wise once said that the best thing about standards is that there are so many choose from. Clearly having a standard is no panacea, but in this case json schema gave me a way to express exactly what I needed without much fuss. I’m not going to try to break down all of json schema for you, the docs at json-schema.org do a pretty good job of that already.
More on JSON Schema – http://json-schema.org/. This is the overview page that includes links to the IETF standards pages.