I want to build JSON-LD for my homepage. In my page I have:
- header
- navigation (2 series)
- sidebar (with 2 list of items)
- one list of main items
- footer
I try build the JSON-LD like this:
<script type="application/ld+json">
[
{
"@context": "http://schema.org",
"@type": "WebSite",
.
.
.
},
{
"@context": "http://schema.org",
"@type": "WebPage",
"mainEntity":{
"@type": "ItemList",
"itemListElement":[
{
"@type": "BlogPosting",
.
.// 4- one list of main items
.
}
...
]
}
.
.
.
}]
</script>
If my structure is true,
how can I add
SiteNavigationElement
and sidebar content to this JSON object? Do I have to add another object or I can insert it inWebPage
?I use JSON-LD. Do I need to use Microdata too? or is JSON-LD enough?
I create a full sitemap-index.xml for all menu and items. Do I really need to add
SiteNavigationElement
(and another thing exceptmainEntity
) in JSON-LD?