Skip to content

Assigning a name/metadata to a subtype #290

Answered by handrews
rgov asked this question in Q&A
Discussion options

You must be logged in to vote

There's no specific keyword for this, but the meta-data vocabulary shows the sort of annotation keyword that you want to use.

If you are using draft 2020-12, you can formally define a vocabulary for your keyword(s). Alternatively, unknown keywords in 2020-12 SHOULD be treated as simple value annotations. Keywords like title and readOnly, where the keyword value is the annotation value, are simple value annotations, so this is what you want.

In draft 2019-09 and later, there is a defined format for machine-readable annotation output, and several implementations now support it. If you are on draft-07, only a few implementations support returning annotations as we had not yet defined a stand…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rgov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants