JSON-LD ist ein einfach zu verwendendes JSON-basiertes Format für verknüpfte Daten, das das Konzept von context definiert, um das Vokabular für Typen und Eigenschaften anzugeben. Gmail unterstützt in HTML-Dokumente eingebettete JSON-LD-Daten mit der @context von schema.org, wie im folgenden Beispiel:
<scripttype="application/ld+json">
{"@context":"http://schema.org","@type":"Person","name":"John Doe","jobTitle":"Graduate research assistant","affiliation":"University of Dreams","additionalName":"Johnny","url":"http://www.example.com","address":{"@type":"PostalAddress","streetAddress":"1234 Peach Drive","addressLocality":"Wonderland","addressRegion":"Georgia"}}
</script>
Die vollständigen Spezifikationen und Anforderungen für die JSON-LD-Syntax finden Sie unter json-ld.org. Mit unserem Tool Schema Validator können Sie JSON-LD ausprobieren und Ihr Markup beheben.
[null,null,["Zuletzt aktualisiert: 2024-12-21 (UTC)."],[[["JSON-LD is a JSON-based format used for representing linked data on the web, using a `context` to define vocabulary."],["Gmail supports JSON-LD data embedded within HTML documents, specifically utilizing the `schema.org` context for defining types and properties."],["The `@type` key within JSON-LD is reserved and should contain a full type URI or a fragment referencing `http://schema.org/`."],["Developers can refer to json-ld.org for complete specifications and utilize Google's Schema Validator tool for testing and debugging JSON-LD markup."]]],[]]