Schema Markup Validator vs. Rich Results Test
-
I am working on a schema markup project. When I test the schema code in the Schema Markup Validator, everything looks fine, no errors detected. However, when I test it in the Rich Results Test, a few errors come back.
What is the difference between these two tests? Should I trust one over the other? -
@Collegis_Education
Step-1
The Schema Markup Validator and the Rich Results Test are two distinct tools that serve different purposes in the context of schema markup. The Schema Markup Validator primarily focuses on validating the syntactical correctness of your schema code. It checks if your markup follows the structured data guidelines and is free from any syntax errors. This tool is useful during the initial stages of schema implementation to ensure that your code aligns with the schema.org specifications.Step-2
The Role of Rich Results Test
On the other hand, the Rich Results Test is designed to provide insights into how Google interprets your schema markup and whether it generates rich results in the search engine. It simulates Google's search results and displays how your content may appear as a rich result. This tool not only checks for syntactical correctness but also evaluates how well your schema markup aligns with Google's guidelines for generating enhanced search results. Therefore, it focuses more on the practical impact of your schema markup on search engine results.Step-3
Trusting the Results
Both tools are valuable in their own right. During the implementation phase, it's crucial to use the Schema Markup Validator to ensure your code's correctness. However, for a comprehensive understanding of how your schema markup will perform in search results, the Rich Results Test provides a more dynamic analysis. Trusting one over the other depends on your specific goals – the Schema Markup Validator for code validation and the Rich Results Test for evaluating the potential impact on search results. To illustrate, in my recent post I utilized schema markup, and both tools played a role in ensuring its accuracy and potential visibility in rich results. -
@Collegis_Education said in Schema Markup Validator vs. Rich Results Test:
I am working on a schema markup project. When I test the schema code in the Schema Markup Validator, everything looks fine, no errors detected. However, when I test it in the Rich Results Test, a few errors come back.
What is the difference between these two tests? Should I trust one over the other?When working with schema markup, it's important to understand the purpose of different testing tools and what aspects of your markup they're evaluating.
Schema Markup Validator (formerly known as Structured Data Testing Tool):
This tool focuses on checking the syntax and vocabulary of your schema markup against Schema.org standards.
It ensures that your markup is logically structured and semantically correct.
It does not necessarily check for compliance with Google's guidelines for rich snippets or rich results.
Rich Results Test:This tool is provided by Google and specifically checks for compatibility with Google Search's rich results.
It not only checks the validity of the schema markup but also whether it meets the specific guidelines and requirements set by Google to display rich results in its search engine.
It simulates how your page might be processed by Google Search and whether your schema can generate rich results.
The difference between the two tests lies in their scope. The Schema Markup Validator checks for general correctness according to Schema.org, which is broader and platform-agnostic. The Rich Results Test is more specific and checks for compatibility with Google's search features. I have used schema for internet packaging website and I found usful.Should you trust one over the other? It depends on your goals:
If you want to ensure your markup is correct according to Schema.org and potentially useful for a variety of search engines and platforms, the Schema Markup Validator is the way to go.
If your primary concern is how your markup will perform on Google Search and you're looking to leverage Google's rich results, then the Rich Results Test is more pertinent.
Ideally, your markup should pass both tests. It should be correctly structured according to Schema.org standards (which you can ensure using the Schema Markup Validator), and it should also be optimized for Google's rich results (which you can check using the Rich Results Test). If you're encountering errors in the Rich Results Test, it's likely because your schema markup doesn't meet some of Google's rich result guidelines, and you should adjust your markup accordingly. -
The Schema Markup Validator checks the syntax and structure of your schema code, ensuring it aligns with schema.org specifications. It's crucial for catching initial errors. On the other hand, the Rich Results Test specifically focuses on how your schema markup qualifies for rich results in Google Search, providing insights into how it appears in search results. For Google integration and visual representation, prefer the Rich Results Test. Use both tools together to ensure technical correctness and effective integration with Google's search algorithms.
-
The Schema Markup Validator primarily checks the technical correctness and adherence to schema.org standards of your structured data markup. It ensures that your markup is syntactically correct and follows the specified schema guidelines.
On the other hand, the Rich Results Test goes beyond syntax validation. It assesses how well your page qualifies for rich results (enhanced search results) in Google's search listings. This includes checking if your markup meets the specific requirements for generating rich snippets, knowledge panels, or other enhanced search features.
In essence, while the Schema Markup Validator focuses on the technical aspects of your markup, the Rich Results Test evaluates its potential impact on search results appearance. Both tools are valuable, and it's recommended to use them in conjunction to ensure comprehensive testing of your schema markup. If the Rich Results Test identifies errors, addressing them can enhance your chances of achieving rich results in Google's search listings.
-
@Hazellucy I will create the different Schemas for my movies related website. I will use the Rich result test tool that is work for me. But that is depend on you which one you want to use for creating schema code. Rich result is google official tool. So I recommend you to use this one.
-
I will create schemas for my movie related website. I will create different type of schema like FAQs and content schema and I will use more rich result test tool that is work for me.
-
This post is deleted! -
The primary difference between the Schema Markup Validator and the Rich Results Test from Google is that the Rich Result test is restricted to testing only the markup of structured data that's used in Google's results for the search. However, the Schema.org markup validation is more intended for "general purposes" and is geared towards debugging various other types of structured data in addition to the ones that Google supports.
Currently Google supports only a limited number of Schema Markups that includes:
Article, Breadcrumb, Carousel, Course, COVID-19 Announcements, Dataset, Employer, Aggregate Rating, Estimated Salary, Event, Fast Check, FAQ, Home Activities, How-To, Image License, Job Posting, Job Training, Local Business, Logo, Math Solvers, Movie, Practice Problems, Product, Q&A, Recipe, Review Snippet, Sitelinks, Search Box, Software App, Speakable, Video, Subscription and Paywalled Content, Article / Blog Posting, etc.This means that the markup validator may be showing that there are no issues with the way your schema is written syntactically, but Google may still have an issue generating a particular type of search result based on that schema.
Both of the tools can still be used for better SEO and achieving featured results in the SERPs. The Rich Result Testing tool doesn’t offer the code editing option though, so the Schema Markup Validator tool can come in handy for troubleshooting any Schema markup issues.
There are a number of Data Types supported by the Google Rich Result Testing Tool for existing Schema Libraries supported by Google and those Data Types can be used when testing different types of the Schema markup through Schema Markup validator tool.
-
@kavikardos thank you, that's helpful!
-
Hey @collegis_education! The primary difference between the two tools is that the Rich Results Test shows what types of Google results can be generated from your markup, whereas the schema markup validator offers generic schema validation. So the markup validator may be showing that there are no issues with the way your schema is written syntactically, but Google may still have an issue generating a particular type of search result based on that schema.
Be sure to take a close look at the errors the Rich Results Test is throwing, as some are more like warnings - not every aspect of the schema is necessary in order for Google to generate a rich result, but obviously if there's a particular piece of the markup that's missing (i.e. In-Stock status), it won't be included in that result.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Why Product pages are throwing Missing field "image" and Missing field "price" in Wordpress Woocommerce
I have a wordpress wocommerce website where I have uploaded 100s of products but it's giving me error in GSC under merchant listing tab. When I tested it show missing field image and missing field price. I have done everything according to https://developers.google.com/search/docs/appearance/structured-data/product#merchant-listing-experiences and applied fixed i.e. images are 800x800 and price range is also there. What else can be done here?!merchant listing.jpg
Technical SEO | | Ravi_Rana0 -
Schema Markup Warning "Missing field "url" (optional)"
Hello Moz Team, I hope everyone is doing well & good, I need bit help regarding Schema Markup, I am facing issue in my schema markup specifically with my blog posts, In my majority of the posts I find error "Missing field "url" (optional)"
Technical SEO | | JoeySolicitor
As this schema is generated by Yoast plugin, I haven't applied any custom steps. Recently I published a post https://dailycontributors.com/kisscartoon-alternatives-and-complete-review/ and I tested it at two platforms of schema test 1, Validator.Schema.org
2. Search.google.com/test/rich-results So the validator generate results as follows and shows no error
Schema without error.PNG It shows no error But where as Schema with error.PNG in search central results it gives me a warning "Missing field "url" (optional)". So is this really be going to issue for my ranking ? Please help thanks!6 -
What is the best structured data for my website
We have 10:branches for our agency where we are looking to attract local businesses to use our marketing services, should each landing page have structured data for ‘local business’? Any advice would be helpful
Local SEO | | Caffeine_Marketing0 -
How to find correct schema type
Dear Moz members, I m currently working on schema optimizations of my website casinobesty.com which review online casino websites. I have a doubt which schema itemReviewed type I have to use in the review pages. Currently I m using type as "Game" but I m not sure it is correct. "description": "",
Intermediate & Advanced SEO | | CongthanhThe
"itemReviewed": {
"@type": "Game",
"name": "LeoVegas Casino",
"url": "https://casinobesty.com/casino/leovegas-casino/"
}, Thank you1 -
How do internal search results get indexed by Google?
Hi all, Most of the URLs that are created by using the internal search function of a website/web shop shouldn't be indexed since they create duplicate content or waste crawl budget. The standard way to go is to 'noindex, follow' these pages or sometimes to use robots.txt to disallow crawling of these pages. The first question I have is how these pages actually would get indexed in the first place if you wouldn't use one of the options above. Crawlers follow links to index a website's pages. If a random visitor comes to your site and uses the search function, this creates a URL. There are no links leading to this URL, it is not in a sitemap, it can't be found through navigating on the website,... so how can search engines index these URLs that were generated by using an internal search function? Second question: let's say somebody embeds a link on his website pointing to a URL from your website that was created by an internal search. Now let's assume you used robots.txt to make sure these URLs weren't indexed. This means Google won't even crawl those pages. Is it possible then that the link that was used on another website will show an empty page after a while, since Google doesn't even crawl this page? Thanks for your thoughts guys.
Intermediate & Advanced SEO | | Mat_C0 -
Anyone have a good process for Schema.org auditing?
I am looking to do a Schema.org audit across a large number of websites that all run on the same platform. I'm not really sure where to start and what format to use for a deliverable. I suppose starting by checking for errors on the current schema and documenting them and then moving on to additional schema that could be added to the JSON+LD? My last structured data audit I just used a spreadsheet and it didn't come out as neat as I would have liked. Anyone who has some experience in this, your input would be much appreciated!
Intermediate & Advanced SEO | | MJTrevens0 -
SEO: Subdomain vs folders
Hello, here's our situation:We have an ecommerce website, say www.example.com. For support, we use zendesk which offers a great platform that makes publishing FAQ and various resource articles very easy. We're torn between publishing these articles on our actual website, or publishing them via Zendesk. If we publish them on our website, the url would be something like:
Intermediate & Advanced SEO | | yacpro13
www.example.com/articles/title_article.html On the other hand, if we publish them via zendesk, the url would look like:
support.example.com/articles/title_of_article We would like to publish them via Zendesk, however, we do no want to miss out on any SEO benefit, however marginal it may be. Doing it this way, the domain would have all of the ecommerce pages (product and category pages), and the subdomain would have ALL other types of pages (help articles and also policies, such as return policies, shipping info, etc etc). I know a long time ago, folders were preferred over subdomains for SEO, but things change all the time.Do you think setting up all the ecommerce pages on the domain, and all content pages on the subdomain, would be a lesser solution? Thanks.0 -
Parked Vs Addon/Redirect Domain
We have an old site we are trying to figure out what to do with it. Right now, we have it as a parked domain, but were considering changing it to an addon domain with a redirect. I have no reason why I chose parked vs addon, other than I had to pick one. Is one superior than the other? What are the pro's and con's for these? Thanks, Ruben
Intermediate & Advanced SEO | | KempRugeLawGroup0