Schema Markup Examples

Copy these examples and test them with our validator!

Validate Schema Markup →

Introduction

Below are practical, ready-to-use JSON-LD schema markup examples for the most common content types. You can copy these examples and customize them for your own website.

How to use these examples:

  1. Copy the JSON-LD code
  2. Replace example values with your actual content
  3. Add the code to your page's <head> section
  4. Validate using our schema validator before publishing

1. Product Schema Example

Use Product schema for e-commerce product pages. This example shows ratings, price, availability, and product details.

Rich results: Shows star ratings, price, and availability in search results

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Wireless Bluetooth Headphones",
  "image": [
    "https://example.com/photos/headphones-front.jpg",
    "https://example.com/photos/headphones-side.jpg"
  ],
  "description": "Premium wireless Bluetooth headphones with active noise cancellation and 30-hour battery life.",
  "sku": "WBH-12345",
  "mpn": "925872",
  "brand": {
    "@type": "Brand",
    "name": "AudioTech"
  },
  "review": {
    "@type": "Review",
    "reviewRating": {
      "@type": "Rating",
      "ratingValue": "4.8",
      "bestRating": "5"
    },
    "author": {
      "@type": "Person",
      "name": "John Smith"
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "reviewCount": "342"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/wireless-headphones",
    "priceCurrency": "USD",
    "price": "149.99",
    "priceValidUntil": "2026-12-31",
    "itemCondition": "https://schema.org/NewCondition",
    "availability": "https://schema.org/InStock"
  }
}
</script>

Key Properties Explained:

2. Event Schema Example

Use Event schema for concerts, conferences, webinars, workshops, and any scheduled events.

Rich results: Displays event date, time, location, and ticket info in search and Google Maps

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Event",
  "name": "Web Development Conference 2026",
  "startDate": "2026-03-15T09:00:00+05:30",
  "endDate": "2026-03-17T18:00:00+05:30",
  "eventStatus": "https://schema.org/EventScheduled",
  "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
  "location": {
    "@type": "Place",
    "name": "India Convention Centre",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "123 Conference Road",
      "addressLocality": "Mumbai",
      "addressRegion": "Maharashtra",
      "postalCode": "400001",
      "addressCountry": "IN"
    }
  },
  "image": [
    "https://example.com/event-banner.jpg"
  ],
  "description": "Annual web development conference featuring the latest trends in React, Node.js, and modern JavaScript.",
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/conference-tickets",
    "price": "4999",
    "priceCurrency": "INR",
    "availability": "https://schema.org/InStock",
    "validFrom": "2026-01-01"
  },
  "performer": {
    "@type": "PerformingGroup",
    "name": "Tech Speakers Panel"
  },
  "organizer": {
    "@type": "Organization",
    "name": "WebDev India",
    "url": "https://example.com"
  }
}
</script>

Key Properties Explained:

3. Article Schema Example

Use Article schema for blog posts, news articles, and editorial content.

Rich results: Can appear in Google News, Top Stories, and article carousels

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "10 SEO Tips to Improve Your Website Rankings in 2026",
  "image": [
    "https://example.com/seo-tips-featured.jpg"
  ],
  "datePublished": "2026-01-20T08:00:00+05:30",
  "dateModified": "2026-01-24T14:30:00+05:30",
  "author": {
    "@type": "Person",
    "name": "Sarah Johnson",
    "url": "https://example.com/author/sarah-johnson"
  },
  "publisher": {
    "@type": "Organization",
    "name": "SEO Insights Blog",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png"
    }
  },
  "description": "Learn the top 10 SEO strategies to improve your search engine rankings and drive more organic traffic to your website.",
  "articleBody": "Full article text goes here...",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://example.com/seo-tips-2026"
  },
  "keywords": ["SEO", "search engine optimization", "website ranking", "organic traffic"]
}
</script>

Key Properties Explained:

4. Recipe Schema Example

Use Recipe schema for cooking recipes and food content.

