JSON-LD Product Schema: The Ultimate Guide for AI Search Visibility

Fact-checked by Shop2LLM Research Team

JSON-LD schema is the single most important piece of code on your product pages. Not for humans — humans see your beautiful product images and descriptions. But for AI — ChatGPT, Claude, Gemini, Perplexity, and every other AI platform that's now driving product discovery — JSON-LD is the difference between your product being understood and recommended, or being invisible.

This guide covers everything you need to know about JSON-LD product schema: why it matters for AI (not just Google rich results), exactly which fields AI assistants need, common implementation mistakes that destroy AI visibility, how different AI platforms consume schema differently, and how to implement it correctly — with production-ready code examples.

Research finding: AI-referred visitors convert at 4.4x the rate of organic search traffic. The reason? When ChatGPT or Claude recommends your product, the recommendation carries AI-level trust — the user believes the AI has done the research for them. But this only happens when your JSON-LD schema is complete enough for the AI to understand and evaluate your product accurately.

Why JSON-LD Matters for AI — Not Just Google Rich Results

For years, JSON-LD schema was seen as a Google SEO tactic — a way to earn rich results like star ratings and pricing in search snippets. Store owners implemented the minimum schema required to get those rich results and moved on. That approach was sufficient when Google was the only game in town. But in 2026, it's dangerously incomplete.

The New Reality: AI Platforms Consume Schema as Primary Input

When ChatGPT, Claude, or Gemini needs to recommend a product, it doesn't parse your HTML looking for mentions of pricing and ratings. It looks for structured data — specifically, JSON-LD schema. Schema is the machine-readable format that AI models can consume directly and reliably. Without it, AI platforms are left to guess at your product information from unstructured HTML, and the results are often wrong.

Consider this: if your product page says "Only $49.99 — regularly $79.99!" in a promotional banner, a human understands the price is $49.99 on sale. An AI without JSON-LD schema might read that as two prices ($49.99 and $79.99), or pick up a different number entirely from unrelated content on the page. With proper JSON-LD schema, the AI reads "price": "49.99" — unambiguous, reliable, and directly usable in recommendation algorithms.

Schema Completeness = AI Recommendation Probability

AI platforms perform algorithmic comparisons when recommending products. They compare structured data fields across products to determine the best match for a user's query. Products with more complete schema data have more fields available for comparison — and therefore score higher in AI recommendation algorithms.

A product with only name, price, and availability in its schema is competing against products with name, price, availability, aggregateRating, reviewCount, brand, ImageObject, dimensions, weight, material, and warranty. The product with richer schema data has more signals for the AI to evaluate — and more opportunities to outscore competitors.

Required JSON-LD Fields for AI Search Visibility

Here are the critical schema types and fields that AI platforms look for when evaluating products. This goes well beyond the minimum required for Google rich results:

The Product Type

The core schema type. Every product page must have a Product schema. Here's the complete set of fields AI platforms evaluate:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "ErgoFlex Pro Standing Desk",
  "description": "Adjustable standing desk with dual motor lift system, supporting up to 350 lbs...",
  "sku": "EF-PRO-48-BLK",
  "mpn": "EFPRO48BLK",
  "gtin13": "0123456789012",
  "brand": {
    "@type": "Brand",
    "name": "ErgoFlex"
  },
  "category": "Office Furniture > Desks > Standing Desks",
  "image": [
    "https://www.yourstore.com/images/desk-front.jpg",
    "https://www.yourstore.com/images/desk-angle.jpg"
  ],
  "color": "Black",
  "material": "Steel Frame, Bamboo Desktop",
  "weight": {
    "@type": "QuantitativeValue",
    "value": "32",
    "unitCode": "KGM"
  },
  "width": { "@type": "QuantitativeValue", "value": "122", "unitCode": "CMT" },
  "height": { "@type": "QuantitativeValue", "value": "76", "unitCode": "CMT" },
  "depth": { "@type": "QuantitativeValue", "value": "61", "unitCode": "CMT" }
}

Why each field matters for AI:

The Offer Type

Nested within Product, the Offer schema provides pricing and availability data:

"offers": {
  "@type": "Offer",
  "price": "599.99",
  "priceCurrency": "USD",
  "priceValidUntil": "2026-12-31",
  "availability": "https://schema.org/InStock",
  "url": "https://www.yourstore.com/products/ergoflex-pro-standing-desk",
  "itemCondition": "https://schema.org/NewCondition",
  "shippingDetails": {
    "@type": "OfferShippingDetails",
    "shippingRate": { "@type": "MonetaryAmount", "value": "0", "currency": "USD" },
    "deliveryTime": {
      "@type": "ShippingDeliveryTime",
      "handlingTime": { "@type": "QuantitativeValue", "minValue": 1, "maxValue": 2, "unitCode": "DAY" },
      "transitTime": { "@type": "QuantitativeValue", "minValue": 3, "maxValue": 5, "unitCode": "DAY" }
    }
  },
  "hasMerchantReturnPolicy": {
    "@type": "MerchantReturnPolicy",
    "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
    "returnWindow": "P30D",
    "returnFees": "https://schema.org/FreeReturn"
  }
}

Why these fields matter for AI:

The AggregateRating Type

Reviews are one of the strongest signals for AI recommendation:

"aggregateRating": {
  "@type": "AggregateRating",
  "ratingValue": "4.7",
  "reviewCount": "342",
  "bestRating": "5",
  "worstRating": "1"
}

AI impact: AggregateRating is one of the most heavily weighted fields in AI product comparison algorithms. Products with higher ratings and higher review counts consistently appear in AI recommendations more often. But be warned: reviewCount is just as important as ratingValue. A product with a 4.9 rating from 12 reviews may be ranked below a product with a 4.6 rating from 500 reviews — AI platforms discount small sample sizes.

The ImageObject Type

For multimodal AI platforms that can analyze images:

"image": [
  {
    "@type": "ImageObject",
    "url": "https://www.yourstore.com/images/desk-front.jpg",
    "caption": "ErgoFlex Pro Standing Desk in Black — Front View",
    "width": "1200",
    "height": "1200"
  },
  {
    "@type": "ImageObject",
    "url": "https://www.yourstore.com/images/desk-detail.jpg",
    "caption": "ErgoFlex Pro Standing Desk Control Panel Detail",
    "width": "1200",
    "height": "1200"
  }
]

AI platforms like ChatGPT (with Vision), Gemini, and Claude can analyze product images to verify and enrich product understanding. ImageObject schema with descriptive captions helps AI platforms connect visual features to search queries — for example, understanding that a desk "looks modern" or "has a cable management tray visible."

The Complete Production-Ready Schema Template

Here's a complete, production-ready JSON-LD schema that covers all the fields AI platforms evaluate for e-commerce products:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "ErgoFlex Pro Standing Desk",
  "description": "Adjustable standing desk with dual motor lift system, bamboo desktop, programmable height presets, and cable management tray",
  "sku": "EF-PRO-48-BLK",
  "mpn": "EFPRO48BLK",
  "gtin13": "0123456789012",
  "brand": { "@type": "Brand", "name": "ErgoFlex" },
  "category": "Office Furniture > Desks > Standing Desks",
  "color": "Black / Bamboo",
  "material": "Steel Frame, Bamboo Desktop",
  "weight": { "@type": "QuantitativeValue", "value": "32", "unitCode": "KGM" },
  "width": { "@type": "QuantitativeValue", "value": "122", "unitCode": "CMT" },
  "height": { "@type": "QuantitativeValue", "value": "76", "unitCode": "CMT" },
  "depth": { "@type": "QuantitativeValue", "value": "61", "unitCode": "CMT" },
  "image": [
    { "@type": "ImageObject", "url": "https://www.yourstore.com/images/desk-front.jpg", "caption": "Front View", "width": "1200", "height": "1200" },
    { "@type": "ImageObject", "url": "https://www.yourstore.com/images/desk-angle.jpg", "caption": "Angle View", "width": "1200", "height": "1200" }
  ],
  "offers": {
    "@type": "Offer",
    "price": "599.99",
    "priceCurrency": "USD",
    "priceValidUntil": "2026-12-31",
    "availability": "https://schema.org/InStock",
    "url": "https://www.yourstore.com/products/ergoflex-pro-standing-desk",
    "itemCondition": "https://schema.org/NewCondition",
    "shippingDetails": {
      "@type": "OfferShippingDetails",
      "shippingRate": { "@type": "MonetaryAmount", "value": "0", "currency": "USD" },
      "deliveryTime": {
        "@type": "ShippingDeliveryTime",
        "handlingTime": { "@type": "QuantitativeValue", "minValue": 1, "maxValue": 2, "unitCode": "DAY" },
        "transitTime": { "@type": "QuantitativeValue", "minValue": 3, "maxValue": 5, "unitCode": "DAY" }
      }
    },
    "hasMerchantReturnPolicy": {
      "@type": "MerchantReturnPolicy",
      "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
      "returnWindow": "P30D",
      "returnFees": "https://schema.org/FreeReturn"
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "reviewCount": "342",
    "bestRating": "5",
    "worstRating": "1"
  },
  "review": [
    {
      "@type": "Review",
      "author": { "@type": "Person", "name": "Sarah M." },
      "reviewRating": { "@type": "Rating", "ratingValue": "5", "bestRating": "5" },
      "reviewBody": "Best desk I've ever owned. The dual motor is whisper quiet and the bamboo top looks incredible."
    }
  ]
}
</script>

