When someone searches for a local plumber, electrician or builder, Google needs to understand which business a website represents and where that business operates. LocalBusiness structured data can provide clear, machine-readable details about a business, such as its name, website, telephone number and location.
This guide explains how UK trades can add JSON-LD to a website, what information to include and how to test it. Structured data supports Google’s understanding of a page; it does not guarantee a rich result or higher rankings.
What is LocalBusiness structured data?
Structured data is code that describes information already present on a page. It does not replace useful website content. It helps search engines interpret details such as the identity and location of a business.
JSON-LD is a practical format because it keeps the structured data in a separate script block rather than mixing it into the visible page markup. Google recommends JSON-LD for structured data.
For a trade business, the most relevant type depends on the work it actually does. Schema.org includes more specific types, such as Plumber and Electrician. Choose the closest accurate type; don’t add extra types just to target more searches.
What information should the markup contain?
Start with facts customers can also find on the website:
- the real trading name;
- the canonical website URL;
- a genuine business telephone number;
- a business image hosted on the website;
- the public business address, if customers can visit that location;
- the areas served, where this information is accurate and visible on the page;
- the correct opening hours, if the business publishes them.
Keep these details consistent with the relevant pages and the business’s other public information. Don’t add made-up addresses, locations, opening hours or customer reviews. Google’s structured data policies require markup to represent the page’s visible content and not mislead people.
JSON-LD example for a local trade business
The example below uses fictional details for a plumber with a public business location. Replace every example value with accurate information before using it.
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://www.example.co.uk/#business",
"name": "Example Bedford Plumbing",
"url": "https://www.example.co.uk/",
"telephone": "+441234000000",
"image": "https://www.example.co.uk/images/plumbing-business.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "10 Example Street",
"addressLocality": "Bedford",
"postalCode": "MK40 1AA",
"addressCountry": "GB"
},
"areaServed": [
{
"@type": "City",
"name": "Bedford"
},
{
"@type": "City",
"name": "Kempston"
}
],
"sameAs": [
"https://www.facebook.com/example"
]
}
The @id gives the business a stable identifier. areaServed describes the places the business genuinely covers; it is not a replacement for the business’s physical address when using Google’s LocalBusiness rich-result markup.
Only include sameAs links to official profiles belonging to that business. Remove any property that is inaccurate or does not apply.
What if the trade business works from home?
Some tradespeople travel to customers and hide their residential address on their Google Business Profile. Do not publish that private address in JSON-LD just to satisfy a required property. Google identifies address as required for LocalBusiness rich-result eligibility, so a business without a suitable public address may not qualify for that feature.
Keep private location details private. Publish the service areas the business genuinely covers, and make sure the website explains how customers can contact or book the business. If the business does not have a public customer-facing location, don’t use markup that exposes a private home address.

Where should you add the JSON-LD?
Add the business markup to a page that clearly describes the business, usually the homepage or a dedicated contact/about page. Keep one accurate entity description for the business rather than adding inconsistent versions across pages.
The structured data can be placed in the page’s HTML inside a script block with the type application/ld+json. Your CMS or developer can add it to the page template. Make sure the JSON is valid and that every detail matches the visible website content.
How to test the markup
- Check the JSON syntax and confirm that every URL and business detail is correct.
- Test the page with Google’s Rich Results Test to check eligibility for Google-supported results.
- Use the Schema.org Validator to inspect the vocabulary and structure.
- After publishing, use URL Inspection in Google Search Console to see how Google accesses the page.
A successful test confirms that the tool can read the markup; it does not promise that Google will display a rich result. Google decides whether a search feature is useful for each query and may show a standard result instead.
Structured data is one part of local SEO
Accurate schema can support a website’s broader local information, but it cannot fix missing service details, inconsistent business information or a confusing mobile experience. Pair it with clear service pages, a complete Google Business Profile, genuine reviews and useful contact options.
For more practical guidance, read our guides on Local SEO for Trades and ranking higher on Google Maps. Check the published URLs before adding these links.
Key Takeaway
Use LocalBusiness JSON-LD to describe the real business with accurate, visible information. Choose an appropriate type, use only public and correct details, and test the markup after publishing. Never reveal a private address to chase a search feature, and don’t expect structured data alone to improve rankings.