In a Google SEO Office Hours, Google’s Martin Splitt answered a question about structured data validation and how Google’s validator can show different results than the Schema.org validator.
Both Google and Schema.org offer tools for validating if structured data is correct.
Google’s tool is called the Rich Results Test.
Schema.org’s tool is called the Schema Markup Validator.
Google’s tool validates structured data and it also offers feedback on whether the tested structured data qualifies for rich results in the search engine results pages.
Rich results are enhanced search listings that makes the listing stand out on the search results.
The Schema.org Schema Markup Validator checks if the structured data is valid according to the official standards.
One would think that both structured data validators are validating by the same rules.
So it’s a good question as to why both validators may show different results.
The person asking the question noted that their structured data validated perfectly on the Schema.org but not with Google’s validator.
They asked:
“Why does structured data show errors on Google but not schema.org?
Google Search Console is showing errors for invalid enum value in field ‘returnFees‘ but our schema.org test says no error.
Please advise.”
Google’s Martin Splitt answered:
“Schema.org is an open and vendor-independent entity that defines the data types and attributes for structured data.
Google, as a vendor however, might have specific requirements for some attributes and types in order to use the structured data in product features, such as our rich results in Google Search.
So while just leaving out some attributes or using some type of values for an attribute is fine with Schema.org, vendors such as Google and others might have more specific requirements in order to use the structured data you provide to actually enhance features and products.”
Google’s validator has a purpose that is different from just checking if the structured data is valid.
It’s checking to see if the structured data that Google requires (for potentially showing a webpage in enhanced search results) is valid.
The Schema.org validator is just checking for standards and has nothing to do with how Google uses structured data.
One more thing to know about the Schema.org validator is that it can sometimes falsely report that valid code is invalid.
I recently encountered this where I took a JSON-LD structured data example of correct code from Schema.org and tested it in both validators.
The Schema.org validator showed a false error while Google’s validator correctly validated it.
So at least in this case, Google’s validator was more accurate.
It’s always a good practice to check Google’s structured data guide to make sure you’re site is coding for Google because the general use of structured data is for enhanced listings.
Listen to the SEO Office Hours at the 4 minute mark:
Featured image by Shutterstock/ViDI Studio
Here is a recap of what happened in the search forums today, through the eyes…
Google published new documentation about their new AI Overviews search feature which summarizes an answer…
Google announced and emailed advertisers that they are changing the functionality of Google Ads accounts…
About 45 minutes before OpenAI's announcement of GPT-4o, Google posted on X a demo of…
Google may be showing more review stars in the mobile search results, according to some…
Bloomberg reports that Google has downgraded/lowered the search rankings of Deepfake porn sites. Bloomberg wrote,…
This website uses cookies.
Leave a Comment