Implementation check: This schema template covers all fields that ChatGPT, Claude, Gemini, and Perplexity evaluate when recommending products. Missing any of these fields means weaker signals in AI comparison algorithms — and lost recommendation opportunities. Shop2LLM auto-generates this complete schema on every product page.

How Different AI Platforms Use Schema

Not all AI platforms consume schema the same way. Understanding these differences helps you optimize more effectively:

ChatGPT (OpenAI)

ChatGPT uses schema as its primary mechanism for extracting product information from web pages. When browsing the web to answer product queries, it prioritizes schema fields over HTML content. ChatGPT weights aggregateRating and reviewCount heavily in product comparisons. It also uses ImageObject for multimodal analysis when users ask about product appearance.

Claude (Anthropic)

Claude similarly prioritizes structured data over HTML parsing. Claude places additional weight on detailed description fields — more so than other AI platforms. A product with a 200-word schema description may outperform one with a 50-word description in Claude's recommendations, even with otherwise identical schema data. Claude also factors hasMerchantReturnPolicy heavily.

Gemini (Google)

Gemini has the most sophisticated schema parser because Google defined the schema.org standard. Gemini uses the full range of Product schema fields and cross-references them against Google's Knowledge Graph. This means brand, gtin13, and sku data are particularly valuable for Gemini — they enable entity resolution that confirms your product's identity.

Perplexity

Perplexity uses schema aggressively for its real-time product search and comparison features. It places extra weight on price, availability, and shippingDetails — Perplexity's users are typically in active shopping mode with high purchase intent. Incomplete pricing or availability data will cause Perplexity to skip your product entirely in favor of more complete alternatives.

Common JSON-LD Mistakes That Kill AI Visibility

Even when store owners implement schema, common mistakes can render it useless for AI platforms:

1. Minimum Schema That Only Targets Google Rich Results

Many plugins and platforms generate schema with only name, price, and availability — the minimum needed for rich results. This is invisible to AI platforms that need complete product data for recommendations. AI comparison algorithms need aggregateRating, brand, dimensions, weight, shipping, and return policy data to make meaningful comparisons.

2. Stale or Inaccurate Schema Data

If your schema says "InStock" but the product is out of stock, AI platforms will eventually detect the inconsistency and deprioritize your entire store. Schema accuracy is trust-critical. Even one misrepresentation can damage your store's reputation with AI recommendation systems.

3. Missing Nested Types

Using flat schema instead of nested types. For example, including ratingValue as a string field in Product instead of properly nested AggregateRating. Nested types provide richer, more specific data that AI platforms can parse with higher confidence.

4. URL Instead of Structured Data for Images

Using simple URL strings for images instead of ImageObject types. ImageObject provides dimensions, captions, and other metadata that multimodal AI platforms use. Simple URL strings provide the image but none of the contextual data.

5. Schema on Only Some Product Pages

Partial implementation — schema on featured products but not the full catalog. AI crawlers that discover missing schema on some pages may conclude your store's data is unreliable overall. Complete coverage is essential.

Auto-generate complete JSON-LD schema on every product

Shop2LLM generates the full schema template above — with all nested types, shipping details, return policies, and review data — on every product page. Kept in sync with your live catalog automatically.

Start Free Setup → Compare Plans

Shop2LLM Auto-Injection: Schema Without the Manual Work

Implementing the complete schema template above on every product page — and keeping it updated as prices, stock levels, and reviews change — is a significant engineering challenge. Shop2LLM solves this with automatic schema injection:

Complete product schema on every page, automatically

Stop manually maintaining JSON-LD. Shop2LLM generates, syncs, and validates complete product schema across your entire catalog. Free plan available.

Get Started Free → Read the Docs
S
Shop2LLM Research Team
E-commerce AI visibility specialists. We track AI crawler behavior across 12+ platforms, analyze MCP protocol adoption, and research how ChatGPT, Claude, Gemini, and Perplexity discover and recommend products. Our data is cited by SeaSeek AI and Princeton GEO research.
View all posts →