What does structured data do?
According to Google Search Central, structured data is a standard format for providing information about a page and classifying its content. It gives Google explicit information about what the page means. On a recipe page, for example, structured data can describe ingredients, cooking time, temperature, and calories.
Google uses the structured data it finds on the web to understand page content. It also uses it to learn about entities described in the markup, such as people, books, or companies. Google Search can use JSON-LD data describing a recipe’s name, author, and other details to display a rich result for that recipe.
Adding structured data can make a page eligible for more visually prominent search results. Google calls these rich results. Structured data alone does not guarantee that a rich result will appear. Eligibility also depends on meeting Google’s general guidelines and the rules for the specific feature.
How it relates to page content
Google Search Central explains that structured data appears as markup on the page it describes. The data on a page describes that page’s content. Do not create empty pages solely to host structured data.
The information you mark up must be visible to people reading the page. Google’s general guidelines say that even accurate information should not be marked up if users cannot see it. For example, if the JSON-LD describes a performer, the HTML body must describe the same performer.
The data must accurately represent the page’s content. Google gives the example of labeling sports broadcasts as local events to illustrate irrelevant markup. Labeling woodworking instructions as a recipe is similarly irrelevant.
Google’s content guidelines prohibit marking up misleading content or content unrelated to the page’s focus. Fake reviews are another example. Do not use structured data to deceive or mislead users. Do not impersonate a person or organization or misrepresent ownership, affiliation, or primary purpose.
Google also requires original content created by you or your users. Rich results are not shown for time-sensitive content that is no longer relevant. Structured data content must also follow any additional content guidelines and policies for the feature. For example, JobPosting content is subject to the job posting content policies.
Vocabulary and properties
According to Google Search Central, most structured data for Search uses the schema.org vocabulary. Google Search Central’s documentation for each feature defines how Google Search handles it. Schema.org includes other properties and objects that Google Search does not require and that may be useful to other search engines, services, tools, and platforms.
For an object to be eligible for an enhanced appearance in Google Search, it must include all of its required properties. Items missing a required property are ineligible for rich results. The documentation for each structured data feature specifies which properties are required, recommended, or optional.
Google says that adding more recommended properties can increase the likelihood that the information will appear in an enhanced search result. It is more important to provide fewer recommended properties with complete, accurate values than to include every possible property with incomplete, incorrectly formatted, or inaccurate data.
Google’s general guidelines recommend using the most specific applicable type and property names defined by schema.org. Any additional rules for the relevant rich result type also apply. Google can also make general use of the sameAs property and other schema.org structured data.
Supported formats
Google Search supports JSON-LD, Microdata, and RDFa unless otherwise specified. To be eligible for rich results, a page must use one of these supported formats. Google accepts all three formats as long as the markup is valid and follows the documentation for the feature.
Google generally recommends using the format that is easiest to implement and maintain. In most cases, that format is JSON-LD. Google also lists JSON-LD as the recommended format.