Rich results: Shows cooking time, calories, ratings in recipe carousels

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Recipe",
  "name": "Classic Chocolate Chip Cookies",
  "image": [
    "https://example.com/cookie-photo.jpg"
  ],
  "author": {
    "@type": "Person",
    "name": "Chef Maria"
  },
  "datePublished": "2026-01-15",
  "description": "Soft and chewy chocolate chip cookies with the perfect balance of sweetness.",
  "prepTime": "PT15M",
  "cookTime": "PT12M",
  "totalTime": "PT27M",
  "keywords": "chocolate chip cookies, dessert, baking",
  "recipeYield": "24 cookies",
  "recipeCategory": "Dessert",
  "recipeCuisine": "American",
  "nutrition": {
    "@type": "NutritionInformation",
    "calories": "150 calories"
  },
  "recipeIngredient": [
    "2 1/4 cups all-purpose flour",
    "1 cup butter, softened",
    "3/4 cup granulated sugar",
    "3/4 cup brown sugar",
    "2 eggs",
    "2 teaspoons vanilla extract",
    "1 teaspoon baking soda",
    "1 teaspoon salt",
    "2 cups chocolate chips"
  ],
  "recipeInstructions": [
    {
      "@type": "HowToStep",
      "text": "Preheat oven to 375°F (190°C)."
    },
    {
      "@type": "HowToStep",
      "text": "Mix butter and sugars until creamy. Add eggs and vanilla."
    },
    {
      "@type": "HowToStep",
      "text": "Combine flour, baking soda, and salt. Gradually add to wet mixture."
    },
    {
      "@type": "HowToStep",
      "text": "Stir in chocolate chips. Drop spoonfuls onto baking sheet."
    },
    {
      "@type": "HowToStep",
      "text": "Bake for 10-12 minutes until golden brown. Cool and enjoy!"
    }
  ],
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.9",
    "reviewCount": "287"
  }
}
</script>

Key Properties Explained:

5. Local Business Schema Example

Use LocalBusiness schema for brick-and-mortar businesses, restaurants, and stores.

Rich results: Appears in Google Maps, local search, and Knowledge Panel

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "name": "Spice Garden Restaurant",
  "image": "https://example.com/restaurant-photo.jpg",
  "@id": "https://example.com/spice-garden",
  "url": "https://example.com/spice-garden",
  "telephone": "+91-22-12345678",
  "priceRange": "₹₹",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "456 Food Street",
    "addressLocality": "Mumbai",
    "addressRegion": "Maharashtra",
    "postalCode": "400020",
    "addressCountry": "IN"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 19.0760,
    "longitude": 72.8777
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "11:00",
      "closes": "23:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Saturday",
        "Sunday"
      ],
      "opens": "10:00",
      "closes": "00:00"
    }
  ],
  "servesCuisine": "Indian",
  "acceptsReservations": "True",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "215"
  }
}
</script>

Key Properties Explained:

6. FAQ Schema Example

Use FAQPage schema for frequently asked questions.

Rich results: Questions appear directly in search results with expandable answers

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How long does shipping take?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Standard shipping typically takes 3-5 business days. Express shipping is available for delivery within 1-2 business days."
      }
    },
    {
      "@type": "Question",
      "name": "What is your return policy?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "We offer a 30-day money-back guarantee. Items must be in original condition with tags attached. Refunds are processed within 5-7 business days."
      }
    },
    {
      "@type": "Question",
      "name": "Do you ship internationally?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, we ship to over 50 countries worldwide. International shipping costs and delivery times vary by destination."
      }
    }
  ]
}
</script>

Key Properties Explained:

7. Organization Schema Example

Use Organization schema for company information and branding.

Rich results: Can appear in Knowledge Graph and brand search results

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "TechCorp India",
  "alternateName": "TechCorp",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png",
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+91-80-12345678",
    "contactType": "customer service",
    "availableLanguage": ["en", "hi"]
  },
  "sameAs": [
    "https://www.facebook.com/techcorpindia",
    "https://twitter.com/techcorpindia",
    "https://www.linkedin.com/company/techcorpindia",
    "https://www.instagram.com/techcorpindia"
  ]
}
</script>

Key Properties Explained:

8. Video Schema Example

Use VideoObject schema for video content.

Rich results: Video thumbnails and playback options in search results

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": "How to Bake Perfect Chocolate Cake",
  "description": "Step-by-step video tutorial on baking a delicious chocolate cake from scratch.",
  "thumbnailUrl": "https://example.com/video-thumbnail.jpg",
  "uploadDate": "2026-01-20T08:00:00+05:30",
  "duration": "PT8M30S",
  "contentUrl": "https://example.com/videos/chocolate-cake.mp4",
  "embedUrl": "https://example.com/embed/chocolate-cake",
  "interactionStatistic": {
    "@type": "InteractionCounter",
    "interactionType": "https://schema.org/WatchAction",
    "userInteractionCount": "15234"
  }
}
</script>

Key Properties Explained:

Tips for Using These Examples

Test any of these schema examples now! Copy the code, customize it with your data, and validate it to ensure it works correctly.

Validate Schema Markup →