json-ld.org
json-ld.org copied to clipboard
scoped context in `@nest` property does not work in playground
{
"@context": {
"name": {
"@id": "@nest",
"@context": {
"first": "http://schema.org/givenName",
"last": "http://schema.org/familyName"
}
}
},
"name": {
"first": "Pierre-Antoine",
"last": "Champin"
}
}
should expand to
[
{
"http://schema.org/givenName": [
{
"@value": "Pierre-Antoine"
}
],
"http://schema.org/familyName": [
{
"@value": "Champin"
}
]
}
]
but in the playground, it expands to an empty list...
Nesting and scoped-contexts need work post 1.1.
Darn, I was not entirely sure it was supposed to work, but I was too lazy to go back to the algorithm, and just checked on the Ruby distiller, which seems to support it...