Getting found

Local Business Schema: What It Does and How to Test It

Local business schema is JSON-LD that states your name, address, phone, hours and area. See which fields matter and how to test a page with Google's tools.

· 13 min read · By the ModernSite team

templates whose published sites write this data from your details
1,618
the format Google recommends for it
JSON-LD
a month to publish, markup included
$19

Local business schema is a block of code in your page, written in JSON-LD with the schema.org vocabulary, that states your business name, type, address, phone, hours and service area in a form a program reads without guessing. It promises neither a rich result nor a ranking, and Google itself guarantees no feature that uses it. A published ModernSite site writes the block from your business details, and you check it with Google's Rich Results Test and the Schema Markup Validator.

This guide is about the block itself: what it contains, which fields are worth getting right, how the details you type become those fields, and how to read the result of a test. If you want the Google listing side, read Google Business Profile and your website instead.

What is local business schema?

Schema.org is a shared vocabulary for describing things on the web, and LocalBusiness is one of its types. The schema.org page defines it as “A particular physical business or branch of an organization.” It sits under both Organization and Place, and it has subtypes for particular trades, among them AutomotiveBusiness and HomeAndConstructionBusiness, each with narrower types beneath it. AutoRepair is a kind of AutomotiveBusiness, and GeneralContractor is a kind of HomeAndConstructionBusiness.

JSON-LD is the way the vocabulary is written into a page. Google supports three formats and says that in most cases JSON-LD is the one to use. On a ModernSite site it is a script element with the type application/ld+json inside the page's head, one for each entry, on every page of the site. A visitor never sees it. A crawler, a validator or anyone who views the page source does.

What does local business schema tell search engines and AI answers?

It states facts you already print on the page, as labeled data: this is a business, of this type, with this name, at this address, answering this phone, open these hours, serving these places. Google describes structured data as a standardized format for giving information about a page and classifying its content. A crawler that reads your contact page as plain text has to work out which line is the phone and which is the fax. The markup removes the work.

That is the whole claim. Google states that it does not guarantee any feature that uses structured data will show up in search results, even when a page passes its test. On AI features, its own guidance says there is no special schema.org structured data to add for AI Overviews or AI Mode, and lists making sure your structured data matches the visible text among the ordinary practices that stay worthwhile. For other assistants, there is no published promise at all. Treat local business schema as a clean copy of your details, never as a lever.

Which local business schema fields matter?

Start with what Google's local business page treats as basic. It requires a name and an address, and recommends a telephone number, a page address (the url), opening hours, coordinates and a price range. Beyond that list, schema.org has properties such as areaServed that Google's page does not mention. The table sets each field beside what a ModernSite site writes for it.

Local business fields: what Google asks for, and what a ModernSite site writes
FieldGoogle's local business pageWhat a ModernSite site writes
nameRequiredYour business name. Without one, the site writes no business entry at all.
addressRequiredA postal address built from your Address line.
telephoneRecommendedYour main phone number only.
urlRecommendedYour site's primary address.
openingHoursSpecificationRecommendedOne entry for each line of your hours that gives days and a time range.
geo (coordinates)RecommendedNot written.
priceRangeRecommendedNot written.
aggregateRating and reviewRecommended only for sites that collect reviews of other local businessesNot written.
areaServedNot on Google's page; schema.org calls it the place where a service is providedA city for each town you list, and a place for each ZIP code.
logo, sameAs, hasCredential, legalName, foundingDateNot on Google's pageWritten when you add a logo image, social links, licenses, a legal name that differs from your business name, and the year you were founded.

Google's column is its local business structured data page. The last column is read from the code that serves published ModernSite sites.

Two lessons follow. First, a correct name, address and phone number carry the block, so put your care there. Second, two of Google's recommended fields, coordinates and price range, are not written by a ModernSite site, and the editor has nowhere to add them. Google marks them recommended, not required, and a block without them is still a valid business entry. Star ratings are the field to leave alone on your own business: Google's page restricts rating and review markup to sites that collect reviews of other local businesses, and a ModernSite site writes none.

Which business type should a local business use?

The most specific one that is true. Google's page tells you to use the most specific LocalBusiness subtype available, such as a Restaurant or a DaySpa, and a block can name more than one type. On a ModernSite site you do not choose it. The type follows the trade of the template you started from, and a trade with no matching type gets plain LocalBusiness. The editor has no field for the type, so pick a template for your trade. These are some of the mappings:

The type a ModernSite site writes for each trade
TradeType written
Auto repairAutoRepair
Remodeling and general contractingGeneralContractor
PlumbingPlumber
ElectricalElectrician
RoofingRoofingContractor
Heating and coolingHVACBusiness
PaintingHousePainter
Landscaping, cleaning and pest controlHomeAndConstructionBusiness
DentalDentist
LawLegalService
Hair salon and barbershopHairSalon
Therapy and yogaLocalBusiness

Read from the renderer's catalog mapping.

How do the details you type become schema fields?

Through the Business panel, which is where every site holds its name, phone, email, address, opening hours, social links, licenses and service area. The page reads those values, and so does the markup, which is why they cannot disagree. The rules below are the places where what you type decides what gets written, so each one is a check to run before you test.

  • Address format. A line written as street, city, a two-letter state and a ZIP code becomes a street, a city, a region and a postal code, with the country set to the United States. A city and a state alone, such as Tulsa, OK, becomes a city and a state with no street, which suits a business that does not show one. Anything else is written whole as the street, so an address without the state abbreviation or ZIP code arrives as one long street line.
  • Hours. Each line that gives days and a time range becomes one entry, and times are read with or without minutes, with am and pm or on a twenty-four-hour clock. A closed day, a line that is not a time range and a sentence such as “open late on request” add nothing. A line with its own label and no days, such as an emergency line, is left out when other lines name days, so it cannot turn a weekday business into an all-week one.
  • Phone. Only the main phone is written. More phones and the text line show on the page and stay out of the markup.
  • Service area. Each town becomes a city, inside its state when you give one. Each ZIP code becomes a place with that postal code. The county heading and the “where we don't go” line say nothing, because the vocabulary has no way to exclude a place.
  • Licenses. A license, registration or certificate is written with its name and number, plus the issuing board and lookup link when you give them, but only if it has a real number. A sample number made of zeros is left out. Insurance and bonds are never written.
  • Logo. Written only when you upload an image logo, not when the site uses a name, initials or an icon.

A few entries apply to the whole site. Every page carries a WebSite entry with the site's name and address, and an FAQ section writes a FAQPage entry from the questions on that page. Those are data about the page's content, and Google does not promise any display for a FAQ. A site that ships in two languages also states them.

How do you check a page with Google's Rich Results Test?

Open the Rich Results Test, enter the address of a page on your published site, and run it. Google's tool checks a public page by address or a pasted code snippet, and lets you choose a smartphone or a desktop crawler. Run it on the home page and on the contact page. Then read two things: whether it found your business entry, and whether it lists any errors.

Google's guidance on the result is practical: fix critical errors, and treat the non-critical issues as optional improvements. Do not read a missing rich result as a failure, since Google decides what to show. If the test cannot read the page at all, check that nothing blocks it: Google asks that structured data pages are not blocked by robots.txt, a noindex tag or a login. Its Search Console also has a URL Inspection tool to confirm Google found the page, and Google says to allow time for recrawling after you publish a change.

How do you check a page with the Schema Markup Validator?

Enter the same address at validator.schema.org. Schema.org describes its validator as dedicated to checking that JSON-LD, RDFa and Microdata are used in widely understood ways, and says it does not check your content against the needs of any one service or product. It warns about unusual combinations of types and properties, and it shows the data it extracted from the page. That makes it the tool for a question the Rich Results Test does not answer: is this a correct schema.org description of a business, whatever Google does with it.

