我正在尝试对Google Structured Data Testing tool友好。我试着给他一个Event
片段:https ://schema.org/Event
问题是PostalAddress
:我把itemprop="location"
我的PostalAddress
,但后来它认为address
缺少了PostalAddress
。
我不知道我可以在一个adress
项目中设置什么,因为它甚至没有在 schema.org 中描述。
<div itemscope itemtype="http://schema.org/Event">
<h1 itemprop="name">PIÈCE DE THÉÂTRE : " L'AUBERGE DU CARAMEL " DE JEAN-LUC PECQUEUR</h1>
<ul>
<li class="avenir"><span itemprop="startDate" content="2015-04-10T20:30:00+02:00">10/04/15</span> 20h30</li>
<li class="avenir"><span itemprop="startDate" content="2015-04-11T20:30:00+02:00">11/04/15</span> 20h30</li>
<li class="avenir"><span itemprop="startDate" content="2015-04-12T15:00:00+02:00">12/04/15</span> 15h</li>
</ul>
<address>
<div itemprop="location" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="name" class="raisoc">PIÈCE DE THÉÂTRE : " L'AUBERGE DU CARAMEL " DE JEAN-LUC PECQUEUR</span>
<br />
<span itemprop="streetAddress">route de Paris<br /></span>
<span itemprop="postalCode">03630</span> <span itemprop="addressLocality">DESERTINES</span>
<br />
</div>
</address>
</div>