structured data examples
Structured Data Examples: Schema Types and JSON-LD Code
Structured Data Examples for Organization, Service, FAQ and Article markup, with JSON-LD code and guidance on when to use each type.
Published · Updated · By AnswerLion
31.3% of pages in a 10 billion page sample drawn from the Google index carried Schema.org markup, up from 22% a year earlier, and at least 12 million websites used the vocabulary, according to Google's four-year review of Schema.org. The same study found the average marked-up page referenced six entities and expressed about 26 logical assertions, the kind that connect a product to its price, its manufacturer and its review.
That changes the question. The debate is no longer whether to publish structured data; it's whether yours describes the page it sits on. A Service block on a page that never mentions the service, a Product price that disagrees with the cart, an Article with an author who doesn't appear in the byline: each one is worse than nothing, because it hands search engines and AI assistants a contradiction to resolve.
Working markup follows a simple discipline. Every example below appears next to the page it belongs on and the visible content it has to match, so you can compare the code against the rendered page rather than against a template.
Quick Reference to Schema Types and Their Uses
| Schema type | Use it when | Place it on | Core properties |
|---|---|---|---|
| Organization | The business identity must be stated clearly | Homepage and About page | name, url, logo, sameAs |
| Service | Each offered service needs its own description | Service page | name, provider, serviceType, areaServed, description |
| FAQPage | Visible question and answer blocks appear on the page | Page showing the Q&A | mainEntity with Question and acceptedAnswer |
| Article | Editorial content has an author and publication dates | Blog post, guide or news item | headline, author, publisher, datePublished, dateModified |
| LocalBusiness | A physical location serves customers | Location or contact page | name, address, telephone, openingHours, geo |
| Product | Items are sold with a price and availability | Product page | name, offers with price, priceCurrency, availability |
| ItemList | A category or listicle groups entries in order | Category or ranking page | itemListElement with position and url |
Scale is the reason this table is short and the reason it matters. The 2023 release of the Web Data Commons Schema.org dataset series contains 106 billion RDF quads describing 3.1 billion entities from 12.8 million websites, as the dataset series paper from the University of Mannheim reports. Millions of domains now describe themselves in the same vocabulary, which is exactly why an inconsistent description stands out.
Two pairs get mixed up more than any others. Organization versus LocalBusiness is a question of scope: the company gets one Organization record, and each physical site gets its own LocalBusiness that points back to it. Service versus Product is a question of what the visitor can buy: a Service page describes an engagement with a provider and an area served, while a Product page describes an item with a price and stock state.
Article versus BlogPosting trips up content teams who mark every post as Article when the more specific type fits. Google names Article, NewsArticle and BlogPosting as supported article types, and the narrow one is always the better signal, as its structured data introduction sets out.
The type has to describe the page's main entity. A blog post uses Article; a location page uses LocalBusiness. Reversing them tells a machine the page is something a human visitor can see it isn't.
Each type below gets a complete example, and all of them start from the same skeleton.
How JSON-LD Examples Are Built
JSON-LD is the format these examples use for three reasons: one script block holds the entire payload, the visible page stays untouched, and nested entities stay readable when a Product contains an Offer that contains a price. A JSON-LD block works like a name badge pinned to the page. It announces what the page is about in a fixed vocabulary, and it only convinces a parser when the badge matches what the visitor sees. Google recommends JSON-LD when a site can maintain it reliably, while still supporting Microdata and RDFa, per its structured data policies.

The parts every block shares
- Declare
"@context": "https://schema.org"as the first property. Without it, the parser has no vocabulary and nothing that follows gets interpreted. - Set
@typeto the most specific valid type. BlogPosting describes a blog post exactly where the parent type Article only fits loosely. - Set
@idto a stable absolute URL, usually the canonical page plus a fragment such as#organizationor#article, so other pages can point at the same entity without repeating its full record. - Nest related objects rather than flattening them: a PostalAddress sits inside Organization, an Offer sits inside Product, and the parser reads that containment as a relationship.
- Write absolute URLs and ISO 8601 dates, such as
2025-02-03, so nothing depends on context the parser does not have. - Take every string from the visible page. A name, price or date that exists only in the markup describes content nobody can verify, and that mismatch costs eligibility where a syntax error merely costs the block.
That last rule is where blocks most often fail. A parser can accept perfectly valid JSON-LD and still discount it when the headline inside the script differs from the headline rendered on the page, so each example below is paired with the visible content it has to match.
This short walkthrough covers the same ground for visual learners.
The pattern is now routine infrastructure rather than an experiment. In 2024, structured data appeared on roughly half of the 2.4 billion HTML pages examined, according to the University of Mannheim's Web Data Commons project. Half the web already ships the skeleton described above, so the differentiator is accuracy, not adoption.
Organization and LocalBusiness Markup Examples
Start with the homepage, because the Organization record is the entity every other page will reference. The @id becomes a permanent address for the business, the name matches the brand as printed in the header, and the sameAs array carries the official LinkedIn page, the directory listings and the review profiles that already describe the company.
Homepage Organization block
{"@context":"https://schema.org","@type":"Organization","@id":"https://example.com/#organization","name":"Example Company","url":"https://example.com/","logo":"https://example.com/logo.png","sameAs":["https://www.linkedin.com/company/example"],"address":{"@type":"PostalAddress","addressCountry":"US","addressLocality":"Austin"},"telephone":"+1-512-555-0100"}
Every value there has to appear on the page. If the footer shows a different head-office city, the markup is now contradicting the site, which is the failure mode that costs eligibility rather than earning it.
One Organization, many LocalBusiness records
A firm with twelve offices publishes one Organization block and twelve LocalBusiness blocks. Each location carries its own address, telephone, openingHours and geo coordinates, and each one references the parent through parentOrganization so the relationship survives.
Location page LocalBusiness block
{"@context":"https://schema.org","@type":"LocalBusiness","@id":"https://example.com/locations/austin/#localbusiness","name":"Example Company Austin","parentOrganization":{"@id":"https://example.com/#organization"},"address":{"@type":"PostalAddress","streetAddress":"100 Congress Ave","addressLocality":"Austin","addressRegion":"TX","postalCode":"78701","addressCountry":"US"},"telephone":"+1-512-555-0100","openingHours":"Mo-Fr 09:00-18:00","geo":{"@type":"GeoCoordinates","latitude":30.2672,"longitude":-97.7431}}
Hours written as Mo-Fr 09:00-18:00 are readable by a machine and checkable by a human against the page. Put the same string in the visible hours table.
The properties most often skipped are the ones that do the work. sameAs is how a search engine confirms your Organization record and its LinkedIn profile describe one company. openingHours answers "open now" style queries that a location page can win. geo disambiguates two branches on the same street.
Practical rule: open the homepage, the footer and the contact page side by side and read every property against them. Fix the mismatch before you publish, not after.
| Property | Example value | What it does |
|---|---|---|
| @id | Homepage URL followed by #organization | Gives the entity a stable reference across pages |
| name | Brand name exactly as shown on the site | Matches the business to its visible identity |
| url | Absolute homepage URL | Anchors the entity to one canonical address |
| logo | Absolute URL of the logo image file | Supplies the brand image for knowledge panels and listings |
| sameAs | Array of official profile URLs | Connects the entity to its verified profiles |
| address | PostalAddress with addressCountry and addressLocality | States the physical identity used in local answers |
| telephone | Phone number in international format | Matches the contact details customers see |
Service and Product Markup Examples
A Service page sells an engagement, so its markup names the service, describes it in the page's own words, and points at the company that delivers it. The provider property takes the Organization @id from the homepage, which is what makes the site read as one business instead of a collection of unrelated pages.
Service page block
{"@context":"https://schema.org","@type":"Service","@id":"https://example.com/services/aeo-audit/#service","name":"AEO Audit","serviceType":"Answer engine optimization audit","description":"A baseline review of how AI assistants describe a business across priority customer questions.","provider":{"@id":"https://example.com/#organization"},"areaServed":["United States","Canada"]}
The description field is where teams drift. It must summarise the service as the page describes it, not as the sales deck does. If the page never mentions Canada, drop Canada.
Product markup is stricter because the numbers are checkable. Name, sku, brand and image are straightforward; the offers object is where accuracy lives, with price, priceCurrency, availability and url.
Product page block
{"@context":"https://schema.org","@type":"Product","name":"Trail Runner 2","sku":"TR-2-42","brand":{"@type":"Brand","name":"Example Brand"},"image":"https://example.com/images/trail-runner-2.jpg","offers":{"@type":"Offer","price":"129.00","priceCurrency":"USD","availability":"https://schema.org/InStock","url":"https://example.com/products/trail-runner-2"}}
Google's product structured data guidance shows that product visibility can involve both page-level markup and Merchant Center feeds covering price, availability, shipping and returns, so the two surfaces need to agree.
Two errors account for most of the damage:
- A Service nobody can see. The markup describes an offering the page never explains, often copied from a sister page. Visitors can't hire what isn't described, and machines flag the gap.
- A Product price that drifted. The JSON-LD says 129.00 and the page renders 119.00 after a promotion. Shoppers see one number, crawlers store another, and eligibility weakens.
Availability belongs to the standard values, InStock and OutOfStock among them. A stale InStock on a sold-out item is worse than no value at all, because it's a promise the checkout can't keep.
If price or stock changes weekly, generate the JSON-LD from the same catalog source that renders the page. Hand-typed values on a dynamic product page go stale within a sprint.
FAQ and Article Markup Examples
FAQPage is the easiest type to get right and the easiest to abuse. The markup holds a mainEntity array of Question objects, and each Question carries a name identical to the visible question plus an acceptedAnswer whose text matches the visible answer.
Visible Q&A section, marked up
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How long does an AEO audit take?","acceptedAnswer":{"@type":"Answer","text":"Most audits complete within two weeks of kickoff."}},{"@type":"Question","name":"Which AI engines do you check?","acceptedAnswer":{"@type":"Answer","text":"We check ChatGPT, Google AI, Claude and Perplexity."}}]}
Three to five genuine questions from the page are enough. A question that lives only in the markup, with no answer a visitor can read, gets removed, not rewritten. Google's Article structured data documentation and its feature-specific guides apply the same test to every type: if a person can't see it, the machine shouldn't be told it.
Article markup is where dates and credits matter most. The headline mirrors the on-page H1, author is a Person with the byline name, publisher is the Organization with its logo, and mainEntityOfPage points at the canonical URL.
Guide page Article block
{"@context":"https://schema.org","@type":"Article","@id":"https://example.com/guide/#article","headline":"Structured Data Implementation Guide","author":{"@type":"Person","name":"A. Example"},"publisher":{"@type":"Organization","name":"Example Company","logo":{"@type":"ImageObject","url":"https://example.com/logo.png"}},"mainEntityOfPage":"https://example.com/guide/","datePublished":"2025-01-15","dateModified":"2025-02-03"}
dateModified should move only when the content meaningfully changes. Bumping it on every deploy trains readers and crawlers to ignore it. The author Person should match a real byline on the page, with a name a visitor can click and check.
Paste each block into a validator and compare every string against the rendered page, not the draft in your CMS. Templates often inject a fallback title or a truncated description that never appears to visitors.
Which Schema Types Pair on Each Page Type
The pairing rule is one line: match the type to the page's main entity, then link it to the Organization @id from the homepage. Everything below follows from that.
| Page type | Schema combination | Why this combination |
|---|---|---|
| Homepage | Organization | Establishes the entity every other page links to |
| Service page | Service with provider, plus FAQPage if Q&A is visible | Describes the offer and links it to the business |
| Blog post or guide | Article or BlogPosting with author and publisher | Credits the content and dates it |
| Location page | LocalBusiness with parentOrganization | Gives each site location its own address and hours |
| Product page | Product with Offer | Ties price and availability to the item |
| Category or ranking page | ItemList | Shows the order and grouping of listed entries |
| Help center article | FAQPage | Matches each visible question with its answer |
The cross-reference rule is what turns seven block types into one coherent description. Every provider, parentOrganization, publisher and author reference should point at the same @id values defined on the homepage. A site that invents a fresh Organization inside each template reads as several unrelated companies, and AI assistants describing it will pick whichever version they saw last.
Adding FAQPage to a service page only makes sense when a visitor scrolls past actual questions and answers. Markup without the block is a claim about content that doesn't exist. For the content side of this pairing, the AEO best practices guide walks through the answer-first structure that gives these types something accurate to point at.
Technical Checks That Let Crawlers Read Markup
Markup a crawler never reaches might as well not exist. For a page to qualify for rich results at all, it has to be reachable, crawlable, and indexable: no Disallow rule covering its path, no noindex directive, no login wall between the crawler and the HTML.
The file governing the first of those has a hard ceiling. Google's robots.txt specification sets a maximum file size of 500 KiB, and content past that limit may not be processed at all.
That cap matters more than it sounds. Auto-generated robots.txt files on large sites, especially ones assembled from a template per environment, grow past the limit, and the rules sitting at the bottom of the file stop applying.

