Structured data is a standard way of labelling the facts on a page (this is a business, this is its address, this is a product priced in rand) so that search engines read them precisely instead of guessing. It does not replace good content, but it removes ambiguity and unlocks richer search listings.
Key takeaways
- Use JSON-LD, the format Google recommends.
- Markup must describe what is visible on the page and be accurate; misleading markup can earn a manual action.
- For most South African businesses the essentials are Organization or LocalBusiness, WebSite, BreadcrumbList, plus Product, Article or Event where relevant.
- Rich results change: FAQ and HowTo displays were restricted or removed in 2023, and Google retired several more types in 2025. Markup still helps understanding, even where no visual result is shown.
- Always test with the Rich Results Test and monitor Search Console.
In this guide
What structured data does
- Understanding: it tells Google which text is your business name, phone number, opening hours, prices and ratings, and how pages relate (breadcrumbs, organisation, author).
- Rich results: some types make pages eligible for enhanced listings: product price and availability, review stars on products, breadcrumbs instead of a raw URL, event dates, recipe details, video thumbnails.
- Knowledge and entities: consistent Organization markup with your logo and official social profiles (
sameAs) helps Google connect your brand across the web. - AI and assistants: machine-readable facts are easier for any system to extract correctly.
Which types to use
| Type | Use it on | Possible benefit |
|---|---|---|
| Organization | Home page (once per site) | Logo and brand details in Google; entity understanding |
| LocalBusiness (or a subtype such as Plumber, Dentist, Restaurant, AutoRepair) | Home or contact page for businesses with a location or service area | Clear name, address, phone, hours and area served |
| WebSite | Home page | Site name shown in results |
| BreadcrumbList | Every page below the home page | Breadcrumb trail shown instead of a long URL |
| Product with Offer | Product pages | Price, availability, shipping and returns details; eligibility for merchant listings |
| Article / BlogPosting | Guides, news, blog posts | Better understanding of headline, dates, author and images |
| Event | Event pages | Event dates and venue in results |
| Service | Service pages | No dedicated rich result, but describes the offering clearly |
| FAQPage | Pages with visible questions and answers | Rich display limited to authoritative government and health sites; still a clear description |
| VideoObject | Pages featuring a video | Video thumbnails and key moments |
| JobPosting | Vacancy pages | Eligibility for Google's job search experience |
Example: LocalBusiness
Pick the most specific subtype available on schema.org. Use the details exactly as they appear on the page and on your Google Business Profile.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://www.example.co.za/#business",
"name": "Acme Plumbing",
"url": "https://www.example.co.za/",
"logo": "https://www.example.co.za/assets/logo.png",
"image": "https://www.example.co.za/assets/team-van.jpg",
"telephone": "+27 12 345 6789",
"email": "[email protected]",
"priceRange": "R450 call-out",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Example Road",
"addressLocality": "Centurion",
"addressRegion": "Gauteng",
"postalCode": "0157",
"addressCountry": "ZA"
},
"geo": { "@type": "GeoCoordinates", "latitude": -25.8603, "longitude": 28.1894 },
"areaServed": ["Centurion", "Pretoria East", "Midrand"],
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "07:30", "closes": "17:00"
}],
"sameAs": [
"https://www.facebook.com/example",
"https://www.instagram.com/example"
]
}
</script>
Example: Organization and WebSite
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://www.example.co.za/#organization",
"name": "Example (Pty) Ltd",
"url": "https://www.example.co.za/",
"logo": "https://www.example.co.za/assets/logo-512.png",
"sameAs": ["https://www.linkedin.com/company/example"]
},
{
"@type": "WebSite",
"@id": "https://www.example.co.za/#website",
"url": "https://www.example.co.za/",
"name": "Example",
"publisher": { "@id": "https://www.example.co.za/#organization" },
"inLanguage": "en-ZA"
}
]
}
</script>
Example: BreadcrumbList
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.co.za/" },
{ "@type": "ListItem", "position": 2, "name": "Services", "item": "https://www.example.co.za/services/" },
{ "@type": "ListItem", "position": 3, "name": "Geyser Replacement" }
]
}
</script>
Show the same breadcrumb trail visibly on the page.
Example: Product
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "5 kW Hybrid Inverter",
"image": ["https://shop.example.co.za/img/inverter-5kw.jpg"],
"description": "5 kW hybrid inverter with built-in MPPT charge controller.",
"sku": "INV-5KW",
"brand": { "@type": "Brand", "name": "ExampleBrand" },
"offers": {
"@type": "Offer",
"url": "https://shop.example.co.za/inverter-5kw/",
"priceCurrency": "ZAR",
"price": "18999.00",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition"
}
}
</script>
Ecommerce platforms (WooCommerce, Shopify) generate most of this automatically; check that prices, currency and stock match what is shown. More in our ecommerce SEO guide.
Example: Article
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How Much Does Solar Cost in South Africa?",
"datePublished": "2026-10-01",
"dateModified": "2026-11-28",
"author": { "@type": "Person", "name": "Thandi Mokoena", "url": "https://www.example.co.za/about/thandi/" },
"publisher": { "@id": "https://www.example.co.za/#organization" },
"image": "https://www.example.co.za/img/solar-cost.jpg",
"mainEntityOfPage": "https://www.example.co.za/guides/solar-cost-south-africa/"
}
</script>
Example: FAQPage
Only mark up questions and answers that are visible on the page. Do not use it for advertising copy.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "Do you charge a call-out fee?",
"acceptedAnswer": { "@type": "Answer", "text": "Yes, R450 within our service area, deducted from the job if you go ahead." }
}]
}
</script>
Rules that keep you out of trouble
- Mark up only what users can see on that page. Hidden or different information violates Google's guidelines.
- No self-serving review stars for your own business on your own site.
- Keep it current: prices, availability, hours and events must match reality.
- Be specific: the most precise type and every required property; recommended properties where you have the data.
- One source of truth: if a plugin and your theme both output schema, you may get duplicates or conflicts. Choose one.
- Manual actions for spammy structured data appear in Search Console. They remove rich result eligibility until fixed.
Testing and monitoring
- Rich Results Test (search.google.com/test/rich-results): which rich results a URL or code snippet is eligible for, with errors and warnings.
- Schema Markup Validator (validator.schema.org): checks general schema.org validity, including types Google does not use for rich results.
- Search Console Enhancements reports: site-wide counts of valid items, warnings and errors for each detected type. Fix errors first; warnings are optional properties.
Adding schema on WordPress
SEO plugins such as Yoast SEO, Rank Math and All in One SEO output a connected schema graph (Organization, WebSite, WebPage, Article, Breadcrumbs) automatically; WooCommerce adds Product data. Configure the organisation details in the plugin, and avoid running a second schema plugin that duplicates them. See our WordPress SEO guide and the plugin compatibility database for overlaps.
Frequently asked questions
Does schema markup improve rankings?
Structured data is not a direct ranking boost. It helps Google understand your content precisely and makes pages eligible for rich results, such as product prices, review stars on products, breadcrumbs and event details, which can improve how your listing looks and how many people click.
What is the best format for structured data?
Google recommends JSON-LD: a block of JSON inside a script tag in the page, separate from the visible HTML. It is the easiest to add, maintain and validate. Microdata and RDFa also work but are harder to manage.
Why don't my FAQ rich results show anymore?
Since 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites. FAQPage markup is still valid and harmless, and the visible questions and answers remain useful to readers, but most business sites will not get the expandable FAQ display in Google.
Can I add review stars to my business in Google with schema?
Not for your own business. Google does not show review stars for LocalBusiness or Organization markup where the business reviews itself on its own site. Review markup can still produce stars for products and some other content types reviewed on your site, if it follows Google's guidelines.
How do I test my structured data?
Use Google's Rich Results Test to see which rich results a page is eligible for and any errors, the Schema Markup Validator for general schema.org validity, and the Enhancements reports in Google Search Console to monitor structured data across the whole site.
Last reviewed 4 December 2026. Search engines change often; we revisit these guides regularly. This is general guidance, not a guarantee of rankings.