Endless Customers Jump to the cheat sheet

Schema Markup for Local Businesses

What structured data is, why it matters, and which schema belongs on each type of page, written for home-service and other local businesses.

Part 1

Schema 101

A plain-language introduction for business owners, marketers, and anyone new to structured data. No code experience needed.

What Is Schema?

Schema markup is a small block of code that labels the facts on a web page so search engines don't have to guess what they mean. Visitors never see it. Search engines read it.

When a person lands on your site, they instantly understand that "Apex Roofing" is a company, "(919) 555-0142" is a phone number, and "Mon–Fri 7am–6pm" is when you're open. A search engine sees the same page as a stream of text. Schema adds labels: this is the business name, this is the phone, this is the address, this is a service we offer.

The labels come from Schema.org, a shared vocabulary launched in June 2011 by Google, Bing, and Yahoo; Yandex joined later that year. Google, 2011 It includes hundreds of types, from Plumber and RoofingContractor to BlogPosting and JobPosting.

What a visitor sees

Apex Roofing

Residential roofing in the Triangle

Call
(919) 555-0142
Visit
410 Industrial Dr, Garner, NC
Hours
Mon–Fri, 7am–6pm
Serving
Raleigh, Cary, Durham

What a search engine reads

{
  "@context": "https://schema.org",
  "@type": "RoofingContractor",
  "name": "Apex Roofing",
  "telephone": "+1-919-555-0142",
  "address": {
    "streetAddress": "410 Industrial Dr",
    "addressLocality": "Garner",
    "addressRegion": "NC"
  },
  "openingHoursSpecification": { Mon–Fri, 07:00–18:00 },
  "areaServed": ["Raleigh", "Cary", "Durham"]
}

Simplified to show the idea. Part 2 covers which types and properties real markup should include on each page.

Same facts, no guesswork. Schema tells machines what your page already tells people.

How It Works

Schema is usually written in a format called JSON-LD. Google recommends JSON-LD where your setup allows it, and says its three supported formats work equally well when the markup is valid. Google JSON-LD sits in a <script> tag in the page's code, separate from the design, so adding it doesn't change how the page looks.

  1. You add itYour developer, CMS template, or SEO plugin places a JSON-LD block on the page describing what's on it.
  2. Search engines read itGoogle reads the schema alongside the visible content. Its guidelines require the two to match. Google
  3. They may use itGoogle uses it to understand the page and, for supported types, to show enhanced results like video thumbnails or job listings. Google

The most useful schema doesn't just describe one page. It describes the same business, people, and services consistently everywhere they appear:

A connected schema graph: the business at the center, linked to its services, service area, locations, people, articles, and videos provider parentOrganization areaServed worksFor publisher publisher Your Business #business Services Locations Service area Team Articles Videos
Each piece of schema points back to one business entity with the same identifier, so the site describes one consistent company rather than dozens of disconnected fragments.

Why It Matters

Search engines try to understand entities: real businesses, people, places, and services. Schema is the most explicit way to describe yours.

It removes ambiguity

"Apex" could be a mountain peak, a town, or a video game. Schema says this Apex is a roofing contractor in Garner, NC, with a specific phone number and service area.

It can unlock enhanced results

For supported types such as videos, job postings, articles, and breadcrumbs, schema makes pages eligible for richer displays in Google Search. Google

It reinforces consistency

Your business details appear on your site, your Google Business Profile, and many directories. Schema that matches them helps present one consistent business.

Its role in AI search is modest

Google says structured data isn't required for its AI features and there's no special markup to add, but recommends it for rich-result eligibility. Google, 2026 See AI search for what is and isn't documented.

Great content gives search engines a reason to show you. Schema helps them understand exactly who you are.

What Schema Isn't

Most schema mistakes come from expecting it to do something it doesn't.

MythAdding schema will boost my rankings.

RealitySchema helps Google understand a page and can make it eligible for rich results. It won't lift weak content.

MythIf I add the markup, I'll get stars, FAQs, or other rich results.

RealityOnly certain types are eligible and Google decides whether to show them. FAQ and HowTo rich results are gone for all sites, and businesses can't earn stars from reviews of themselves (a rule since 2019). Google, 2019

MythMore schema types on every page is better.

RealityAccurate, relevant schema is better. Extra types that don't describe the page add maintenance and risk.

MythSchema is a place to add keywords, cities, or prices I don't show on the page.

