ISSUE-22: Schema.org has two ways to express opening hours
openingHours x2
Schema.org has two ways to express opening hours
- State:
- CLOSED
- Product:
- Feedback on Schema.org
- Raised by:
- Dan Brickley
- Opened on:
- 2013-05-28
- Description:
- http://schema.org/CivicStructure has openingHours, whose value is said to be a Duration,
"The 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 '-'.
- Days are specified using the following two-letter combinations: Mo, Tu, We, Th, Fr, Sa, Su.
- Times are specified using 24:00 time. For example, 3pm is specified as 15:00.
- Here is an example: <time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time>.
- If a business is open 7 days a week, then it can be specified as <time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time>."
As part of the GoodRelations addition, there is also openingHoursSpecification which takes http://schema.org/OpeningHoursSpecification structures as a value.
The differences should be explained, and perhaps converged.
- Related Actions Items:
- No related actions
- Related emails:
- Re: webschema-ISSUE-22 (openingHours x2): Schema.org has two ways to express opening hours [Feedback on Schema.org] (from danbri@danbri.org on 2013-05-29)
- Re: webschema-ISSUE-22 (openingHours x2): Schema.org has two ways to express opening hours [Feedback on Schema.org] (from giurca@tu-cottbus.de on 2013-05-29)
- Re: webschema-ISSUE-22 (openingHours x2): Schema.org has two ways to express opening hours [Feedback on Schema.org] (from bernard.vatant@mondeca.com on 2013-05-29)
- Re: webschema-ISSUE-22 (openingHours x2): Schema.org has two ways to express opening hours [Feedback on Schema.org] (from Richard.Wallis@oclc.org on 2013-05-28)
- Re: webschema-ISSUE-22 (openingHours x2): Schema.org has two ways to express opening hours [Feedback on Schema.org] (from matthias@binarypark.org on 2013-05-28)
- webschema-ISSUE-22 (openingHours x2): Schema.org has two ways to express opening hours [Feedback on Schema.org] (from sysbot+tracker@w3.org on 2013-05-28)
Related notes:
Migrated to https://github.com/schemaorg/schemaorg/issues/245
Dan Brickley, 21 Jan 2015, 13:35:40Display change log