DEV Community

Cover image for Copy-Paste JSON-LD Templates for Local Business Websites
Perfect Web Group
Perfect Web Group

Posted on Originally published at perfectwebgroup.com

Copy-Paste JSON-LD Templates for Local Business Websites

Structured data helps search engines and AI systems understand who you are, where you operate and what each page is about. If you already know why schema matters, from our guide to schema markup for Dubai businesses, this page gives you the practical part: JSON-LD schema templates you can copy, edit and validate.

Replace every value in capitals with your real details. Never mark up information that is not visible or true on the page.

1. Organization

Place this on the homepage, or site-wide, to define your business as an entity.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://WWW.YOURDOMAIN.AE/#organization",
  "name": "YOUR BUSINESS NAME",
  "url": "https://WWW.YOURDOMAIN.AE/",
  "logo": "https://WWW.YOURDOMAIN.AE/LOGO.PNG",
  "sameAs": [
    "https://WWW.LINKEDIN.COM/COMPANY/YOURCOMPANY",
    "https://WWW.INSTAGRAM.COM/YOURCOMPANY"
  ]
}
</script>
Enter fullscreen mode Exit fullscreen mode

2. LocalBusiness

Use a specific subtype where one fits, such as ProfessionalService, HomeAndConstructionBusiness or Dentist. The address and phone number must match your Google Business Profile exactly.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "ProfessionalService",
  "@id": "https://WWW.YOURDOMAIN.AE/#localbusiness",
  "name": "YOUR BUSINESS NAME",
  "url": "https://WWW.YOURDOMAIN.AE/",
  "telephone": "+971-YOUR-PHONE-NUMBER",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "OFFICE, BUILDING, STREET",
    "addressLocality": "Dubai",
    "addressRegion": "Dubai",
    "addressCountry": "AE"
  },
  "areaServed": ["Dubai", "Sharjah", "Abu Dhabi"],
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
    "opens": "09:00",
    "closes": "18:00"
  }],
  "parentOrganization": { "@id": "https://WWW.YOURDOMAIN.AE/#organization" }
}
</script>
Enter fullscreen mode Exit fullscreen mode

UAE addresses often lack postcodes. Leave postalCode out rather than inventing one, and add a P.O. Box only if you actually use it publicly.

3. Service

Add to each service page to describe the offer and link it to your business.

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Service",
"name": "SERVICE NAME",
"serviceType": "SERVICE CATEGORY",
"description": "ONE OR TWO SENTENCES MATCHING THE PAGE.",
"provider": { "@id": "https://WWW.YOURDOMAIN.AE/#organization" },
"areaServed": { "@type": "Country", "name": "United Arab Emirates" },
"url": "https://WWW.YOURDOMAIN.AE/SERVICES/SERVICE-SLUG"
}
</script>
Enter fullscreen mode Exit fullscreen mode



  1. BreadcrumbList

Mirror the visible breadcrumb trail. Our breadcrumb schema guide explains how to generate this automatically.

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://WWW.YOURDOMAIN.AE/"},
{"@type": "ListItem", "position": 2, "name": "Services", "item": "https://WWW.YOURDOMAIN.AE/SERVICES"},
{"@type": "ListItem", "position": 3, "name": "SERVICE NAME"}
]
}
</script>
Enter fullscreen mode Exit fullscreen mode



  1. Article

For blog posts and guides. Keep dates accurate and update dateModified only for meaningful changes.

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "ARTICLE TITLE",
"image": "https://WWW.YOURDOMAIN.AE/IMAGES/FEATURED.WEBP",
"datePublished": "2026-01-15",
"dateModified": "2026-01-20",
"author": { "@type": "Person", "name": "AUTHOR NAME" },
"publisher": { "@id": "https://WWW.YOURDOMAIN.AE/#organization" },
"mainEntityOfPage": "https://WWW.YOURDOMAIN.AE/ARTICLE-SLUG"
}
</script>
Enter fullscreen mode Exit fullscreen mode



  1. FAQPage

Since 2023 Google shows FAQ rich results mainly for well-known government and health websites, so most businesses will not get the expanded result. The markup is still valid and can help other systems read your questions and answers. Only mark up questions that appear on the page.

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "QUESTION TEXT?",
"acceptedAnswer": { "@type": "Answer", "text": "ANSWER TEXT." }
}]
}
</script>
Enter fullscreen mode Exit fullscreen mode




Connect Your Entities With @id

Using the same @id values across templates tells search engines that the Organization on your homepage is the same provider named on every service and article. This connected approach supports the entity signals described in our guide to entity SEO for AI search visibility.

Validate Before and After Publishing

  1. Run each page through Google's Rich Results Test and the Schema Markup Validator.
  2. Fix errors first; warnings for optional properties can wait.
  3. After launch, check the Enhancements reports in Search Console.
  4. Re-test after template or CMS updates, which often break markup silently.

Google's introduction to structured data lists the general guidelines every markup must follow.

Generate Schema From Your CMS, Not by Hand

Hand-pasted JSON-LD goes stale when phone numbers, prices or titles change. In Laravel or WordPress, build these templates into your layouts and fill them from the same fields that render the page. Our web development team implements automated schema as part of technical SEO builds.


Originally published on Perfect Web Group.

Top comments (0)