- From: Anders Riutta <anders.riutta@gladstone.ucsf.edu>
- Date: Tue, 10 Dec 2013 21:37:07 -0800 (PST)
- To: public-linked-json@w3.org
Hello,
I am trying to understand whether singular or plural ids are best for @list and @set. In the example in the spec, a @list has a singular id:
"nick": [ "joe", "bob", "jaybee" ]
But if we treat the list as a typical JSON array, it would be common to use "nicks" here instead of "nick."
Unlike the "nick" example, the example for @reverse uses the plural:
"children": [
{
"@id": "#bart",
"name": "Bart"
},
{
"@id": "#lisa",
"name": "Lisa"
}
]
Are there any JSON-LD conventions on whether to use singular or plural with @list and @set?
Thanks.
Anders Riutta
Received on Wednesday, 11 December 2013 05:37:32 UTC