Schema stack

    Site Search Stack

    Internal search results pages with WebSite search action, SearchResultsPage, FAQs, and breadcrumb context.

    Included schema
    Website
    Search Results Page
    Frequently Asked Questions
    Breadcrumb
    Fit

    When to use this stack

    • Internal search results pages that need structured context
    • Sites wanting clear site search eligibility and navigation
    • Pages where FAQs clarify how search works or what’s indexed
    Composition

    What is included

    Data contract

    Properties across the bundle

    Nested properties keep their parent path, such as offers.priceCurrency. Only publish values that match visible page content.

    Required properties

    • itemListElement[].name
    • mainEntity[].@type=Question
    • mainEntity[].acceptedAnswer.text
    • name
    • potentialAction.query-input
    • potentialAction.target
    • url

    Recommended properties

    • description
    • itemListElement[].item
    • mainEntity[].acceptedAnswer.text
    • mainEntity[].author.name
    • mainEntity[].name
    Copy-ready example

    Combined JSON-LD

    Paste this as one script tag, then replace every example value with data from the live page.

    [
      {
        "@context": "https://schema.org",
        "@type": "WebSite",
        "@id": "https://www.example.com/#website",
        "name": "Example Site",
        "url": "https://www.example.com",
        "potentialAction": {
          "@type": "SearchAction",
          "target": "https://www.example.com/search?q={search_term_string}",
          "query-input": "required name=search_term_string"
        }
      },
      {
        "@context": "https://schema.org",
        "@type": "SearchResultsPage",
        "@id": "https://www.example.com/search?q=wireless+headphones#page",
        "name": "Search results for wireless headphones",
        "url": "https://www.example.com/search?q=wireless+headphones",
        "description": "Results for wireless headphones across products and guides."
      },
      {
        "@context": "https://schema.org",
        "@type": "FAQPage",
        "mainEntity": [
          { "@type": "Question", "name": "What does site search include?", "acceptedAnswer": { "@type": "Answer", "text": "Products, guides, and FAQs are indexed. Archived pages are excluded." } },
          { "@type": "Question", "name": "How do I filter results?", "acceptedAnswer": { "@type": "Answer", "text": "Use filters on the left to narrow by category and price." } }
        ]
      },
      {
        "@context": "https://schema.org",
        "@type": "BreadcrumbList",
        "itemListElement": [
          { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com" },
          { "@type": "ListItem", "position": 2, "name": "Search", "item": "https://www.example.com/search" }
        ]
      }
    ]
    Workflow

    Implement and verify

    1. 01

      Start with the live page

      Confirm titles, prices, availability, policies, and visible FAQ content before generating markup.

    2. 02

      Add one JSON-LD script

      Use the combined example as a template in the document head or before the closing body tag.

    3. 03

      Complete regional details

      Fill shipping destinations and timing for every region the page actually serves.

    4. 04

      Link the return policy

      Use a stable MerchantReturnPolicy URL and keep its terms synchronized with the page.

    5. 05

      Match visible answers

      Add only FAQs that users can read on the same page, with identical answers.

    6. 06

      Validate after changes

      Run Rich Results Test after implementation and whenever price, availability, or policy data changes.

    Quality check

    Common errors and fixes

    • Missing currency or availability

      Use ISO currency codes and complete schema.org availability URLs in Offer data.

    • Incomplete shipping details

      Include shippingDestination.addressCountry and deliveryTime.transitTime with units.

    • Return policy is not connected

      Reference MerchantReturnPolicy from the Offer and provide a stable public policy URL.

    • FAQ answers differ from the page

      Keep structured FAQ answers identical to visible answers.

    Questions

    Stack FAQs

    Can I use this on faceted search pages?

    Yes. Ensure the JSON-LD matches the visible search page and query.

    Do I need WebPage?

    SearchResultsPage is a WebPage subtype, so no separate WebPage object is necessary.

    Primary sources

    References