Skip to content
AnswerWell geo Documentation

Research · 6 min read · Answerwell

Opening Hours Structured Data: DayOfWeek, OpeningHoursSpecification and Schedule

How to mark up business hours, recurring events, and seasonal overrides using Schema.org DayOfWeek, OpeningHoursSpecification, and Schedule.

This page summarises Schema.org vocabulary for when a place or service is open, together with Google’s guidance on local business hours for JSON-LD. The same DayOfWeek values tie opening-hour blocks to days of the week, while Schedule describes repeating events without listing every occurrence.

openingHours vs openingHoursSpecification: which property to use

Section titled “openingHours vs openingHoursSpecification: which property to use”

Schema.org offers two ways to express weekly hours. The legacy openingHours property is a compact text range on types such as LocalBusiness:

The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ‘,’ separating each day. Day or time ranges are specified using a hyphen ‘-’.

— Schema.org, openingHours

Days use two-letter codes (Mo, Tu, We, Th, Fr, Sa, Su); times use 24-hour format (15:00 for 3pm). Example from the specification: Tu,Th 16:00-20:00 or Mo-Su for all week.

The structured alternative is openingHoursSpecification on Place, whose values are OpeningHoursSpecification objects. Google’s local business structured data examples use openingHoursSpecification with opens, closes, and dayOfWeek. For new markup, structured objects are easier to validate and map to calendars; openingHours remains valid where microdata already uses <time itemprop="openingHours">.

Approach Property Best when
Compact string openingHours Simple hours, legacy microdata
Structured objects openingHoursSpecification JSON-LD, complex patterns, search features

Related properties: hoursAvailable on Service or contact points, and businessDays on shipping or service periods—both expect OpeningHoursSpecification (or DayOfWeek for businessDays).

OpeningHoursSpecification: opens, closes, and dayOfWeek

Section titled “OpeningHoursSpecification: opens, closes, and dayOfWeek”

OpeningHoursSpecification is a structured value for opening hours of a place or a service inside a place:

A structured value providing information about the opening hours of a place or a certain service inside a place. The place is open if the opens property is specified, and closed otherwise. If the value for the closes property is less than the value for the opens property then the hour range is assumed to span over the next day.

— Schema.org, OpeningHoursSpecification

dayOfWeek: canonical day names for each hours block

Section titled “dayOfWeek: canonical day names for each hours block”

dayOfWeek states which day(s) a block applies to. Values are DayOfWeek enumeration members (Monday through Sunday), or an array of them in one object.

Google accepts official Schema.org day URLs and shorter string names such as "Monday", and expects to keep accepting both:

We accept both the official schema.org notation for indicating dayOfWeek (canonical URLs for Monday, Tuesday), as well as a shorter form being discussed in the schema.org community.

— Google, Local business structured data — Business hours

opens and closes: time ranges and closed days

Section titled “opens and closes: time ranges and closed days”

opens and closes are Time values for the given dayOfWeek. When closes is earlier than opens, consumers treat the interval as crossing midnight (for example Saturday 18:00 until Sunday 03:00 in one specification).

Google documents common patterns on local business structured data:

  • Standard split hours: separate objects for weekday and weekend dayOfWeek arrays with different opens / closes.
  • Late night: one OpeningHoursSpecification with closes after midnight on the same dayOfWeek entry.
  • 24 hours: opens 00:00, closes 23:59.
  • Closed all day: both opens and closes set to 00:00.

Omitting validFrom and validThrough means year-round hours; Google’s seasonal example sets both dates when the business is closed for a holiday window.

DayOfWeek enumeration: members and PublicHolidays

Section titled “DayOfWeek enumeration: members and PublicHolidays”

DayOfWeek is the shared enumeration for weekdays in opening hours and schedules:

The day of the week, e.g. used to specify to which day the opening hours of an OpeningHoursSpecification refer.

— Schema.org, DayOfWeek

Members include Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday, and PublicHolidays.

PublicHolidays is not a weekday but a placeholder for official public holidays in a location:

In the context of an opening hours specification it can be used to indicate opening hours on public holidays, overriding general hours for the day of the week on which a public holiday occurs.

— Schema.org, PublicHolidays

Properties whose values are DayOfWeek include dayOfWeek, businessDays, and byDay on Schedule.

specialOpeningHoursSpecification and seasonalOverride: overrides

Section titled “specialOpeningHoursSpecification and seasonalOverride: overrides”

General hours live in openingHoursSpecification or openingHours. Overrides use dedicated properties on Place:

specialOpeningHoursSpecification explicitly replaces general hours:

Use this to explicitly override general opening hours brought in scope by openingHoursSpecification or openingHours.

— Schema.org, specialOpeningHoursSpecification

Each override is still an OpeningHoursSpecification (optional dayOfWeek, opens, closes, and date bounds).

seasonalOverride on shipping conditions also takes OpeningHoursSpecification. Google’s merchant shipping policy structured data requires at least one of validFrom or validThrough when using that type for seasonal shipping rules.

Schedule and eventSchedule: recurring events by day and month

Section titled “Schedule and eventSchedule: recurring events by day and month”

For repeating events, Schedule describes the pattern instead of many Event instances. eventSchedule links an Event to one or more schedules:

An Event that is associated with a Schedule using this property should not have startDate or endDate properties. These are instead defined within the associated Schedule, this avoids any ambiguity for clients using the data.

— Schema.org, eventSchedule

At minimum, a schedule specifies repeatFrequency; optional refinements include:

Property Role
byDay Weekday(s)—DayOfWeek or iCal-style text
byMonth Month(s) 1–12 (January = 1)
byMonthDay Day(s) of month 1–31
byMonthWeek Week of month 1–5; use with byDay for “first Monday” patterns

byDay on Schedule mirrors opening-hours wording:

Defines the day(s) of the week on which a recurring Event takes place. May be specified using either DayOfWeek, or alternatively Text conforming to iCal’s syntax for byDay recurrence rules.

— Schema.org, byDay

byMonthWeek is clearest combined with byDay for concepts like the first and third Mondays of a month.

Schedule is an Intangible type alongside other structured values; it is separate from place opening hours but reuses the same DayOfWeek vocabulary.

  • Mixing event dates with eventSchedule: Do not set startDate / endDate on the Event when times live on the linked Schedule.
  • Splitting overnight hours across two days incorrectly: Use one OpeningHoursSpecification when closes is before opens on the same day entry, per OpeningHoursSpecification.
  • Marking “closed” with missing opens: A location is open when opens is present; for a closed day, Google uses matching 00:00 for both times in local business examples.
  • Using only openingHours strings in JSON-LD when you need seasonal bounds—structured validFrom / validThrough on OpeningHoursSpecification is explicit.
  • Ignoring PublicHolidays when holiday hours differ from the weekday that the holiday falls on.
  1. Copy your JSON-LD or microdata into Google’s Rich Results Test workflow and confirm OpeningHoursSpecification parses without errors (see local business structured data).

  2. Compare each dayOfWeek value to the DayOfWeek members you intend (Monday … Sunday, or PublicHolidays where needed).

  3. For overnight ranges, confirm a single object has closes earlier than opens on the documented start day, matching OpeningHoursSpecification.

  4. For recurring events, verify the Event has no conflicting startDate/endDate when using eventSchedule, and that byDay / byMonthWeek match the real calendar pattern.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.