Schema.org: Choose Types and Mark Up Facts

A product page may show a name, a photograph, a price and the shop offering it. A person can usually work out which detail belongs to which thing. The page’s code may leave those relationships less explicit. When a colleague asks whether the page “has schema,” the useful question is what the page actually says about the product and how those facts should be labeled for software that reads it. A label for a price is useful only if it points to the real price on that page; an elaborate description of a product the shop does not sell is worse than a modest, accurate one.

Schema.org vocabulary: a centered small globe with tilted axis as the largest element, interlocking gears, tilted tablet, open laptop, stack of books, pen, coffee cup

Schema.org is the shared vocabulary for those labels. It defines types of things, properties of those things and ways to describe relationships between them. Publishers can use that vocabulary in structured data on web pages and in other settings. Schema.org is a community project that maintains the vocabulary; it is not the search result that might eventually appear to a user. Schema.org’s overview describes its scope, including entities, relationships and actions. Google’s introduction to structured data explains the separate role of structured data in Google Search: it gives the search system explicit information about page content and can make a page eligible for certain richer displays.

That distinction guides the practical answer. First decide what the page describes. Then select vocabulary terms that fit what a visitor can see. After that, choose a format that the site can keep accurate and check any rules imposed by the service you hope will use the data. Doing these steps in the opposite order—starting with a desired search decoration and filling a template with whatever fields it asks for—invites claims that the page cannot support.

Schema.org supplies the words, while markup supplies the delivery

The word schema is used loosely in website conversations. Someone may mean the Schema.org vocabulary, the structured data placed on a page, the JSON-LD syntax used to write it, or a Google search feature that uses it. Those are connected, but a publisher makes different decisions at each level. The vocabulary answers “What kind of thing is this, and what do these details mean?” A format answers “How will the page express those statements?” A search engine decides which statements it can use and whether a result will receive a special appearance. Confusing the levels makes troubleshooting hard: a syntactically tidy block of code may still describe the wrong thing, while a truthful Schema.org description may target no Google rich-result feature.

Consider a recipe page. Recipe describes the thing presented; name can label its name; an author can be represented as a Person rather than treated as an unexplained string. A Product page and an Offer on that page describe related but different things: one is the item, the other is a proposition to sell it. Schema.org includes these types in its type catalog, and Google’s structured-data examples illustrate a recipe with a nested author in its introduction. A reader does not need to learn a programming language to see the point: the labels make the relationships explicit.

The vocabulary is broad because websites describe far more than merchandise. Schema.org’s catalog includes creative works, people, organizations, places, events, products, offers and reviews. That breadth does not mean every page needs every possible label. A news story about a restaurant is still a story; a restaurant’s own location page presents the business itself. If a site labels both pages as though they were identical restaurant records, it loses the distinction a reader sees immediately. The first decision is the subject of this page, not the industry of the website. Schema.org’s type catalog provides the available types and their relationships; it does not make the editorial choice for a particular page.

Types identify things; properties state the facts about them

Schema.org organizes types in a hierarchy. A more specific type sits under one or more broader types and inherits their properties. The Schema.org style guide uses FoodEstablishment, LocalBusiness and Organization to show how a specific business can take properties from its broader parents. This matters when selecting a type: a restaurant page can use the more precise restaurant-related description without giving up general information such as its name or address. Choosing the broadest possible type for every page throws away useful distinctions, while choosing a specialized type simply because it sounds impressive risks misdescribing the content.

The spelling of terms is deliberate. Type names use capitals at the start of their component words, such as FoodEstablishment. Property names begin with a lowercase letter and capitalize later words, such as servesCuisine. The same style guide sets out those conventions. They help a reader recognize whether a term names a kind of thing or a fact about it, and they help a publisher avoid treating a made-up spelling as a defined term. When a label is uncertain, look up the term itself rather than inferring it from a familiar English phrase.

Properties are also more flexible than a rigid form with one slot per answer. Schema.org’s data model allows a property to apply to more than one kind of thing and to accept more than one kind of value. A property may also have multiple values. A page with two actual authors need not pretend there was only one to fit a single field. The flexibility has a limit worth noticing: multiple values are not automatically an instruction to a consumer about their order. If sequence is essential, such as the steps in a recipe, the data model describes ways to express order explicitly. For an ordinary publisher, the more immediate lesson is to preserve the page’s real relationships rather than forcing everything into flat text.

Neither the presence of a term in Schema.org nor an example on its website makes every property compulsory. Schema.org’s description of its process says the vocabulary itself does not define a universal set of mandatory properties. Different pages reveal different amounts of information, and different consumers have different needs. If a page has no genuine rating, an empty or fabricated rating is not a way to make its markup “complete.” If it has a visible publication date, that fact can be described; if it has no date, a publisher should not invent one to fill a box. The right amount of detail depends on the actual page and the intended use.

A term page should be read as a definition, not as a checklist to copy. Identify the type’s place in the hierarchy, read what each relevant property means, and check the expected kinds of values. Schema.org also marks some proposed vocabulary as pending; its schema documentation warns that those terms may still change. For routine publishing, established terms that accurately describe visible information are the safer starting point. A long list of possible properties is useful for finding the few that clarify the page; it is not a request to populate all of them.

A page can mention many entities without being about each one in the same way. An article that reviews a product has a review as its primary work and a product as the subject of that review. A product detail page puts the product in the foreground. A restaurant’s home page may chiefly describe the restaurant, while a directory page might present several restaurants. Schema.org’s data-model explanation distinguishes mainEntity, which points to the principal thing described by a page, from about, which can refer to subjects discussed by a work. That distinction is more useful than mechanically attaching a type to every noun on the screen.

This is where the markup becomes a set of connected statements rather than a pile of tags. If an actual recipe names its author, the recipe and the person are separate things joined by the author relationship. If a product page presents an offer, the offer belongs with the product being offered. If a page contains a recipe and a video demonstrating it, the publisher can represent both and show their relationship. Google’s structured-data guidelines discuss pages with multiple items and explain that related items can be nested or linked. An isolated block that claims a video exists without connecting it to the recipe is less informative than an accurate description of the two together.

The same discipline applies to identity. Schema.org’s data model distinguishes a page URL from a reference that helps identify the same real-world thing elsewhere. Its explanation of url, sameAs and mainEntityOfPage shows why those terms are not interchangeable: they express different relationships between an entity and a page. The Schema.org data model gives the distinctions and examples. Before adding an external link to markup, decide whether it actually identifies the same entity, merely mentions it, or is the page where the entity is being described. A convenient link should not be promoted into an identity claim by accident.

Suppose a page contains a short article about a recipe, a navigation menu with other dishes and a footer naming the publisher. An implementation that turns every link and footer label into a top-level recipe or organization record would be hard to read and maintain. Start with the recipe or article that gives the page its purpose, then add the author, publisher or video where those are real, visible relationships. That is an editorial judgment, not a special Schema.org rule. It follows from the vocabulary’s ability to describe entities and relationships and from Google’s requirement that structured data represent the page’s actual content. Google’s general guidelines make relevance and visible content central to eligibility.

Pick the encoding the site can keep accurate

Schema.org terms can be expressed as JSON-LD, Microdata or RDFa. The choice changes how the statements are placed in the page, not what Recipe or author means. In JSON-LD, the data is written as JSON in a script element. Microdata and RDFa attach meaning to HTML elements through attributes. Google supports all three for structured data, while its implementation guidance generally recommends JSON-LD because many site owners find it easier to implement and maintain. The useful choice is the one your publishing system can generate correctly on every relevant page and update when the visible information changes.

JSON-LD has a short but important piece of notation: @context. In a typical Schema.org block it points to https://schema.org, connecting short names used in the JSON to the vocabulary’s identifiers. The W3C JSON-LD specification explains that a context maps compact terms to those identifiers. @type then says which kind of thing the block describes. These are syntax keys, not claims about the page. The content claims are in values such as a visible recipe name, a genuine author or the stated date.

Here is a deliberately minimal illustration for a page that visibly shows a recipe title. The bracketed title is a placeholder, and this snippet alone is not a complete template for any Google search feature:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "[recipe title shown on the page]"
}
</script>

The example says only that the page presents a recipe with a particular name. It does not manufacture ingredients, cooking time, reviews or a photograph. To describe those details, they first need to be true of the page, then expressed with the appropriate terms. Google emphasizes that the structured data placed on a page should describe that page’s content, including information visible to its readers. Its structured-data introduction gives that basic rule; its general guidelines prohibit marking up content hidden from readers.

JSON-LD is often convenient because the labeled statements can be generated separately from the HTML that displays the text. That separation also creates a responsibility: the two representations must agree. If a product page’s visible price changes, a stale price in JSON-LD becomes false even though the code still parses. Microdata and RDFa put labels closer to the displayed elements, which can be a reasonable fit for a site whose templates already use them. Their proximity is no substitute for checking whether the chosen type and property actually mean what the publisher thinks. Format choice reduces some maintenance work; it does not remove the need to maintain the facts.

When a content management system or plugin already emits markup, inspect what the final page actually contains before adding another block. The decision is whether one clear description of the main entity, with the right relationships, can be maintained from the same information the visitor sees. Adding a second independently edited description of the same product or article creates another place for values to diverge. That is a practical reason to prefer a controlled page template over hand-editing many copied snippets. It costs setup time, but it makes a corrected visible price, byline or event detail easier to carry into the markup consistently.

Google uses a narrower rulebook than the vocabulary

Schema.org describes a wide range of things. Google Search supports particular structured-data features and gives implementation rules for each one. Google’s structured-data introduction says its own documentation is definitive for Google Search behavior, including which properties are required or recommended for a feature. A publisher can therefore use a genuine Schema.org type on a page without creating eligibility for a Google rich result. The vocabulary tells you how to say something; Google’s feature guide tells you whether saying it in the required way can qualify for a specific Search display.

There are three useful thresholds to keep separate. First, the markup must be written so that a parser can read it. Second, the page and its markup must meet the target feature’s requirements and Google’s general quality rules. Third, Google must choose to show the enhanced result for a given search. Passing one threshold does not imply the next. Google’s general structured-data guidelines state plainly that correct markup does not guarantee a rich result; the system may show a different result format even when the page is eligible. This is why a test result should be read as a technical finding, not as a prediction of what every searcher will see.

The difference between Schema.org’s flexibility and a feature’s required fields is especially easy to miss. The vocabulary does not declare every property mandatory for every use, but Google can require particular properties for a particular rich-result type. Schema.org’s process description explains the first point; Google’s general guidelines explain the second. If a page lacks a required fact, the response is to find out whether the page truly ought to provide that fact, not to create an unsupported value solely to satisfy a test. Sometimes the honest outcome is ordinary search presentation without that feature.

The visible page is the strongest check on a tempting shortcut. Google’s guidelines reject markup for hidden or misleading material, including fake reviews and data unrelated to the page’s focus. They also call for information to be current and for structured data to represent the main content. Google’s structured-data policies set those conditions. A page with no visitor-facing customer ratings should not carry a five-star aggregate rating; a page whose offer has expired should not keep presenting that offer as current. The examples are simple because the mistake is usually simple: the code makes a claim that the page and its readers cannot confirm.

That still leaves room for useful, modest markup. A recipe can state its visible name and author even when it has no reviews. A page about a business can describe its actual location and contact details without filling every available business property. A publisher whose main goal is a particular Google feature should begin with that feature’s current documentation, see which facts are necessary, and decide whether the page can honestly supply them. A publisher whose goal is a clear machine-readable description for more than one consumer can use Schema.org more broadly, while accepting that Google may use only part of it. Google’s introduction explicitly notes that Schema.org contains terms beyond those needed for Google’s features.

