joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.77k stars 3.65k forks source link

[5.0] schemaorg required data #41258

Open brianteeman opened 1 year ago

brianteeman commented 1 year ago

Testing the JobPosting scheme and I see that none of the fields are required.

However google says that come of them are required and without those values the richdata will not be used.

Ref: https://developers.google.com/search/docs/appearance/structured-data/job-posting#structured-data-type-definitions

I am sure the same is probably true for other schematype

HLeithner commented 1 year ago

I don't see any fields marked as required. https://schema.org/JobPosting

But improving the plugins is of course appreciated

brianteeman commented 1 year ago

Well Google disagrees with you

https://search.google.com/test/rich-results/result/r%2Frecipes?id=O-tc1VQwwIBxp8lywxuMBw

image

HLeithner commented 1 year ago

google disagree with me that the plugin could be improved? or that goolge has it's on interpretation of schema.org because it needs information so it can create rich snipped based on schema.org data which is unrelated to google services?

I really don't know what you want from me. if something is wrong and you can fix it please do it. thanks

brianteeman commented 1 year ago

whoever said I wanted something from you

HLeithner commented 1 year ago

since I'm responsible for the 5.0 release and it's tagged for 5.0 and it's a feature I merged I and you talk to me in all comments I would expect you still talk to me, doesn't mean I'm the only one who can response of course.

wilsonge commented 1 year ago

Google does it's own thing that mostly overlaps with schema.org

https://developers.google.com/search/docs/appearance/structured-data/job-posting#structured-data-type-definitions for example for job postings here google tells you what is required and what is recommended

brianteeman commented 1 year ago

This is a bug not a feature

richard67 commented 1 year ago

As a starting point here the links to Google's docs about required and recommended properties.

blogposting

https://developers.google.com/search/docs/appearance/structured-data/article#structured-data-type-definitions

No required properties listed there.

book

https://developers.google.com/search/docs/appearance/structured-data/book#structured-data-type-definitions

Required: @context, @id, @type, author, name, url, workExample

For the author property see also following recommendations (best practice): https://developers.google.com/search/docs/appearance/structured-data/article#author-bp

event

https://developers.google.com/search/docs/appearance/structured-data/event#structured-data-type-definitions

Required: location, location.address, location.url, name, startDate

organization

There is no doc about that type, but it's used for the hiringOrganization property of the jobposting type.

person

There is no doc about that type, but it's used for the author property of the book type.

recipe

https://developers.google.com/search/docs/appearance/structured-data/recipe

Required: image, name

Hint at the docs:

If you want your recipe to display as a Guided Recipe on the Assistant, make sure you add recipeIngredient and recipeInstructions. If you add the video property, you must also add the contentUrl property. If your recipe doesn't have these properties, the recipe won't eligible for Guided Recipes (but may still be eligible to appear in Search results).

jobposting

https://developers.google.com/search/docs/appearance/structured-data/job-posting#structured-data-type-definitions

Required: datePosted, description, hiringOrganization, jobLocation, title