Open Peeja opened 1 year ago
Consider the following JSON-LD document:
{ "@context": { "appliances": { "@id": "ex:appliances", "@container": "@list" } }, "appliances": [ "toaster", "microwave" ] }
According to the JSON-LD playground, this compacts (with an empty context) to:
{ "ex:appliances": { "@list": [ "toaster", "microwave" ] } }
However, m-ld doesn't notice that ex:appliances should be a @list:
ex:appliances
@list
[ { "@id": ".well-known/genid/clfgzkmo700033b6mrbk33fxz", "ex:appliances": [ "microwave", "toaster" ] } ]
Consider the following JSON-LD document:
According to the JSON-LD playground, this compacts (with an empty context) to:
However, m-ld doesn't notice that
ex:appliances
should be a@list
: