Schema markup is code, usually JSON-LD, that tells search engines and AI tools exactly what a page is about: your business, address, products, reviews, FAQs and articles. Small businesses mainly need six types: Organization, LocalBusiness, Service or Product, FAQPage, Article and BreadcrumbList.
Search engines are good at reading pages, but they still guess. Schema removes the guesswork: instead of inferring that a string of numbers is your phone number, Google is told directly. That clarity matters even more now that AI tools summarise businesses in their answers.
The 6 schema types that matter
| Type | Describes | Key properties | Where to use it |
|---|---|---|---|
| Organization | Your business as a brand | name, logo, url, sameAs (social profiles), parentOrganization | Every page, once |
| LocalBusiness | Your physical business | address, telephone, openingHours, geo | Every page, or Home and Contact |
| Service / Product | What you sell | name, description, offers, price, priceCurrency | Service and product pages |
| FAQPage | Questions and answers | Question, acceptedAnswer | Pages with visible FAQs |
| Article / BlogPosting | Blog posts and guides | headline, author, datePublished, dateModified | Every blog post |
| BreadcrumbList | Where the page sits in your site | itemListElement | Every inner page |
A simple LocalBusiness example
This JSON-LD goes in a <script type="application/ld+json"> tag in the page:
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"@id": "https://example.lk/#business",
"name": "Example Café",
"url": "https://example.lk",
"telephone": "+94 81 000 0000",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Main Street",
"addressLocality": "Kandy",
"postalCode": "20000",
"addressCountry": "LK"
},
"openingHours": "Mo-Su 08:00-21:00"
}
Use one @id for your business
A common mistake is describing the business several times on different pages with slightly different details. Declare it once with a fixed @id, then have other pages refer to that @id. Search engines then see one consistent business, not several.
Why schema matters more with AI search
Structured data is one of the best-supported technical steps for AI visibility. It gives AI tools unambiguous facts about who you are, where you are and what you sell, so they describe you accurately. Read how to get mentioned by ChatGPT and Gemini.
What schema will not do
- It will not rank a weak page.
- It will not guarantee rich results. Google decides when to show them, and since 2023 it has shown FAQ rich results mainly for well-known, authoritative government and health sites.
- It must never describe content that is not on the page, such as fake reviews.
How to add and test schema
- WordPress: SEO plugins such as Rank Math or Yoast add the basics; check what they output.
- Custom sites: generate JSON-LD from the same data the page uses, so it never goes out of date.
- Test every template with Google's Rich Results Test and the Schema Markup Validator. A broken block fails silently.
Every site Engage Lanka builds includes Organization, LocalBusiness, Service, FAQPage, Article and BreadcrumbList schema where relevant. See the rest of the technical basics in our technical SEO checklist.
Frequently asked questions
What is schema markup?
Schema markup is structured data, usually written in JSON-LD, that describes the content of a page using the shared vocabulary at schema.org: for example, that a page is about a business with a certain address, phone number and opening hours.
Will schema guarantee rich results in Google?
No. It makes your pages eligible for certain rich results, but Google decides whether to show them. Google has also limited some features, such as FAQ rich results, to certain types of sites.
Can I add FAQ schema to every page?
Only where the questions and answers are actually visible on that page. Marking up content that users cannot see breaks Google's guidelines.
Is schema hard to maintain?
Not if it is generated from the same data as the page. When prices or hours change on the page, the schema should update automatically.
Sources and further reading
- Introduction to structured data markup in Google Search (Google Search Central)
- Rich Results Test (Google)
- Schema Markup Validator (Schema.org)
Want to be found on Google and in AI answers?
Engage Lanka handles technical SEO, local SEO, Google Business Profiles and Google Ads for businesses in Sri Lanka and abroad, with a ranking report every month.