RealityGoogle's guidelines say not to mark up content that isn't visible to readers. Facts in schema should reflect what's on the page; supporting details like identifiers, logos, and coordinates are fine. Misleading markup can lead to a manual action. Google

Key Terms

You'll see these throughout Part 2.

Schema.org
The shared vocabulary of types and properties that search engines agree to read.
Structured data
The general term for machine-readable information on a page. Schema markup is the most common kind.
JSON-LD
The code format Google recommends for structured data. It lives in a script tag and doesn't affect page design.
Type
What something is: Plumber, Service, Person, VideoObject.
Property
A fact about that thing: name, telephone, areaServed, uploadDate.
Entity
A real-world thing schema describes, such as your company, an employee, or a service you offer.
@id
A stable identifier for an entity, like https://example.com/#business. Using the same one everywhere signals that every mention is the same business.
Business entity
The schema block that describes your company: its type, name, URL, logo, phone, address, hours, service area, and profile links.
Rich result
An enhanced search listing Google may show for supported schema types, like a video thumbnail or job listing.
Dynamic schema
Schema generated by a template from page or site settings, so it updates when the content changes.

Schema doesn't make a claim true. It makes the truth easy to understand.

Part 2

The Implementation Guide

Which schema belongs on which page, what to skip, and why. Examples focus on home-service businesses; the principles apply to any local business.

Recommended

Standard practice when the page or content exists. Not a Google requirement unless noted.

Optional

Valid and sometimes useful. Add it when it's accurate and easy to maintain.

Skip

Harmless but no documented payoff, usually because Google retired the feature. Don't spend time on it.

Avoid

Inaccurate, misleading, or against Google's guidelines. Don't do it.

Google feature marks types Google documents as eligible for a Search feature. Ratings are IMPACT's judgment, based on the linked sources; facts link directly to their source.

Principles and How to Read the Ratings

Schema describes reality. It doesn't manufacture relevance.

No office in Charlotte means no Charlotte LocalBusiness. No price on the page means no price in the schema. Google's guidelines require markup to be a true representation of the page. Google

One business, described the same way everywhere.

Use one stable @id for the business, and output the business entity consistently across the site. Connect services, articles, and people to it.

More schema isn't better. Accurate, maintained schema is.

Only a defined set of types powers Google Search features. Google Mark up what the page is actually about, and prefer schema that updates itself when content changes.

"Recommended" is not "required"

Google requires certain properties only when you want a page to be eligible for a specific feature, and some types (Article, Organization) have no required properties at all. Google Google A Recommended rating means it's good, standard practice for describing your business accurately. Where a type is also eligible for a Google feature, it carries the Google feature tag.

Foundations

Global vs. Page-Specific Schema

Decide where each piece of schema lives before writing any of it. Some belongs on every page, some is generated by a template, and some is unique to one page.

If a fact is about the whole business, output it globally. If it's about one page, put it on that page.

GlobalEvery page on the site
HomepageRequired here for some types
TemplateEvery page built from a template
Page-specificUnique to a single page
LayerWhat belongs thereNotes
GlobalThe business entity (LocalBusiness subtype or Organization) and WebSite.Output on every page, ideally from one global setting so there's a single place to update.
HomepageWebSite must be on the home page for Google's site-name feature. GoogleIf WebSite is already output globally, the homepage is covered. Don't add a second WebSite block.
TemplateMarkup that follows the same pattern on every page of a type.WebPage on every page, BlogPosting on posts, ProfilePage on author pages, BreadcrumbList where breadcrumbs are visible.
Page-specificMarkup describing what's unique to one page.Service, Offer and pricing, VideoObject, JobPosting, a branch location's LocalBusiness.

Why the business entity goes on every page

Google recommends putting Organization information on the homepage or one page about the organization, and says it doesn't need to be on every page. Google So why go global? Because Google's tools evaluate structured data page by page, and Google doesn't document whether an @id on a blog post connects to a business node defined on a different page. A reference like "publisher": { "@id": "…/#business" } with no business node on that page may resolve to nothing.

Outputting the business entity globally solves this. Every page carries the node its references point to, and there's one setting to update when the phone number or hours change. Yoast's WordPress plugin outputs its Organization on every page for the same reason. Yoast

If you can't output the full entity globally, at minimum include a small business node (@id, name, url) on any page that references the business.

Never put page-specific types in global code

