Problems with your Microdata:
To link events via the subEvent
/superEvent
properties, you could either use the itemref
attribute or nest the items.
With itemref
and superEvent
, it could look like:
<div itemprop="superEvent" itemscope itemtype="http://schema.org/Event" id="main">
<span itemprop="name">Main</span>
</div>
<div itemscope itemtype="http://schema.org/Event" itemref="main">
<span itemprop="name">Event</span>
</div>
With itemref
and subEvent
, it could look like:
<div itemscope itemtype="http://schema.org/Event" itemref="secondary">
<span itemprop="name">Main</span>
</div>
<div itemprop="subEvent" itemscope itemtype="http://schema.org/Event" id="secondary">
<span itemprop="name">Event</span>
</div>
Nesting (without using itemref
) could look like:
<div itemscope itemtype="http://schema.org/Event">
<span itemprop="name">Main</span>
<div itemprop="subEvent" itemscope itemtype="http://schema.org/Event">
<span itemprop="name">Event</span>
</div>
</div>