Karachi, Pakistan Mon–Sat: 10AM–7PM PKT
Home Services
Design & Development
UI/UX Design Web Development WordPress Development Responsive Web Design Corporate Website Landing Pages / Microsites E-Commerce Solutions Mobile App Development
Marketing & Growth
SEO Services Content Marketing Social Media Marketing PPC / Google Ads Branding & Creative Speed & Performance
Hosting & Support
Web Hosting Maintenance & Support
Portfolio
Website Design Logo & Graphics
Clients About Blog Free Tools Get a Quote
SEO & Speed Guide

Schema Markup for Business Websites: JSON-LD Examples That Work

What schema markup does, which types a business site needs, copy-and-paste JSON-LD for LocalBusiness, Article, Breadcrumb and Product, and how to test it.

JSON-LD schema markup code for a business website

Schema markup is a block of structured data, usually written in JSON-LD, that tells Google exactly what a page is about: your business name, address, opening hours, prices, reviews, FAQs and more. It does not directly raise rankings, but it makes pages eligible for rich results such as star ratings, product prices and breadcrumbs, which can lift click-through rates. Also, this guide explains how schema works, which types a business website needs, and gives copy-and-paste JSON-LD examples you can adapt.

Key takeaways
  • Use JSON-LD inside a <script type="application/ld+json"> tag. Google recommends it over Microdata and RDFa.
  • Most business sites need Organization or LocalBusiness, WebSite, BreadcrumbList and Article or Product schema.
  • Schema must describe content that is visible on the page. Marking up hidden or fake content can trigger a manual action.
  • Test every template with Google's Rich Results Test and watch the Enhancements reports in Search Console.

What schema markup actually does

Search engines read HTML well, but they still have to guess what each piece of text means. Is "0336 3144 534" a phone number or an order ID? Is "4.8" a rating or a price? Schema removes the guessing by labelling the facts with a shared vocabulary from schema.org, which Google, Bing and other engines all support. Also, this matters for schema markup on every kind of site.

In addition, when Google trusts your structured data, it can show extra information in search results. In fact, these enhanced listings are called rich results. Common ones include:

  • Breadcrumbs instead of a raw URL under the title.
  • Product price, availability and review stars for online stores.
  • Article details such as headline, image and date for news and blog posts.
  • Local business details that support your Google Business Profile and knowledge panel.
  • Event, Recipe, Course and Job posting results for those page types.
Google reduced FAQ rich results in 2023 to well-known government and health sites, and removed HowTo rich results. FAQPage markup is still valid, and other search engines and AI assistants still read it, but do not expect FAQ dropdowns under a normal business listing.

Schema markup: JSON-LD vs Microdata vs RDFa

FormatHow it worksVerdict
JSON-LDA separate script block in the page head or bodyRecommended by Google. Easy to add, edit and generate from a CMS.
MicrodataAttributes such as itemprop added to visible HTML tagsWorks, but mixes data into your design markup and breaks easily.
RDFaAttributes such as property on HTML tagsWorks, rarely used on business sites today.

Use JSON-LD unless you have a specific reason not to. Also, it keeps the data in one place, and developers can build it from the same database fields that render the page.

Schema markup: which schema types a business website needs

PageSchema typeMain properties
Home pageOrganization or LocalBusiness, WebSitename, logo, url, address, telephone, sameAs
Service pagesService, BreadcrumbListserviceType, provider, areaServed
Blog postsArticle or BlogPosting, BreadcrumbListheadline, image, datePublished, dateModified, author
Product pagesProduct with Offername, image, sku, offers.price, priceCurrency, availability
Contact pageLocalBusiness (or reuse the site-wide entity)address, geo, openingHoursSpecification

Example 1: LocalBusiness schema

If customers visit you or you serve a specific city, use LocalBusiness or a more specific subtype such as ProfessionalService, Restaurant, Dentist or Store. Put it on the home page and contact page. The details must match your Google Business Profile exactly.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "ProfessionalService",
  "@id": "https://www.example.com/#business",
  "name": "Example Studio",
  "url": "https://www.example.com/",
  "logo": "https://www.example.com/logo.png",
  "image": "https://www.example.com/office.jpg",
  "telephone": "+92-300-0000000",
  "email": "info@example.com",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Office 12, Example Plaza, Shahrah-e-Faisal",
    "addressLocality": "Karachi",
    "addressRegion": "Sindh",
    "postalCode": "75400",
    "addressCountry": "PK"
  },
  "geo": { "@type": "GeoCoordinates", "latitude": 24.8607, "longitude": 67.0011 },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],
    "opens": "10:00",
    "closes": "19:00"
  }],
  "sameAs": [
    "https://www.facebook.com/example",
    "https://www.linkedin.com/company/example"
  ]
}
</script>

The @id gives this entity a stable identifier, so other blocks on the site (such as an Article's publisher) can point to it instead of repeating every field.

Example 2: Article schema for blog posts

Blog posts should carry BlogPosting (a subtype of Article). The most important fields are the headline, a large image (at least 1200 pixels wide), the published and modified dates in ISO 8601 format, and the author.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "How to Choose a Domain Name for Your Business",
  "image": ["https://www.example.com/uploads/domain-guide-1200.jpg"],
  "datePublished": "2026-11-12T05:02:00+05:00",
  "dateModified": "2026-11-20T09:30:00+05:00",
  "author": { "@type": "Organization", "name": "Example Studio", "url": "https://www.example.com/about" },
  "publisher": { "@id": "https://www.example.com/#business" },
  "mainEntityOfPage": "https://www.example.com/blog/choose-domain-name"
}
</script>

Only change dateModified when you make a real update to the content. Bumping dates without changes can make Google trust your dates less.

Example 3: BreadcrumbList

Breadcrumb schema helps Google show your site structure in results. It should match the breadcrumb trail visible on the page.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com/" },
    { "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://www.example.com/blog" },
    { "@type": "ListItem", "position": 3, "name": "Schema Markup Guide" }
  ]
}
</script>

The last item can leave out item because it is the current page.

Example 4: Product schema for online stores

For stores, Product schema is where rich results pay off most. Google can show price, stock status and ratings, and it uses the same data for free product listings in the Shopping tab.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Cotton Lawn 3-Piece Suit",
  "image": ["https://www.example.com/img/lawn-suit-1.jpg"],
  "description": "Unstitched printed lawn with chiffon dupatta.",
  "sku": "LAWN-2026-014",
  "brand": { "@type": "Brand", "name": "Example Textiles" },
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/product/lawn-suit-014",
    "priceCurrency": "PKR",
    "price": "6490",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  },
  "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.7", "reviewCount": "38" }
}
</script>
Only include aggregateRating if real customer reviews are shown on that page. Self-written reviews about your own business on LocalBusiness or Organization markup are not eligible for review stars.

Schema markup: how to add schema in WordPress

  • SEO plugins: Yoast SEO, Rank Math and SEOPress generate Organization, WebSite, BreadcrumbList and Article schema automatically. Fill in the business details in their settings and check the output.
  • WooCommerce: adds basic Product schema. SEO plugins extend it with brand, GTIN and review data.
  • Custom blocks: for a special page type, add a JSON-LD block in the theme template using the post's own fields, so it updates automatically when content changes.
  • Avoid duplicates: if a theme and a plugin both output Organization schema, Google sees two different entities. Turn one off.

Schema markup: how to test and monitor your schema

  1. Paste the URL or code into Google's Rich Results Test to see which rich results the page is eligible for.
  2. Use the Schema Markup Validator to check general schema.org syntax, including types Google does not show as rich results.
  3. After launch, open Search Console → Enhancements (and Shopping for stores) to see valid items, warnings and errors across the whole site.
  4. Re-test templates after theme or plugin updates, because they often change the markup.

If you are new to Search Console, start with our Search Console beginner's guide.

Common schema mistakes

  • Marking up content that visitors cannot see on the page.
  • Business name, address or phone that differs from the Google Business Profile.
  • Prices in schema that do not match the price shown on the product page.
  • Invalid JSON, such as a trailing comma or curly quotes pasted from a word processor.
  • Using relative image URLs instead of full https:// addresses.
  • Expecting schema alone to fix rankings. It helps Google understand good content; it does not replace it.

Frequently asked questions

Does schema markup improve rankings?

Not directly. Google has said structured data is not a ranking factor, but rich results can raise click-through rates, and clearer understanding helps the right pages show for the right searches.

How long until rich results appear?

After Google recrawls the page, usually a few days to a few weeks. Eligibility does not guarantee display; Google decides per search.

Where should the JSON-LD go, head or body?

Either works. Most sites put it in the head, but Google reads it anywhere in the HTML, including content injected by JavaScript.

Can I have several schema blocks on one page?

Yes. A blog post commonly has Organization, BreadcrumbList and BlogPosting blocks. You can also combine them in one block using @graph.

Related guides: Canonical Tags Explained, Meta Title and Meta Description Length and What Is a Sitemap? How to Create and Submit One to Google.

Need schema set up properly?

Our SEO team adds and tests structured data for business websites and online stores, alongside technical fixes such as sitemaps and meta titles. Contact us for a free technical SEO check.

Written by the ItsWebExpert team, a web design and development company in Karachi building websites, online stores and apps for businesses across Pakistan.

Ask a Question on WhatsApp

Let's Build Your
Next Website

Tell us what you need and we will reply within 24 hours with honest advice and a fixed quote.

Trusted by our clients, rated 5.0 on Google

5.0 11 Google reviews Read all →
I had a great experience working with Waqas and his team. We got some website development and SEO work done, and I'm quite satisfied with the overall results. They understood our requirements, suggested improvements, and handled the work professionally. What I appreciated most was their communication, attention to detail, and willingness to make changes whenever needed. Waqas is very cooperative, and the team knows what they're doing. Definitely a good choice for anyone looking for reliable web development and digital marketing services.
HUHafiz Ubaid Google review · Nov 2026
I was referred to their company by someone, and I'm really glad I connected with them. Waqas, the CEO, is a very humble and professional person who leads his team exceptionally well. Their expertise in digital marketing, web development, and custom development services is impressive. The team is skilled, responsive, and committed to delivering quality work. Had a really positive experience working with them. Highly recommended!
MRMuhammad Rafeeq Google review · Nov 2026
I had hired them for my client's task of Custom Wordpress plugin development. and many other tasks later on.. Waqas is super fast and sharp.. I know him since 2019.. I really really appreciate his work. Highly recommended..
RFRaheela Farooqui Google review · Nov 2026
I had a positive experience working with Waqas and his team. They provided excellent support with graphic design and social media management. The team was professional, responsive, and attentive to our needs. They understood our vision and delivered quality work on time. Highly recommended for anyone looking for creative and reliable digital services.
URUsman Rock Google review · Nov 2026
I really appreciate their dedication and professionalism. They have a good understanding of SEO, social media marketing, and online brand growth. Communication is smooth, and the quality of work is impressive. Definitely a great team to work with!
SSSameer Sarafaraz Google review · Nov 2026
I've had a great experience working with their team. They understand digital marketing very well and know how to improve online visibility through effective SEO and marketing strategies. Professional, responsive, and reliable. Highly recommended! 🙌❤️
MNMohammad naveed Google review · Nov 2026
I had a really good experience with web Experts. Everything was easy to understand, well-organized, and user-friendly. I appreciate the effort and attention to detail that has gone into creating this platform. It was a smooth and pleasant experience, and I would definitely recommend it to others. Keep up the great work!
SSShazia shaikh Google review · Nov 2026
Extremely professional and committed I am Extremely happy to work with them I wish them best of luck Best Regards M. Salman Farooqui
SFSalman Farooqui Google review · Nov 2026
Outstanding experience! Quality, professionalism, and customer service are all excellent. Keep up the great work!
ARabdul rehman Google review · Nov 2026
Excellent service and a great experience. The team is professional, helpful, and dedicated. Highly recommended!
MEmustafa emb Google review · Nov 2026