Cookies & analytics

    We use cookies for analytics and to serve ads. Accept to enable Google Analytics and AdSense. You can decline to stay opt-out.

    SwiftSchema Logo

    SwiftSchema

    Intuitive Schema Generation at Your Fingertips

    AboutLearnContact
      Stack

      Policy Library Stack

      Policy libraries with CollectionPage + WebPage entries, FAQs, and breadcrumbs.

      Open generatorValidate in Rich Results Test

      When to use this stack

      • Policy libraries for privacy, security, and HR documents
      • Compliance hubs listing multiple policies
      • Internal policy directories with navigation and FAQs

      What's included

      • Collection Page
        Open generator

        Represents the policy library hub page.

      • Represents individual policy pages listed in the library.

      • Frequently Asked Questions
        Open generator

        Answers common policy access and update questions.

      • Breadcrumb
        Open generator

        Provides navigation context for the library.

      Required properties (stack union)

      Ensure every applicable required property is present in your implementation. Nested props reference their parent objects (for example, `offers.priceCurrency`).

      description
      itemListElement[].name
      mainEntity[].@type=Question
      mainEntity[].acceptedAnswer.text
      name
      url

      Recommended properties (stack union)

      dateModified
      inLanguage
      itemListElement[].item
      mainEntity.@id
      mainEntity[].acceptedAnswer.text
      mainEntity[].author.name
      mainEntity[].name

      Combined JSON-LD

      Paste as a single script tag. Keep product details, offer data, shipping/returns, and FAQ answers in sync with the page.

      Validate
      [
        {
          "@context": "https://schema.org",
          "@type": "CollectionPage",
          "@id": "https://www.example.com/policies#page",
          "name": "Policy Library",
          "description": "Browse privacy, security, and HR policies.",
          "url": "https://www.example.com/policies",
          "mainEntity": {
            "@type": "WebPage",
            "@id": "https://www.example.com/policies/privacy#page"
          }
        },
        {
          "@context": "https://schema.org",
          "@type": "WebPage",
          "@id": "https://www.example.com/policies/privacy#page",
          "name": "Privacy Policy",
          "description": "How we collect, use, and protect personal data.",
          "url": "https://www.example.com/policies/privacy",
          "dateModified": "2025-05-10"
        },
        {
          "@context": "https://schema.org",
          "@type": "WebPage",
          "@id": "https://www.example.com/policies/security#page",
          "name": "Security Policy",
          "description": "Security practices and incident response procedures.",
          "url": "https://www.example.com/policies/security",
          "dateModified": "2025-04-30"
        },
        {
          "@context": "https://schema.org",
          "@type": "FAQPage",
          "mainEntity": [
            {
              "@type": "Question",
              "name": "How often are policies updated?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "We review policies annually and update them when regulations or practices change."
              }
            },
            {
              "@type": "Question",
              "name": "Where can I request a copy?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Contact compliance@example.com for official copies or supporting documents."
              }
            },
            {
              "@type": "Question",
              "name": "Do you keep an archive?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Yes. Prior versions are available upon request."
              }
            }
          ]
        },
        {
          "@context": "https://schema.org",
          "@type": "BreadcrumbList",
          "itemListElement": [
            { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com" },
            { "@type": "ListItem", "position": 2, "name": "Policy Library", "item": "https://www.example.com/policies" }
          ]
        }
      ]

      Implementation steps

      1. Start from your live product detail page content; ensure titles, prices, and availability match the page.
      2. Embed one JSON-LD script in the head or just before the closing body tag using the combined example as a template.
      3. Fill shipping details for each region you serve and keep them aligned with on-page shipping tables.
      4. Attach your canonical MerchantReturnPolicy URL and keep the policy text in sync with Merchant Center.
      5. Add 3–6 FAQs that address purchase blockers (shipping, returns, compatibility) and keep answers consistent with visible content.
      6. Validate in the Rich Results Test and revalidate after price/availability/policy changes.

      Common errors and fixes

      FAQs

      Should I list all policies in JSON-LD?

      Include WebPage entries for each policy visible on the library page.

      How do I show restricted policies?

      If policies require login, mention the restriction in the FAQ answers and keep URLs consistent.

      References