You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into the same issue, and have a thought. How does the validator know the file location of the top-level schema?
That is, I am loading my schema with the following code:
JsonNode schema = new JsonNodeReader()
.fromInputStream(getClass().getResourceAsStream("/schema/domain.json"));
I assume that you guys are doing something similar? But if the Json node reader is just reading from an InputStream or Reader, the location of the original file is lost - so how could relative urls possibly work?
That suggests that, in order to make this work, the node reader must take a file path - or else some pre-processing is needed in order to merge the nested schemas.
Hello,
I would like to get your point on an issue I face when validating two schemas with a reference, from one to the other.
I have two schemes
When trying to validate the schemes, I get the following error:
From my understanding of the json schema spec, a relative path should be accepted.
What do you think about it?
The address.json is as following:
The card.json file is as following:
The text was updated successfully, but these errors were encountered: