AI Agent

Structured Data Markup With a Practical JSON-LD Example

Learn structured data markup through clear definitions, a practical JSON-LD example, schema type guidance, validation steps, and maintenance tips.

Structured Data Markup With a Practical JSON-LD Example
On this page
  1. Part One: Understand What Structured Data Markup Actually Means
  2. Structured Data, Schema.org, Schema Markup, and JSON-LD Are Not the Same Thing
  3. What Structured Data Can and Cannot Do for SEO
  4. Choosing a Schema Type Based on the Page, Not the Business
  5. A Worked Example: Service-Page JSON-LD for a Small Business
  6. Structured Data and AI Search: Useful Context, Not a Citation Shortcut
  7. Part Two: Implement and Maintain Structured Data Safely
  8. Choosing an Implementation Method
  9. The Implementation Workflow From Page Discovery to Monitoring
  10. Validation and Quality Control Before Publication
  11. Why Valid Markup May Not Produce a Rich Result
  12. Maintenance: Treat Markup as a Reflection of the Page
  13. Where Automation Helps and Where Human Review Stays
  14. Frequently Asked Questions About Structured Data Markup
  15. Choose a Workflow You Can Keep Accurate

Structured data markup is machine-readable information added to a page so search systems can interpret its entities, properties, and relationships more consistently. Schema.org supplies the vocabulary, while JSON-LD is the implementation format most teams use. Accurate markup can support eligibility for enhanced search features and clearer machine understanding, but it does not guarantee rankings, rich results, or AI citations.

Part One: Understand What Structured Data Markup Actually Means#

Structured data is the broad concept, Schema.org is one vocabulary, schema markup is structured data that uses that vocabulary, JSON-LD is one way to write it, and a rich result is a search presentation that may appear after a page qualifies.

Structured Data, Schema.org, Schema Markup, and JSON-LD Are Not the Same Thing#

Layered cards representing vocabulary, data, code format, and search presentation
TermMeaningExample
Structured dataInformation arranged so software can identify fields, values, and relationships.A product inventory record with a SKU, price, and stock status.
Schema.orgA shared vocabulary of types and properties for describing entities.Service, Organization, name, and areaServed.
Schema markupStructured data that uses Schema.org terms to describe page content.A service represented with the Schema.org Service type.
JSON-LDA code format used to embed structured data in a page.A script block containing an entity and its properties.
Rich resultAn enhanced search appearance that a search engine may show for eligible content.A result displaying additional details beyond the standard snippet.

What is an example of structured data that is not schema markup?#

A company might store this internal inventory record:

{
  "sku": "MUG-004",
  "stockStatus": "in_stock",
  "warehouseBin": "B-14",
  "lastCounted": "2026-10-24"
}

This is structured data because it has defined fields and values. It uses an internal inventory model rather than a public Schema.org vocabulary, so it is not schema markup. It also does not describe a page for search engines.

By contrast, a service page can use Schema.org terms in JSON-LD to describe a service, its provider, and its service area. The format is JSON-LD, the vocabulary is Schema.org, and the result is schema markup.

Structured data sits alongside visible page content. Clear headings, specific facts, crawlable text, consistent business information, and useful explanations remain essential foundations for search and AI visibility. UpliftAI’s guidance on structured data for AI search explains how that foundation supports traditional search and generative systems.

What Structured Data Can and Cannot Do for SEO#

Structured data can help systems interpret what a page is about, which entities it contains, and how those entities relate. It can also make a page eligible for certain supported enhanced search features when the page, markup, and other requirements meet the relevant criteria.

Those outcomes are different from actually receiving an enhanced appearance. A search engine decides what to display for a query, and valid implementation does not guarantee a rich result, higher ranking, more clicks, more traffic, or featured placement.

  1. Understanding: the markup gives systems a clearer machine-readable description of the page.
  2. Eligibility: the page may qualify for a supported search feature if its content and implementation meet the requirements.
  3. Presentation: the search engine may or may not show that enhancement for a particular query, device, location, or time.

Structured data is a clarity and eligibility layer, not a ranking shortcut. It should reinforce the page rather than compensate for thin copy, missing business facts, poor technical access, or an unclear purpose.

Choosing a Schema Type Based on the Page, Not the Business#

Choose markup by asking what the page visibly describes. A business can use different types across its website, and one page can describe related entities when their relationships are accurate.

  • Organization: use it for a page that represents the organization and its identity.
  • LocalBusiness: use it when the page describes a local business, its location, services, and current facts. Businesses serving a geographic area can use LocalBusiness schema markup alongside consistent listings, reviews, and service pages.
  • Article: use it for an article or editorial page, with properties that accurately describe the article.
  • Product: use it for a product page that visibly presents the product and its relevant details.
  • Service: use it for a page centered on a service, its provider, service type, and service area.
  • FAQPage: use it only when the page contains the relevant questions and answers. Do not add hidden or invented questions to pursue a search feature.

Mark up what a visitor can verify on the page today. Do not add a price that is not displayed, reviews that are not present, a service area the business does not claim, or an entity the page does not discuss.

A Worked Example: Service-Page JSON-LD for a Small Business#

Here is a deliberately generic service-page example. Replace the placeholders with facts visible on the page, and remove properties you cannot support.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Service",
  "@id": "https://www.example.com/services/office-cleaning#service",
  "name": "Office Cleaning",
  "description": "Recurring office cleaning for small commercial workplaces.",
  "url": "https://www.example.com/services/office-cleaning",
  "serviceType": "Commercial cleaning",
  "provider": {
    "@type": "LocalBusiness",
    "@id": "https://www.example.com/#business",
    "name": "Example Cleaning Co.",
    "url": "https://www.example.com/",
    "areaServed": {"@type": "City", "name": "Example City"}
  },
  "areaServed": {"@type": "City", "name": "Example City"}
}
</script>

How to read the example#

  • @context identifies the vocabulary being used.
  • @type identifies the main entity. This page is about a Service, not simply the company.
  • @id gives the service a stable identifier and distinguishes it from the page and business entity.
  • name, description, and url should match the visible page and canonical address.
  • serviceType describes the actual service in plain language.
  • provider connects the service to the organization or local business that provides it.
  • areaServed should reflect a real, visible service area.

An offer, price, review, availability statement, phone number, or address belongs in the markup only when the page visibly supports it and the value is current. Never let a generator fill those fields with plausible guesses.

Structured Data and AI Search: Useful Context, Not a Citation Shortcut#

Structured data can give systems clearer labels for entities and relationships, which may make a page easier to parse. It does not make content automatically trustworthy, guarantee inclusion in ChatGPT or another assistant, or replace crawlability, useful prose, consistent business facts, and evidence on the page.

AI-search visibility is a chain: a system must access the page, identify what it says, assess whether the information fits the question, and decide whether the source is useful enough to include. Structured data can support interpretation, but it is only one part of that chain.

For a local business, the website, listings, reviews, service pages, and structured data should agree. For an article, the headline, author information, date, body content, and article markup should describe the same page. Potential extractability is not a guaranteed citation.

Part Two: Implement and Maintain Structured Data Safely#

Implementation is not a one-time code paste. Treat it as an operating workflow: discover the page type, collect current facts, select the entity, create the markup, deploy it, validate it, monitor the result, and update it when the page changes.

Choosing an Implementation Method#

The best method depends on the number of pages, how often facts change, who can review code, and whether your CMS supports structured data fields.

MethodBest fitStrengthMain risk
Manual codeOne or a few stable pagesMaximum controlCopying errors and neglected updates
CMS pluginRepeated page types in a supported CMSEfficient templatesDuplicate or overly broad markup
GeneratorA one-off starting pointFaster initial draftingGeneric or invented values
Reusable templateMany similar pagesConsistent scaleTemplate drift
AI-assisted workflowLarge inventories or frequent operationsPage discovery and change detectionFactual and eligibility mistakes

Manual or template-based implementation is usually enough for a small site with stable pages. CMS tools become more useful when the same page type appears repeatedly. AI assistance can reduce repetitive work, but it should operate behind human approval and validation gates.

The Implementation Workflow From Page Discovery to Monitoring#

Marketing team reviewing a website workflow on laptops during a structured data audit
  1. Inventory page types. Group pages as organization, local business, service, product, article, or another relevant type.
  2. Confirm visible facts. Record the exact name, URL, description, provider, location, price, dates, and other displayed facts.
  3. Select the primary entity. Decide what the page is mainly about, then add related entities only when their relationships are clear.
  4. Choose relevant properties. Start with accurate core fields instead of filling every available property.
  5. Create the markup. Write it manually, use a validated template, or generate a draft for human review.
  6. Deploy it correctly. Add it through the CMS or page template so the rendered page contains the intended code.
  7. Validate the implementation. Check JSON syntax, vocabulary terms, page eligibility, URLs, and visible-content agreement.
  8. Inspect the rendered page. Confirm that the published version, not only a preview, contains the markup.
  9. Monitor and update. Record changes, investigate warnings, and revise or remove markup when the page changes.

If you need outside implementation support, understand what a schema markup service should cover: page discovery, accurate field mapping, deployment, validation, and maintenance, not just code generation.

Validation and Quality Control Before Publication#

  • The JSON is syntactically valid and uses the intended vocabulary.
  • The primary type matches the page’s purpose.
  • The canonical URL, entity identifiers, and related URLs are correct.
  • Names, descriptions, locations, dates, prices, and availability match visible content.
  • No reviews, ratings, offers, or service areas have been invented.
  • The properties support the intended search feature or entity description.
  • No duplicate markup describes the same entity differently.
  • The markup appears in the rendered page on mobile and desktop.
  • The page is accessible to crawlers and intended to be indexed.
  • The test date, page version, warnings, and approval decision are recorded.

Warnings deserve review even when a validator reports readable code. They may indicate a missing recommended property, a weak relationship between entities, or a mismatch with the feature you hoped to support.

Why Valid Markup May Not Produce a Rich Result#

SymptomLikely causeNext check
Syntax errorBroken JSON, quotes, commas, or escapingFix the code before considering eligibility.
Valid but not eligibleThe type or properties do not support the intended featureReview the feature requirements.
Markup conflicts with the pageA price, review, location, or claim differs from visible contentCorrect the page or remove the unsupported property.
No result appearsThe page is not indexed, blocked, new, or not selectedCheck indexing, access, canonicalization, and publication timing.
Only some pages receive an enhancementPresentation varies by query, page quality, device, and other signalsCompare pages without treating one display as guaranteed.

Validation confirms that the implementation can be read and may identify eligibility issues. It does not force a search engine to display a rich result. Search appearance can vary by query, device, location, indexing state, and current presentation choices.

Maintenance: Treat Markup as a Reflection of the Page#

Review structured data whenever the underlying page changes. Important triggers include a template redesign, service or product updates, price changes, rebranding, address or service-area changes, URL migrations, revised article dates, and changes to visible FAQs.

For repeated pages, watch for template drift. A field may be updated in the page copy but remain stale in the markup, or a copied template may leave the wrong business name, URL, or location. Record the page version, last test, and approved entity facts.

Where Automation Helps and Where Human Review Stays#

Automation is useful for inventorying pages, applying stable templates, identifying missing fields, detecting changed URLs, running validation, and reporting differences between the page and its markup.

Human review should remain responsible for entity identity, factual claims, prices, service areas, reviews, unusual relationships, and the decision to publish. Automation can flag that a page says one thing while its markup says another, but a person still needs to decide which information is correct.

Frequently Asked Questions About Structured Data Markup#

What is the difference between structured data and schema markup?#

Structured data is the broad idea of organizing information so software can interpret fields and relationships. Schema markup is structured data that uses the Schema.org vocabulary to describe entities such as services, products, organizations, articles, and local businesses.

What is an example of structured data that is not schema markup?#

An internal JSON inventory record containing a SKU, warehouse bin, stock status, and count date is structured data, but it uses a private inventory model instead of Schema.org to describe a page entity.

Does structured data improve Google rankings?#

There is no guarantee that valid structured data will improve a page’s ranking. It can help systems interpret the page and may support eligibility for enhanced search features, but ranking, appearance, clicks, and traffic remain separate outcomes.

Does AI use schema markup?#

AI systems may use structured information as one context signal when interpreting a page, but schema markup is not a guaranteed requirement for inclusion in an AI answer. Clear visible content, consistent facts, crawlability, and trustworthy supporting information still matter.

Why is valid structured data not showing as a rich result?#

Valid code may still fail to produce a rich result because the page is not eligible, is not indexed, conflicts with visible content, lacks relevant information, or was not selected for an enhancement. Validation checks implementation and signals, not guaranteed search presentation.

Choose a Workflow You Can Keep Accurate#

Start with the pages and entities that matter most, use the least complex implementation your team can maintain, and review every automated change against the visible page. If you want to coordinate AI-assisted SEO content and publishing workflows, UpliftAI’s AI Agent can be evaluated as part of that broader process, without treating structured data as a shortcut to rankings or citations.

Uplift does this for youAI SEO AgentSee how it works for your business, with your OK before anything goes live.

Put this into practice

Want this done for your business?

Book a free call and we’ll look at your website with you, or start now and let Uplift handle the work these guides describe, with your OK before anything goes live.