You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also applies to <describes>, as used in additionalMetadata. Note the mapping here is slightly different: <describes>abc123<describes> becomes: "describes": "abc123", keeping the element name; while references becomes @id. describes needs to be typed as @id so that this functions properly as linked data.
Note that expanding references will also break the strict test of matching numbers of elements, since there's no unique way to collapse back into references, so these will always be embedded.
In contrast, describes should always be collapsed back to the id instead of embedded.
Currently package generates JSON-LD such as:
This should really be turned into:
Or perhaps more formally:
Going in reverse, some care will need to be taken to put the
<references>
tag back in only when the@type
is@id
or the@id
is the only property.The text was updated successfully, but these errors were encountered: