Skip to content

Technical basics for trades

What structured data should a trade website have?

Schema markup tells Google and AI assistants your trade, phone, areas and hours. Which type to use, what to include, where to paste it and how to test it.

The short answer

  • Add one block of business labels (structured data, usually JSON-LD) to your homepage or contact page, using the most specific schema.org type for your trade.
  • Include your name, phone number, address or service area, hours, website, logo and the profiles you own.
  • schema.org has types such as Plumber, Electrician, HVACBusiness, RoofingContractor, GeneralContractor, HousePainter and Locksmith.
  • Test it with Google's Rich Results Test and keep it identical to your pages and Google Business Profile.

What is structured data, in plain words?

It's a small block of code, invisible to visitors, that states facts about your business in a format machines agree on. Instead of guessing your phone number or trade from your page design, Google and AI assistants can read it directly.

The shared vocabulary is called schema.org, and the usual format is JSON-LD. Google explains how it uses these labels in its local business documentation (opens in a new tab).

Which schema.org type fits your trade?

Pick the most specific type that's accurate. Most trade types sit under HomeAndConstructionBusiness (opens in a new tab), which itself is a kind of local business.

Trades and their closest schema.org type
Your tradeschema.org type
PlumberPlumber (opens in a new tab)
ElectricianElectrician (opens in a new tab)
Heating, air conditioning, heat pumpsHVACBusiness (opens in a new tab)
RooferRoofingContractor (opens in a new tab)
Builder or general contractorGeneralContractor (opens in a new tab)
Painter and decoratorHousePainter (opens in a new tab)
LocksmithLocksmith (opens in a new tab)
Cleaner, landscaper and other home servicesHomeAndConstructionBusiness, or LocalBusiness if nothing fits
Trades and their closest schema.org type

Which details should the labels include?

Google lists name and address as required for its local business features, and recommends details such as telephone, url, openingHoursSpecification, geo and priceRange (Google (opens in a new tab)). For a trade, two more are worth adding: the areas you cover and the profiles you own.

  • name, telephone, url, logo: exactly as they appear on your site.
  • address: your business address as you show it publicly. If you work from home and don't publish your street, only include what you're happy to show.
  • areaServed: the towns or regions you cover (schema.org (opens in a new tab)).
  • openingHoursSpecification: your real hours (schema.org (opens in a new tab)).
  • sameAs: links to your Google Business Profile and review-site profiles.

A sample for an electrician. Replace every value with your own; the phone number is a reserved example number.

{
  "@context": "https://schema.org",
  "@type": "Electrician",
  "name": "Example Electrical",
  "url": "https://www.example.com/",
  "logo": "https://www.example.com/logo.png",
  "telephone": "+44 117 496 0000",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "Bristol",
    "postalCode": "BS1",
    "addressCountry": "GB"
  },
  "areaServed": ["Bristol", "Bath", "Keynsham"],
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "08:00",
      "closes": "18:00"
    }
  ],
  "sameAs": ["https://www.example.com/your-google-business-profile-link"]
}

Where do you put the code?

Paste it once into the head of your homepage or contact page. Most builders have a setting for this, so you rarely need to edit theme files.

  • WordPress: your SEO plugin's schema settings, or a header-code plugin.
  • Wix: Custom Code in your site settings.
  • Squarespace: the header box in Code Injection.
  • Webflow: Site settings → Custom code → Head code.
  • Anything else: just before the closing </head> tag, or ask whoever manages your site.

The free schema generator writes the code for you.

How do you check it works?

Run the page through Google's Rich Results Test (opens in a new tab) and the Schema Markup Validator (opens in a new tab). Fix any errors they report, then check again after big website changes.

What shouldn't go in your business labels?

Anything that isn't true and visible on your website. Labels that disagree with your pages can be ignored.

TradeCited builds these labels from your business profile and adds them to your site when it's connected, so they stay in step with your pages.

Questions people also ask

Type to search these questions, or ask anything about getting found on Google and AI.

Will structured data get me to the top of Google?

No single change does that. Structured data removes guesswork about who you are, what you do and how to reach you, which supports everything else you do.

I do two trades. Can I use two types?

Yes. schema.org lets you list more than one type, for example Plumber and HVACBusiness. Only include types that describe work you really do.

Does my SEO plugin already do this?

Often partly. Many plugins add a generic organisation or local business block. Check what's there first so you don't end up with two blocks that disagree.

Sources

  1. Local business (LocalBusiness) structured data(opens in a new tab) · Google Search Central
  2. HomeAndConstructionBusiness(opens in a new tab) · Schema.org
  3. Plumber(opens in a new tab) · Schema.org
  4. Electrician(opens in a new tab) · Schema.org
  5. HVACBusiness(opens in a new tab) · Schema.org
  6. RoofingContractor(opens in a new tab) · Schema.org
  7. GeneralContractor(opens in a new tab) · Schema.org
  8. HousePainter(opens in a new tab) · Schema.org
  9. Locksmith(opens in a new tab) · Schema.org
  10. areaServed(opens in a new tab) · Schema.org
  11. openingHoursSpecification(opens in a new tab) · Schema.org
  12. Rich Results Test(opens in a new tab) · Google
  13. Schema Markup Validator(opens in a new tab) · Schema.org
  14. Review snippet (Review, AggregateRating) structured data(opens in a new tab) · Google Search Central

Checked on . AI products change quickly; the operators' own pages are the final word.

Terms in this guide

Be the trade people find first.

Check your site free, then press Optimize. Back to the job list.