Before blaming the markup, run five checks in order:
- Confirm the URL isn't disallowed. A
Disallowrule on/services/removes every Service block beneath it. - Check the page returns indexable HTML with no noindex meta tag and no restrictive
X-Robots-Tagheader. - Confirm the JSON-LD is in the server-rendered HTML. If it only appears after a client-side script runs, some crawlers never see it.
- Validate the live URL through Google's Rich Results Test or the Schema.org validator, rather than pasted source.
- Retest after every deploy. A template change can break a block that worked last week.
A clean result looks boring: no errors, every required property populated, and the detected type matching the page's main entity. When the validator reports a Product on a category page, every property inside it can be valid and the block still fails, because the type describes an item the page doesn't show. That mismatch costs eligibility the same way marking up questions a visitor can't see does.
Crawl access for AI assistants follows the same logic and gets forgotten more often. The guide to optimizing for Perplexity covers which AI crawlers to leave a path for.
Keeping Markup Consistent Across Large Sites
Google limits a single sitemap to 50 MB uncompressed or 50,000 URLs, and sites over either threshold must split coverage across multiple files, according to its sitemap documentation. Large catalogs and multi-location sites organise those files through a sitemap index, typically one child file per page type, so a deploy only has to rewrite the file that changed.

Sitemaps handle discovery. Consistency is a content operations problem, and it fails in predictable ways: duplicated entities, stale offers, contradictory ratings, and markup describing information the page dropped two redesigns ago. Every added template multiplies all four.
The maintenance pattern that holds up:
- One source of truth per entity. Locations live in a location database, products in the product information system. The template reads from it.
- Canonical
@idvalues reused by every template, so a location page and a blog post reference the same company. - A named owner for prices and hours, because shared ownership means nobody updates them.
- An update cadence matched to volatility. Hours change quarterly; prices change hourly. The pipeline should reflect that difference.
- A validation step in the publish workflow, so a broken block never reaches production.
- A quarterly audit of a sample of pages, comparing rendered content against markup. The errors worth catching are mismatches: an
Offerwhose price no longer matches the price shown on the page, or aLocalBusinesshours block that outlived the seasonal schedule.
A 200-location firm doesn't hand-write 200 blocks. It builds one LocalBusiness template generated from the location database and regenerated whenever a branch's hours change. The same logic applies to catalogs: one Product template reads the product information system, so each item's JSON-LD mirrors the price, currency and availability a shopper sees in the rendered HTML.
Relationships beat repetition. A SaaS company links each Service to the one Organization through
provider; an ecommerce brand pairs Product with Offer so price, currency and availability come from the same catalog that renders the page, with shipping and returns aligned to the Merchant Center feed.
Attach Review only to the product or location it describes. A rating lifted onto a category page invents an endorsement for an item nobody reviewed, the kind of mismatch that costs rich result eligibility. When price, hours or policy text changes, regenerate the JSON-LD in the same publish step so the site keeps describing one organisation. Teams that want the implementation handled end to end can review schema markup services built around that pattern.
Put the Markup to Work with AnswerLion
Examples become useful when they're maintained. AnswerLion's AEO services start with a baseline audit that puts your priority customer questions to the major AI engines, records who gets cited, and shows which Organization, Service, FAQ and Article details are missing or wrong.
The structured data and technical setup then publishes those types with stable @id values, robots.txt rules that leave AI crawlers a path, and server-rendered HTML so the JSON-LD arrives in the first response rather than after a script. The same questions get re-run on a fixed schedule, and every change lands in a report readable in five minutes: what engines say now, what moved since last time, and what happens next.
The practical starting point is a homepage and two core service pages. That establishes the Organization anchor and the Service pages that point back to it, which is the foundation every other example on this page depends on.
AnswerLion helps businesses become the answer AI assistants give, from the schema that describes your company accurately to the audit that shows where you're cited today. If your structured data exists but nobody maintains it, we'll run the baseline, fix the mismatches and keep the entity graph current as your services and locations change. Visit AnswerLion to start with an audit of your homepage and two service pages.