Validation with JSON Schema
At EasyBib we handle a lot of complex JSON documents for all the 59 different citation types that are offered and some more for other parts of the application. Writing custom validation in PHP was trivial and fast to write but looked a lot like code that we wanted to get rid of.
JSON Schema is a solution for validating complex JSON document structures.
The following deck of slides is from the talk I gave about validation with JSON Schema at the december meetup of the Berlin PHP Usergroup.
I gave an introduction to the JSON schema specification and showed how a validation implementation in PHP works.
https://speakerdeck.com/dazz/validating-json-with-json-schema
-- Anne














