-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Hyper-schema: promoting progressive disclosure #78
Comments
Isn't this the opposite of the readOnly property at 4.4 of JSON Hyper-schema? As an aside, I note at http://json-schema.org/latest/json-schema-hypermedia.html, the changelog for draft 4 says that readOnly was removed, but yet it is in that document... |
readOnly is something entirely different, I think... It says the value of a property is managed exclusively by the server/authority who owns the document, so it doesn't make sense to change that property (changes will be overridden or error). This issue is talking about the issue of how do we not generate link relations that don't apply to the document. You shouldn't generate an "edit-form" link if the document isn't editable. You shouldn't provide a signout link if you're not signed in. And so on. |
Interesting. Fair enough. I think some real scoping of what Hyper-Schema can and should do is probably needed to better tease out requirements. That may just be because I don't understand it very well and don't see how it can be practically used, and haven't looked at any libraries that take advantage of it. |
I still have the That proposal's almost ready to go, just the (wonderful) explosion of issue discussions here has distracted me from finishing it up. |
Filed #98 about |
Looking at this again, it appears #49 is what I was thinking of all along. I'm trying to remember why I filed this... Maybe I should put a little note in hyper-schema to remind everyone this is a concern |
Links on the Web follow the concept of progressive disclosure: The links that are shown are only the ones relevant to the resource they appear on. If a resource has been locked for editing, it does not make sense to provide a rel="edit-form" link.
We should examine how JSON Hyper-schema inhibits, if at all, progressive disclosure on the Web.
The text was updated successfully, but these errors were encountered: