저는 schema.org로 내 콘텐츠를 마크 업하고 있으며 약간의 문제가 있습니다. 나는 BarOrPub 스키마를 사용하고 있습니다. 링크에서 볼 수 있듯이,이 링크는 장소의 '이벤트'속성을 상속 받지만 계층 구조의 장소에서는 표시되지 않습니다. Rich Snippets Tool에 코드를 붙여 넣으면 추출 된 정보가 올바르게 표시되지만 미리보기에는 오류가 있다는 메시지가 표시됩니다. SocialEvent에서 itemprop="event"
을 제거하면 미리보기가 올바르게 표시되고 정보가 올바르게 추출됩니다 (필요한 방식으로 배치되지는 않았지만). BarOrPub을 "이벤트"속성이 포함 된 Place로 변경하면 둘 다 올바르게 작동합니다. 어떻게해야합니까?Schema.org 중첩 이벤트가 올바르게 구문 분석되지 않습니다.
<div itemscope itemtype="http://schema.org/BarOrPub">
<div>
<img itemprop="image" src="57.jpg">
<div>
<h1 itemprop="name">NameOfPlace</h1>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div itemprop="ratingValue">4.07</div>
<meta itemprop="ratingCount" content="15"/>
</div>
<p itemprop="telephone">(316) 263-4044</p>
</div>
</div>
<div>
<div class="barhalfpad">
<h2>Upcoming Events</h2>
<p>
<table>
<tr itemprop="event" itemscope itemtype="http://schema.org/SocialEvent">
<td>
5/18<meta itemprop="startDate" content="2012-05-18T21:30:00-07:00">
</td>
<td>21:30:00</td>
<td itemprop="name">
Event Name
</td>
</tr>
</table>
</p>
</div>
</div>