Schema SiteNavigationElement als JSON-LD Strukturierte Daten

Gesehen ich habe eine ähnliche Frage zu diesem Thema, aber noch keine akzeptierte richtige Antwort oder ein Beispiel.
Was sollte das format in diesem element werden?
Die BreadcrumbList ist gut dokumentiert und enthält die Liste, aber nicht die SiteNavigationElement.

    <script type="application/ld+json">
    {
    "@context": "https://schema.org",
    "@type": "SiteNavigationElement",
    "@graph": [
        {
        "@type": "ListItem",
        "position": 1,
        "item": {
            "@id": "http://www.example.com/",
            "url": "http://www.example.com/",
            "name": "Home"
            }
        },
        {
        "@type": "ListItem",
        "position": 2,
        "item": {
            "@id": "http://www.example.com/contact.html",
            "url": "http://www.example.com/contact.html",
            "name": "Contact"
            }
        },
    ]
    }
    </script>

UPDATE:

Wurden rund um das Spiel und kommen mit etwas, das funktioniert. Aber ist das die richtige Struktur?

<script type="application/ld+json">
//<![CDATA[
{
"@context": "https:\/\/schema.org\/",
"@type": "SiteNavigationElement",
"headline": "Headline for Site Navigation",
"name": [
    "Home",
    "Tours",
    "Transfers",
    "Taxis",
    "Contact"
    ],
"description": [
    "Homes Desc.",
    "Tours Desc.",
    "Transfers Desc.",
    "Taxis Desc.",
    "Contact Desc."
    ],
"url": [
    "http://www.example.com/",
    "http://www.example.com/tours/",
    "http://www.example.com/transfers/",
    "http://www.example.com/taxis/",
    "http://www.example.com/contact.html"
    ]
}
//]]>
</script>
InformationsquelleAutor Barton | 2017-06-22
Schreibe einen Kommentar