The additionalType
property should not be used to create another item (which you are doing with itemscope
+itemtype
). Its job is to provide the URI of additional types, so the URI itself is the value here.
It seems that you want to mark up each link in your navigation. This is not possible with SiteNavigationElement
(it can only be used to mark up the whole navigation, so it’s typically useless).
It would be possible with ItemList
, and you could provide SiteNavigationElement
as additionalType
(but I wouldn’t expect any consumer to make use of this):
<div itemscope itemtype="http://schema.org/ItemList">
<link itemprop="additionalType" href="http://schema.org/SiteNavigationElement" />
<ul>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/WebPage">
<a href="/link-1" itemprop="url"><span itemprop="name">Link 1</span></a>
</li>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/WebPage">
<a href="/link-2" itemprop="url"><span itemprop="name">Link 2</span></a>
</li>
</ul>
</div>
Or as an actual MTE (without additionalType
):
<div itemscope itemtype="http://schema.org/ItemList http://schema.org/SiteNavigationElement">
<ul>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/WebPage">
<a href="/link-1" itemprop="url"><span itemprop="name">Link 1</span></a>
</li>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/WebPage">
<a href="/link-2" itemprop="url"><span itemprop="name">Link 2</span></a>
</li>
</ul>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…