Suren Abrahamyan
Suren Abrahamyan
Oh the issue seems to be isolated to Draft 4.. Failed here `JsonSchemaFactory factory = JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V4);` Passed here `JsonSchemaFactory factory = JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V7);`
I can provide my unit test.. Service class `import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.networknt.schema.JsonSchema; import com.networknt.schema.JsonSchemaFactory; import com.networknt.schema.SpecVersion; import com.networknt.schema.ValidationMessage; import org.apache.commons.collections.CollectionUtils; import org.springframework.stereotype.Service; import java.io.IOException; import java.io.InputStream;...