DayOfWeek
DayOfWeek is a schema.org Enumeration for the seven weekdays plus public-holidays bucket. It originated in the GoodRelations vocabulary and is one of the most widely-used enums on schema.org because every LocalBusiness that publishes opening hours uses it.
It has 8 members:
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday.PublicHolidays: covers the union of all national / regional / religious holidays within the jurisdiction of the containing business.
Full example of schema.org/DayOfWeek json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "The Dunmore Grill",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["https://schema.org/Tuesday", "https://schema.org/Wednesday", "https://schema.org/Thursday"],
"opens": "17:00",
"closes": "22:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["https://schema.org/Friday", "https://schema.org/Saturday"],
"opens": "17:00",
"closes": "23:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/Sunday",
"opens": "11:00",
"closes": "20:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "https://schema.org/PublicHolidays",
"opens": "00:00",
"closes": "00:00"
}
]
}
</script>Where DayOfWeek appears
OpeningHoursSpecification.dayOfWeek: opening hours (most common use).Schedule.byDay: recurring Event days.EducationalOccupationalProgram.dayOfWeek: class days.ServicePeriod.businessDays,ShippingDeliveryTime.businessDays: service / delivery windows.
PublicHolidays caveat
PublicHolidays as a value is opaque — consumers cannot resolve which holidays apply without the business's locale. Google's opening-hours consumer treats it as "the business is closed (or has different hours) on public holidays". For precise holiday overrides, add additional OpeningHoursSpecification entries with validFrom / validThrough for specific dates.
Minimal valid version
The smallest markup that still produces a valid DayOfWeek entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["https://schema.org/Monday", "https://schema.org/Tuesday"],
"opens": "09:00",
"closes": "17:00"
}
</script>Google rich results this unlocks
DayOfWeek is a structural type. It does not produce a rich result on its own.
Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). DayOfWeek becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common DayOfWeek mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
Abbreviated day names
Wrong"dayOfWeek": "Mo"Right"dayOfWeek": "https://schema.org/Monday" (or the string "Monday")schema.org's DayOfWeek uses full day names; abbreviations are a different (legacy openingHours text) format.
- 02
PublicHolidays with 00:00-00:00 meaning 'open all day'
WrongPublicHolidays with opens = 00:00 and closes = 00:00 interpreted as 24/7Rightopens = 00:00 and closes = 00:00 means 'closed on public holidays' (the zero-duration convention); use explicit hours for open-on-holiday venuesGoogle reads opens == closes as 'closed'. If the venue is open on public holidays, publish real hours.
Schema properties in this example
About the example data
DayOfWeek on the opening-hours spec for The Dunmore Grill.
Comments
Loading comments...