I’ve been having to do some development lately around a project that requires strictly formatted data to be applied against a validated schema. In looking at options, I evaluated JSON-Schema and XSD. When looking around for which is better the results came back with neither side one is super superior to the other. However, since this is for a REST service, I thought let’s go with JSON.
What I like about JSON-Schema is that it’s very quick to get up and running with. The complete specification is available here and you can read through it in about an hour. Over the next few posts I’ll highlight some of the key features of the schema and what I really like about it.
To get started, binding an already established file to a