Can Schema.org Expected Types be collections, too?

后端 未结 1 458
别那么骄傲
别那么骄傲 2020-12-07 04:10

A Schema.org object of type Person can have a sameAs property of type URL. According to Google\'s structured data site, the sameAs property can be a single item

1条回答
  •  一生所求
    2020-12-07 04:43

    Every Schema.org property can have multiple values. It doesn’t necessarily make sense for some properties (e.g., birthDate), but it’s still allowed.

    In JSON-LD:

    "sameAs": ["/foo", "/bar"],
    

    In Microdata:

    
    
    

    In RDFa:

    
    
    

    This doesn’t necessarily mean that Google (or any other consumer) supports this for every property, too. So when Google explicitly mentions this in their documentation, you can be sure that the respective search result feature works with multiple values.

    0 讨论(0)
提交回复
热议问题