Skip to content
New issue

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

My schema (generated by Jackson from JAXB) has strange ids #78

Closed
vamsiampolu opened this issue Mar 23, 2018 · 1 comment
Closed

My schema (generated by Jackson from JAXB) has strange ids #78

vamsiampolu opened this issue Mar 23, 2018 · 1 comment

Comments

@vamsiampolu
Copy link

My schema has ids that look like this:

"urn:jsonschema:com:mycompany:models:mali:Application"

that refer to elements within the same file. How can I specify to json-schema-ref-parser that these ids are local and that it should attempt to look up the id from a file?

@vamsiampolu vamsiampolu changed the title My schema has strange ids My schema (generated by Jackson from JAXB) has strange ids Mar 23, 2018
@JamesMessinger
Copy link
Member

JamesMessinger commented May 23, 2018

You can implement a custom resolver for that.

Sorry for taking so long to reply. I somehow didn't notice this issue when it first came in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants