How to add schema markup to a vibe coded site
Schema markup tells Google what a page is: your business, an article, where it sits on your site. The types a small site needs, and how to test them.

You asked your coding tool to "add schema" and it pasted a block of JSON into your page. Is it right? Does it help? Should it say more? Search for advice and you find lists of dozens of types, each with its own rules.
A small site needs three of them, and each takes a few minutes to write and test. This post covers what schema markup does, which types fit a vibe coded site, where the block goes on a Next.js, Vite or Lovable site, how to test it, and the one rule that matters most: the markup must match what the page shows.
What schema markup does
Google defines it plainly: "Structured data is a standardized format for providing information about a page and classifying the page content." Schema markup is the common name for structured data written in the schema.org vocabulary. Our structured data entry has the short version.
Schema.org was "Founded by Google, Microsoft, Yahoo and Yandex." Its site says the vocabulary "can be used with many different encodings, including RDFa, Microdata and JSON-LD."
Pick JSON-LD. Google's guide says: "In general, Google recommends using JSON-LD for structured data if your site's setup allows it." It is one block of JSON in a script tag, separate from the page's HTML, so you can add it without touching your layout. It is also separate from the open graph tags that build a link's preview card, which the open graph guide covers.
Set your hopes at the right height.
Google's guidelines say: "Google does not guarantee that your structured data will show up in search results."
For AI Overviews and AI Mode, Google's page on AI features says: "There's also no special schema.org structured data that you need to add." Markup helps Google read the page. It does not buy a place in the results.
Which types a small site needs
Most marketing sites and blogs need three types. Even Lovable's SEO guide, which runs its own review, says "Missing WebSite, Organization, or FAQPage markup is not an issue by itself." So start small.
Three types for a small site
| Where it goes | What it tells Google | |
|---|---|---|
| Organization | The home page, or one page about your business | Your name, address, logo and profiles elsewhere |
| Article or BlogPosting | Each post | The headline, author, picture and dates |
| BreadcrumbList | Pages more than one level deep | Where the page sits on your site |
Organization, on the home page
Google's guide says this markup can "help Google better understand your organization's administrative details." Put it in one place: "We recommend placing this information on your home page, or a single page that describes your organization." It also says "There are no required properties," and lists name, url, logo and sameAs among the ones to add when they apply.
Here is a block built from those four properties. Swap in your own values:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Your Business",
"url": "https://yourdomain.com",
"logo": "https://yourdomain.com/logo.png",
"sameAs": ["https://www.linkedin.com/company/your-business"]
}
</script>Article, on each post
Google's Article guide accepts three schema.org types: Article, NewsArticle and BlogPosting. Again, "There are no required properties." The ones it recommends include headline, image, datePublished, dateModified and author. Google's own example, shortened to one image:
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "Title of a News Article",
"image": ["https://example.com/photos/16x9/photo.jpg"],
"datePublished": "2024-01-05T08:00:00+08:00",
"dateModified": "2024-02-05T09:20:00+08:00",
"author": [{
"@type": "Person",
"name": "Jane Doe",
"url": "https://example.com/profile/janedoe123"
}]
}BreadcrumbList, on deeper pages
In Google's words, "A breadcrumb trail on a page indicates the page's position in the site hierarchy." This one has rules. The list needs itemListElement, and each item needs a position, a name and an item, the address of that step. Position 1 is the start of the trail. The last step may leave out its address: "If item isn't included for the last item, Google uses the URL of the containing page." Google's example, shortened:
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Books",
"item": "https://example.com/books"
},{
"@type": "ListItem",
"position": 2,
"name": "Award Winners"
}]
}Keep the markup true to the page
This is the rule that matters most, and the one a block pasted in by a coding tool is most likely to break.
Google's guidelines say: "Don't mark up content that is not visible to readers of the page." And: "Your structured data must be a true representation of the page content."
Google's page on AI features lists the same thing as a best practice: "Making sure your structured data matches the visible text on the page."
Breaking it has a cost. Google says "A structured data manual action means that a page loses eligibility for appearance as a rich result." The same page adds that "it doesn't affect how the page ranks in Google web search."
So read any block a tool writes against the page it sits on. A price, a rating, a review count, an author or an opening time that the page does not show must come out. Lovable's review checks for this too: its guide says it flags structured data that "does not match the visible page".
Where the block goes
On any site, the block is a script tag with type="application/ld+json". Where you put it depends on how your site builds its pages.
On Next.js, the docs say: "Our current recommendation for JSON-LD is to render structured data as a <script> tag in your layout.js or page.js components." Their example builds the object, then writes it with JSON.stringify(jsonLd).replace(/</g, '\\u003c'). The replace matters. The docs warn that JSON.stringify "does not sanitize malicious strings used in XSS injection", so escape < as they show. The Next.js SEO guide covers the rest of the page head, and the canonical tag guide covers which address each page should name as its own.
On a Vite and React app, a block in index.html is in every page's HTML, which suits Organization on a one-page site. A block your code adds per route appears once the code runs.
Google says it "can read JSON-LD data when it is dynamically injected into the page's contents, such as by JavaScript code or embedded widgets in your content management system." A crawler that does not run your code will not see it. Our client-side rendering entry explains the difference, and why ChatGPT and Perplexity see an empty page covers the crawlers that read only the first HTML.
On a Lovable app, ask Lovable for the markup and name the type and the page. Lovable's SEO guide says to "Add structured data where it fits the page."
Check the structured data on this site. Report first, and change nothing until I say yes. 1. List every JSON-LD block: the file, the route it appears on, and its @type. 2. For each block, list any value the page does not show on screen: a price, rating, review count, author, address, date or opening time. These must match the visible page or come out. 3. Is there Organization markup on the home page? Is there Article or BlogPosting markup on each post? Is there BreadcrumbList markup on pages more than one level deep? 4. For each BreadcrumbList, check that every item has a position, a name and an item address, except the last item, which may leave out the address. 5. Is each block written with JSON.stringify and the < character escaped as \u003c? Propose the smallest change for each problem.
Paste it in your tool, opened in your site's repository.
Test it
Test your schema markup
- Not done yet: Rich Results Test on each page with markup
- Not done yet: Schema Markup Validator for the schema.org rules
- Not done yet: URL Inspection to confirm Google found it
- Not done yet: Read the block against the page one more time
Two tools check two different things. Google calls the Rich Results Test "The official Google tool for testing your structured data to see which Google rich results can be generated by the structured data on your page." The Schema Markup Validator checks "all Schema.org-based structured data that's embedded in web pages," without Google's extra rules.
Then confirm Google sees it. Google's guide says to "Confirm that your markup is valid, and that Google has found your structured data using the URL Inspection tool."
How Vunora checks structured data
Vunora's SEO checklist has two checks for it. They run after each import and each publish, every Monday morning, and when you choose Run checklist. The checklist walkthrough shows where each result appears.
Vunora's two structured data checks
| Passes when | How it gets fixed | |
|---|---|---|
| Structured data is valid | JSON-LD parses with no errors | Add FAQ markup with AI |
| Breadcrumb markup | BreadcrumbList JSON-LD on pages more than one level deep | No fix button: the change is in your code |
"Structured data is valid" reads the JSON-LD saved on each page and post in Vunora, and the blocks your live site sends on up to 50 pages. A page that fails says "JSON-LD does not parse", or on the live site "Live JSON-LD does not parse". A page with none says "No structured data", or "No structured data on the live site".
"Breadcrumb markup" reads only pages more than one level deep, such as /services/design. It checks the same rules Google's breadcrumb guide gives: a position, a name and an address on each step. A page fails with "Breadcrumb markup Google cannot read" or warns with "No breadcrumb markup". When no page checked is that deep, it says "No page checked is more than one level deep, so none needs breadcrumb markup."
To add markup in Vunora, open a page, then its SEO tab, then Structured data. You pick a starting type (Article, HowTo, FAQPage or Product), fill in the block, and press Save schema. The FAQ section beside it holds questions and answers for FAQ markup, and "Add FAQ markup with AI" writes them as a draft that goes live only when you publish.
On pages your team adds in Vunora, Vunora's helper puts the saved block into the page. On a Next.js site, that happens on the server. On a Vite site, it happens in the browser, which Google reads. The check does not count FAQ questions saved in Vunora on an imported page, because that page's code does not send them.
Where this stops
- "Valid" means the block parses. Vunora checks that each block is JSON-LD and that breadcrumbs follow Google's rules. It does not test every type against Google's rich result rules. The Rich Results Test does.
- Breadcrumb markup has no fix button. The change is in your code, or ask your coding tool with the prompt above.
- Vunora does not check that markup matches the page. Read each block against what the page shows.
- No tool can promise a rich result. Google decides what to show.
- Vunora never hosts your site. Code changes land in your repository as a commit or a pull request.
Questions
Does schema markup help my ranking?
Google presents it as a way to describe a page, and says it "does not guarantee" the markup will show up in results. Its guidelines also say a manual action for bad markup does not change how the page ranks. Add markup so Google reads the page correctly, and judge it by whether rich results appear.
Do I need schema markup for AI Overviews?
No. Google's AI features page says "There's also no special schema.org structured data that you need to add." Markup that matches the page is still a best practice on the same page.
Should I use JSON-LD, Microdata or RDFa?
JSON-LD. Google recommends it where your setup allows, and it keeps the markup in one block instead of spread through your HTML.
Can JavaScript add the markup?
For Google, yes. Google says it can read JSON-LD added by JavaScript. Crawlers that do not run your code will miss it, so put Organization markup in the HTML your server sends where you can.
What happens if my markup is wrong?
A block that does not parse is ignored. A block that misrepresents the page can bring a manual action, which removes the page's eligibility for rich results. Fix the markup, then test it again in the Rich Results Test.
Sources
- Google Search Central, introduction to structured data, read December 1, 2026: https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data
- Google Search Central, general structured data guidelines, read December 1, 2026: https://developers.google.com/search/docs/appearance/structured-data/sd-policies
- Google Search Central, structured data testing tools, read December 1, 2026: https://developers.google.com/search/docs/appearance/structured-data
- Google Search Central, Organization structured data, read December 1, 2026: https://developers.google.com/search/docs/appearance/structured-data/organization
- Google Search Central, Article structured data, read December 1, 2026: https://developers.google.com/search/docs/appearance/structured-data/article
- Google Search Central, breadcrumb structured data, read December 1, 2026: https://developers.google.com/search/docs/appearance/structured-data/breadcrumb
- Google Search Central, AI features and your website, read December 1, 2026: https://developers.google.com/search/docs/appearance/ai-features
- Schema.org, read December 1, 2026: https://schema.org/
- Schema Markup Validator, read December 1, 2026: https://validator.schema.org/
- Next.js, how to implement JSON-LD, read December 1, 2026: https://nextjs.org/docs/app/guides/json-ld
- Lovable, SEO and AI search guide, read December 1, 2026: https://docs.lovable.dev/tips-tricks/seo-geo
Terms in this post
New posts by email
One email when a post goes up, about editing and publishing a vibe coded site.


