Skip to content
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

Adding Event.eventAttendanceMode property #93

Closed
ohader opened this issue May 14, 2022 · 2 comments
Closed

Adding Event.eventAttendanceMode property #93

ohader opened this issue May 14, 2022 · 2 comments

Comments

@ohader
Copy link

ohader commented May 14, 2022

[...] optional properties: organizer, eventStatus, eventAttendanceMode, and previousStartDate

see https://developers.google.com/search/docs/advanced/structured-data/event#event-attendance-mode
see https://schema.org/EventAttendanceModeEnumeration

{
"@context": "https://schema.org",
"@type": "Event",
"eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
"location": {
  "@type":"VirtualLocation",
  "url": "https://operaonline.stream5.com/"
  }
}
@ohader ohader changed the title Consider adding Event.eventAttendanceMode property Adding Event.eventAttendanceMode property May 14, 2022
@brotkrueml
Copy link
Owner

The property eventAttendanceMode is a pending property:
https://schema.org/docs/pending.home.html

The schema extension delivers only types and properties from the core vocabulary. It does not deliver pending types and properties to avoid breaking changes when updating the vocabulary (which also means the schema extension must then release a new major release instead of a feature release). You have now two possibilities:

I suggest the PSR-14 event, this way you have the control and add only those pending properties which are really needed. Once a pending property is moved to the core vocabulary, a property added with a PSR-14 event does not harm.

Also have a look at the documentation about the different schema.org vocabularies:
https://docs.typo3.org/p/brotkrueml/schema/2.4/en-us/Introduction/Index.html#the-schema-org-vocabulary

@brotkrueml brotkrueml pinned this issue May 14, 2022
@brotkrueml
Copy link
Owner

FYI: I opened a request on schema.org to move the pending types and properties for events (that are suggested by Google since two years) to the core vocabulary:
schemaorg/schemaorg#3110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants