Plumber Schema: Copy-Paste JSON-LD Example

A homeowner with a leaking tap wants to know whether you serve their area and when someone can answer the phone. A Plumber block can state those facts without making a crawler infer them from scattered text.

This is a fictional example. The name, number, address and example.com URL are placeholders. Replace every value with your own public business information before publishing.

Choose the right business type

Plumber fits a plumbing business. If you also offer unrelated home services, explain those services on your site instead of switching to a broad type that hides the main trade. See the schema.org Plumber definition for the type and its inherited fields.

Copy-paste Plumber JSON-LD

Copy the complete block into your homepage’s <head>. Change every example value, including the service and hours. Remove fields that do not apply.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "name": "Example Pipe Plumbing",
  "url": "https://example.com/plumber-schema-example/",
  "telephone": "+1-217-555-0103",
  "description": "Residential plumbing repairs and fixture installation.",
  "areaServed": {
    "@type": "City",
    "name": "Springfield, Illinois"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "https://schema.org/Monday",
        "https://schema.org/Tuesday",
        "https://schema.org/Wednesday",
        "https://schema.org/Thursday",
        "https://schema.org/Friday"
      ],
      "opens": "08:00",
      "closes": "17:00"
    }
  ],
  "makesOffer": {
    "@type": "Offer",
    "itemOffered": {
      "@type": "Service",
      "name": "Plumbing repair"
    }
  }
}
</script>

What each field does

One detail to check for Plumber

This example uses areaServed and leaves out a street address. That can suit a service-area business without a customer-facing office. Add a real public address only if customers visit it. Google's LocalBusiness rich-result guidance asks for an address, so this valid schema.org example may not qualify for that specific Google feature. Do not invent an address to satisfy a test.

Do not mark the business open 24 hours unless calls are genuinely answered and service is available then. Emergency availability belongs in visible copy with its actual limits.

How to add it to your site

Add the code once on the homepage or the matching location page. Put it in the page’s head section when the platform allows it. Keep your visible name, contact details and hours in sync with the code.

  1. WordPress: Use a trusted header code plugin or your theme’s head-code setting. Paste the entire script into the homepage head. If an SEO plugin already outputs Plumber data, edit that data instead of creating a conflicting duplicate.
  2. Squarespace: Open Settings → Advanced → Code Injection and paste the block in Header. If you have multiple locations, use page-level injection where available so this location’s details appear on its own page.
  3. Wix: Open Settings → Custom Code, add the block to Head, and set it to the relevant page. Publish the site after saving.
  4. Shopify: In Online Store → Themes → Edit code, add the block to theme.liquid inside <head>. For a single physical location, restrict it to the homepage so product pages do not all claim to be the location page.
  5. GoDaddy Website Builder: Use its custom HTML or head-code setting if your plan exposes one. Some versions only offer a body HTML section; check the published source to make sure the JSON-LD script is present. If your plan does not allow custom code, ask support or your site editor about head injection.

Test the published page

  1. Paste the live page URL into Schema Markup Validator. Confirm it detects Plumber and that each property contains your real details.
  2. Run the same URL through Google Rich Results Test. It checks Google-supported rich result features; a valid schema type may show no eligible rich result. That does not mean the JSON-LD is invalid.
  3. View page source and search for application/ld+json. Make sure the script appears once for this location, without leftover fictional values or mismatched hours.

Valid markup helps machines read facts on a page. It does not guarantee a Google feature or a recommendation from an AI assistant.

Want a second set of eyes?

Run the free site check to see whether your homepage exposes its business details. If you want us to write the schema and customer FAQ, check your listings, and compare AI answers before and after, the AI Visibility Kit is $149.

Run the free checkAsk about the Kit

Sources