Proposed features/Opening hours: standard appointment syntax

From OpenStreetMap Wiki
Jump to navigation Jump to search
Opening hours: standard appointment syntax
Status: Draft (under way)
Proposed by: M!dgard
Tagging: opening_hours=appointment
Applies to: node way area relation
Definition: syntax element appointment for opening_hours, similar to open and off
Drafted on: 2019-05-27
RFC start: 2019-09-08

Proposal

Modify opening_hours=* to define appointment meaning "appointment necessary".

The formal specification can be updated by adding this rule: <rule_modifier>appointment [ <space> <comment> ] → appointment

Rationale

Businesses working with appointments are very common. Currently this has to be expressed with comments. In taginfo we can see nach Vereinbarung, on call, by appointment and on appointment are commonly in use. appointment was chosen instead of by_appointment or on_appointment because the author of this proposal always forgets which one is the more common expression.

Standardizing this will make it possible for software to take this information into account and e.g. show it in different locales.

Alternative

An alternative (not a part of this proposal) would be to introduce something like reservation:hours=* to express reservation=* values that depend on time. This was brought up on the talk page.

Examples

opening_hours=appointment only ever open on appointment
opening_hours=Mo-Fr appointment open only on appointment, appointments only possible on weekdays (without further specification about when the business would accept appointments)
opening_hours=Mo-Fr 09:00-17:00 appointment open only on appointment, appointments only possible between 9 and 5 on weekdays
opening_hours=Mo-Th 09:00-17:00; Fr appointment Mo-Th open from 9 to 5, appointment necessary on Friday
opening_hours=Mo-Th 09:00-17:00; Fr 09:00-17:00 appointment Mo-Th open from 9 to 5, appointment necessary on Friday and only possible between 9 and 5
opening_hours=Mo-Fr 09:00-12:00 || Mo-Fr 13:00-17:00 appointment open without appointment in the morning, appointment necessary in the afternoon
opening_hours=Mo-Fr 09:00-12:00,14:00-17:00 || 12:00-14:00 appointment open 9 to 5 but appointments are required between noon and 2

Features/Pages affected