JSON-LD is an easy-to-use JSON-based linked data format that defines the concept of context to specify the vocabulary for types and properties. Gmail supports JSON-LD data embedded in HTML documents with the @context of schema.org, as in the following example:
<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>
The full specifications and requirements for the JSON-LD syntax are available on json-ld.org, and you can also use our Schema Validator tool to try out JSON-LD and debug your markup.
[null,null,["Last updated 2024-12-19 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."]]],[]]