Which check answers which question
CheckQuestion it answers
View page source, search for application/ld+jsonIs the block on the page at all?
Schema Markup ValidatorIs the markup valid schema.org, and what data did it extract?
Rich Results TestDoes Google read the page and does it meet Google's feature requirements?
Search Console URL InspectionHas Google actually fetched this page?

What should you look for in the results?

Compare the extracted data with the page, line by line. A test passing tells you the syntax is sound, and says nothing about whether the details are right. Open the home page and the contact page side by side with the result and check each of these:

  • The type is the one for your trade, not plain LocalBusiness when a specific type exists.
  • The name is exactly what the page's header shows.
  • The address has a street, a city, a state and a postal code in separate parts. One long street line means the address was not written as street, city, state and ZIP.
  • The telephone is the number a customer should call.
  • The hours list each day group with its opening and closing times. A missing day means that line was closed or not a time range.
  • The area served lists the towns and ZIP codes you want, and nothing you cut from the page.
  • The credentials, if you entered any, show real numbers and the right board.
  • The same entry appears on every page you test.

When something is wrong, fix it in the Business panel, publish, and test again. There is no code to edit. The editor changes words, photos, business details, the logo and each page's search text, and it has no field for pasting markup, so a correct block always comes from correct details.

How to get a correct local business block with ModernSite

  1. 1

    Choose the template for your trade

    The business type follows the trade, so start at plumbing templates or your own trade's page. A plumbing site writes the type Plumber, and you do not set it anywhere.

  2. 2

    Pick the template and sign in

    Select Use this template, enter your email, then the six-digit code we send. The template you chose is already selected on the next screen.

  3. 3

    Choose the free web address

    The address takes lowercase letters, numbers and hyphens, at least three characters, no spaces: harbor-plumbing, for example. The site is live at harbor-plumbing.modernsite.site as soon as you create it. That is the address you will test. Your company name comes next, in business details.

  4. 4

    Rewrite each page, service area first

    The template is filled in for a sample business. Rewrite the pages one at a time, and on the service area page list your real towns and ZIP codes, because they become the area served. Changes save as you type.

  5. 5

    Replace the sample photos

    Click a photo, choose Replace image, then Upload from device or Choose from library. Upload your own van, crew and finished work.

  6. 6

    Enter your details in the shape the markup reads

    Open business details. Write the address as street, city, two-letter state and ZIP code. Write each hours line as days and a time range. Add a license only with its real number. These fields are what the markup is built from.

  7. 7

    Write each page's search text

    Under Search & sharing, give every page a title and a description. This is the text a search result shows, and it sits beside the markup, not inside it.

  8. 8

    Publish, then test the live address

    Building and previewing cost nothing. Publishing is $19 a month. Once the site is live, put its address into the Rich Results Test and the Schema Markup Validator, then compare the result with the checklist above.

  9. 9

    Connect your own domain (optional)

    Skip it if harbor-plumbing.modernsite.site is enough, because the free address works without a domain. To use one you own, enter it on the Domain tab and add the two records the page shows. Then run both tests again on the new address.

Questions

Do I need local business schema to appear in AI answers?

No. Google says there is no special schema.org markup to add for its AI features, and it recommends keeping structured data in line with the visible text. The markup is a tidy copy of your details, and the page's own words are what an answer quotes.

Can I paste my own JSON-LD into my ModernSite site?

No. The editor changes words, photos, business details, the logo and search text, and has no field for code. The markup is written from your business details, so correcting a detail corrects the markup.

Will local business schema get me star ratings or a better rank?

No promise comes with it. Google does not guarantee that structured data shows up in search results. Its local business page restricts rating and review markup to sites that collect reviews of other local businesses, and a ModernSite site writes none.

Does the markup update my Google Business Profile?

No. Your profile is entered and verified in Google's own tool. The markup describes your website, and the two should say the same thing.

Why does the test find no business on my template's demo page?

A template's demo site writes no business entry, because its business is made up. Publish your own site and test its address.

Do I need coordinates or a price range?

Google lists both as recommended, not required, and a ModernSite site does not write them. A business entry with a name, address, phone, hours and area is valid without them.

Sources