JSON-LD Snippet Library (Copy/Paste): Validated Examples with Notes

A practical JSON-LD snippet library you can copy/paste: Article, FAQPage, HowTo, Product, Organization, LocalBusiness, SoftwareApplication, BreadcrumbList, VideoObject, Event, JobPosting, and more. Includes clean, validated code, schema.org links, and implementation notes.

Agenxus Team22 min
#json ld faq example#article schema example#structured data#schema markup#FAQPage schema#HowTo schema#Product schema#Organization schema#LocalBusiness schema#SoftwareApplication schema#BreadcrumbList#VideoObject#Event schema#JobPosting schema#rich results#SEO
JSON-LD Snippet Library (Copy/Paste): Validated Examples with Notes

Structured data is the foundation of modern search visibility. Whether your goal is to earn featured snippets, appear in AI Overviews, or ensure your content is correctly cited in generative answers, JSON-LD schema markup is the universal format for communicating meaning to search engines and large language models.

This article isn’t theory—it’s a validated JSON-LD snippet library you can copy and paste directly into your pages. Each section includes clean, production-ready examples for Article, FAQPage, HowTo, Product, Organization, and more—plus short annotations explaining where, when, and why to use each. Every snippet aligns with Schema.org standards and can be verified using Google’s Rich Results Test.

Think of this as your structured data quick-start kit—a practical, tested reference for developers, SEOs, and content teams who want to make their pages machine-readable without endless guesswork.

Validation & Reference Sources

Article Schema

Use on blog posts, editorial content, or news pages. Helps search engines understand authorship, date, and primary content entity.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"Article",
  "headline":"JSON-LD Snippet Library (Copy/Paste): Validated Examples with Notes",
  "description":"A practical JSON-LD snippet library you can copy/paste, including all major schema types.",
  "author":{"@type":"Organization","name":"Agenxus"},
  "publisher":{"@type":"Organization","name":"Agenxus","logo":{"@type":"ImageObject","url":"https://agenxus.com/logo.png"}},
  "datePublished":"2025-10-04",
  "dateModified":"2025-10-04",
  "mainEntityOfPage":"https://agenxus.com/blog/json-ld-snippet-library-copy-paste",
  "image":"https://agenxus.com/images/blog/json-ld-snippet-library-hero.jpeg"
}
</script>

FAQPage Schema

Mark up Q&A sections. Answers must appear visibly on the page—avoid adding hidden questions.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"FAQPage",
  "mainEntity":[
    {
      "@type":"Question",
      "name":"Can I include comments in JSON-LD?",
      "acceptedAnswer":{"@type":"Answer","text":"No. JSON does not support comments. Use the production version without comments."}
    },
    {
      "@type":"Question",
      "name":"Where should I place JSON-LD?",
      "acceptedAnswer":{"@type":"Answer","text":"Place schema server-side in the initial HTML (<head> or body)."}
    }
  ]
}
</script>

HowTo Schema

Use for step-by-step tutorials. Required properties: name, step, and optionally image or tool.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"HowTo",
  "name":"How to Validate JSON-LD",
  "description":"Use Google's Rich Results Test to verify your structured data.",
  "totalTime":"PT5M",
  "step":[
    {"@type":"HowToStep","name":"Open Rich Results Test","text":"Visit https://search.google.com/test/rich-results"},
    {"@type":"HowToStep","name":"Enter URL or Code","text":"Paste your page URL or JSON-LD and click Run Test."},
    {"@type":"HowToStep","name":"Fix Errors","text":"Resolve invalid properties and re-test until all are green."}
  ]
}
</script>

Product Schema

Used for eCommerce or software listings. Include offers.price and availability for eligibility in rich results.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"Product",
  "name":"Pro Widget 3000",
  "image":["https://example.com/images/widget.jpg"],
  "description":"High-precision widget for professionals.",
  "sku":"PW-3000",
  "brand":{"@type":"Brand","name":"WidgetCo"},
  "offers":{
    "@type":"Offer",
    "priceCurrency":"USD",
    "price":"299.00",
    "availability":"https://schema.org/InStock",
    "url":"https://example.com/product/pro-widget-3000"
  }
}
</script>

Organization Schema

Define brand identity, logo, and social profiles. Use at the root or on “About” pages.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"Organization",
  "name":"Agenxus",
  "url":"https://agenxus.com/",
  "logo":"https://agenxus.com/logo.png",
  "sameAs":[
    "https://www.linkedin.com/company/agenxus",
    "https://twitter.com/agenxus"
  ]
}
</script>

LocalBusiness Schema

Add for local pages. Specify address, hours, and contact details. Works best alongside a verified Google Business Profile.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"ProfessionalService",
  "name":"Agenxus Consulting",
  "image":"https://example.com/images/office.jpg",
  "address":{
    "@type":"PostalAddress",
    "streetAddress":"123 Market St",
    "addressLocality":"Austin",
    "addressRegion":"TX",
    "postalCode":"78701",
    "addressCountry":"US"
  },
  "telephone":"+1-555-555-5555",
  "openingHoursSpecification":[{
    "@type":"OpeningHoursSpecification",
    "dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday"],
    "opens":"09:00",
    "closes":"17:00"
  }],
  "url":"https://example.com/services/local"
}
</script>

SoftwareApplication Schema

For SaaS tools or downloadable apps. Supports ratings, pricing, and OS compatibility.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"SoftwareApplication",
  "name":"Free AEO Audit Tool",
  "applicationCategory":"SEO Tool",
  "operatingSystem":"Web",
  "offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},
  "description":"Run an AI visibility audit: schema, SSR, and entity checks with CSV export.",
  "url":"https://agenxus.com/tools/aeo-audit",
  "creator":{"@type":"Organization","name":"Agenxus"}
}
</script>

BreadcrumbList Schema

Displays breadcrumb navigation in search results. Ensure URLs are canonical and valid.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"BreadcrumbList",
  "itemListElement":[
    {"@type":"ListItem","position":1,"name":"Blog","item":"https://example.com/blog"},
    {"@type":"ListItem","position":2,"name":"Structured Data","item":"https://example.com/blog/structured-data"},
    {"@type":"ListItem","position":3,"name":"JSON-LD Snippet Library","item":"https://example.com/blog/json-ld-snippet-library-copy-paste"}
  ]
}
</script>

VideoObject Schema

Use for pages with embedded videos. Required fields: name,description, thumbnailUrl, and uploadDate.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"VideoObject",
  "name":"JSON-LD Basics",
  "description":"Quick tour of JSON-LD for SEO.",
  "thumbnailUrl":"https://example.com/thumbs/jsonld.jpg",
  "uploadDate":"2025-09-15",
  "duration":"PT3M12S",
  "contentUrl":"https://example.com/videos/jsonld.mp4"
}
</script>

Event Schema

Mark up webinars, conferences, and meetups. Include start/end times and ticket URLs when applicable.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"Event",
  "name":"AEO Summit 2025",
  "startDate":"2025-11-12T09:00:00-06:00",
  "endDate":"2025-11-12T17:00:00-06:00",
  "eventAttendanceMode":"https://schema.org/OnlineEventAttendanceMode",
  "eventStatus":"https://schema.org/EventScheduled",
  "organizer":{"@type":"Organization","name":"Agenxus"},
  "location":{"@type":"VirtualLocation","url":"https://example.com/aeo-summit"}
}
</script>

JobPosting Schema

For job listings; include salary range and employment type for enhanced display.

<script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"JobPosting",
  "title":"Senior Technical SEO",
  "description":"Lead structured data and AEO programs across enterprise sites.",
  "datePosted":"2025-09-28",
  "employmentType":"FULL_TIME",
  "hiringOrganization":{"@type":"Organization","name":"Agenxus","sameAs":"https://agenxus.com/"},
  "jobLocationType":"TELECOMMUTE",
  "applicantLocationRequirements":{"@type":"Country","name":"United States"},
  "baseSalary":{"@type":"MonetaryAmount","currency":"USD","value":{"@type":"QuantitativeValue","minValue":120000,"maxValue":150000,"unitText":"YEAR"}}
}
</script>

Best Practices & Next Steps

  • Use absolute URLs for all properties referencing external resources.
  • Ensure each schema type directly reflects visible on-page content.
  • Render JSON-LD server-side (SSR/prerender) for AI and search crawlers.
  • Prefer 1–2 relevant types per page to reduce conflicts and noise.
  • Revalidate markup after template or content model changes.
  • Keep dates, prices, and availability in sync with on-page content.
  • Document ownership: who maintains schema in your CMS or codebase.

Need help implementing at scale or migrating SPAs to SSR? Our AI Search Optimization services team can design schema programs, validate markup, and align your content to win retrieval and citation in AI answers.

Sources & Further Reading

Frequently Asked Questions

Where should I place JSON-LD?
Prefer a single <script type="application/ld+json"> block per type, rendered server-side in the initial HTML (<head> or body). Avoid delaying JSON-LD with client-side JS.
Can I include comments in JSON-LD?
JSON does not support comments. The annotated snippets here include // comments for learning—remove them before production.
Can I include multiple schema types on one page?
Yes, but keep it focused (usually 1–2 types). Ensure the markup matches visible content and avoids conflicting signals.
How do I validate my markup?
Use Google’s Rich Results Test and Schema.org validator. Also verify that JSON-LD appears in your initial HTML (View Source).