Start with one real page, then make the pattern repeatable

For a first implementation, choose a page whose main subject and visible facts are unambiguous. A single recipe page, product detail page or event page is easier to reason about than a home page with several purposes. Read it as a visitor would: what is the principal thing, what facts does the page state, which related people or organizations matter, and which facts change over time? Then find the closest type in Schema.org’s hierarchy and read the definitions of the few properties those facts need. If a more specific type fits the subject, use it. If the page only mentions that type in passing, leave it as a related subject rather than making it the page’s main identity.

Next decide where the markup will get its values. A recipe title taken from the same record that renders the heading is less likely to drift than a second title typed into a separate field. The same reasoning matters more for dates, stock status and prices, where a discrepancy is visible quickly. This is a recommendation about site design, not a promise from Schema.org. The benefit is fewer independent copies of the same fact; the cost is building and maintaining the template or integration that keeps them together. On a small site with stable pages, careful manual markup may be enough. On a large catalog with changing offers, a manually maintained block on every page is a fragile choice.

Then inspect the published page, not just the template editor. Google’s structured-data introduction recommends the Rich Results Test during development and Search Console’s rich-result reports after deployment, because templating or serving can break markup later. A successful test can tell you that Google recognized a supported feature and whether it found certain technical problems. It cannot tell you that a hidden review is genuine, that the product shown is the product described, or that Google will display a rich result. Compare the machine-readable claims against the rendered page yourself; the quality rules cannot be reduced to a syntax check.

Fix problems at their source. If the marked-up name disagrees with the visible heading, correct the mapping or the underlying content rather than hard-coding a third name in the JSON-LD. If a page template sometimes has an offer and sometimes does not, make the output reflect that condition. If a site changes a byline, location or event date, revisit the structured data with the same care as the visible copy. The markup is another published representation of what the page says. Treating it that way is less glamorous than adding every possible property, but it gives a reader and a data consumer the same account of the page.

Finally, judge the effort against the outcome you actually want. Google suggests comparing a group of pages before and after adding structured data, while recognizing that page performance varies for other reasons; it also advises checking whether Google has found the markup. Its implementation guide describes that approach. A new rich-result eligibility report is useful information, but it is not a traffic or sales result. If a feature has no relevant place in your search market, the maintenance cost may outweigh a hoped-for display. A concise, accurate description can still serve the broader purpose of making the page’s entities and relationships explicit, but that benefit should not be sold as a guaranteed increase in visits.

Schema.org does not supply a special route into AI answers

The same boundary applies when the conversation shifts from rich results to AI search. Google’s guidance for AI Overviews and AI Mode says there is no special Schema.org markup required for those features beyond ordinary Search eligibility. It also says a page must be indexed and eligible to appear with a snippet to serve as a supporting link, without promising that an eligible page will be shown. Adding a new @type merely because it sounds related to AI does not create a documented route into an answer.

Structured data can still have its ordinary value: a truthful description helps label what a page contains. Google’s AI-feature guidance tells publishers to keep structured data aligned with visible text, alongside general practices such as making important content accessible in text and allowing crawling. Google’s AI-feature documentation makes those points. It gives no basis for claiming that Schema.org alone makes a page quotable, cited or preferred by an AI system. If the article, product page or business information is thin, a richer block of metadata will not supply the missing substance for readers.

For most publishers, the sound starting position is therefore narrow and practical: describe the central thing on the page, connect genuinely related things, and mark only facts that the page supports. Choose JSON-LD when it fits the site’s publishing system, while remembering that the same Schema.org vocabulary can be expressed in other supported formats. Check the relevant consumer’s rules when a specific search display matters, and keep the markup in step with the page after publication. The cost is ongoing accuracy, not merely the minutes needed to paste in a snippet. The payoff you can responsibly expect is a clearer machine-readable account of the page; any special search appearance remains a decision for the search system.

One person. A whole marketing team.

Invite only