Skip to content

PublicHolidays as a "DayOfWeek" needs better definition, an example, if it is to be usable #1139

@danbri

Description

@danbri

We have had this in the OpeningHoursSpecification construction since 2012.

DayOfWeek in schema.org v2.2 gives http://purl.org/goodrelations/v1#PublicHolidays
as a possible instance. In the proposed sdo-deimos release aka v3.0 this (like URLs for Monday-Friday) is given a schema.org URL, preserving the previous expressivity. However currently we have no examples of its use.

The current plan is for a simple mapping, i.e.

However the latter has no examples.

grep PublicHolidays data/*.txt

The GoodRelations documentation does however say "A placeholder for all official public holidays at the gr:Location. This allows specifying the opening hours on public holidays. If a given day is a public holiday, this specification supersedes the opening hours for the respective day of the week.". Perhaps this should be incorporated? /cc @betehess @mfhepp

Current definition proposed for v3 is http://webschemas.org/PublicHolidays "This stands for any day that is a public holiday. While not technically a "day of the week", it can be used to with OpeningHoursSpecification."

Metadata

Metadata

Assignees

Labels

no-issue-activityDiscuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).schema.org vocabGeneral top level tag for issues on the vocabularytype:cleanup + clarityAddresses wording fixes, ambiguities, confusion, bad examples etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions