Closed dbeja closed 5 years ago
@dbeja You schema looks good. I guess the json data is the problem and I am wonder if you could verify you data with the following online validators.
http://www.jsonschemavalidator.net/ https://json-schema-validator.herokuapp.com/
Thanks.
Since the schema itself does not contain any '<' characters and the stacktrace comes from a HttpURLConnection there is a good chance that the connections somehow failed and returned html instead of json. Perhaps there is a proxy server or firewall in the equation.
I suggest that you download the schema to a local file and load that instead.
Hi,
I'm trying to use your lib to validate some json using this schema: https://realtime-listings.webservices.zpg.co.uk/docs/latest/schemas/listing/update.json
But I always get this error when loading schema file:
I even tried to sout the schema json content and looks ok.
I also tried to use https://json-schema-validator.herokuapp.com/index.jsp and the schema validates alright on Schema Syntax Validation but I get the same error if I try to use it on Instance Validation.
Any clues what's wrong with this schema file?
Thanks!