Microdata:为什么Google要求在一个场地上举行活动的位置?

问题描述 投票:0回答:1

我有以下微数据HTML代码:

<div itemscope itemtype="http://schema.org/PerformingArtsTheater">
    <h2  itemprop="name">The Old Vic</h2>
    <div itemscope itemtype="http://schema.org/TheaterEvent" itemprop="http://schema.org/event">
        <h3 itemprop="name">Endgame</h3>
       <div itemprop="startDate">2020-01-27</div>
  </div>
</div>

即:PerformingArtsTheater名为“ The Old Vic”有一个事件,TheaterEvent名为“ Endgame”。

[当事件在PerformingArtsTheater处即Place处时,我认为TheaterEvent的位置显然是相同的'PerformingArtsTheater'吗?

但是Google的Structured Data Test ToolTheaterEvent中发现错误:“位置字段的值是必需的。”。

怎么来?这里的location字段最多不是多余的,而最坏是矛盾的吗?

((例如“旧维克二月:塞缪尔·贝克特在旧维克的残局。”)

有没有一种方法可以在不引入冗余的情况下取悦Gogle?

schema.org microdata
1个回答
0
投票

Thing > Event > TheaterEvent

© www.soinside.com 2019 - 2024. All rights reserved.