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.
- You add itYour developer, CMS template, or SEO plugin places a JSON-LD block on the page describing what's on it.
- Search engines read itGoogle reads the schema alongside the visible content. Its guidelines require the two to match. Google
- 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:
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.
Standard practice when the page or content exists. Not a Google requirement unless noted.
Valid and sometimes useful. Add it when it's accurate and easy to maintain.
Harmless but no documented payoff, usually because Google retired the feature. Don't spend time on it.
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.
| Layer | What belongs there | Notes |
|---|---|---|
| Global | The 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. |
| Homepage | WebSite must be on the home page for Google's site-name feature. Google | If WebSite is already output globally, the homepage is covered. Don't add a second WebSite block. |
| Template | Markup 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-specific | Markup 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.
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.
| Schema | Rating | Notes |
|---|---|---|
| Most-specific LocalBusiness subtype (or Organization, per the table above) | RecommendedglobalGoogle feature | Output on every page. Google's local business feature applies to LocalBusiness. Google |
| WebSite | Recommendedglobal or homepageGoogle feature | Must be on the home page for site names. Google |
| Separate Organization for the same single-location company | Optional | Redundant when LocalBusiness already describes it. |
One stable @id for the business | Recommended | Use 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 Profile | Optional | Add 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.
| Schema | Rating | Notes |
|---|---|---|
| WebSite | RecommendedGoogle feature | Required on the home page for site names. Google |
| Business entity (LocalBusiness subtype) | RecommendedGoogle feature | From the global output. See The business entity. |
| WebPage | Optional | Fine as the page-level container, generated by template. |
| SearchAction for a sitelinks search box | Skip | Google retired the sitelinks search box in November 2024. Existing markup does no harm. Google |
| AggregateRating about your own company | Skip | Won'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
| Schema | Rating | Notes |
|---|---|---|
| Service | Recommended | Names and describes the offering. |
provider → business | Recommended | Reference the business by @id; the global business node on the same page makes the reference resolvable. |
areaServed | Recommendedwhen applicable | Where this service is offered, with containedInPlace. |
| BreadcrumbList | Recommendedif breadcrumbs are visibleGoogle feature | Must match a visible breadcrumb trail. Shown on desktop results only since January 23, 2025. Google |
| Offer / PriceSpecification | Recommendedwhen prices are shown | See Pricing pages. |
| VideoObject | Recommendedfor an important videoGoogle feature | See Video. |
| FAQPage | Skip | Keep the visible FAQs; the markup has no Google payoff. See FAQ. |
| Product instead of Service | Avoidfor services | Use 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.
| Schema | Rating | Notes |
|---|---|---|
Service + areaServed | Recommended | The service, and the city or county the page targets. |
| BreadcrumbList | Recommendedif breadcrumbs are visibleGoogle feature | |
| WebPage | Optional | From the template. |
| A new LocalBusiness implying an office in that city | Avoid | Schema.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.
| Schema | Rating | Notes |
|---|---|---|
| LocalBusiness for that location | RecommendedGoogle feature | Most 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, image | Recommended | For that location, matching its Google Business Profile. |
| Coordinates | Optional | At least 5 decimal places. Google |
parentOrganization | Optional | Points to the company's @id. |
| BreadcrumbList | Recommendedif 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.
| Schema | Rating | Notes |
|---|---|---|
| Service | Recommended | |
| Offer with PriceSpecification | Recommendedwhen prices are shown | For a typical range, say so in the Offer's description so it doesn't read as a fixed, purchasable price. |
| OfferCatalog | Optionalseveral priced services | Groups multiple priced services, alongside a visible pricing table. |
| BreadcrumbList | Recommendedif breadcrumbs are visibleGoogle feature | |
| Prices in schema that aren't on the page | Avoid | Google'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
| Schema | Rating | Notes |
|---|---|---|
| BlogPosting / Article | RecommendedtemplateGoogle feature | Generate it dynamically from the post. |
Author as a Person with url to a bio page | Recommended | Google 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 → business | Recommended | By @id, with the business node present on the page. |
| BreadcrumbList | Recommendedif breadcrumbs are visibleGoogle feature | |
| VideoObject | Recommendedfor an important videoGoogle feature | |
| A "Marketing Team" byline marked up as a Person | Avoid | Only real people are Persons. |
| FAQPage / HowTo | Skip | See 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
| Schema | Rating | Notes |
|---|---|---|
ProfilePage with Person as mainEntity | Recommendedfor author and expert pagesGoogle feature | Google's Article documentation recommends ProfilePage on internal author pages. Google Google |
Person @id matching article markup | Recommended | So articles and the bio describe the same person. |
jobTitle, worksFor, credentials | Optional | When shown on the page. |
sameAs | Optionalwhere legitimate | LinkedIn, 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
| Schema | Rating | Notes |
|---|---|---|
| VideoObject | Recommendedwhen the video is important to the pageGoogle feature | Needs at least name, thumbnailUrl, and uploadDate. Google |
| Clip / SeekToAction | Optional | Key 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
| Schema | Rating | Notes |
|---|---|---|
| AboutPage / ContactPage | Optional | Accurate page types, set from the template. No Google feature. |
| Business entity | Recommendedglobal | Already present from the global output; don't add a second copy. |
| Person entities for profiled staff | Optional | When people are actually profiled on the page. |
| BreadcrumbList | Recommendedif breadcrumbs are visibleGoogle feature | Many 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
| Schema | Rating | Notes |
|---|---|---|
| JobPosting | Recommendedone per individual job pageGoogle feature | hiringOrganization is required, with the company name. Google |
| Full job address | Recommended | Include street address and postal code in jobLocation. |
| JobPosting on a careers list page | Avoid | Mark up individual jobs only. |
| Expired job still marked active | Avoid | Set 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.
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
| Schema | Rating | Notes |
|---|---|---|
| Visible testimonials and reviews | Recommendedcontent | Real, attributable, and dated where possible. |
| Review / AggregateRating markup about your own business | Skip | Valid 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 markup | Avoid | Google added this guideline on July 24, 2026. Search Engine Land Google |
| Ratings in markup that aren't shown on the page | Avoid | Markup must reflect visible content. Google |
Sources: Review · AggregateRating · Google: Review snippet
Content pattern
FAQ Sections and FAQ Schema
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
| Situation | Rating | What to do |
|---|---|---|
| FAQ content on any page | Recommendedvisible content | Real customer questions, answered plainly, as headings and text. |
| Adding FAQPage to service, city, pricing, or blog pages | Skip | No Google payoff. Spend the time on the answers. |
| Existing FAQPage markup that matches the page | Optional | Leave it. Don't expand it. |
| FAQPage generated automatically from the FAQ module | Optional | The 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&A | Avoid | Fix or remove it. Google |
Sources: FAQPage · Google: changelog · Google: 2023 FAQ changes · Google: AI optimization guide
Content pattern
How-To Content
| Schema | Rating | Notes |
|---|---|---|
| Helpful step-by-step content | Recommendedcontent | Publish it: "How to Shut Off Your Water During a Plumbing Emergency." |
| BlogPosting / Article | RecommendedGoogle feature | Mark the page up as the article it is. |
| HowTo | Skip | Google 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.
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.
| Location | Layer | Where and when |
|---|---|---|
| Site header HTML | Global | Settings › 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 code | Global / Template | The 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 switch | Template | Built-in BlogPosting. Fine for basic markup; turn it off if your template outputs its own. |
| Page or post Head HTML | Page-specific | Content 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.
| Tool | Layer | What it does |
|---|---|---|
| Yoast SEO (base plugin) | Global / Template | Outputs 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 SEO | Global / Location | Adds business details such as address, coordinates, and opening hours. Yoast |
| Yoast Schema tab | Page-specific | In the editor, sets the page type (for example AboutPage or ContactPage) and article type without code. |
| Developer extension | Template / Page | Add 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) | Varies | Same principle: configure the plugin's business entity first, then extend it. Check each plugin's documentation. |
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
Asking the tool to cite its sources changes the output. Recommendations it can't source tend to disappear.
Verify every time
- Check it against this guide.Right types, right page, nothing invented.
- Cross-check with a second AI tool.Paste the output and ask what's wrong. Reconcile the differences.
- Validate the live URL.Run the published page, not a preview, through both validators below.
- 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.
Schema.org vocabulary
- Full type hierarchy · Getting started
- Business: LocalBusiness, HomeAndConstructionBusiness, Organization, WebSite, PostalAddress, OpeningHoursSpecification, hasMap
- Services: Service, areaServed, Offer, PriceSpecification, OfferCatalog
- Content: BlogPosting, Article, Person, ProfilePage, VideoObject, BreadcrumbList
- Other: JobPosting, Review, AggregateRating, FAQPage, AboutPage, ContactPage
Google Search Central
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.
| Where | Schema | Rating | Why |
|---|