Description
[Marked as a question b/c I have no proposal I am pushing here- this has just come up several times so we should clarify whether that involves a spec change or not]
Several hyper-schema keywords could potentially be used without using "base"
or "links"
/LDOs. Are they in the right place?
-
"readOnly"
and"deprecated"
are useful for any sort of data definition, including resources managed in a local database (typically not managed as hypermedia) -
"media"
is not unlike"format"
in that it provides additional information on interpreting a primitive data type. At least one discussion here has involved someone wanting to use"media"
without any other Hyper-Schema features (I'll link to it next time I run across it, i don't remember where it is now)
This issue can be split if the discussions for different keywords go in different direction.
An alternative would simply be to offer guidance (perhaps on the web site) on whether and how implementations can use part of Hyper-Schema. Declaring something to be a Hyper-Schema (via "$schema"
and simply not using "base"
and "links"
may be the right answer, and we just need to clearly document that. The only requirement would be the obvious one that such usage cannot re-define those keywords.
This parallels discussions in the UI and code generation vocab discussions, which are talking about restricting usage of validation keywords.