Validate JSON against a schema.