Topical Mapping
Programmatic Template Content Contract: Define Each Component’s Evidence
A programmatic template content contract defines the job, evidence, entry conditions and failure behavior of each repeated page component. It separates a stable shared frame from claims that need evidence for an individual record. Use the contract before expanding a page family so complete records, sparse records and records with exceptions all produce coherent answers rather than the same populated layout.
Inspect the location page contract

Worked example: a location record cannot borrow local proof
A hypothetical service template has a hero, service summary, proof cards, questions, nearby locations and a contact route. One town record lacks verified local availability, local evidence and a distinct constraint. Filling every component with a town name would make the layout complete while leaving its local promise unsupported.
| Component | Evidence and entry condition | Behavior when the condition fails |
|---|---|---|
| Hero and direct answer | A supported service relationship to the town, with scope and availability conditions. | Do not imply local availability from a national description. Hold the local claim or use a suitable broader owner with a clear scope. |
| Service detail | The relevant service, constraints and next task for this record. Shared process language can remain shared. | Keep supported general explanation separate from unsupported local promises. Remove a record that has no distinct useful page responsibility. |
| Proof cards | Evidence that applies to the stated subject, locality and claim. | Omit an optional card or use a plainly scoped general method note. Do not relabel another town’s case as local proof. |
| Questions and nearby routes | Questions the record can answer, and destinations selected for a useful relationship. | Suppress empty questions and irrelevant routes. A common category alone does not make another town a useful next answer. |
| Contact or next action | An available route whose label matches the service and commitment it can support. | Use a suitable general enquiry route only when its scope is clear. Do not promise a booking or local response that has not been established. |
The right output may be a smaller supported page, a held record or a route to a regional owner. The choice follows the page job and evidence. A shorter page with a useful answer is different from an incomplete page padded to match a template’s height.
Use this contract to decide what a component is allowed to express. It does not create service availability or turn shared copy into local evidence.
Set the page family’s job before selecting blocks
Begin with the task each eligible record owns and the reason for a separate URL. The template should express that responsibility consistently. It should not create a new page obligation for every row in a dataset.

- Page job. Name the reader, unresolved question, direct answer and useful next decision. Distinguish a comparison, location, connection between products, specification or explanatory page before reusing its blocks.
- Ownership boundary. Define what this record owns and what belongs to a parent, sibling or separate answer. Record the canonical boundary and technical decisions with the appropriate owner rather than assume the template settles them.
- Stable frame. Identify shared navigation, page type, explanatory method and terminology. Shared content can help readers orient themselves without claiming record specific proof.
- Local evidence. List the facts that must come from this record: availability, compatibility, price, measured result, version or local constraint. A substituted name is not an independent evidence source.
- Variation rules. Mark each component as shared, record specific, conditional, illustrative or prohibited. Explain which inputs can change its wording, presence and emphasis.
- Required answer. Define the minimum supported output that fulfills the page’s job. If required evidence is absent, hold or reject the record instead of hiding the missing answer behind generic copy.
This boundary makes reuse purposeful. A stable method explanation can help readers across many pages. Repeating a local success claim without local evidence changes the meaning of that reuse.

Specify behavior for seven record states
A component contract needs more than a positive path. The same data family can contain absent fields, conflicting sources, expired observations or records that should no longer receive a page. Define the result before those states reach a batch.
| State | Contract decision | What the reviewer should see |
|---|---|---|
| Complete | Render required and relevant optional components from accepted evidence. | A direct answer, qualified claims and suitable next steps without unnecessary repeated filler. |
| Partial | Keep the supported required content; omit or replace optional detail according to a named rule. | No empty headings, broken cards or guessed entries. The remaining answer still fulfills the page job. |
| Empty | Determine if required evidence is absent rather than treating empty as a valid entry. | A held or rejected record when the required answer cannot be supported; no shell published merely because a URL can be formed. |
| Conflicting | Resolve through an accepted source rule or retain an unresolved state. | A qualified claim or held component, with the conflict visible in the production record rather than silently overwritten. |
| Expired | Recheck the field’s accepted freshness condition. | Current evidence or a permitted historical scope. A past observation must not silently become a current availability promise. |
| Needs an exception | Use a documented exception when the normal model cannot express a useful record. | A coherent alternative composition with the same evidence discipline, or a hold until the exception has a sound answer. |
| Ineligible or retired | Remove the record from normal generation and review its route responsibilities. | No new ordinary page for an ineligible row; existing URL and historical needs are handled through a separate accepted maintenance decision. |
Access behavior belongs in this specification too. Record headings, reading order, text alternatives, table labels and the meaning retained when a paired layout stacks. If a useful answer depends on an interaction elsewhere, define its supported fallback and verify the delivered behavior before relying on it.
Write a contract a second contributor can apply
For each component, record the conditions that select it and the exact evidence it can express. A block name such as “proof” is too vague to constrain a build or a copy revision.
- Purpose and output. State the reader’s question, expected answer and accepted format. A comparison table needs a comparison task; a paragraph may serve a definition more directly.
- Inputs and evidence. Name required and optional fields, source versions, units, scope and permitted claims. Connect calculated results to the rules that produced them rather than accept them as unexplained facts.
- Entry condition. Define the Boolean or editorial conditions that make the component relevant. Include dependencies between fields and the record eligibility decision.
- Shared and variable content. Identify fixed wording, local facts, conditional passages and illustrative examples. Prohibit stronger wording than the evidence permits, even when a copy variant reads more smoothly.
- Failure behavior. Choose omission, qualification, replacement, routing or hold for each unresolved state. Explain which choices preserve the direct answer and which make the whole record unsuitable.
- Responsibility and review. Retain the accepted version, accountable owner, source scope, review trigger and handoff dependencies. A change to the component’s claim or eligibility reopens the relevant examples.
Keep layout requirements connected to meaning. Consistent spacing and card counts can support a design, but they should not force an empty component to render or a claim to be invented. An optional block may disappear while the page remains complete for its task.
Approve representative examples before expansion
Choose records that exercise the contract’s branches. Polished pages with complete inputs do not demonstrate that sparse, contradictory or retired records have safe and useful outputs.
- Complete exemplar. Check the strongest permitted answer, every relevant component, labels and source scope. Confirm that the direct answer is easy to find.
- Sparse exemplar. Remove optional evidence and confirm that the composition still makes sense. Then remove required evidence and confirm that the record no longer passes merely because the frame renders.
- Conflicting exemplar. Use incompatible source entries or an entity mismatch. Inspect the production exception and the resulting qualification or hold.
- Retired records and records with exceptions. Review lifecycle changes, unavailable destinations and records outside the normal model. Confirm that a fallback serves a real remaining task.
- Full path review. Follow collection, field mapping, eligibility, template selection, rendering and routes. Inspect desktop, narrow layouts and the relevant content without scripting rather than accepting a source file alone.
- Freeze and handoff. Retain the exact accepted contract and exemplar versions, unresolved exceptions and repair owner. Reopen the affected checks after material source, rule or template changes.
A defect in one optional record entry can have a local repair. A shared claim or missing state error can affect the whole family and needs broader review before expansion. Keep those scopes distinct in the release record.
Questions about reusable content contracts
Does every page need the same number of components?
No. Required components follow the page job; optional components follow relevant evidence. A forced uniform count can create filler, empty blocks or unsupported claims.
Can a template use shared explanations?
Yes. Mark them as shared and keep their scope clear. A reusable process description should not imply a local result, specific compatibility or current availability for every record.
What if the record is useful but the standard layout cannot express it?
Document the exception and design an appropriate composition. Test its evidence and next routes rather than force it into an unsuitable component or discard its distinct task.
Does an accepted exemplar approve the full dataset?
No. It demonstrates the reviewed branches of that contract version. Record eligibility, source changes and batch outputs still need their own checks.
Related decisions and sources
Data Field to Claim Mapping
Define the assertions each component’s inputs can support.
Programmatic Page Useful Difference Rules
Check that the record contributes a distinct useful answer.
Topical Mapping
Keep template reuse consistent with page ownership.
Planning and production process
Pass accepted conditions and exceptions into production.
The examples describe hypothetical records. The illustrations show relationships rather than source evidence.