A Service, VideoObject, Offer, or JobPosting placed in a global header gets attached to every page, including pages it doesn't describe. That's inaccurate markup.

Foundations

Static vs. Dynamic Schema

Static schema is hand-written JSON-LD with the values typed in. Dynamic schema is generated by a template that pulls values from the page or site settings.

StaticValues typed into the code.

Simple to add, but every change on the page (a new phone number, an edited FAQ, a renamed service) has to be repeated in the schema by hand. That's how markup drifts out of sync with the page, which breaks the rule that it must match.

DynamicValues pulled from the CMS.

Title, URL, description, dates, featured image, and author update automatically when the page changes. More setup up front, far less maintenance.

What to make dynamic

  • Per-page schema (WebPage, BlogPosting, breadcrumbs, author details) should be dynamic wherever the platform allows. These change every time content is edited.
  • The business entity is global and changes rarely. It can be partly dynamic (domain, name, logo from brand settings) and partly static (social profile links, which many CMSs don't store anywhere a template can read).
  • FAQ markup, if you use it, should only ever be dynamic, generated from the same module that displays the questions. See FAQ sections.

Platform differences

In HubSpot, templates can read page and blog values with HubL variables and functions. HubSpot Portals hosting several brands or sites need care, since site-level values may differ by domain. In WordPress, schema usually comes from an SEO plugin, and changing it means configuring the plugin or extending it with code. See HubSpot and WordPress.

If any schema is static, keep a simple inventory: which pages carry which schema, and which values were typed in by hand. Review it whenever business details change.

Foundations

The Business Entity

Every site needs one clear description of the business. The first decision is which type to use.

LocalBusiness or Organization?

In Schema.org, LocalBusiness is a more specific kind of Organization: it has every Organization property plus location details like address, hours, and coordinates. It's defined as a particular physical business or branch of an organization. Schema.org Trades are explicitly LocalBusiness types: HomeAndConstructionBusiness covers businesses that provide services around homes and buildings, with subtypes such as RoofingContractor, Plumber, Electrician, HVACBusiness, GeneralContractor, HousePainter, and Locksmith. Schema.org Google recommends the most specific subtype available. Google

SituationA business with a real place of business (office, shop, showroom, warehouse), even if crews travel to customers

UseThe most specific LocalBusiness subtype, with the real address.

SituationA service-area business that hides its street address on its Google Business Profile

UseA LocalBusiness subtype with city, region, and areaServed, and no street address. This is a tradeoff: Google lists address as required for its local business feature, so the page may not be eligible for it. Google Don't publish an address in schema that you've chosen to hide elsewhere.

SituationA business with no physical place of business at all (fully remote or online)

UseOrganization, with areaServed if it serves specific regions.

SituationSeveral real locations

UseAn Organization (or LocalBusiness) for the company, plus one LocalBusiness per real location, each with its own @id and a parentOrganization link. See Location pages.

For a single-location business, one LocalBusiness node is enough; it already is an Organization, so a second Organization node describing the same company isn't needed.

SchemaRatingNotes
Most-specific LocalBusiness subtype (or Organization, per the table above)RecommendedglobalGoogle featureOutput on every page. Google's local business feature applies to LocalBusiness. Google
WebSiteRecommendedglobal or homepageGoogle featureMust be on the home page for site names. Google
Separate Organization for the same single-location companyOptionalRedundant when LocalBusiness already describes it.
One stable @id for the businessRecommendedUse the same identifier everywhere the business is referenced, e.g. https://example.com/#business. It doesn't need to resolve to a real page.
Link to your Google Business ProfileOptionalAdd the profile's Maps URL to sameAs, or use Schema.org's hasMap. Schema.org Each real branch links to its own profile.

What the business entity contains

  • Most specific business type
  • Name and URL
  • Logo and an image
  • Phone number
  • Address (see tradeoff above)
  • Opening hours
  • Coordinates, 5+ decimal places
  • Service area (areaServed)
  • Profile links (sameAs)
  • A stable @id

Keep name, address, and phone identical to your Google Business Profile and major directories.

Sources: LocalBusiness · HomeAndConstructionBusiness · Organization · Google: Local business · Google: Organization · Google: Site names

/

Homepage

If the business entity and WebSite are output globally, the homepage already has what it needs. Make sure WebSite appears here once.

SchemaRatingNotes
WebSiteRecommendedGoogle featureRequired on the home page for site names. Google
Business entity (LocalBusiness subtype)RecommendedGoogle featureFrom the global output. See The business entity.
WebPageOptionalFine as the page-level container, generated by template.
SearchAction for a sitelinks search boxSkipGoogle retired the sitelinks search box in November 2024. Existing markup does no harm. Google
AggregateRating about your own companySkipWon't earn stars. See Reviews.

Google requires coordinates with at least 5 decimal places. Google Use containedInPlace so "Cary" isn't ambiguous.

Sources: WebSite · PostalAddress · OpeningHoursSpecification · GeoCoordinates · containedInPlace · Google: Site names

/roof-replacement/   /air-conditioning-repair/

Individual Service Pages

For most local businesses these are the pages that make money. Note that Google has no Service rich result: Service schema describes what you offer and who provides it, without unlocking a special display. Google

SchemaRatingNotes
ServiceRecommendedNames and describes the offering.
provider → businessRecommendedReference the business by @id; the global business node on the same page makes the reference resolvable.
areaServedRecommendedwhen applicableWhere this service is offered, with containedInPlace.
BreadcrumbListRecommendedif breadcrumbs are visibleGoogle featureMust match a visible breadcrumb trail. Shown on desktop results only since January 23, 2025. Google
Offer / PriceSpecificationRecommendedwhen prices are shownSee Pricing pages.
VideoObjectRecommendedfor an important videoGoogle featureSee Video.
FAQPageSkipKeep the visible FAQs; the markup has no Google payoff. See FAQ.
Product instead of ServiceAvoidfor servicesUse Product only when the page describes a distinct product, such as a specific skylight or gutter guard you sell. A roof replacement is a service.

Sources: Service · areaServed · provider · BreadcrumbList · Google: Breadcrumb

/roofing/raleigh-nc/

Service-Area and City Pages

Serving a city is not the same as having a business location in that city.

SchemaRatingNotes
Service + areaServedRecommendedThe service, and the city or county the page targets.
BreadcrumbListRecommendedif breadcrumbs are visibleGoogle feature
WebPageOptionalFrom the template.
A new LocalBusiness implying an office in that cityAvoidSchema.org defines LocalBusiness as a physical business or branch. Schema.org A city you drive to isn't one.

Mark up a Raleigh page as Example Roofing's Service with areaServed set to Raleigh. Don't invent "Raleigh Roofing Company, 123 Main St, Raleigh" because the crew works there.

Whether city pages are worth building at all depends on local proof: projects completed there, photos, and reviews from customers in that city. Schema can describe that content but can't substitute for it.

Sources: Service · areaServed · City

/locations/charlotte/

Actual Location Pages

If the company has real, staffed locations in Raleigh, Charlotte, and Greensboro, each one gets its own entity.

SchemaRatingNotes
LocalBusiness for that locationRecommendedGoogle featureMost specific subtype, with its own @id. Never reuse the parent company's @id for a branch with a different address or phone.
Address, phone, hours, imageRecommendedFor that location, matching its Google Business Profile.
CoordinatesOptionalAt least 5 decimal places. Google
parentOrganizationOptionalPoints to the company's @id.
BreadcrumbListRecommendedif breadcrumbs are visibleGoogle feature

Sources: LocalBusiness · parentOrganization · Google: Local business

/roof-replacement-cost/   /pricing/

Pricing Pages

Only mark up pricing that visitors can see, and describe it as what it is.

SchemaRatingNotes
ServiceRecommended
Offer with PriceSpecificationRecommendedwhen prices are shownFor a typical range, say so in the Offer's description so it doesn't read as a fixed, purchasable price.
OfferCatalogOptionalseveral priced servicesGroups multiple priced services, alongside a visible pricing table.
BreadcrumbListRecommendedif breadcrumbs are visibleGoogle feature
Prices in schema that aren't on the pageAvoidGoogle's guidelines prohibit marking up content that isn't visible. Google

On the page itself, explain what the range includes and what moves the price (roof size, materials, inspection findings). That's what makes a range useful to a buyer.

Sources: Offer · PriceSpecification · OfferCatalog

/blog/how-long-does-a-roof-last/

Blog Articles and Educational Content

Article markup helps Google understand the headline, images, dates, and author. Google lists no required properties for it. Google

SchemaRatingNotes
BlogPosting / ArticleRecommendedtemplateGoogle featureGenerate it dynamically from the post.
Author as a Person with url to a bio pageRecommendedGoogle recommends author.url point to a page that identifies the author, and recommends ProfilePage markup on that page when it's an internal profile. Google
publisher → businessRecommendedBy @id, with the business node present on the page.
BreadcrumbListRecommendedif breadcrumbs are visibleGoogle feature
VideoObjectRecommendedfor an important videoGoogle feature
A "Marketing Team" byline marked up as a PersonAvoidOnly real people are Persons.
FAQPage / HowToSkipSee FAQ and How-to.

The chain that matters: article → author (Person, same @id as the bio page) → url → author bio page with ProfilePage markup. Not "author": "Bob" with no identifiable person behind it. On HubSpot and WordPress this should come from the template, not be typed per post; see HubSpot.

Sources: BlogPosting · Article · Person · Google: Article

/team/dana-reyes/

Employee, Expert, and Author Bio Pages

SchemaRatingNotes
ProfilePage with Person as mainEntityRecommendedfor author and expert pagesGoogle featureGoogle's Article documentation recommends ProfilePage on internal author pages. Google Google
Person @id matching article markupRecommendedSo articles and the bio describe the same person.
jobTitle, worksFor, credentialsOptionalWhen shown on the page.
sameAsOptionalwhere legitimateLinkedIn, licensing boards, industry associations.

Sources: ProfilePage · Person · Google: Profile page

Any page with a meaningful video

Video Pages and Pages Containing Video

VideoObject helps Google understand a video and can influence what appears in video results, such as thumbnail, upload date, and duration. Google

SchemaRatingNotes
VideoObjectRecommendedwhen the video is important to the pageGoogle featureNeeds at least name, thumbnailUrl, and uploadDate. Google
Clip / SeekToActionOptionalKey moments, labeled manually (Clip) or found automatically (SeekToAction).

Especially useful for cost videos, comparison videos, process walkthroughs, and dedicated watch pages.

Sources: VideoObject · Clip · SeekToAction · Google: Video

/about/   /contact/

About and Contact Pages

SchemaRatingNotes
AboutPage / ContactPageOptionalAccurate page types, set from the template. No Google feature.
Business entityRecommendedglobalAlready present from the global output; don't add a second copy.
Person entities for profiled staffOptionalWhen people are actually profiled on the page.
BreadcrumbListRecommendedif breadcrumbs are visibleGoogle featureMany About and Contact pages have no visible breadcrumbs. Skip it there.

Sources: AboutPage · ContactPage

/careers/roofing-crew-lead/

Careers and Job Pages

Trades recruit constantly, and JobPosting remains a supported Google Search feature. Google

SchemaRatingNotes
JobPostingRecommendedone per individual job pageGoogle featurehiringOrganization is required, with the company name. Google
Full job addressRecommendedInclude street address and postal code in jobLocation.
JobPosting on a careers list pageAvoidMark up individual jobs only.
Expired job still marked activeAvoidSet validThrough and remove the markup or page when the job fills.

Sources: JobPosting · Google: Job posting

Content pattern

Testimonials and Reviews

Display reviews and testimonials prominently; they're some of the most persuasive content a local business has. The schema question is separate.

Reviews of your own business won't earn stars

Google says pages about a LocalBusiness or Organization are ineligible for star review snippets when the business controls the reviews about itself, including reviews embedded from third-party widgets such as Google or Facebook. Google Google, 2019

SchemaRatingNotes
Visible testimonials and reviewsRecommendedcontentReal, attributable, and dated where possible.
Review / AggregateRating markup about your own businessSkipValid markup, but no star display. If a tool outputs it (for example, reviews pulled from your Google Business Profile), make sure every rating and count matches what's visible on the page.
Fake or undisclosed incentivized reviews, on the page or in markupAvoidGoogle added this guideline on July 24, 2026. Search Engine Land Google
Ratings in markup that aren't shown on the pageAvoidMarkup must reflect visible content. Google

Sources: Review · AggregateRating · Google: Review snippet

Content pattern

FAQ Sections and FAQ Schema

What changed. In August 2023 Google limited FAQ rich results to authoritative government and health sites. Google, 2023 In May 2026 Google added a deprecation notice: FAQ rich results no longer appear in Google Search for any site. In June 2026 it removed the FAQ documentation, the Search Console report, and Rich Results Test support; API support was scheduled to end in August 2026. Google changelog

A service page has a robust FAQ module. Should it get FAQPage schema?

Low priority FAQPage remains valid Schema.org markup, but Google Search no longer displays FAQ rich results. For most local-business pages, adding or expanding FAQPage creates maintenance work without a documented Google Search benefit. Prioritize clear, visible question-and-answer content instead.

The reasoning

  • No Google display left to earn. FAQ rich results are gone for every site. Google
  • No documented AI benefit either. Google's 2026 AI guidance says structured data isn't required for its generative AI features and there's no special markup to add. Google, 2026 We found no published guidance from Bing or any AI platform saying FAQPage specifically helps. See AI search.
  • Double upkeep. Markup must match the visible questions, so every FAQ edit has to be made twice unless the schema is generated from the FAQ module itself.
  • Existing markup can stay. Structured data that Google doesn't use causes no problems in Search. Google

Decision guide

SituationRatingWhat to do
FAQ content on any pageRecommendedvisible contentReal customer questions, answered plainly, as headings and text.
Adding FAQPage to service, city, pricing, or blog pagesSkipNo Google payoff. Spend the time on the answers.
Existing FAQPage markup that matches the pageOptionalLeave it. Don't expand it.
FAQPage generated automatically from the FAQ moduleOptionalThe only low-maintenance way to keep it; it stays in sync with the visible questions.
FAQPage that no longer matches the visible FAQs, or includes hidden Q&AAvoidFix or remove it. Google

Sources: FAQPage · Google: changelog · Google: 2023 FAQ changes · Google: AI optimization guide

Content pattern

How-To Content

SchemaRatingNotes
Helpful step-by-step contentRecommendedcontentPublish it: "How to Shut Off Your Water During a Plumbing Emergency."
BlogPosting / ArticleRecommendedGoogle featureMark the page up as the article it is.
HowToSkipGoogle deprecated the HowTo rich result and removed its documentation. Google changelog

Content strategy and schema strategy are different questions. Great how-to content doesn't need HowTo markup.

Context

AI Search: What's Actually Documented

Claims about schema and AI are everywhere. Here's what the primary sources say.

  • Google (May 2026). Google's first guide to optimizing for its generative AI features says structured data isn't required for generative AI search and there's no special schema.org markup to add. It still recommends structured data for rich-result eligibility. Google, 2026
  • Microsoft (March 2025). At SMX Munich, Microsoft's Fabrice Canel said schema markup helps Microsoft's LLMs understand content, as reported by Search Engine Land and confirmed by Canel. Search Engine Land It was a general statement about structured data, not about any specific type.
  • The counterpoint (June 2026). In Search Engine Journal, Mark Williams-Cook argued the Canel remark has been widely overstated, and that the public evidence for LLMs using schema "as intended" when answering questions is weak. His recommendation: still use schema, but don't sell it as an AI citation lever. Williams-Cook SEJ

Use schema for accuracy and rich results. Don't add markup hoping to trigger AI mentions.

Google's AI features draw on the same Search index as regular results, so the fundamentals still apply: crawlable pages, useful content, and accurate business information everywhere it appears. Google

Platform

Schema in HubSpot

HubSpot has a place for each layer. Where possible, generate schema from templates rather than pasting static code into individual pages.

Turn off HubSpot's built-in blog schema if you use custom blog schema

Each HubSpot blog has a Structured Data switch that adds BlogPosting schema to every post; it's on by default for blogs created after August 4, 2022. HubSpot's documentation says to avoid enabling it if custom schema already exists, because duplicate schema may cause issues in search engines. HubSpot Turn it off at Settings › Content › Blog › General › Structured Data, for each blog, and confirm only one BlogPosting appears per post.

LocationLayerWhere and when
Site header HTMLGlobalSettings › Content › Pages › choose a domain (or default settings for all domains) › Site Header HTML. Applies to all HubSpot-hosted content on that domain; HubSpot notes code set for all domains, or a quotes domain, also appears on quotes. HubSpot
Theme or template codeGlobal / TemplateThe best home for dynamic schema: business entity and WebSite in the site-wide template, WebPage on page templates, BlogPosting on the post template.
Blog Structured Data switchTemplateBuilt-in BlogPosting. Fine for basic markup; turn it off if your template outputs its own.
Page or post Head HTMLPage-specificContent editor › Settings › Advanced › Additional code snippets. For one-off Service, Offer, VideoObject, or JobPosting markup. HubSpot

Dynamic blog schema

A custom post template can build BlogPosting from the post itself: title, featured image, publish and updated dates, and author. For the author link, use HubSpot's blog_author_url() function rather than assembling the URL by hand, which can break on multi-language blogs or custom author paths. HubSpot For date formatting, HubSpot has deprecated datetimeformat in favor of format_datetime. HubSpot

Sources: HubSpot: Blog settings · HubSpot: Code snippets · HubSpot: HubL functions · HubSpot: HubL filters

Platform

Schema in WordPress

On WordPress, an SEO plugin is probably already outputting schema. Configure it first, then add only what's missing, inside the plugin's graph where possible.

ToolLayerWhat it does
Yoast SEO (base plugin)Global / TemplateOutputs a connected graph on every page, including WebSite, WebPage, and an Organization or Person for the site. Yoast It doesn't add full LocalBusiness details like hours or branch locations on its own.
Yoast Local SEOGlobal / LocationAdds business details such as address, coordinates, and opening hours. Yoast
Yoast Schema tabPage-specificIn the editor, sets the page type (for example AboutPage or ContactPage) and article type without code.
Developer extensionTemplate / PageAdd custom pieces such as Service into Yoast's graph with the wpseo_schema_graph_pieces filter; make broader changes with wpseo_schema_graph. Yoast This keeps everything in one connected graph instead of a separate script block.
Other SEO plugins (Rank Math, AIOSEO)VariesSame principle: configure the plugin's business entity first, then extend it. Check each plugin's documentation.
Describe the business once

If the plugin outputs an Organization and you add a separate LocalBusiness with a different @id, the site describes the company twice. Configure the plugin's entity to be your business, or point custom markup at the plugin's @id. Yoast says two pieces can share an @id when they don't contradict each other. Yoast Only reuse an @id when both nodes describe the same real business.

  • Audit before adding. Themes, page builders, and review or FAQ plugins can all inject schema. Test a few live pages first.
  • One source per type. If the SEO plugin handles breadcrumbs and articles, don't also add them by hand.
  • Custom code needs a developer review. Theme-level schema should be checked by whoever maintains the site.

Sources: Yoast: Schema specification · Yoast: Schema API · Yoast: Integration guidelines

Process

Building Schema with AI

This guide tells you which schema belongs where. AI tools can write the code, but they make mistakes, so the process matters more than any template.

A starting prompt

Write JSON-LD for [page URL], a [page type] on a [business type] website. The page is about: [one-sentence summary]. Include only: [types and properties from this guide's table for that page type]. Use the business @id "https://example.com/#business" and include a business node with @id, name, and url. Only use facts that appear on the page. Here is the page text: [paste]. Cite the Google Search Central or Schema.org documentation behind each property you include.

Asking the tool to cite its sources changes the output. Recommendations it can't source tend to disappear.

Verify every time

  1. Check it against this guide.Right types, right page, nothing invented.
  2. Cross-check with a second AI tool.Paste the output and ask what's wrong. Reconcile the differences.
  3. Validate the live URL.Run the published page, not a preview, through both validators below.
  4. Make it dynamic where possible.Turn typed values into template fields so the schema updates with the page.

Process

Test and Maintain

  • Rich Results Test checks whether one page is eligible for Google's supported features.
  • Schema Markup Validator checks general Schema.org validity, including types Google doesn't use, like Service.
  • Search Console enhancement reports flag errors across the whole site for supported types.

Both validators read one page at a time, so they can't show whether references connect across pages. That's another reason to keep the business node on every page.

Before launch

  • One business @id, used everywhere
  • Business entity output on every page
  • NAP matches Google Business Profile
  • No LocalBusiness for cities without an office
  • Every price in schema is visible
  • Breadcrumb schema only where breadcrumbs show
  • Authors link to real bio pages
  • Coordinates have 5+ decimals
  • Only one BlogPosting per post
  • No duplicate schema from theme plus plugin
  • Filled jobs removed or expired
  • Tested on live URLs

Ongoing

Google's supported features changed in 2023, 2024, 2025, and 2026. Re-check Google's documentation changelog each quarter. "Deprecated" almost always means a search feature ended, not that the markup became harmful.

Reference

Official Documentation

Facts in this guide link directly to these sources. Ratings are IMPACT's judgment based on them.

Reference

Cheat Sheet

Every recommendation in one place, grouped by where it goes. Filter by rating to build a to-do list or an audit checklist.

WhereSchemaRatingWhy