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

Update LinkDescriptionObject to remove redundant 'jsonSchema' property #112

Merged

Conversation

tapina
Copy link

@tapina tapina commented Aug 31, 2016

It should be just 'schema'.

@cowtowncoder
Copy link
Member

cowtowncoder commented Sep 26, 2016

Quick question: since this would be backwards incompatible change, what does JSON Schema specification say about it? I think it makes sense to fix broken things, but I just want to be sure there are no unintended consequences.

There is also the question of which version fix should go in; usually that'd be the next new minor version (2.9). but in this case I'd prefer 2.8(.4) if fix is safe enough.

@tapina
Copy link
Author

tapina commented Sep 27, 2016

See https://tools.ietf.org/html/draft-zyp-json-schema-03#page-16 section 6.1.1.4.3. 'schema' is defined (and 'targetSchema' in 6.1.1.3) but 'jsonSchema' is not defined at all.

The same in V4 too (http://json-schema.org/latest/json-schema-hypermedia.html#anchor38).

@cowtowncoder
Copy link
Member

@tapina Thank you. I'll merge the patch then; will be included in 2.8.4

@cowtowncoder cowtowncoder merged commit 21d8cb8 into FasterXML:master Sep 28, 2016
cowtowncoder added a commit that referenced this pull request Sep 28, 2016
@cowtowncoder cowtowncoder added this to the 2.8.4 milestone Sep 28, 2016
nealeu added a commit to cambridgeweblab/common-java that referenced this pull request Nov 10, 2021
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

Successfully merging this pull request may close these issues.

2 participants