Closed
Description
JSON-LD framing should support multiple @id
in order to "hook" multiple IRIs that have nothing in common in kind of relations (@type
or whatsoever).
A solution would be to be able to accept arrays for @id
.
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"ex": "http://example.org/vocab#"
},
"@id": [
"http://example.org/library",
"http://example.org/kitchen"
]
}
Currently an error is returned :
Invalid JSON-LD syntax;
@id
value must be a string or an object.
Note: @type
should accept multiple values too