Example 1: Product
Supply name, price, currency, and availability — Google Shopping can ingest the JSON-LD and render a Rich Product result with the price next to the URL.
Form input
type: Product
name: Mechanical Keyboard K-01
brand: AcmeTech
price: 129.99
currency: USD
availability: InStock
rating: 4.6 (214 reviews)
Output
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Mechanical Keyboard K-01",
"brand": { "@type": "Brand", "name": "AcmeTech" },
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": "129.99",
"availability": "https://schema.org/InStock"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.6",
"reviewCount": "214"
}
}
</script>Example 2: Article
Article schema unlocks the Top Stories carousel and adds publish date + author to the SERP snippet. image must be an array — Google requires at least one and accepts up to three with different aspect ratios.
Output
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Why schema markup still matters in 2025",
"image": [
"https://example.com/cover-16x9.jpg",
"https://example.com/cover-4x3.jpg",
"https://example.com/cover-1x1.jpg"
],
"datePublished": "2025-01-14T09:00:00+09:00",
"dateModified": "2025-01-20T12:30:00+09:00",
"author": {
"@type": "Person",
"name": "Alice Park",
"url": "https://example.com/authors/alice"
},
"publisher": {
"@type": "Organization",
"name": "Example Media",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
}
}
</script>Example 3: FAQPage
FAQ schema renders expandable Q&A directly in the search results. Each question must match a visible Q on the page — Google penalizes hidden or fabricated FAQs.
Output
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "Where do I paste the JSON-LD?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Inside the <head> of your HTML, before </head>."
}
}]
}
</script>