title
- Page use
- Visible article or product heading
- Possible JSON-LD property
headlineorname, depending on the actual type
Model the source facts in Sanity, project them into page-specific JSON-LD, and validate the rendered output against Google's rules.
Sanity schemas define and validate editorial fields; they do not automatically generate schema.org JSON-LD. Query the fields that describe a page, map them to a Google-supported JSON-LD type in your frontend, and render that markup with the visible page content. Validate the deployed URL and keep both outputs tied to the same source record.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
titleheadline or name, depending on the actual typepublishedAtdatePublished when the page qualifies as an ArticlemainImageimage when the target type supports itauthor referenceauthor as a Person or Organization entityoffers or product fieldsStart with a page that fits a Google search feature, such as an article or product detail. Read that feature's required properties and eligibility rules before changing the content model.
Use Sanity fields and references for the real page facts: title, author, image, dates, product identifiers, price, and availability as applicable. Add validation for required values and constrain references so editors can select legitimate records.
Use a GROQ projection in the page data query to select and rename the document fields that feed the target JSON-LD object. Keep projection logic near the frontend's rendering boundary or in a shared, typed mapper.
Serialize a page-specific object into an application/ld+json script. Reuse the fetched record used for the visible page so title, dates, price, and availability do not drift between markup and content.
Inspect the deployed HTML, run Google's Rich Results Test for eligible types, then use URL Inspection and Search Console reports after rollout. Test a missing optional field and a changed record as well as the happy path.
For a Product page, a mapper could turn the actual Sanity product title, canonical product URL, image asset URL, and current offer record into Product and Offer properties. Do not invent aggregate ratings, shipping promises, brand details, or availability to satisfy a schema checklist. If the visible page does not show a fact or the source record cannot substantiate it, leave it out.
author may be a reference that must be resolved into a Person or Organization object.null, empty strings, broken URLs, or stale references.Structured data can make a page eligible for some enhanced results, but Google says it "does not guarantee that your structured data will show up in search results, even if your page is marked up correctly according to the Rich Results Test." Google also tells you not to mark up content that is not visible to readers of the page. Measure technical validity and search outcomes separately.
For Google eligibility and validation, see structured data basics and missing structured data.
3 questions people ask next, answered from the sources on this page.
No. Sanity supplies a content model and queryable documents; your frontend maps those fields to schema.org JSON-LD and renders the script in the page.
Not necessarily. Sanity models editorial workflows and reusable content. Map its fields and references to the schema.org type that accurately describes each public page.
No. Valid markup can make an eligible page technically qualified, but Google decides whether to show an enhancement.
Run the free audit, then approve the fixes. Every change can be undone.