Add a swagger schema validator, for validating client side json files.

done.