JSON Schema Proposal Collaboration
27 September 2007At the AJAXWorld conference, Douglas Crockford held a discussion on JSON. One of the topics that we discussed was the possibility of proposing a JSON “Schema”, that is a definition for defining the structure of a JSON object that is analogous to XML’s Schemas or DTDs. There seemed to be a lot of interest in such a definition, so I am going to soon start working on developing this proposal. I would like to invite collaborate with me on this project. I talked to Sean White from Sony, and he is interested in collaborating, hopefully there will be others.
The goal of this proposal will be to formulate a JSON definition to define the structure of JSON for validation, documentation, and interaction control. I wanted to invite suggestions for what should be included in this definition and what can be learned from the XML analogies that we should keep or avoid. Here are a couple things I believe are important:
- KISS - JSON is built to be simple, and a structural definition should be as simple as possible
- Valid JSON - It should exist in JSON format
What do you want to see?
No comments yet