Blog

What is structured data, and does my website need it?

Maybe whoever built your site, or someone selling a service, has mentioned schema, markup or structured data, and you nodded. This post says what it is in plain words, what Google says it does and does not do, and what a local business should put in it first.

What is structured data, in plain words?

It is a description of the page, written for machines, that sits in the page's code. Your visitors read your hours in a sentence. Structured data states the same hours in a fixed format, labeled as hours. Google calls it a standardized format for providing information about a page and classifying its content (Google Search Central).

The labels come from a shared vocabulary. Google says most Search structured data uses the schema.org vocabulary, and that for Google Search, the documentation Google publishes is definitive (Google Search Central). So for anything to do with Google Search, read Google's guide first.

What can it do for your pages?

Two things, in Google's words. Google uses it to understand pages, and it can make a page eligible for rich results (Google Search Central). Eligible is the word to hold on to. It opens a door; Google decides what to show.

Eligibility has a floor. A page needs every required property to be eligible for enhanced display (Google Search Central). Leave one out and the rest of the block cannot make up for it.

What should a local business mark up first?

Your business, as a LocalBusiness. Schema.org defines a LocalBusiness as a particular physical business or branch of an organization, such as a restaurant, a bank branch or a medical practice, and makes it a kind of both Organization and Place, so it takes properties such as address, telephone and openingHoursSpecification (Schema.org). That is LocalBusiness schema, and on Google's side it has a short list of properties (Google Search Central):

  • Required: name. Use the name on your sign and your Google Business Profile.
  • Required: address. The street address your visitors see on the page.
  • Recommended: telephone. One number, the one your site gives everywhere else.
  • Recommended: url. The address of your site.
  • Recommended: geo, as Google's guide names it.
  • Recommended: opening hours. The hours your page shows.

Can structured data say things the page does not?

No. Google says structured data describes the page it is on, and not to add structured data about information that is not visible to the user, even if it is accurate (Google Search Central). A true fact that only the markup carries still breaks the rule.

So the markup follows the page, never the other way round. If your hours are in the markup, put them on the page. If you change your phone number, change it in both places the same day. Keep the same name, address and phone in the markup, on the page and on your profile; that match is NAP consistency, and it is worth having for the people who read all three.

More is not better either. Google says fewer recommended properties that are complete and accurate are better than many that are incomplete or inaccurate (Google Search Central). Six true properties beat twenty half-filled ones.

Which format should you ask for?

JSON-LD, unless your site already uses another format that is valid. Google supports JSON-LD, Microdata and RDFa, recommends JSON-LD in most cases as the easiest to implement and maintain, and treats all three as equally fine when valid (Google Search Central).

How do you check what your site has?

Google names a tool for it: the Rich Results Test checks markup (Google Search Central). Run it on your homepage, read what it finds, and compare each property with the page itself.

The free scan looks for three things here. A2 fires when there is no JSON-LD on the homepage. A3 fires when there is no Organization or LocalBusiness entity with name, contact details and sameAs. L2 fires when the streetAddress in your structured data is not found in your homepage text. The scan reads each page as your server sends it and runs none of its scripts, so markup that a script adds after the page loads is not seen.

If you are building a site anyway, Website build is a fast, conversion-first site with redirects, structured data and speed work, built on your own accounts.

Checking your LocalBusiness block, counted

Here is the time a check of your homepage markup takes, using Google's list of required and recommended properties. The minutes are made-up round numbers for the example, so put in your own.

Required properties: name, address
2
Recommended properties: telephone, url, geo, opening hours
4
Properties to check
2 + 4 = 6
Minutes per property, against the page and your profile
2
One check, plus 5 minutes in the Rich Results Test
6 at 2 minutes is 12, plus 5: 17 minutes
Checks a year: once a quarter
4
Total
4 checks at 17 minutes: 68 minutes a year

Just over an hour a year. Add a check on the day your hours, phone or address change, because the markup describes the page and the page has just changed.

Writing the block the first time is not in the count. That is a job for whoever edits your site's code, and the check above is how you confirm they got it right.

Round numbers for the arithmetic, not a benchmark and not a forecast. Put in your own.

Questions

Will structured data move my business higher in Google?

Google's guide does not promise that. What it says is that Google uses structured data to understand pages, and that it can make a page eligible for rich results (Google Search Central). Add it to describe your business clearly.

Is schema.org the same thing as structured data?

They go together. Schema.org is the vocabulary most Search structured data uses, and structured data is the format that carries it on your page. For Google Search, Google says its own documentation is definitive (Google Search Central).

Can I add my hours to the markup if they are not on the page?

No. Google says not to add structured data about information that is not visible to the user, even if it is accurate (Google Search Central). Put the hours on the page first.

What if my markup and my Business Profile disagree?

Find which one is out of date and correct it, then make sure the page shows the same details as the markup. Google asks that structured data describe the page it is on (Google Search Central), so the page and the markup change together.

Related reading

Posts

Guides

Sources