We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to refer other json schema files , tried loading all schemas upfront but still did not work,
Already referred to #7 but could not resolve it, appreciate your help.
SchemaSource personSource = new UrlSchemaSource( getClass().getResource("/config/person.json")); SchemaSource addressSource = new UrlSchemaSource( getClass().getResource("/config/address.json"));
In Person.json { "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "$id": "#test", "properties": { "billing_address": { "$ref": "./address.json" } } }
Address.json is in same folder as person.json
Exception in thread "main" java.lang.IllegalArgumentException: Invalid schema combination, unresolved $ref references: address.json
The text was updated successfully, but these errors were encountered:
@worldturner : Any thoughts
Sorry, something went wrong.
No branches or pull requests
Unable to refer other json schema files , tried loading all schemas
upfront but still did not work,
Already referred to
#7 but could not
resolve it, appreciate your help.
In Person.json
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"$id": "#test",
"properties": {
"billing_address": { "$ref": "./address.json" }
}
}
Address.json is in same folder as person.json
Exception in thread "main" java.lang.IllegalArgumentException: Invalid
schema combination, unresolved $ref references: address.json
The text was updated successfully, but these errors were encountered: