# Structured Data

> Code that labels a page's facts in a set format. Engines then read them exactly.

**Field:** Marketing & SEO  
**Category:** SEO  
**Also known as:** Schema Markup, Schema.org, JSON-LD, Rich Snippet Markup

## Think of it like

It is like a label on a jar. It says what is inside, so no one has to guess.

## Definition

Structured data is code that spells out the facts on a page in a fixed format. It says, for example, this is a recipe, it takes 30 minutes, and it has 4.8 stars. Most sites write it as JSON-LD using the Schema.org words. Search engines read it to understand the page. It can also earn the page a rich result, like stars or prices in search.

## Example

A recipe site adds Recipe markup with cook time and rating. Its results start showing stars and "30 min" under the link.

## Example code

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Recipe",
  "name": "Banana Bread",
  "totalTime": "PT1H"
}
</script>
```

A recipe name and its total time. The labels let a search engine read them exactly.

## Why it matters

It takes the guesswork out for the engine. It is also the way into rich results that stand out.

## Common mistake

Marking up facts that are not on the page, like fake reviews. That breaks the rules and can earn a penalty.

## Three principles

- **Label the facts.** Type, name, price, rating.
- **Schema.org words.** Usually written as JSON-LD.
- **Match the page.** Only mark up what readers see.

## Related terms

- [Rich Result](https://learn.benibix.com/term/marketing/rich-result)
- [Technical SEO](https://learn.benibix.com/term/marketing/technical-seo)
- [JavaScript Object Notation (JSON)](https://learn.benibix.com/term/development/json)
- [Search Engine Results Page (SERP)](https://learn.benibix.com/term/marketing/serp)
- [Video SEO](https://learn.benibix.com/term/marketing/video-seo)

## Taught in

- [Structured Data and Schema](https://learn.benibix.com/learn/marketing-seo/structured-data-and-schema): SEO, 11/15

---

Source: https://learn.benibix.com/term/marketing/structured-data
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
