JSON Schema is a powerful tool for validating the structure of JSON data. However, learning to use it by reading its specification is like learning to drive a car by looking at its blueprints. You don’t need to know how an internal combustion engine fits together if all you want to do is pick up the groceries. This book, therefore, aims to be the friendly driving instructor for JSON Schema. It’s for those that want to write it and understand it but maybe aren’t interested in building their own car—er, writing their own JSON Schema validator—just yet.
This is a web based book on JSON and the practical usage of the JSON Schema. It starts out with the trike and training wheels and moves all the way up to a racing bike. I learned something in each chapter I read. I also see the connection between the JSON schema and the Swagger/OAS definitions. If you have used WSDL for the schema definition in an XML web service you will appreciate how much simpler and easier it is to read a JSON schema.
I did a post a little while ago about a JSON editor that can take advantage of a JSON schema if it’s available.
There is a print version of this book at the following link.