Skip to content

Commit

Permalink
Add fhrs:id field (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cj-Malone authored Dec 15, 2023
1 parent 6c1e865 commit 5555b15
Show file tree
Hide file tree
Showing 45 changed files with 99 additions and 0 deletions.
17 changes: 17 additions & 0 deletions data/fields/fhrs/id-GB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "fhrs:id",
"type": "identifier",
"label": "FHRS ID",
"urlFormat": "https://ratings.food.gov.uk/business/en-GB/{value}",
"pattern": "^[0-9]{1,}$",
"locationSet": {
"include": [
"gb"
]
},
"terms": [
"Food Hygiene Rating Scheme",
"Food Hygiene Rating System",
"Food Standards Agency"
]
}
1 change: 1 addition & 0 deletions data/presets/amenity/bar.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"operator",
"outdoor_seating",
"smoking",
"fhrs/id-GB",
"sport/sport_pub"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/cafe.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"takeaway",
"toilets",
"toilets/wheelchair",
"fhrs/id-GB",
"website/menu"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/childcare.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"{@templates/internet_access}",
"baby_feeding",
"capacity",
"fhrs/id-GB",
"gnis/feature_id-US",
"level",
"max_age",
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/cinema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"air_conditioning",
"branch_brand",
"brand",
"fhrs/id-GB",
"min_age"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/events_venue.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"{@templates/internet_access}",
"{@templates/poi}",
"air_conditioning",
"fhrs/id-GB",
"min_age",
"smoking"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/fast_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"outdoor_seating",
"smoking",
"takeaway",
"fhrs/id-GB",
"website/menu"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/ice_cream.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"diet_multi",
"drive_through",
"takeaway",
"fhrs/id-GB",
"website/menu"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/kindergarten.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"moreFields": [
"{@templates/contact}",
"capacity",
"fhrs/id-GB",
"gnis/feature_id-US",
"internet_access",
"internet_access/ssid",
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/nightclub.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"moreFields": [
"{@templates/poi}",
"air_conditioning",
"fhrs/id-GB",
"fee"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/pub.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"cuisine",
"diet_multi",
"microbrewery",
"fhrs/id-GB",
"min_age",
"outdoor_seating",
"real_fire-GB-IE",
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/restaurant.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"branch_brand",
"brand",
"brewery",
"fhrs/id-GB",
"capacity",
"delivery",
"highchair",
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/school.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"capacity",
"charge_fee",
"fee",
"fhrs/id-GB",
"gnis/feature_id-US",
"internet_access",
"internet_access/ssid",
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/social_facility.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"{@templates/internet_access}",
"{@templates/poi}",
"baby_feeding",
"fhrs/id-GB",
"building_area"
],
"geometry": [
Expand Down
3 changes: 3 additions & 0 deletions data/presets/craft/caterer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"cuisine",
"{craft}"
],
"moreFields": [
"fhrs/id-GB"
],
"geometry": [
"point",
"area"
Expand Down
3 changes: 3 additions & 0 deletions data/presets/craft/confectionery.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"sweet",
"candy"
],
"moreFields": [
"fhrs/id-GB"
],
"tags": {
"craft": "confectionery"
},
Expand Down
1 change: 1 addition & 0 deletions data/presets/craft/distillery.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
],
"moreFields": [
"{craft}",
"fhrs/id-GB",
"min_age"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/craft/winery.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "maki-alcohol-shop",
"moreFields": [
"{craft}",
"fhrs/id-GB",
"min_age"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/leisure/bowling_alley.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"{@templates/poi}",
"air_conditioning",
"min_age",
"fhrs/id-GB",
"smoking"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/leisure/indoor_play.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"fee",
"max_age",
"min_age",
"fhrs/id-GB",
"operator"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/shop/alcohol.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
],
"moreFields": [
"{shop}",
"fhrs/id-GB",
"min_age"
],
"geometry": [
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/bakery.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"cakes",
"rolls"
],
"moreFields": [
"fhrs/id-GB"
],
"name": "Bakery"
}
3 changes: 3 additions & 0 deletions data/presets/shop/butcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"tags": {
"shop": "butcher"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Butcher",
"aliases": [
"Butcher Shop",
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/cheese.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"tags": {
"shop": "cheese"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Cheese Store"
}
3 changes: 3 additions & 0 deletions data/presets/shop/chemist.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"prescription",
"tooth"
],
"moreFields": [
"fhrs/id-GB"
],
"name": "Drugstore"
}
3 changes: 3 additions & 0 deletions data/presets/shop/confectionery.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"tags": {
"shop": "confectionery"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Candy Store",
"aliases": [
"Candy Shop",
Expand Down
1 change: 1 addition & 0 deletions data/presets/shop/convenience.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "fas-shopping-basket",
"moreFields": [
"{shop}",
"fhrs/id-GB",
"organic"
],
"geometry": [
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/deli.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"tags": {
"shop": "deli"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Delicatessen",
"aliases": [
"Specialty Food Store",
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/department_store.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"tags": {
"shop": "department_store"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Department Store"
}
3 changes: 3 additions & 0 deletions data/presets/shop/farm.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"{shop}",
"organic"
],
"moreFields": [
"fhrs/id-GB"
],
"geometry": [
"point",
"area"
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/frozen_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"point",
"area"
],
"moreFields": [
"fhrs/id-GB"
],
"tags": {
"shop": "frozen_food"
},
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/greengrocer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"{shop}",
"organic"
],
"moreFields": [
"fhrs/id-GB"
],
"geometry": [
"point",
"area"
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/health_food.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"tags": {
"shop": "health_food"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Health Food Store",
"aliases": [
"Health Food Shop"
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/herbalist.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"plant medicine",
"traditional medicine"
],
"moreFields": [
"fhrs/id-GB"
],
"name": "Herbalist"
}
3 changes: 3 additions & 0 deletions data/presets/shop/newsagent.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"point",
"area"
],
"moreFields": [
"fhrs/id-GB"
],
"tags": {
"shop": "newsagent"
},
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/pastry.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"cake shop",
"cakery"
],
"moreFields": [
"fhrs/id-GB"
],
"name": "Pastry Shop"
}
3 changes: 3 additions & 0 deletions data/presets/shop/seafood.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"tags": {
"shop": "seafood"
},
"moreFields": [
"fhrs/id-GB"
],
"name": "Seafood Shop"
}
1 change: 1 addition & 0 deletions data/presets/shop/supermarket.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"moreFields": [
"{shop}",
"diet_multi",
"fhrs/id-GB",
"organic"
],
"geometry": [
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/tea.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"point",
"area"
],
"moreFields": [
"fhrs/id-GB"
],
"tags": {
"shop": "tea"
},
Expand Down
3 changes: 3 additions & 0 deletions data/presets/shop/variety_store.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"point",
"area"
],
"moreFields": [
"fhrs/id-GB"
],
"tags": {
"shop": "variety_store"
},
Expand Down
1 change: 1 addition & 0 deletions data/presets/shop/wine.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "maki-alcohol-shop",
"moreFields": [
"{shop}",
"fhrs/id-GB",
"min_age"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/tourism/chalet.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"building/levels_building",
"height_building",
"payment_multi",
"fhrs/id-GB",
"reservation",
"smoking"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/tourism/guest_house.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"{@templates/poi}",
"air_conditioning",
"building/levels_building",
"fhrs/id-GB",
"height_building",
"reservation",
"smoking"
Expand Down
1 change: 1 addition & 0 deletions data/presets/tourism/hostel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"{tourism/guest_house}"
],
"moreFields": [
"fhrs/id-GB",
"{tourism/guest_house}"
],
"geometry": [
Expand Down
Loading

0 comments on commit 5555b15

Please sign in to comment.