Properly handle json-ld syntax
In JSON-LD, every key not starting with a @
(including id
when working with contexts that map id
to @id
) can be an array, an object containing at least @id
or @value
, or an array of such objects. When specs constrain the domain, that constraint applies semantically to the @value
or the @id
, not to the syntax itself.