Skip to content

Commit

Permalink
Add COVID-19 Pandemic Hours field (close #7529)
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Apr 24, 2020
1 parent c1fa328 commit 7b194b0
Show file tree
Hide file tree
Showing 132 changed files with 183 additions and 44 deletions.
6 changes: 6 additions & 0 deletions data/presets/fields/opening_hours/covid19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "opening_hours:covid19",
"type": "combo",
"label": "COVID-19 Pandemic Hours",
"snake_case": false
}
2 changes: 2 additions & 0 deletions data/presets/presets/_attraction.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"attraction",
"operator",
"opening_hours",
"opening_hours/covid19",
"fee",
"charge_fee"
],
Expand All @@ -13,6 +14,7 @@
"email",
"fax",
"opening_hours",
"opening_hours/covid19",
"payment_multi",
"phone",
"website"
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/aeroway/helipad.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"address",
"charge_fee",
"fee",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"terms": [
"helicopter",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/_coworking_space.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"internet_access",
"internet_access/fee",
"internet_access/ssid"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/_nursing_home.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"social_facility",
"social_facility_for",
"opening_hours",
"opening_hours/covid19",
"wheelchair"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/animal_boarding.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"animal_boarding"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/animal_breeding.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"animal_breeding"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/animal_shelter.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"animal_shelter"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/arts_centre.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"website"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/atm.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"manufacturer",
"name",
"opening_hours",
"opening_hours/covid19",
"wheelchair"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/bank.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"atm",
"drive_through"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/bar.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"min_age",
"brewery"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/bicycle_parking/building.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"fields": [
"{amenity/bicycle_parking}",
"opening_hours",
"opening_hours/covid19",
"building_area"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/bicycle_rental.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"fax",
"level",
"opening_hours",
"opening_hours/covid19",
"phone",
"website",
"wheelchair"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/bicycle_repair_station.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"operator",
"brand",
"opening_hours",
"opening_hours/covid19",
"fee",
"payment_multi_fee",
"charge_fee",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/biergarten.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name",
"address",
"opening_hours",
"opening_hours/covid19",
"outdoor_seating",
"brewery"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/boat_rental.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"operator",
"operator/type",
"opening_hours",
"opening_hours/covid19",
"fee",
"payment_multi_fee",
"charge_fee"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/bureau_de_change.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"fax",
"level",
"opening_hours",
"opening_hours/covid19",
"phone",
"website",
"wheelchair"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/cafe.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"outdoor_seating",
"internet_access",
"internet_access/fee",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/car_pooling.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"capacity",
"address",
"opening_hours",
"opening_hours/covid19",
"lit"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/car_rental.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"operator",
"address",
"opening_hours",
"opening_hours/covid19",
"payment_multi"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/car_wash.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"payment_multi",
"self_service"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/casino.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"gambling",
"smoking"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/childcare.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"website"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/cinema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"screen",
"building_area",
"opening_hours",
"opening_hours/covid19",
"payment_multi"
],
"moreFields": [
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/amenity/clinic.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"healthcare/speciality",
"address",
"building_area",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"moreFields": [
"air_conditioning",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/community_centre.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"website"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/crematorium.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"website",
"phone",
"opening_hours",
"opening_hours/covid19",
"wheelchair"
],
"moreFields": [
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/amenity/dentist.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"healthcare/speciality",
"address",
"building_area",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"moreFields": [
"email",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/dive_centre.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"scuba_diving"
],
"moreFields": [
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/amenity/doctors.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"healthcare/speciality",
"address",
"building_area",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"moreFields": [
"email",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/amenity/dojo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"sport",
"address",
"building_area",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"moreFields": [
"email",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/dressing_room.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"fee",
"level",
"opening_hours",
"opening_hours/covid19",
"payment_multi_fee",
"ref"
],
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/amenity/driving_school.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"operator/type",
"address",
"building_area",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"moreFields": [
"email",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/presets/amenity/fast_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"drive_through"
],
"moreFields": [
Expand All @@ -23,6 +24,7 @@
"internet_access/ssid",
"level",
"opening_hours",
"opening_hours/covid19",
"outdoor_seating",
"payment_multi",
"phone",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/food_court.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"internet_access",
"internet_access/fee",
"internet_access/ssid"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/fuel.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"fax",
"gnis/feature_id",
"opening_hours",
"opening_hours/covid19",
"payment_multi",
"phone",
"ref/vatin",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/ice_cream.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"outdoor_seating"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/internet_cafe.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"level",
"min_age",
"opening_hours",
"opening_hours/covid19",
"outdoor_seating",
"payment_multi",
"phone",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/karaoke_box.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"website"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/kindergarten.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"min_age",
"not/name",
"opening_hours",
"opening_hours/covid19",
"payment_multi",
"website",
"wheelchair"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/kneipp_water_cure.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"fields": [
"kneipp_water_cure_multi",
"opening_hours",
"opening_hours/covid19",
"fee"


Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/language_school.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"address",
"building_area",
"opening_hours",
"opening_hours/covid19",
"language_multi"
],
"moreFields": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"level",
"not/name",
"opening_hours",
"opening_hours/covid19",
"payment_multi",
"phone",
"polling_station",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/amenity/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"operator",
"address",
"building",
"opening_hours"
"opening_hours",
"opening_hours/covid19"
],
"moreFields": [
"email",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/amenity/money_transfer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"fax",
"level",
"opening_hours",
"opening_hours/covid19",
"phone",
"website",
"wheelchair"
Expand Down
Loading

0 comments on commit 7b194b0

Please sign in to comment.