adding a json-schema validator