Adding organization schema and LocalBusiness schema to a contractor site requires two JSON-LD blocks linked by a shared @id. The Organization block lives on your homepage and declares who you are. The LocalBusiness block uses your trade-specific schema type — Plumber, HVACBusiness, RoofingContractor, Electrician, or GeneralContractor — and describes your location or service area. The sameAs array inside the Organization block is the most important field: it cross-references your Google Business Profile, Facebook, LinkedIn, Yelp, and trade directory profiles so Google's Knowledge Graph can confirm your business entity. Without that cross-reference, the schema is a declaration with no verification. The full setup takes two to three hours and requires no coding beyond copying and pasting a JSON-LD script block into your page's HTML head.
-
2-3 hoursTotal time to complete the full two-block setup
-
sameAs firstFill the sameAs array before anything else
-
Trade-specific type beats genericUse Plumber or HVACBusiness, not LocalBusiness
-
One @id per entity, reused everywhereThe @id ties every page to one consistent record
-
1-4 weeksTypical time for schema changes to surface in AI citations
-
Validate with two tools, not oneRich Results Test plus Schema Markup Validator
Most HVAC, plumbing, roofing, and electrical sites either have no structured data at all, or they have a plugin-generated schema block that declares a name and address and nothing else. That second scenario is the more frustrating one, because it looks like the work is done when it isn't. Organization schema with an empty sameAs array is a declaration with no verification. Google's Knowledge Graph holds over 500 billion facts on 5 billion-plus entities, and it has no way to confirm that 'Austin Plumbing Co.' on your website is the same entity as your Google Business Profile, your Yelp listing, and your Facebook page — unless your schema markup tells it so. This step-by-step guide walks through the complete two-block setup: an Organization block that establishes your entity, a trade-specific LocalBusiness block that describes your footprint, and the linking structure that ties everything together so search engines and AI tools know exactly who you are.
Before you start
- Access to your website's HTML or CMS — WordPress with Yoast SEO Premium or Rank Math Pro, or direct theme/template file access for other platforms
- A complete, verified Google Business Profile with a live and accurate URL
- Active, correctly named profiles on LinkedIn, Facebook, Yelp, and any relevant trade association directories (PHCC, ACCA, or similar)
- Your exact legal business name, street address or defined service-area cities, primary phone number, and business hours
- A logo image hosted on your site at minimum 112 x 112 pixels
- Basic comfort pasting a script block into a page's HTML head — no coding beyond copy-paste required
Steps
- Step 1: Understand the Two-Block Strategy Before Writing a Single Line
- Step 2: Collect Every Property You Need Before Opening a Generator
- Step 3: Build the Organization Schema Block with a Complete sameAs Array
- Step 4: Build the LocalBusiness Block Using Your Trade-Specific Schema Type
- Step 5: Link the Two Blocks with a Shared @id and Deploy to the Page Head
- Step 6: Validate with Two Tools — Not One
- Step 7: Plan the Next Layer: Service Schema, Then AggregateRating — in That Order
Understand the Two-Block Strategy Before Writing a Single Line
Organization schema and LocalBusiness schema are not interchangeable — they serve different jobs, and conflating them is one of the most common structured data mistakes on contractor sites. Organization schema describes your company as a whole entity: who you are, what you do, and where every authoritative source about you lives online. LocalBusiness schema describes a specific physical location or service area, and it requires at minimum a name and address to be valid according to Google's requirements.
LocalBusiness is technically a subtype of Organization in the schema.org hierarchy, which means it inherits all of Organization's properties. For home services contractors, the right move is to go one level deeper and use the most specific schema type available: Plumber, HVACBusiness, RoofingContractor, Electrician, or GeneralContractor. All of these sit under HomeAndConstructionBusiness in the schema.org vocabulary. Using 'LocalBusiness' when you are actually a licensed plumber is like setting your Google Business Profile primary category to 'Company' instead of 'Plumbing Service.' It technically works, but it gives search engines and AI tools less context to work with and fewer signals to use when deciding whether to surface you for a specific trade query.
The two-block strategy places one Organization block on your homepage (or about page) and one trade-specific LocalBusiness block on your homepage or on each location page. They are linked by a shared @id so every page on your site references one consistent entity, not a collection of disconnected declarations. This data structure is the foundation that all subsequent schema — Service blocks, Offer blocks, AggregateRating — builds on.
Multi-location setup
If you run multiple locations, each location page gets its own LocalBusiness block with a unique @id and a full address, phone number, and hours. The homepage Organization block stays as the parent entity, and each location block points back to it using the parentOrganization property. Do not repeat the Organization block on every page — one is enough, and duplicating it creates inconsistencies.
Collect Every Property You Need Before Opening a Generator
The most common reason organization schema markup goes live with errors is that people start building before they have all their information in one place. Gather these details first: your exact legal business name as it appears in your state registration and Google Business Profile, your primary URL, your street address or list of service-area cities, your main phone number and business hours, and the direct URLs of every public profile you own. That means your GBP URL, Facebook company page, LinkedIn company page, Yelp business page, and any trade directory profiles — PHCC member listing, ACCA directory entry, or similar. These URLs are the essential information that fills your sameAs array.
Service-area businesses — plumbers, HVAC technicians, and electricians who go to the customer rather than receiving them at a storefront — should not publish a street address in their schema if they keep that address private. Without a street address, the block is not eligible for Local Business rich results in Google, but it still accurately describes the business using the areaServed property with named cities or a GeoCircle radius. Publishing a hidden address or a P.O. box to chase rich result eligibility creates inconsistencies between your schema and your GBP that cause more problems than the eligibility is worth.
Also grab your logo URL before you open any organization schema generator. Google recommends a minimum of 112 x 112 pixels for Organization schema logos. If your current logo file is smaller than that threshold, resize and re-upload it now. Coming back to fix a logo URL after the block is live means re-running validation — a step you only want to do once.
Google Business Profile
Free
The GBP URL is the single most important sameAs entry — it ties your schema entity directly to Google's own records about your business.
Google Structured Data Markup Helper
Free
A form-based tool from Google that helps generate schema markup in JSON-LD by filling in fields — no extensive coding knowledge required.
RankNexus Schema Markup Generator
Free
A user-friendly, UI-based generator at ranknexus.com that supports LocalBusiness and Organization types and outputs clean, copy-ready JSON-LD.
Build the Organization Schema Block with a Complete sameAs Array
The sameAs property is the most important field in your Organization schema markup. It tells Google and AI engines that the entity on your website is the same entity that owns your Google Business Profile, your Facebook page, your Yelp listing, your LinkedIn company page, and any trade association profile you hold. Without those cross-references, your organization schema is a declaration with no verification. Google's Knowledge Graph has no way to confirm that 'Austin Plumbing Co.' on your website is the same business appearing in those other authoritative sources — and that confirmation is exactly what gets you cited in AI-generated answers about local services.
Use an organization schema generator or paste a template into a text editor and fill in your details. Set @type to 'Organization' — not LocalBusiness, which comes next. The @id should be your homepage URL with a fragment, such as https://yoursite.com/#organization, and you must reuse this exact string anywhere else on your site that references the company. The name, url, and logo fields are straightforward. The sameAs field is an array: include your GBP URL, your Facebook company page, your LinkedIn company page, your Yelp business page, and any trade directory profile URLs. If you have a Wikidata entry, add it — Wikidata entries require no notability threshold to create, and they give AI engines one more cross-reference point. A minimal but complete sameAs array for a mid-sized HVAC company looks like four entries pointing to Google Maps, Facebook, LinkedIn, and Yelp.
Wrap the entire block in a script tag with type='application/ld+json' and place it in the HTML head of your homepage. JSON-LD placed directly in the page HTML is the safer choice for AI visibility. AI crawlers including GPTBot, ClaudeBot, and PerplexityBot do not render JavaScript per a December 2024 Vercel study of AI crawler traffic, which means implementing organization schema markup only through Google Tag Manager makes it invisible to those crawlers. If your CMS uses Yoast SEO Premium or Rank Math Pro, use the plugin's Organization settings panel rather than GTM — both plugins output the block directly in the HTML head, which is exactly where it needs to be.
Leave reviews out of this block
Omit aggregateRating and review from your Organization block entirely. Google excludes self-serving review markup from star rich results when a business embeds its own reviews through a widget. Skip it here — AggregateRating belongs on third-party review platforms, not self-declared in your own schema.
Build the LocalBusiness Block Using Your Trade-Specific Schema Type
The LocalBusiness block describes the physical or service-area footprint of your business. Set @type to your most specific trade subtype: HVACBusiness, Plumber, RoofingContractor, Electrician, or GeneralContractor. Using these types instead of a generic 'LocalBusiness' gives search engines and AI tools more context about what you actually do, which is one of the key components that separates a schema block doing real work from one just sitting in the page source. The @id for this block should be distinct from your Organization @id — use something like https://yoursite.com/#localbusiness — and this identifier is what you will reuse on any service-area or location pages that reference this entity.
Required properties for Google eligibility are name and address. Beyond those minimums, include telephone, openingHoursSpecification (not the simpler openingHours string — the Specification version handles day-by-day hours more accurately), priceRange (keep it under 100 characters or Google ignores it), geo with latitude and longitude to at least five decimal places, and areaServed with the cities or metro areas you serve. Set parentOrganization to your Organization @id so the two blocks are explicitly linked. If you serve customers at their location and do not publish a street address, omit the address field entirely rather than faking one — the block will not qualify for Local Business rich results, but it still accurately represents your business and its contact details to AI tools and search engines.
One critical rule when adding structured data to a page: only one source of LocalBusiness schema should be active per page at a time. If you are using Rank Math or Yoast's local SEO module to output the block, do not also paste a manual block into the same page's head. Duplicate markup from both a plugin and manual code is one of the most common schema errors on contractor sites, and it creates conflicting records that can confuse indexing and reduce your search engine visibility.
Rank Math Pro
From $6.99/mo
Outputs LocalBusiness schema through its local SEO module directly in the HTML head; supports multi-location parentOrganization linking.
Yoast SEO Premium
From $9.90/mo
Handles Organization and LocalBusiness schema output for WordPress sites with a UI-based setup that avoids manual JSON-LD editing.
Link the Two Blocks with a Shared @id and Deploy to the Page Head
The @id property gives your business one permanent identifier and must be reused identically on every page that references the business. The Organization block gets https://yoursite.com/#organization. The LocalBusiness block gets https://yoursite.com/#localbusiness. Inside the LocalBusiness block, add a parentOrganization field pointing to https://yoursite.com/#organization. This creates an explicit, machine-readable link between the two entities rather than two floating, unrelated declarations sitting in your page source.
If you are writing both blocks manually, the cleanest approach is to combine them inside a single @graph array within one script tag. The @graph pattern lets you define multiple linked entities in one JSON-LD block, which keeps your page head clean and makes the relationships between entities explicit in a way that individual crawlers can follow. The structure nests both blocks — Organization and LocalBusiness — inside a single @context and @graph wrapper, with each entity carrying its own @type and @id and cross-referencing the other through parentOrganization and sameAs. This approach also makes maintaining consistency easier down the road: when your phone number or business hours change, you update one block in one place.
Once the block is built, paste it into the HTML head of your homepage. For WordPress, this typically means adding it to your child theme's header.php before the closing head tag, or using the Insert Headers and Footers plugin to drop it in without touching theme files. For Webflow, paste it into the Custom Code section under Page Settings for the homepage. Test your placement before moving to validation — if the block appears in the body instead of the head, most parsers will still read it, but head placement is Google's recommended format and the most reliable choice for consistent parsing across all crawlers, including those indexing for AI search.
Validate with Two Tools — Not One
Two free tools are needed for a complete validation workflow because they check different things. Google's Rich Results Test at search.google.com/test/rich-results checks Google-specific rich result eligibility and flags required-field errors for LocalBusiness — it tells you whether your block qualifies for a Knowledge Panel card or Local Business rich snippet in search engine results pages. The Schema Markup Validator at validator.schema.org checks schema.org vocabulary correctness for all types including Service and Organization, which the Rich Results Test largely ignores. Run both: the Rich Results Test for Google eligibility, the Schema Markup Validator for general syntax correctness.
The most common errors to look for on contractor sites: duplicate LocalBusiness blocks from both a plugin and manual code showing up as two conflicting entities; non-standard time formats in openingHoursSpecification (the correct format is Mo-Fr 08:00-17:00, not Monday through Friday 8am-5pm); geo coordinates with fewer than five decimal places; a priceRange string over 100 characters; and sameAs URLs pointing to dead profiles or redirect chains. Each of these is a defect that makes the block less useful without producing an obvious error on your front end — the only way to catch them is to run validation. Fix every flagged error before moving on. A block with errors does not hurt you, but it does not help you either.
After you fix errors and get a clean result from both tools, fetch the page in Google Search Console using the URL Inspection tool and request re-indexing. This signals to Google that the page has changed and speeds up the crawl. Schema changes typically take one to four weeks to surface in AI citations after correct deployment, with full Knowledge Graph entity recognition building over additional weeks as the sameAs cross-references are processed. Set a calendar reminder for 30 days out to check for entity recognition in Google's Knowledge Panel and to review search results for your business name.
Google Rich Results Test
Free
Checks whether your LocalBusiness block meets Google's requirements for rich result eligibility and flags missing required fields.
Schema Markup Validator (validator.schema.org)
Free
Validates schema.org vocabulary correctness for all types — catches errors the Rich Results Test misses, especially in Organization and Service blocks.
Google Search Console
Free
The URL Inspection tool lets you request re-indexing after schema changes, accelerating the crawl timeline.
Plan the Next Layer: Service Schema, Then AggregateRating — in That Order
Organization schema and LocalBusiness schema are your entity foundation. Once that foundation is stable and validated, the recommended next phase is adding Service and Offer blocks to individual service pages — your HVAC tune-up page, your water heater replacement page, your roof inspection page. Each Service block should reference the LocalBusiness @id in its provider field, keeping every piece of schema on the site connected to the same entity. Orphaned, unlinked schema blocks that do not reference any parent entity are common on contractor sites that have added structured data piecemeal over time, and they provide search engines with no value because the knowledge graphs cannot connect them to you.
AggregateRating comes after Service, not before. Google excludes self-serving review markup from star rich results when reviews come from your own site through embedded widgets. If you want AggregateRating to do work, it needs to reference a third-party review source and appear on a page where the rating is genuinely visible to users. Add it in phase three, after the entity foundation is solid and your service pages have their schema in place. Rushing AggregateRating into phase one is a seo practice that tends to get ignored by Google rather than rewarded.
One note on FAQ schema: FAQPage type lost its Google rich result status as of May 7, 2026. The type remains valid schema.org vocabulary and may still be read by AI systems, but it no longer produces FAQ-style rich snippets in search engine results. If FAQ schema is already on your site, leave it — removing it is unnecessary effort. Just do not prioritize building it as part of this rollout. Focus your effort on the entity blocks that are still producing measurable improvements in search results and AI visibility. Schema.org now includes over 823 types as of June 2026, and future trends point toward greater integration between structured data and AI-generated answers — getting your entity foundation right now positions you to benefit from those changes as they evolve.
On AI Overviews and schema
Google's structured data policy, updated July 2026, states that schema markup is not required for AI Overviews, and no special schema type exists to trigger them. What Organization schema with a complete sameAs array accomplishes is giving Google and AI engines the cross-references they need to identify your business as a confirmed, specific entity — which is the prerequisite for being cited in AI-generated answers about local services. It is not a guarantee. It is the table stakes for online visibility in an AI-first search environment.
The One Mistake That Kills Otherwise Good Schema
An Organization schema block with a name, URL, and logo but an empty sameAs array is a declaration with no verification. Google's Knowledge Graph holds over 500 billion facts across 5 billion-plus entities, and Gemini AI is trained on it. If your sameAs array does not cross-reference your Google Business Profile, LinkedIn, Facebook, Yelp, and any relevant trade directories, the graph has no way to confirm that the business on your website is the same entity appearing in those sources. That empty array is the gap between being cited in an AI answer and being invisible in one. Fill it before you do anything else.
When every layer of your site's technical foundation works together — from organization schema markup to trade-specific LocalBusiness types to a fully populated sameAs array — search engines and AI tools stop guessing who you are and start citing you with confidence. That is the difference between being a name in the index and being a recognized entity that potential customers actually find when they ask an AI for a local plumber or HVAC company. Stan's Heating, Air, Plumbing and Electrical built that kind of technical foundation as part of a broader SEO strategy, and the result was 150-plus first-page keyword rankings and a 300% increase in organic leads. If your current schema is a bare-bones plugin output with an empty sameAs array and no trade-specific subtype, you are leaving entity recognition on the table. We build this technical foundation for HVAC, plumbing, roofing, and electrical companies across Texas and the Sun Belt — along with a custom website included at no extra cost and no long-term contract. Book a free strategy session and we will audit what your site is telling search engines and AI tools right now.
Frequently Asked Questions
Ready to get started? Contact Geek Powered Studios today.















