Validate json of incoming requests using a schema.