---
title: "How It Works"
description: "Learn more about how Nuxt Schema.org works."
canonical_url: "https://nuxtseo.com/docs/schema-org/guides/how-it-works"
---

> Index of every page on this site: [llms.txt](https://nuxtseo.com/llms.txt)

## Introduction

Nuxt [Schema.org](http://Schema.org) will generate structured data for your site based on the input you provide and the content of your pages.

This is used to help search engines understand your content better and provide more relevant search results.

Nuxt [Schema.org](http://Schema.org) is built on [Unhead Schema.org](https://unhead.unjs.io/docs/typescript/schema-org/guides/get-started/overview), which powers the underlying schema generation engine.

## LD+JSON tag

The schema is injected within a `<script type="application/ld+json">`{lang="html"} tag in your document's `<head>`{lang="html"}.

## Production Static data

When running in development this schema will be reactive to page changes, however when in production it will be static.

This is because robots will only ever parse the initial SSR response and not any client-side changes. To avoid the extra
bundle size required to generate [schema.org](http://schema.org) on the frontend, it is only generated statically on the SSR response.

If you really need this behavior you can enable the `reactive` module config.

## Data Inferencing

To avoid much of the boilerplate associated with [schema.org](http://schema.org), Nuxt [Schema.org](http://Schema.org) will infer data from your pages.

For example, the `WebPage` node takes its `name` from the page `<title>`{lang="html"}.

The `description` of the `WebPage` and `Article` nodes comes from the page meta description, such as `useSeoMeta({ description })`{lang="ts"}. Without one, it falls back to your [Site Config](https://nuxtseo.com/docs/site-config/getting-started/how-it-works) description.

To set a different description on a node, pass `description` to it:

```ts
useSchemaOrg([
  defineWebPage({ description: 'My page description' }),
])
```

::callout{icon="i-heroicons-eye" to="/tools/schema-validator"}
**See your output** - Use our [Schema.org Validator](https://nuxtseo.com/tools/schema-validator) to inspect the generated structured data on your pages.
::

## Key Points

- Schema is generated server-side and injected as JSON-LD in `<head>`
- In production, schema is static (not reactive) to reduce bundle size
- The `WebPage` name comes from the page title. The description comes from the page meta description, then Site Config.
- To debug during development, use the [Schema.org](http://Schema.org) tab in Nuxt DevTools. Its panel needs `nuxtseo-devtools-host` as a dev dependency.

## Sitemap

See the full [sitemap](https://nuxtseo.com/sitemap.md) for all pages.
