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

Link attributes in JSON Hyper-schema #7

Closed
awwright opened this issue Aug 19, 2015 · 7 comments
Closed

Link attributes in JSON Hyper-schema #7

awwright opened this issue Aug 19, 2015 · 7 comments

Comments

@awwright
Copy link
Member

The HTTP Link header, HTML, and Atom each define slightly different attributes on link relations. Things like hints at the target resource's media type, language, title, and other metadata that would otherwise require dereferencing the resource.

Perhaps JSON Schema should normatively reference these link-extensions or similar.

@yoshuawuyts
Copy link

@ACubed can you post an example? I'm not sure what you mean by "normatively reference". Thanks!

@awwright
Copy link
Member Author

@yoshuawuyts A normative reference, where compliance depends on also complying with the referenced spec, as opposed to a mere informative one.

https://www.ietf.org/iesg/statement/normative-informative.html

@yoshuawuyts
Copy link

@ACubed ah, that makes sense. Thanks!

@Relequestual
Copy link
Member

I'm unclear what the issue is here. Could you further explain the problem you see?

@handrews
Copy link
Contributor

handrews commented Jan 5, 2017

@Relequestual @awwright what I get from this is that we should explain what relations, if any, our Link Description Object fields have with link attributes defined by RFC 5988, HTML5, and/or Atom. Some of ours agree with some of those, others do not. And some of those do not entirely agree with each other.

It may be helpful to highlight our intentions for where we mean the functionality to be identical, and where we do not.

@handrews
Copy link
Contributor

handrews commented Sep 2, 2017

I think that the abstract link model in RFC 5988bis makes describing compliance a bit more straightforward, with its distinction between the abstract model and serializations (including the HTTP link header). Which means that "fixing" #377 will also address this issue, so I'll put it in the current milestone.

@handrews handrews added this to the draft-07 (wright-*-02) milestone Sep 2, 2017
@handrews handrews self-assigned this Sep 26, 2017
@handrews
Copy link
Contributor

Merged #427 which addressed #377 which, as noted above, means that this issue has been addressed as well.

@ghost ghost removed the Status: In Progress label Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants