Reputation: 2595
Is it valid by format conventions to use more then one type in JSON-LD notation? Like here:
{
"@context": "http://schema.org",
"@type":
[
"MusicalEvent",
"CreativeWork"
],
"name": "Name",
"url": "http://example.com"
}
Thanks!
Upvotes: 1
Views: 359
Reputation: 1906
Yes, it's perfectly valid to use more than one type. If it makes sense, they don't even need to be from the same vocabulary (e.g. schema:Person and foaf:Person).
Upvotes: 5