JSON-LD

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月22日 UTC.