I was at the pub tonight, and noticed they had a sign indicating no under 18s after 8pm. How would this be represented in #OpenStreetMap? I know there is min_age but I haven't seen any examples of a conditional minimum age depending on time.
After more consideration, I’m thinking `min_age:conditional=18 @ 20:00+` with `min_age=0` is the best way to tag this. I've also raised this in the community forum. https://community.openstreetmap.org/t/tagging-a-pub-that-doesnt-allow-under-18s-after-8pm/142811 #OpenStreetMap
Tagging a pub that doesn't allow under 18s after 8pm

I was at the pub, and noticed they had a sign indicating no under 18s after 8pm. How would this be tagged in OpenStreetMap? I know there is min_age but I haven’t seen any examples of a conditional minimum age depending on time.

OpenStreetMap Community Forum
@okwithmydecay maybe opening_hours with something like `20:00-00:00 "18+"` ?
@okwithmydecay I guess a "min_age:conditionnal=no @ 20:00-??:??" would do the trick elegantly (https://wiki.openstreetmap.org/wiki/Conditional_restrictions), but it would probably have a bad support from apps, so it wouldn't hurt to add it in the "opening_hours" too as @platlas suggested.
Conditional restrictions - OpenStreetMap Wiki

@poxviridae @platlas my gut feeling is that min_age:conditional is right approach, as the opening_hours are already complicated enough for consumers to parse. I did something similar for a pub that is dog friendly except on Friday and Saturday evenings: https://www.openstreetmap.org/changeset/180618426
Changeset: 180618426

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

OpenStreetMap