Skip to content

Provide a way to specify a location is temporarily open/closed #819

@vickitardif

Description

@vickitardif

For seasonal businesses, it is difficult to use http://schema.org/OpeningHoursSpecification to state the location is open/closed for an extended period of time. For example, a campground may be closed in Winter or a restaurant may be closed for renovations.

I propose adding a new property to http://schema.org/OpeningHoursSpecification, openingHoursStatus. The possible values are:

  • OpeningHoursClosed
  • OpeningHoursOpen
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Campground",
  "name": "Middle of Nowhere Campground",
  "openingHoursSpecification":
  {
    "@type": "OpeningHoursSpecification",
    "validFrom": "2013-10-01",
    "validThrough": "2014-05-01",
    "openingHoursStatus": "http://schema.org/OpeningHoursClosed"
  }
}
</script>

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 vocabulary

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions