-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid object type for field "distribution" #725
Comments
Hi Phil, Indeed the Search console doesn't know about Croissant yet. It only validates mark-up based on the schema.org vocabulary, which expects distribution to be of type sc:DataDownload. I will get in touch with them to figure out how to best address this issue. Best, |
Thanks, this validation error was noticed here as well: iodepo/odis-arch#481 (comment) |
Here's the proposed fix for Type arrays may resolve other such issues. The overarching issue is that Croissant should make sure not to rough up existing types and their required properties with its (very useful) extended properties. |
Not long after we deployed our Croissant implementation to Harvard Dataverse, we got this email about
Invalid object type for field "distribution"
from the Google Search Console Team:I followed the link...
... and tried the first example URL at https://validator.schema.org/#url=https%3A%2F%2Fdataverse.harvard.edu%2Fdataset.xhtml%3FpersistentId%3Ddoi%3A10.7910%2FDVN%2FRU1X7W
It does show errors around the "distribution" field. Specifically:
http://mlcommons.org/croissant/FileObject is not a known valid target type for the distribution property.
It looks like this:Did I do something wrong with my Croissant implementation?
Does the Google Search Console not (yet) know about Croissant? 🥐
Thanks!
The text was updated successfully, but these errors were encountered: