Programmatic SEO Data Models: The Schema That Decides Whether Your Pages Rank or Rot
Most programmatic SEO failures aren't content failures — they're data model failures. Here's how we design the schema behind 10k+ page sets so pages have something real to say, and Google has a reason to keep them.
Every programmatic SEO project we've rescued had the same root cause: the team built the templates before they built the data model. Pages looked fine in staging, shipped by the thousand, and then slowly rotted in Search Console because each URL was a rearrangement of the same five facts. The schema under the pages — not the HTML on top of them — is what decides whether a programmatic set ranks or becomes crawl debt.
This is the model we use when we design a content engine from scratch, and the questions we force ourselves to answer before a single template gets written.
Start with the entity, not the keyword
Keyword-first programmatic SEO is how you end up with 40,000 /best-{tool}-for-{industry} pages that all say the same thing. The exit from that trap is to model the world as entities first, and let keywords fall out of the attributes you track on those entities.
An entity is a thing that exists independently of your page: a city, a product, a job title, a framework, a regulation. A page is a projection of one or more entities. If you can't describe the entity in a database row without referring to your own marketing copy, it isn't an entity — it's a template looking for a victim.
A workable entity definition for a pSEO project usually has four layers:
- Identity: stable ID, canonical name, aliases, parent/child relationships.
- Intrinsic attributes: facts that are true regardless of who's asking (population, price, release date, API surface).
- Derived attributes: computed from intrinsics (price tier, maturity score, category rank).
- Relational attributes: edges to other entities (competes_with, located_in, requires).
The ranking power of a programmatic page is roughly proportional to how many of those four layers you can express uniquely on the URL.
A concrete example
Say we're building a pSEO set for a B2B SaaS comparison site. The entity is Tool. A naive model stops at name, logo, pricing, and a one-liner. That gives you a template with nowhere to go.
// Thin model — will not rank
interface Tool {
id: string;
name: string;
logoUrl: string;
startingPrice: number;
tagline: string;
}
The model that actually feeds a rankable page looks more like this:
interface Tool {
id: string;
name: string;
aliases: string[];
category: CategoryId;
pricingModel: 'flat' | 'seat' | 'usage' | 'tiered';
pricePoints: PricePoint[];
integrations: IntegrationId[]; // edges
deploymentModel: ('cloud' | 'self-hosted' | 'hybrid')[];
complianceCerts: ComplianceId[];
apiSurface: { rest: boolean; graphql: boolean; webhooks: boolean };
releaseYear: number;
lastMajorRelease: string; // ISO date
competitors: ToolId[]; // edges
bestFor: UseCaseId[]; // edges
sourceRefs: SourceRef[]; // provenance
}
Now a single Tool row can generate defensible content across half a dozen URL patterns: /tools/{tool}, /compare/{a}-vs-{b}, /alternatives/{tool}, /{category}/for-{use-case}, /{tool}/integrations/{partner}. Each of those is a different projection of the same graph.
The uniqueness budget
Before we ship a page template, we score it against a uniqueness budget. The question is simple: on this URL, how many bytes of content will be unique to this entity combination, versus boilerplate shared across the set?
We aim for a rough ratio — in our experience, programmatic pages start performing when unique, factual content is at least 40–60% of the above-the-fold word count, and boilerplate/nav/footer stays under the fold. Below that, Google tends to treat the pages as near-duplicates of each other regardless of how clever your <title> variations are.
Uniqueness isn't just wordcount. It includes:
- Numeric facts pulled from attributes (prices, dates, counts).
- Comparative statements that only make sense for this pair/triple of entities.
- Relational content — lists of edges that differ per entity.
- User-generated or sourced snippets tied to the entity.
If your template needs an LLM to hallucinate three paragraphs of "why X is great for Y" to hit wordcount, your data model is too thin. Fix the model, not the prompt.
Schema.org is a compiler target, not a decoration
Treat structured data the way you'd treat a compiler target: your internal entity model compiles down to Schema.org JSON-LD. If you can't emit clean, specific schema from a row, the row is underspecified.
For the Tool model above, a comparison page can emit Product, SoftwareApplication, and ComparisonTable-friendly markup with real offers, aggregateRating (only if you actually have ratings — don't fake them), and isSimilarTo edges. The rule we enforce internally:
If an attribute isn't good enough to put in JSON-LD with a straight face, it isn't good enough to put on the page.
That single rule kills a lot of marketing fluff before it ships.
Provenance is part of the schema
This is the part most pSEO stacks skip. Every attribute needs a sourceRef: where did this fact come from, when was it last verified, and what's its confidence?
interface SourceRef {
attribute: string; // e.g. 'pricePoints'
sourceUrl?: string;
sourceType: 'vendor-site' | 'docs' | 'api' | 'manual' | 'partner-feed';
verifiedAt: string; // ISO
confidence: 'high' | 'medium' | 'low';
}
Three reasons this matters:
- Freshness signals. You can show "last verified" dates honestly, and your refresh queue has something to sort by.
- Legal defensibility. When a vendor emails you about a wrong price, you can answer in minutes.
- Content gating. Pages where too many high-value attributes are
lowconfidence or stale beyond a threshold shouldn't be indexable. Mark themnoindexuntil they're verified.
That last point is what separates a content engine from a content landfill.
Page eligibility as a function, not a vibe
Once the data model is solid, which rows deserve a page? We write this as an explicit function per URL pattern, not a gut call.
function isIndexable(tool: Tool): IndexDecision {
const unique = scoreUniqueness(tool);
const freshness = daysSince(tool.lastVerifiedAt);
const edgeCount = tool.integrations.length + tool.competitors.length;
if (unique < 0.4) return { index: false, reason: 'thin-content' };
if (freshness > 180) return { index: false, reason: 'stale' };
if (edgeCount < 3) return { index: false, reason: 'orphan-entity' };
return { index: true };
}
This function runs at build time and at a nightly audit. Pages that fall out get noindex,follow and drop from the sitemap but keep their internal links, so link equity still flows through the graph. Pages that come back in get re-added to the sitemap with a fresh lastmod.
This is also how you keep programmatic sets healthy at scale without a manual editor reviewing every URL.
Why we don't just ship everything
Shipping every row "because Google might find a query for it" is how you blow your crawl budget and dilute the pages that actually have something to say. The cost of a thin page isn't zero — it's a drag on the whole subfolder. A 2,000-page set where 1,400 are strong beats a 10,000-page set where 1,400 are strong and 8,600 are noise, every time.
Templates come last
Once the entity model, uniqueness scoring, schema emission, provenance, and eligibility function are in place, the template itself is almost mechanical. It's a function from (entity, relatedEntities, sources) → HTML. The creative work happened in the data model.
A few template rules we've landed on after enough pSEO projects:
- One H1 per page, generated from attributes, not hardcoded strings.
- Above-the-fold content must reference at least three unique attributes by the second paragraph.
- Tables and lists should be rendered from arrays, never hand-typed in MDX.
- Every outbound internal link should be chosen by the graph, not by a static nav.
- Comparison and alternative pages should refuse to render if the related-entity set is empty.
Where we'd start
If you're staring at a programmatic SEO project that isn't working, don't start with the template or the copy. Open a spreadsheet and write down every attribute your current pages actually use. Count how many are unique per URL versus shared across the set. If the unique count is under five or six meaningful attributes, the data model is the bug — no amount of prompt engineering or internal linking will fix it.
Fix the entity schema first, add provenance, make eligibility a function, and only then rebuild the templates on top. That's the order we follow on every content engine we ship, and it's the order that keeps pages ranking a year after launch instead of quietly sliding into the crawl-waste bucket.
Want a team like ours?
72Technologies builds production software for the kind of teams who actually read this blog.
Start a projectKeep reading
Log-File Analysis for Programmatic SEO: Finding the Pages Googlebot Actually Cares About
GSC tells you what Google indexed. Log files tell you what Googlebot actually hits. Here's how we use raw server logs to find crawl waste, prioritize refreshes, and stop shipping programmatic pages into the void.
Internal Linking at Scale: The Graph-Based Approach That Fixed Our Orphan Page Problem
Manual internal linking dies at 500 pages. Here's how we modeled our site as a graph, found orphans and dead-end clusters, and automated link injection without turning the footer into a link farm.
Shipping Programmatic Pages Behind a Quality Gate: The Pre-Index CI We Wish We'd Built Sooner
Programmatic SEO fails when you ship thin pages and let Google decide. Here's the pre-index CI pipeline we use to block low-quality templates before they ever hit the sitemap.
