Closed letmaik closed 6 years ago
Transfered to the WG: https://github.com/w3c/json-ld-api/issues/4.
@letmaik Would scoped contexts resolve your use case without relaxing the collision constraint? Or is it that you have existing JSON that you want to map to RDF and there are two fields that both map to rdf:type
/ @type
?
I want the following:
However this is not allowed. The playground says "Invalid JSON-LD syntax; colliding keywords detected".
However, this one works:
I understand that this restriction probably makes sense for other keywords, but could it do any harm for
@type
?