From f50eba78da17acf7a9976a4ea1463697e629c3e1 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Mon, 15 Jul 2024 16:05:35 +0200 Subject: [PATCH] chore: update `blpu_codes` values and descriptions per content team (#3426) --- .../down.sql | 468 ++++++++++++++++++ .../up.sql | 468 ++++++++++++++++++ 2 files changed, 936 insertions(+) create mode 100644 hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/down.sql create mode 100644 hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/up.sql diff --git a/hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/down.sql b/hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/down.sql new file mode 100644 index 0000000000..5c21bef20b --- /dev/null +++ b/hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/down.sql @@ -0,0 +1,468 @@ +TRUNCATE table "public"."blpu_codes"; +INSERT INTO "public"."blpu_codes" (code, description, value) VALUES + ('C','Commercial','commercial'), + ('CA','Agricultural','commercial.agriculture'), + ('CA01','Farm / Non-Residential Associated Building','commercial.agriculture.farm'), + ('CA02','Fishery','commercial.fish'), + ('CA02FF','Fish Farming','commercial.fish.farm'), + ('CA02FH','Fish Hatchery','commercial.fish.hatchery'), + ('CA02FP','Fish Processing','commercial.fish.processing'), + ('CA02OY','Oyster / Mussel Bed','commercial.fish.oysters'), + ('CA03','Horticulture','commercial.horticulture'), + ('CA03SH','Smallholding','commercial.horticulture.smallholding'), + ('CA03VY','Vineyard','commercial.horticulture.vineyard'), + ('CA03WB','Watercress Bed','commercial.horticulture.watercress'), + ('CA04','Slaughter House / Abattoir','commercial.abattoir'), + ('CB','Ancillary Building','commercial.ancilliary'), + ('CC','Community Services','commercial.community'), + ('CC02','Law Court','commercial.community.court'), + ('CC03','Prison','commercial.community.prison'), + ('CC03HD','HM Detention Centre','commercial.community.prison.detention'), + ('CC03PR','HM Prison Service','commercial.community.prison.service'), + ('CC03SC','Secure Residential Accommodation','commercial.community.prison.secureResidential'), + ('CC04','Public / Village Hall / Other Community Facility','commercial.community.hall'), + ('CC04YR','Youth Recreational / Social Club','commercial.community.hall.club'), + ('CC05','Public Convenience','commercial.community.wc'), + ('CC06','Cemetery / Crematorium / Graveyard. In Current Use.','commercial.community.cemetary'), + ('CC06CB','Columbarium','commercial.community.cemetary.columbarium'), + ('CC06CN','Crematorium','commercial.community.cemetary.crematorium'), + ('CC06CR','Chapel Of Rest','commercial.community.cemetary.chapelOfRest'), + ('CC06CY','Cemetery','commercial.community.cemetary.cemetary'), + ('CC06MC','Military Cemetery','commercial.community.cemetary.military'), + ('CC06MY','Mortuary','commercial.community.cemetary.mortuary'), + ('CC07','Church Hall / Religious Meeting Place / Hall','commercial.community.religious'), + ('CC08','Community Service Centre / Office','commercial.community.services'), + ('CC09','Public Household Waste Recycling Centre (HWRC)','commercial.community.HWRC'), + ('CC10','Recycling Site','commercial.community.recycling'), + ('CC11','CCTV','commercial.community.CCTV'), + ('CC12','Job Centre','commercial.community.employment'), + ('CE','Education','commercial.education'), + ('CE01','College','commercial.education.college'), + ('CE01FE','Further Education','commercial.education.college.further'), + ('CE01HE','Higher Education','commercial.education.college.higher'), + ('CE02','Children’s Nursery / Crèche','commercial.education.nursery'), + ('CE03','Preparatory / First / Primary / Infant / Junior / Middle School','commercial.education.school'), + ('CE03FS','First School','commercial.education.school.first'), + ('CE03IS','Infant School','commercial.education.school.infant'), + ('CE03JS','Junior School','commercial.education.school.junior'), + ('CE03MS','Middle School','commercial.education.school.middle'), + ('CE03NP','Non State Primary / Preparatory School','commercial.education.school.primary.private'), + ('CE03PS','Primary School','commercial.education.school.primary.state'), + ('CE04','Secondary / High School','commercial.education.secondarySchool'), + ('CE04NS','Non State Secondary School','commercial.education.secondarySchool.private'), + ('CE04SS','Secondary School','commercial.education.secondarySchool.state'), + ('CE05','University','commercial.education.university'), + ('CE06','Special Needs Establishment.','commercial.education.specialNeeds'), + ('CE07','Other Educational Establishment','commercial.education.other'), + ('CH','Hotel / Motel / Boarding / Guest House','commercial.guest'), + ('CH01','Boarding / Guest House / Bed And Breakfast / Youth Hostel','commercial.guest.hostel'), + ('CH01YH','Youth Hostel','commercial.guest.hostel.youth'), + ('CH02','Holiday Let/Accomodation/Short-Term Let Other Than CH01','commercial.guest.shortLet'), + ('CH03','Hotel/Motel','commercial.guest.hotel'), + ('CI','Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites','commercial.industrial'), + ('CI01','Factory/Manufacturing','commercial.industrial.manufacturing'), + ('CI01AW','Aircraft Works','commercial.industrial.manufacturing.aircraft'), + ('CI01BB','Boat Building','commercial.industrial.manufacturing.boats'), + ('CI01BR','Brick Works','commercial.industrial.manufacturing.bricks'), + ('CI01BW','Brewery','commercial.industrial.manufacturing.beer'), + ('CI01CD','Cider Manufacture','commercial.industrial.manufacturing.cider'), + ('CI01CM','Chemical Works','commercial.industrial.manufacturing.chemicals'), + ('CI01CW','Cement Works','commercial.industrial.manufacturing.cement'), + ('CI01DA','Dairy Processing','commercial.industrial.manufacturing.dairy'), + ('CI01DY','Distillery','commercial.industrial.manufacturing.distillery'), + ('CI01FL','Flour Mill','commercial.industrial.manufacturing.flour'), + ('CI01FO','Food Processing','commercial.industrial.manufacturing.food'), + ('CI01GW','Glassworks','commercial.industrial.manufacturing.glass'), + ('CI01MG','Manufacturing','commercial.industrial.manufacturing.other'), + ('CI01OH','Oast House','commercial.industrial.manufacturing.hops'), + ('CI01OR','Oil Refining','commercial.industrial.manufacturing.oil'), + ('CI01PG','Pottery Manufacturing','commercial.industrial.manufacturing.pottery'), + ('CI01PM','Paper Mill','commercial.industrial.manufacturing.paper'), + ('CI01PW','Printing Works','commercial.industrial.manufacturing.printing'), + ('CI01SR','Sugar Refinery','commercial.industrial.manufacturing.sugar'), + ('CI01SW','Steel Works','commercial.industrial.manufacturing.steel'), + ('CI01TL','Timber Mill','commercial.industrial.manufacturing.timber'), + ('CI01WN','Winery','commercial.industrial.manufacturing.wine'), + ('CI01YD','Shipyard','commercial.industrial.manufacturing.ships'), + ('CI02','Mineral / Ore Working / Quarry / Mine','commercial.industrial.extraction'), + ('CI02MA','Mineral Mining / Active','commercial.industrial.extraction.mining'), + ('CI02MD','Mineral Distribution / Storage','commercial.industrial.extraction.distribution'), + ('CI02MP','Mineral Processing','commercial.industrial.extraction.processing'), + ('CI02OA','Oil / Gas Extraction / Active','commercial.industrial.extraction.oilGas'), + ('CI02QA','Mineral Quarrying / Open Extraction / Active','commercial.industrial.extraction.quarrying'), + ('CI03','Workshop / Light Industrial','commercial.industrial.light'), + ('CI03GA','Servicing Garage','commercial.industrial.light.garage'), + ('CI04','Warehouse / Store / Storage Depot','commercial.industrial.light.storage'), + ('CI04CS','Crop Handling / Storage','commercial.industrial.light.storage.crops'), + ('CI04PL','Postal Sorting / Distribution','commercial.industrial.light.storage.post'), + ('CI04SO','Solid Fuel Storage','commercial.industrial.light.storage.solidFuel'), + ('CI04TS','Timber Storage','commercial.industrial.light.storage.timber'), + ('CI05','Wholesale Distribution','commercial.industrial.distribution'), + ('CI05SF','Solid Fuel Distribution','commercial.industrial.distribution.solidFueld'), + ('CI05TD','Timber Distribution','commercial.industrial.distribution.timber'), + ('CI06','Recycling Plant','commercial.industrial.recycling'), + ('CI07','Incinerator / Waste Transfer Station','commercial.industrial.incineration'), + ('CI08','Maintenance Depot','commercial.industrial.maintenanceDepot'), + ('CL','Leisure - Applicable to recreational sites and enterprises','commercial.leisure'), + ('CL01','Amusements','commercial.leisure.amusements'), + ('CL01LP','Leisure Pier','commercial.leisure.amusements.pier'), + ('CL02','Holiday / Campsite','commercial.leisure.holiday'), + ('CL02CG','Camping','commercial.leisure.holiday.camping'), + ('CL02CV','Caravanning','commercial.leisure.holiday.caravanning'), + ('CL02HA','Holiday Accommodation','commercial.leisure.holiday.accommodation'), + ('CL02HO','Holiday Centre','commercial.leisure.holiday.centre'), + ('CL02YC','Youth Organisation Camp','commercial.leisure.holiday.youth'), + ('CL03','Library','commercial.leisure.library'), + ('CL03RR','Reading Room','commercial.leisure.library.readingRoom'), + ('CL04','Museum / Gallery','commercial.leisure.museum'), + ('CL04AC','Art Centre / Gallery','commercial.leisure.museum.art'), + ('CL04AM','Aviation Museum','commercial.leisure.museum.aviation'), + ('CL04HG','Heritage Centre','commercial.leisure.museum.heritage'), + ('CL04IM','Industrial Museum','commercial.leisure.museum.industrial'), + ('CL04MM','Military Museum','commercial.leisure.museum.military'), + ('CL04NM','Maritime Museum','commercial.leisure.museum.maritime'), + ('CL04SM','Science Museum','commercial.leisure.museum.science'), + ('CL04TM','Transport Museum','commercial.leisure.museum.transport'), + ('CL06','Indoor / Outdoor Leisure / Sporting Activity / Centre','commercial.leisure.sport'), + ('CL06AH','Athletics Facility','commercial.leisure.sport.athletics'), + ('CL06BF','Bowls Facility','commercial.leisure.sport.bowls'), + ('CL06CK','Cricket Facility','commercial.leisure.sport.cricket'), + ('CL06CU','Curling Facility','commercial.leisure.sport.curling'), + ('CL06DS','Diving / Swimming Facility','commercial.leisure.sport.swimming'), + ('CL06EQ','Equestrian Sports Facility','commercial.leisure.sport.equestrian'), + ('CL06FB','Football Facility','commercial.leisure.sport.football'), + ('CL06FI','Fishing / Angling Facility','commercial.leisure.sport.fishing'), + ('CL06GF','Golf Facility','commercial.leisure.sport.golf'), + ('CL06GL','Gliding Facility','commercial.leisure.sport.gliding'), + ('CL06GR','Greyhound Racing Facility','commercial.leisure.sport.dogracing'), + ('CL06HF','Hockey Facility','commercial.leisure.sport.hockey'), + ('CL06HR','Horse Racing Facility','commercial.leisure.sport.horseracing'), + ('CL06HV','Historic Vessel / Aircraft / Vehicle','commercial.leisure.sport.historicVehicles'), + ('CL06LS','Activity / Leisure / Sports Centre','commercial.leisure.sport.centre'), + ('CL06ME','Model Sports Facility','commercial.leisure.sport.model'), + ('CL06MF','Motor Sports Facility','commercial.leisure.sport.motor'), + ('CL06PF','Playing Field','commercial.leisure.sport.playingField'), + ('CL06QS','Racquet Sports Facility','commercial.leisure.sport.racquet'), + ('CL06RF','Rugby Facility','commercial.leisure.sport.rugby'), + ('CL06RG','Recreation Ground','commercial.leisure.sport.recreationGround'), + ('CL06SI','Shinty Facility','commercial.leisure.sport.shinty'), + ('CL06SK','Skateboarding Facility','commercial.leisure.sport.skateboarding'), + ('CL06SX','Civilian Firing Facility','commercial.leisure.sport.firing'), + ('CL06TB','Tenpin Bowling Facility','commercial.leisure.sport.tenpin'), + ('CL06TN','Public Tennis Court','commercial.leisure.sport.tennis'), + ('CL06WA','Water Sports Facility','commercial.leisure.sport.water'), + ('CL06WP','Winter Sports Facility','commercial.leisure.sport.winter'), + ('CL06WY','Wildlife Sports Facility','commercial.leisure.sport.wildlife'), + ('CL06YF','Cycling Sports Facility','commercial.leisure.sport.cycling'), + ('CL07','Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall','commercial.leisure.entertainment'), + ('CL07CI','Cinema','commercial.leisure.entertainment.cinema'), + ('CL07EN','Entertainment Complex','commercial.leisure.entertainment.mixed'), + ('CL07EX','Conference / Exhibition Centre','commercial.leisure.entertainment.exhibition'), + ('CL07TH','Theatre','commercial.leisure.entertainment.theatre'), + ('CL08','Zoo / Theme Park','commercial.leisure.park.zoo'), + ('CL08AK','Amusement Park','commercial.leisure.park.amusement'), + ('CL08AQ','Aquatic Attraction','commercial.leisure.park.aquatic'), + ('CL08MX','Model Village Site','commercial.leisure.park.model'), + ('CL08WZ','Wildlife / Zoological Park','commercial.leisure.park.wildlife'), + ('CL09','Beach Hut (Recreational, Non-Residential Use Only)','commercial.leisure.beachHut'), + ('CL10','Licensed Private Members’ Club','commercial.leisure.club.private'), + ('CL10RE','Recreational / Social Club','commercial.leisure.club.social'), + ('CL11','Arena / Stadium','commercial.leisure.arena'), + ('CL11SD','Stadium','commercial.leisure.arena.stadium'), + ('CL11SJ','Showground','commercial.leisure.arena.showground'), + ('CM','Medical','commercial.medical'), + ('CM01','Dentist','commercial.medical.dentist'), + ('CM02','General Practice Surgery / Clinic','commercial.medical.GP'), + ('CM02HC','Health Centre','commercial.medical.healthCentre'), + ('CM02HL','Health Care Services','commercial.medical.healthServices'), + ('CM03','Hospital / Hospice','commercial.medical.care'), + ('CM03HI','Care home/Hospice','commercial.medical.care.home'), + ('CM03HP','Hospital','commercial.medical.care.hospital'), + ('CM04','Medical / Testing / Research Laboratory','commercial.medical.lab'), + ('CM05','Professional Medical Service','commercial.medical.professional'), + ('CM05ZS','Assessment / Development Services','commercial.medical.assessment'), + ('CN','Animal Centre','commercial.animals'), + ('CN01','Cattery / Kennel','commercial.animals.kennelsCattery'), + ('CN02','Animal Services','commercial.animals.services'), + ('CN02AX','Animal Quarantining','commercial.animals.services.quarantine'), + ('CN03','Equestrian','commercial.animals.equestrian'), + ('CN03HB','Horse Racing / Breeding Stable','commercial.animals.equestrian.racing'), + ('CN03SB','Commercial Stabling / Riding','commercial.animals.equestrian.riding'), + ('CN04','Vet / Animal Medical Treatment','commercial.animals.vet'), + ('CN05','Animal / Bird / Marine Sanctuary','commercial.animals.sanctuary'), + ('CN05AN','Animal Sanctuary','commercial.animals.sanctuary.animals'), + ('CN05MR','Marine Sanctuary','commercial.animals.sanctuary.marine'), + ('CO','Office','commercial.office'), + ('CO01','Office / Work Studio','commercial.office.workspace'), + ('CO01EM','Embassy /, High Commission / Consulate','commercial.office.workspace.embassy'), + ('CO01FM','Film Studio','commercial.office.workspace.film'), + ('CO01GV','Central Government Service','commercial.office.workspace.gov.national'), + ('CO01LG','Local Government Service','commercial.office.workspace.gov.local'), + ('CO02','Broadcasting (TV / Radio)','commercial.office.broadcasting'), + ('CR','Retail','commercial.retail'), + ('CR01','Bank / Financial Service','commercial.retail.financial'), + ('CR02','Retail Service Agent','commercial.retail.services'), + ('CR02PO','Post Office','commercial.retail.post'), + ('CR04','Market (Indoor / Outdoor)','commercial.retail.market'), + ('CR04FK','Fish Market','commercial.retail.market.fish'), + ('CR04FV','Fruit / Vegetable Market','commercial.retail.market.fruit'), + ('CR04LV','Livestock Market','commercial.retail.market.livestock'), + ('CR05','Petrol Filling Station','commercial.retail.fuel'), + ('CR06','Public House / Bar / Nightclub','commercial.retail.drinking'), + ('CR07','Restaurant / Cafeteria','commercial.retail.restaurant'), + ('CR08','Shop / Showroom','commercial.retail.showroom'), + ('CR08 ','Shop','commercial.retail.shop'), + ('CR08GC','Garden Centre','commercial.retail.shop.gardenCentre'), + ('CR09','Other Licensed Premise / Vendor','commercial.retail.licensedPremises'), + ('CR10','Fast Food Outlet / Takeaway (Hot / Cold)','commercial.retail.takeaway'), + ('CR11','Automated Teller Machine (ATM)','commercial.retail.atm'), + ('CS','Storage Land','commercial.storageLand'), + ('CS01','General Storage Land','commercial.storageLand.general'), + ('CS02','Builders’ Yard','commercial.storageLand.building'), + ('CT','Transport','commercial.transport'), + ('CT01','Airfield / Airstrip / Airport / Air Transport Infrastructure Facility','commercial.transport.air'), + ('CT01AF','Airfield','commercial.transport.air.airfield'), + ('CT01AI','Air Transport Infrastructure Services','commercial.transport.air.infrastructure'), + ('CT01AP','Airport','commercial.transport.air.airport'), + ('CT01AY','Air Passenger Terminal','commercial.transport.air.passengerTerminal'), + ('CT01HS','Helicopter Station','commercial.transport.air.helicopterStation'), + ('CT01HT','Heliport / Helipad','commercial.transport.air.heliport'), + ('CT02','Bus Shelter','commercial.transport.bus'), + ('CT03','Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site','commercial.transport.parking'), + ('CT03PK','Public Park And Ride','commercial.transport.parking.parkAndRide'), + ('CT03PP','Public Car Parking','commercial.transport.parking.car'), + ('CT03PU','Public Coach Parking','commercial.transport.parking.coach'), + ('CT03VP','Public Commercial Vehicle Parking','commercial.transport.parking.commercialVehicle'), + ('CT04','Goods Freight Handling / Terminal','commercial.transport.freight'), + ('CT04AE','Air Freight Terminal','commercial.transport.freight.air'), + ('CT04CF','Container Freight','commercial.transport.freight.container'), + ('CT04RH','Road Freight Transport','commercial.transport.freight.road'), + ('CT04RT','Rail Freight Transport','commercial.transport.freight.rail'), + ('CT05','Marina','commercial.transport.marina'), + ('CT06','Mooring','commercial.transport.mooring'), + ('CT07','Railway Asset','commercial.transport.railAsset'), + ('CT08','Station / Interchange / Terminal / Halt','commercial.transport.terminal'), + ('CT08BC','Bus station','commercial.transport.terminal.bus'), + ('CT08RS','Train station','commercial.transport.terminal.train'), + ('CT08VH','Vehicular Rail Terminal','commercial.transport.terminal.vehicularRail'), + ('CT09','Transport Track / Way','commercial.transport.track'), + ('CT09CL','Cliff Railway','commercial.transport.track.cliff'), + ('CT09CX','Chair Lift / Cable Car / Ski Tow','commercial.transport.track.cable'), + ('CT09MO','Monorail','commercial.transport.track.monorail'), + ('CT10','Vehicle Storage','commercial.transport.storage'), + ('CT10BG','Boat Storage','commercial.transport.storage.boat'), + ('CT10BU','Bus / Coach Depot','commercial.transport.storage.bus'), + ('CT11','Transport Related Infrastructure','commercial.transport.infrastructure'), + ('CT11AD','Aqueduct','commercial.transport.infrastructure.aqueduct'), + ('CT11LK','Lock','commercial.transport.infrastructure.lock'), + ('CT11WE','Weir','commercial.transport.infrastructure.weir'), + ('CT11WG','Weighbridge / Load Gauge','commercial.transport.infrastructure.weighing'), + ('CT12','Overnight Lorry Park','commercial.transport.overnightLorryPark'), + ('CT13','Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay','commercial.transport.dock'), + ('CT13FR','Passenger Ferry Terminal','commercial.transport.dock.ferry.passengers'), + ('CT13NB','Non-Tanker Nautical Berthing','commercial.transport.dock.generalBerth'), + ('CT13NF','Nautical Refuelling Facility','commercial.transport.dock.refuelling'), + ('CT13SA','Slipway','commercial.transport.dock.slipway'), + ('CT13SP','Ship Passenger Terminal','commercial.transport.dock.passenger'), + ('CT13TK','Tanker Berthing','commercial.transport.dock.tankerBerth'), + ('CT13VF','Vehicular Ferry Terminal','commercial.transport.dock.ferry.vehicles'), + ('CU','Utility','commercial.utility'), + ('CU01','Electricity Sub-Station','commercial.utility.SubStation'), + ('CU02','Landfill','commercial.utility.landfill'), + ('CU03','Power Station / Energy Production','commercial.utility.electricity'), + ('CU03ED','Electricity Distribution Facility','commercial.utility.electricity.distribution'), + ('CU03EP','Electricity Production Facility','commercial.utility.electricity.production'), + ('CU03WF','Wind Farm','commercial.utility.electricity.windFarm'), + ('CU03WU','Wind Turbine','commercial.utility.electricity.windTurbine'), + ('CU04','Pump House / Pumping Station / Water Tower','commercial.utility.water'), + ('CU04WC','Water Controlling / Pumping','commercial.utility.water.pump.control'), + ('CU04WD','Water Distribution / Pumping','commercial.utility.water.pump.distribution'), + ('CU04WM','Water Quality Monitoring','commercial.utility.water.qualityMonitoring'), + ('CU04WS','Water Storage','commercial.utility.water.storage'), + ('CU04WW','Waste Water Distribution / Pumping','commercial.utility.water.waste'), + ('CU06','Telecommunication','commercial.utility.telecoms'), + ('CU06TE','Telecommunications Mast','commercial.utility.telecoms.mast'), + ('CU06TX','Telephone Exchange','commercial.utility.telecoms.exhange'), + ('CU07','Water / Waste Water / Sewage Treatment Works','commercial.utility.waterTreatment'), + ('CU07WR','Waste Water Treatment','commercial.utility.waterTreatment.waste'), + ('CU07WT','Water Treatment','commercial.utility.waterTreatment.water'), + ('CU08','Gas / Oil Storage / Distribution','commercial.utility.oilGas'), + ('CU08GG','Gas Governor','commercial.utility.oilGas.gasGovernor'), + ('CU08GH','Gas Holder','commercial.utility.oilGas.gasHolder'), + ('CU08OT','Oil Terminal','commercial.utility.oilGas.oilTerminal'), + ('CU09','Other Utility Use','commercial.utility.other'), + ('CU09CQ','Cable Terminal Station','commercial.utility.other.cableTerminal'), + ('CU09OV','Observatory','commercial.utility.other.observatory'), + ('CU09RA','Radar Station','commercial.utility.other.radar'), + ('CU09SE','Satellite Earth Station','commercial.utility.other.satelliteEarth'), + ('CU10','Waste Management','commercial.utility.wasteManagement'), + ('CU11','Telephone Box','commercial.utility.publicPhone.box'), + ('CU11OP','Other Public Telephones','commercial.utility.publicPhone.other'), + ('CU12','Dam','commercial.utility.dam'), + ('CX','Emergency / Rescue Service','commercial.emergency'), + ('OA02NL','Nautical Navigation Beacon / Light','other.navigation.nautical.beacon'), + ('OA03','Aid To Road Navigation','other.navigation.road'), + ('OA03GP','Guide Post','other.navigation.guidePost'), + ('OC','Coastal Protection / Flood Prevention','other.coastal'), + ('OC01','Boulder Wall / Sea Wall','other.coastal.wall'), + ('OC02','Flood Gate / Flood Sluice Gate / Flood Valve','other.coastal.floodGate'), + ('OC03','Groyne','other.coastal.groyne'), + ('OC04','Rip-Rap','other.coastal.ripRap'), + ('OE','Emergency Support','other.emergency'), + ('OE01','Beach Office / First Aid Facility','other.emergency.firstAid'), + ('OE02','Emergency Telephone (Non Motorway)','other.emergency.telephone'), + ('OE03','Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility','other.emergency.fire'), + ('OE04','Emergency Equipment Point / Emergency Siren / Warning Flag','other.emergency.warning'), + ('OE05','Lifeguard Facility','other.emergency.lifeguard'), + ('OE06','LIfe / Belt / Buoy / Float / Jacket / Safety Rope','other.emergency.floatAids'), + ('OF','Street Furniture','other.streetFurniture'), + ('OG','Agricultural Support Objects','other.agriculture'), + ('OG01','Fish Ladder / Lock / Pen / Trap','other.agriculture.fishPen'), + ('OG02','Livestock Pen / Dip','other.agriculture.livestockPen'), + ('OG03','Currick','other.agriculture.currick'), + ('OG04','Slurry Bed / Pit','other.agriculture.slurry'), + ('OH','Historical Site / Object','other.historic'), + ('OH01','Historic Structure / Object','other.historic.structure'), + ('OI','Industrial Support','other.industrial'), + ('OI01','Adit / Incline / Level','other.industrial.aditIncline'), + ('OI02','Caisson / Dry Dock / Grid','other.industrial.caissonDock'), + ('OI03','Channel / Conveyor / Conduit / Pipe','other.industrial.channel'), + ('OI04','Chimney / Flue','other.industrial.chimney'), + ('OI05','Crane / Hoist / Winch / Material Elevator','other.industrial.crane'), + ('OI06','Flare Stack','other.industrial.flareStack'), + ('OI07','Hopper / Silo / Cistern / Tank','other.industrial.siloTank'), + ('OI08','Grab / Skip / Other Industrial Waste Machinery / Discharging','other.industrial.discharge'), + ('OI09','Kiln / Oven / Smelter','other.industrial.kiln'), + ('OI10','Manhole / Shaft','other.industrial.manholeShaft'), + ('OI11','Industrial Overflow / Sluice / Valve / Valve Housing','other.industrial.overflowSluiceValve'), + ('OI12','Cooling Tower','other.industrial.coolingTower'), + ('OI13','Solar Panel / Waterwheel','other.industrial.solarPanel'), + ('OI14','Telephone Pole / Post','other.industrial.pylon.telecom'), + ('OI15','Electricity Distribution Pole / Pylon','other.industrial.pylon.electricity'), + ('ON','Significant Natural Object','other.natural'), + ('ON01','Boundary / Significant / Historic Tree / Pollard','other.natural.tree'), + ('ON02','Boundary / Significant Rock / Boulder','other.natural.rock'), + ('ON03','Natural Hole (Blow / Shake / Swallow)','other.natural.hole'), + ('OO','Ornamental / Cultural Object','other.ornamental'), + ('OO02','Mausoleum / Tomb / Grave','other.ornamental.tomb'), + ('OO03','Simple Ornamental Object','other.ornamental.object'), + ('OO04','Maze','other.ornamental.maze'), + ('OP','Sport / Leisure Support','other.leisure'), + ('OP01','Butt / Hide','other.leisure.hide'), + ('OP02','Gallop / Ride','other.leisure.gallop'), + ('OP03','Miniature Railway','other.leisure.modelRailway'), + ('OR','Royal Mail Infrastructure','other.mail'), + ('OR01','Postal Box','other.mail.postBox'), + ('OR02','Postal Delivery Box / Pouch','other.mail.deliveryBox'), + ('OR03','PO Box','other.mail.POBox'), + ('OR04','Additional Mail / Packet Addressee','other.mail.additionalAddressee'), + ('OS','Scientific / Observation Support','other.scientific'), + ('OS01','Meteorological Station / Equipment','other.scientific.meteo'), + ('OS02','Radar / Satellite Infrastructure','other.scientific.radarSatellite'), + ('OS03','Telescope / Observation Infrastructure / Astronomy','other.scientific.astronomy'), + ('OT','Transport Support','other.transport'), + ('OT01','Cattle Grid / Ford','other.transport.cattleGridFord'), + ('OT02','Elevator / Escalator / Steps','other.transport.stepsLiftEscalator'), + ('OT03','Footbridge / Walkway','other.transport.bridge'), + ('OT04','Pole / Post / Bollard (Restricting Vehicular Access)','other.transport.post'), + ('OT05','Subway / Underpass','other.transport.subway'), + ('OT06','Customs Inspection Facility','other.transport.customs'), + ('OT07','Lay-By','other.transport.layby'), + ('OT08','Level Crossing','other.transport.rail.crossing.vehicles'), + ('OT09','Mail Pick Up','other.transport.mailPickUp'), + ('OT10','Railway Pedestrian Crossing','other.transport.rail.crossing.pedestrian'), + ('OT11','Railway Buffer','other.transport.rail.buffer'), + ('OT12','Rail Drag','other.transport.rail.drag'), + ('OT13','Rail Infrastructure Services','other.transport.rail.infrastructure'), + ('OT14','Rail Kilometre Distance Marker','other.transport.rail.marker.km'), + ('OT15','Railway Lighting','other.transport.rail.lighting'), + ('OT16','Rail Mile Distance Marker','other.transport.rail.market.mile'), + ('OT17','Railway Turntable','other.transport.rail.turntable'), + ('OT18','Rail Weighbridge','other.transport.rail.weighbridge'), + ('OT19','Rail Signalling','other.transport.rail.signals'), + ('OT20','Railway Traverse','other.transport.rail.traverse'), + ('OT21','Goods Tramway','other.transport.goodsTramway'), + ('OT22','Road Drag','other.transport.road.drag'), + ('OT23','Vehicle Dip','other.transport.road.vehicleDip'), + ('OT24','Road Turntable','other.transport.road.turntable'), + ('OT25','Road Mile Distance Marker','other.transport.road.marker.mile'), + ('OT26','Road Kilometre Distance Marker','other.transport.road.market.km'), + ('OT27','Road Infrastructure Services','other.transport.road.infrastructure'), + ('OU','Unsupported Site','other.unsupported'), + ('OU01','Cycle Parking Facility','other.unsupported.cycleParking'), + ('OU04','Picnic / Barbeque Site','other.unsupported.picnic'), + ('OU05','Travelling Persons Site','other.unsupported.travellingPersons'), + ('OU08','Shelter (Not Including Bus Shelter)','other.unsupported.shelter'), + ('PS','Street Record','parent.street'), + ('R','Residential','residential'), + ('RB','Ancillary Building','residential.building'), + ('RC','Car Park Space','residential.carParkingSpace'), + ('RC01','Allocated Parking','residential.carParkingSpace.allocated'), + ('RD','Residential dwelling','residential.dwelling'), + ('RD01','Caravan','residential.dwelling.caravan'), + ('RD02','Detached','residential.dwelling.house.detached'), + ('RD03','Semi-detached','residential.dwelling.house.semiDetached'), + ('RD04','Terrace','residential.dwelling.house.terrace'), + ('RD06','Flat','residential.dwelling.flat'), + ('RD07','House Boat','residential.dwelling.boat'), + ('RD08','Sheltered Accommodation','residential.dwelling.shelteredAccommodation'), + ('RD10','Privately Owned Holiday Caravan / Chalet','residential.dwelling.holiday'), + ('RG','Garage','residential.garage'), + ('RG02','Lock-Up Garage / Garage Court','residential.garage'), + ('RH','House In Multiple Occupation','residential.HMO'), + ('RH01','HMO Parent','residential.HMO.parent'), + ('RH02','HMO Bedsit / Other Non Self Contained Accommodation','residential.HMO.bedsit'), + ('RH03','HMO Not Further Divided','residential.HMO.undivided'), + ('RI','Residential Institution','residential.institution'), + ('RI01','Care / Nursing Home','residential.institution.care'), + ('RI02','Communal Residence','residential.institution.communal'), + ('RI02NC','Non-Commercial Lodgings','residential.institution.noncommercial'), + ('RI02RC','Religious Community','residential.institution.religious'), + ('RI03','Residential Education','residential.institution.education'), + ('U','Unclassified','unclassified'), + ('UC','Awaiting Classification','unclassified.awaitingclassification'), + ('UP','Pending Internal Investigation','unclassified.pendingInvestigation'), + ('X','Dual Use','dualUse'), + ('Z','Object of Interest','object'), + ('ZA','Archaeological Dig Site','object.archaeological'), + ('ZM','Monument','object.monument'), + ('ZM01','Obelisk / Milestone / Standing Stone','object.monument.vertical'), + ('ZM01OB','Obelisk','object.monument.vertical.obelisk'), + ('ZM01ST','Standing Stone','object.monument.vertical.standingStone'), + ('ZM02','Memorial / Market Cross','object.monument.memorial'), + ('ZM03','Statue','object.monument.statue'), + ('ZM04','Castle / Historic Ruin','object.monument.ruin'), + ('ZM05','Other Structure','object.monument.other'), + ('ZM05BS','Boundary Stone','object.monument.other.boundaryStone'), + ('ZM05CE','Cascade / Fountain','object.monument.other.waterFeature'), + ('ZM05PN','Permanent Art Display / Sculpture','object.monument.other.art'), + ('ZM05WI','Windmill (Inactive)','object.monument.other.windmill'), + ('ZS','Stately Home','object.statelyHome'), + ('ZU','Underground Feature','object.underground'), + ('ZU01','Cave','object.underground.cave'), + ('ZU04','Pothole / Natural Hole','object.underground.hole'), + ('ZV','Other Underground Feature','object.underground.other'), + ('ZV01','Cellar','object.underground.other.cellar'), + ('ZV02','Disused Mine','object.underground.other.extraction'), + ('ZV02MI','Mineral Mining / Inactive','object.underground.other.extraction.mine'), + ('ZV02OI','Oil And / Gas Extraction/ Inactive','object.underground.other.extraction.oilGas'), + ('ZV02QI','Mineral Quarrying And / Open Extraction / Inactive','object.underground.other.extraction.quarry'), + ('ZV03','Well / Spring','object.underground.other.water'), + ('ZV03SG','Spring','object.underground.other.water.spring'), + ('ZV03WL','Well','object.underground.other.water.well'), + ('ZW','Place Of Worship','object.religious'), + ('ZW99','Religious building','object.religious.building'), + ('ZW99AB','Abbey','object.religious.building.abbey'), + ('ZW99CA','Cathedral','object.religious.building.cathedral'), + ('ZW99CH','Church','object.religious.building.church'), + ('ZW99CP','Chapel','object.religious.building.chapel'), + ('ZW99GU','Gurdwara','object.religious.building.gurdwara'), + ('ZW99KH','Kingdom Hall','object.religious.building.kingdomHall'), + ('ZW99LG','Lych Gate','object.religious.building.lychGate'), + ('ZW99MQ','Mosque','object.religious.building.mosque'), + ('ZW99MT','Minster','object.religious.building.minster'), + ('ZW99SU','Stupa','object.religious.building.stupa'), + ('ZW99SY','Synagogue','object.religious.building.synagogue'), + ('ZW99TP','Temple','object.religious.building.temple'), + ('P','Parent Shell',null), + ('PP','Property Shell',null); diff --git a/hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/up.sql b/hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/up.sql new file mode 100644 index 0000000000..374641a390 --- /dev/null +++ b/hasura.planx.uk/migrations/1721047343459_update_blpu_codes_values/up.sql @@ -0,0 +1,468 @@ +TRUNCATE table "public"."blpu_codes"; +INSERT INTO "public"."blpu_codes" (code, description, value) VALUES + ('C','Commercial','commercial'), + ('CA','Agricultural','commercial.agriculture'), + ('CA01','Farm / Non-Residential Agricultural Development','commercial.agriculture.farm'), + ('CA02','Fishery','commercial.agriculture.fish'), + ('CA02FF','Fish Farming','commercial.agriculture.fish.farm'), + ('CA02FH','Fish Hatchery','commercial.agriculture.fish.hatchery'), + ('CA02FP','Fish Processing','commercial.agriculture.fish.processing'), + ('CA02OY','Oyster / Mussel Bed','commercial.agriculture.fish.oysters'), + ('CA03','Horticulture','commercial.horticulture'), + ('CA03SH','Smallholding','commercial.horticulture.smallholding'), + ('CA03VY','Vineyard','commercial.horticulture.vineyard'), + ('CA03WB','Watercress Bed','commercial.horticulture.watercress'), + ('CA04','Slaughter House / Abattoir','commercial.abattoir'), + ('CB','Commercial Ancillary Development','commercial.ancilliary'), + ('CC','Community Services','commercial.community'), + ('CC02','Law Court','commercial.community.court'), + ('CC03','Prison','commercial.community.prison'), + ('CC03HD','HM Detention Centre','commercial.community.prison.detention'), + ('CC03PR','HM Prison Service','commercial.community.prison.service'), + ('CC03SC','Secure Residential Accommodation','commercial.community.prison.secureResidential'), + ('CC04','Public / Village Hall / Other Community Facility','commercial.community.hall'), + ('CC04YR','Youth Recreational / Social Club','commercial.community.hall.club'), + ('CC05','Public Convenience','commercial.community.wc'), + ('CC06','Cemetery / Crematorium / Graveyard. In Current Use.','commercial.community.cemetary'), + ('CC06CB','Columbarium','commercial.community.cemetary.columbarium'), + ('CC06CN','Crematorium','commercial.community.cemetary.crematorium'), + ('CC06CR','Chapel Of Rest','commercial.community.cemetary.chapelOfRest'), + ('CC06CY','Cemetery','commercial.community.cemetary.cemetary'), + ('CC06MC','Military Cemetery','commercial.community.cemetary.military'), + ('CC06MY','Mortuary','commercial.community.cemetary.mortuary'), + ('CC07','Church Hall / Religious Meeting Place / Religious Hall','commercial.community.religious'), + ('CC08','Community Service Centre / Office','commercial.community.services'), + ('CC09','Public Household Waste Recycling Centre (HWRC)','commercial.community.HWRC'), + ('CC10','Recycling Site','commercial.community.recycling'), + ('CC11','CCTV','commercial.community.CCTV'), + ('CC12','Job Centre','commercial.community.employment'), + ('CE','Education','commercial.education'), + ('CE01','College','commercial.education.college'), + ('CE01FE','Further Education','commercial.education.college.further'), + ('CE01HE','Higher Education','commercial.education.college.higher'), + ('CE02','Children’s Nursery / Crèche','commercial.education.nursery'), + ('CE03','Preparatory / First / Primary / Infant / Junior / Middle School','commercial.education.school'), + ('CE03FS','First School','commercial.education.school.first'), + ('CE03IS','Infant School','commercial.education.school.infant'), + ('CE03JS','Junior School','commercial.education.school.junior'), + ('CE03MS','Middle School','commercial.education.school.middle'), + ('CE03NP','Non State Primary / Preparatory School','commercial.education.school.primary.private'), + ('CE03PS','Primary School','commercial.education.school.primary.state'), + ('CE04','Secondary / High School','commercial.education.secondarySchool'), + ('CE04NS','Non State Secondary School','commercial.education.secondarySchool.private'), + ('CE04SS','Secondary School','commercial.education.secondarySchool.state'), + ('CE05','University','commercial.education.university'), + ('CE06','Special Needs Establishment.','commercial.education.specialNeeds'), + ('CE07','Other Educational Establishment','commercial.education.other'), + ('CH','Hotel / Motel / Boarding / Guest House','commercial.guest'), + ('CH01','Boarding House / Guest House / Bed And Breakfast / Youth Hostel','commercial.guest.hostel'), + ('CH01YH','Youth Hostel','commercial.guest.hostel.youth'), + ('CH02','Holiday Let / Accomodation / Short-Term Let','commercial.guest.shortLet'), + ('CH03','Hotel / Motel','commercial.guest.hotel'), + ('CI','Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites','commercial.industrial'), + ('CI01','Factory/Manufacturing','commercial.industrial.manufacturing'), + ('CI01AW','Aircraft Works','commercial.industrial.manufacturing.aircraft'), + ('CI01BB','Boat Building','commercial.industrial.manufacturing.boats'), + ('CI01BR','Brick Works','commercial.industrial.manufacturing.bricks'), + ('CI01BW','Brewery','commercial.industrial.manufacturing.beer'), + ('CI01CD','Cider Manufacture','commercial.industrial.manufacturing.cider'), + ('CI01CM','Chemical Works','commercial.industrial.manufacturing.chemicals'), + ('CI01CW','Cement Works','commercial.industrial.manufacturing.cement'), + ('CI01DA','Dairy Processing','commercial.industrial.manufacturing.dairy'), + ('CI01DY','Distillery','commercial.industrial.manufacturing.distillery'), + ('CI01FL','Flour Mill','commercial.industrial.manufacturing.flour'), + ('CI01FO','Food Processing','commercial.industrial.manufacturing.food'), + ('CI01GW','Glassworks','commercial.industrial.manufacturing.glass'), + ('CI01MG','Manufacturing','commercial.industrial.manufacturing.other'), + ('CI01OH','Oast House','commercial.industrial.manufacturing.hops'), + ('CI01OR','Oil Refining','commercial.industrial.manufacturing.oil'), + ('CI01PG','Pottery Manufacturing','commercial.industrial.manufacturing.pottery'), + ('CI01PM','Paper Mill','commercial.industrial.manufacturing.paper'), + ('CI01PW','Printing Works','commercial.industrial.manufacturing.printing'), + ('CI01SR','Sugar Refinery','commercial.industrial.manufacturing.sugar'), + ('CI01SW','Steel Works','commercial.industrial.manufacturing.steel'), + ('CI01TL','Timber Mill','commercial.industrial.manufacturing.timber'), + ('CI01WN','Winery','commercial.industrial.manufacturing.wine'), + ('CI01YD','Shipyard','commercial.industrial.manufacturing.ships'), + ('CI02','Mineral / Ore Working / Quarry / Mine','commercial.industrial.extraction'), + ('CI02MA','Mineral Mining / Active','commercial.industrial.extraction.mining'), + ('CI02MD','Mineral Distribution / Storage','commercial.industrial.extraction.distribution'), + ('CI02MP','Mineral Processing','commercial.industrial.extraction.processing'), + ('CI02OA','Oil / Gas Extraction / Active','commercial.industrial.extraction.oilGas'), + ('CI02QA','Mineral Quarrying / Open Extraction / Active','commercial.industrial.extraction.quarrying'), + ('CI03','Workshop / Light Industrial','commercial.industrial.light'), + ('CI03GA','Servicing Garage','commercial.industrial.light.garage'), + ('CI04','Warehouse / Store / Storage Depot','commercial.industrial.light.storage'), + ('CI04CS','Crop Handling / Storage','commercial.industrial.light.storage.crops'), + ('CI04PL','Postal Sorting / Distribution','commercial.industrial.light.storage.post'), + ('CI04SO','Solid Fuel Storage','commercial.industrial.light.storage.solidFuel'), + ('CI04TS','Timber Storage','commercial.industrial.light.storage.timber'), + ('CI05','Wholesale Distribution','commercial.industrial.distribution'), + ('CI05SF','Solid Fuel Distribution','commercial.industrial.distribution.solidFueld'), + ('CI05TD','Timber Distribution','commercial.industrial.distribution.timber'), + ('CI06','Recycling Plant','commercial.industrial.recycling'), + ('CI07','Incinerator / Waste Transfer Station','commercial.industrial.incineration'), + ('CI08','Maintenance Depot','commercial.industrial.maintenanceDepot'), + ('CL','Leisure - Applicable to recreational sites and enterprises','commercial.leisure'), + ('CL01','Amusements','commercial.leisure.amusements'), + ('CL01LP','Leisure Pier','commercial.leisure.amusements.pier'), + ('CL02','Holiday / Campsite','commercial.leisure.holiday'), + ('CL02CG','Camping','commercial.leisure.holiday.camping'), + ('CL02CV','Caravanning','commercial.leisure.holiday.caravanning'), + ('CL02HA','Holiday Accommodation','commercial.leisure.holiday.accommodation'), + ('CL02HO','Holiday Centre','commercial.leisure.holiday.centre'), + ('CL02YC','Youth Organisation Camp','commercial.leisure.holiday.youth'), + ('CL03','Library','commercial.leisure.library'), + ('CL03RR','Reading Room','commercial.leisure.library.readingRoom'), + ('CL04','Museum / Gallery','commercial.leisure.museum'), + ('CL04AC','Art Centre / Gallery','commercial.leisure.museum.art'), + ('CL04AM','Aviation Museum','commercial.leisure.museum.aviation'), + ('CL04HG','Heritage Centre','commercial.leisure.museum.heritage'), + ('CL04IM','Industrial Museum','commercial.leisure.museum.industrial'), + ('CL04MM','Military Museum','commercial.leisure.museum.military'), + ('CL04NM','Maritime Museum','commercial.leisure.museum.maritime'), + ('CL04SM','Science Museum','commercial.leisure.museum.science'), + ('CL04TM','Transport Museum','commercial.leisure.museum.transport'), + ('CL06','Indoor / Outdoor Leisure / Sporting Activity / Centre','commercial.leisure.sport'), + ('CL06AH','Athletics Facility','commercial.leisure.sport.athletics'), + ('CL06BF','Bowls Facility','commercial.leisure.sport.bowls'), + ('CL06CK','Cricket Facility','commercial.leisure.sport.cricket'), + ('CL06CU','Curling Facility','commercial.leisure.sport.curling'), + ('CL06DS','Diving / Swimming Facility','commercial.leisure.sport.swimming'), + ('CL06EQ','Equestrian Sports Facility','commercial.leisure.sport.equestrian'), + ('CL06FB','Football Facility','commercial.leisure.sport.football'), + ('CL06FI','Fishing / Angling Facility','commercial.leisure.sport.fishing'), + ('CL06GF','Golf Facility','commercial.leisure.sport.golf'), + ('CL06GL','Gliding Facility','commercial.leisure.sport.gliding'), + ('CL06GR','Greyhound Racing Facility','commercial.leisure.sport.dogracing'), + ('CL06HF','Hockey Facility','commercial.leisure.sport.hockey'), + ('CL06HR','Horse Racing Facility','commercial.leisure.sport.horseracing'), + ('CL06HV','Historic Vessel / Aircraft / Vehicle','commercial.leisure.sport.historicVehicles'), + ('CL06LS','Activity / Leisure / Sports Centre','commercial.leisure.sport.centre'), + ('CL06ME','Model Sports Facility','commercial.leisure.sport.model'), + ('CL06MF','Motor Sports Facility','commercial.leisure.sport.motor'), + ('CL06PF','Playing Field','commercial.leisure.sport.playingField'), + ('CL06QS','Racquet Sports Facility','commercial.leisure.sport.racquet'), + ('CL06RF','Rugby Facility','commercial.leisure.sport.rugby'), + ('CL06RG','Recreation Ground','commercial.leisure.sport.recreationGround'), + ('CL06SI','Shinty Facility','commercial.leisure.sport.shinty'), + ('CL06SK','Skateboarding Facility','commercial.leisure.sport.skateboarding'), + ('CL06SX','Civilian Firing Facility','commercial.leisure.sport.firing'), + ('CL06TB','Tenpin Bowling Facility','commercial.leisure.sport.tenpin'), + ('CL06TN','Public Tennis Court','commercial.leisure.sport.tennis'), + ('CL06WA','Water Sports Facility','commercial.leisure.sport.water'), + ('CL06WP','Winter Sports Facility','commercial.leisure.sport.winter'), + ('CL06WY','Wildlife Sports Facility','commercial.leisure.sport.wildlife'), + ('CL06YF','Cycling Sports Facility','commercial.leisure.sport.cycling'), + ('CL07','Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall','commercial.leisure.entertainment'), + ('CL07CI','Cinema','commercial.leisure.entertainment.cinema'), + ('CL07EN','Entertainment Complex','commercial.leisure.entertainment.mixed'), + ('CL07EX','Conference / Exhibition Centre','commercial.leisure.entertainment.exhibition'), + ('CL07TH','Theatre','commercial.leisure.entertainment.theatre'), + ('CL08','Zoo / Theme Park','commercial.leisure.park.zoo'), + ('CL08AK','Amusement Park','commercial.leisure.park.amusement'), + ('CL08AQ','Aquatic Attraction','commercial.leisure.park.aquatic'), + ('CL08MX','Model Village Site','commercial.leisure.park.model'), + ('CL08WZ','Wildlife / Zoological Park','commercial.leisure.park.wildlife'), + ('CL09','Beach Hut (Recreational, Non-Residential Use Only)','commercial.leisure.beachHut'), + ('CL10','Licensed Private Members’ Club','commercial.leisure.club.private'), + ('CL10RE','Recreational / Social Club','commercial.leisure.club.social'), + ('CL11','Arena / Stadium','commercial.leisure.arena'), + ('CL11SD','Stadium','commercial.leisure.arena.stadium'), + ('CL11SJ','Showground','commercial.leisure.arena.showground'), + ('CM','Medical','commercial.medical'), + ('CM01','Dentist','commercial.medical.dentist'), + ('CM02','General Practice Surgery / Clinic','commercial.medical.GP'), + ('CM02HC','Health Centre','commercial.medical.healthCentre'), + ('CM02HL','Health Care Services','commercial.medical.healthServices'), + ('CM03','Hospital / Hospice','commercial.medical.care'), + ('CM03HI','Care home/Hospice','commercial.medical.care.home'), + ('CM03HP','Hospital','commercial.medical.care.hospital'), + ('CM04','Medical / Testing / Research Laboratory','commercial.medical.lab'), + ('CM05','Professional Medical Service','commercial.medical.professional'), + ('CM05ZS','Assessment / Development Services','commercial.medical.assessment'), + ('CN','Animal Centre','commercial.animals'), + ('CN01','Cattery / Kennel','commercial.animals.kennelsCattery'), + ('CN02','Animal Services','commercial.animals.services'), + ('CN02AX','Animal Quarantining','commercial.animals.services.quarantine'), + ('CN03','Equestrian','commercial.animals.equestrian'), + ('CN03HB','Horse Racing / Breeding Stable','commercial.animals.equestrian.racing'), + ('CN03SB','Commercial Stabling / Riding','commercial.animals.equestrian.riding'), + ('CN04','Vet / Animal Medical Treatment','commercial.animals.vet'), + ('CN05','Animal / Bird / Marine Sanctuary','commercial.animals.sanctuary'), + ('CN05AN','Animal Sanctuary','commercial.animals.sanctuary.animals'), + ('CN05MR','Marine Sanctuary','commercial.animals.sanctuary.marine'), + ('CO','Office','commercial.office'), + ('CO01','Office / Work Studio','commercial.office.workspace'), + ('CO01EM','Embassy /, High Commission / Consulate','commercial.office.workspace.embassy'), + ('CO01FM','Film Studio','commercial.office.workspace.film'), + ('CO01GV','Central Government Service','commercial.office.workspace.gov.national'), + ('CO01LG','Local Government Service','commercial.office.workspace.gov.local'), + ('CO02','Broadcasting (TV / Radio)','commercial.office.broadcasting'), + ('CR','Retail','commercial.retail'), + ('CR01','Bank / Financial Service','commercial.retail.financial'), + ('CR02','Retail Service Agent','commercial.retail.services'), + ('CR02PO','Post Office','commercial.retail.post'), + ('CR04','Market (Indoor / Outdoor)','commercial.retail.market'), + ('CR04FK','Fish Market','commercial.retail.market.fish'), + ('CR04FV','Fruit / Vegetable Market','commercial.retail.market.fruit'), + ('CR04LV','Livestock Market','commercial.retail.market.livestock'), + ('CR05','Petrol Filling Station','commercial.retail.fuel'), + ('CR06','Public House / Bar / Nightclub','commercial.retail.drinking'), + ('CR07','Restaurant / Cafeteria','commercial.retail.restaurant'), + ('CR08','Shop / Showroom','commercial.retail.showroom'), + ('CR08 ','Shop','commercial.retail.shop'), + ('CR08GC','Garden Centre','commercial.retail.shop.gardenCentre'), + ('CR09','Other Licensed Premise / Vendor','commercial.retail.licensedPremises'), + ('CR10','Fast Food Outlet / Takeaway (Hot / Cold)','commercial.retail.takeaway'), + ('CR11','Automated Teller Machine (ATM)','commercial.retail.atm'), + ('CS','Storage Land','commercial.storageLand'), + ('CS01','General Storage Land','commercial.storageLand.general'), + ('CS02','Builders’ Yard','commercial.storageLand.building'), + ('CT','Transport','commercial.transport'), + ('CT01','Airfield / Airstrip / Airport / Air Transport Infrastructure Facility','commercial.transport.air'), + ('CT01AF','Airfield','commercial.transport.air.airfield'), + ('CT01AI','Air Transport Infrastructure Services','commercial.transport.air.infrastructure'), + ('CT01AP','Airport','commercial.transport.air.airport'), + ('CT01AY','Air Passenger Terminal','commercial.transport.air.passengerTerminal'), + ('CT01HS','Helicopter Station','commercial.transport.air.helicopterStation'), + ('CT01HT','Heliport / Helipad','commercial.transport.air.heliport'), + ('CT02','Bus Shelter','commercial.transport.bus'), + ('CT03','Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site','commercial.transport.parking'), + ('CT03PK','Public Park And Ride','commercial.transport.parking.parkAndRide'), + ('CT03PP','Public Car Parking','commercial.transport.parking.car'), + ('CT03PU','Public Coach Parking','commercial.transport.parking.coach'), + ('CT03VP','Public Commercial Vehicle Parking','commercial.transport.parking.commercialVehicle'), + ('CT04','Goods Freight Handling / Terminal','commercial.transport.freight'), + ('CT04AE','Air Freight Terminal','commercial.transport.freight.air'), + ('CT04CF','Container Freight','commercial.transport.freight.container'), + ('CT04RH','Road Freight Transport','commercial.transport.freight.road'), + ('CT04RT','Rail Freight Transport','commercial.transport.freight.rail'), + ('CT05','Marina','commercial.transport.marina'), + ('CT06','Mooring','commercial.transport.mooring'), + ('CT07','Railway Asset','commercial.transport.railAsset'), + ('CT08','Station / Interchange / Terminal / Halt','commercial.transport.terminal'), + ('CT08BC','Bus station','commercial.transport.terminal.bus'), + ('CT08RS','Train station','commercial.transport.terminal.train'), + ('CT08VH','Vehicular Rail Terminal','commercial.transport.terminal.vehicularRail'), + ('CT09','Transport Track / Way','commercial.transport.track'), + ('CT09CL','Cliff Railway','commercial.transport.track.cliff'), + ('CT09CX','Chair Lift / Cable Car / Ski Tow','commercial.transport.track.cable'), + ('CT09MO','Monorail','commercial.transport.track.monorail'), + ('CT10','Vehicle Storage','commercial.transport.storage'), + ('CT10BG','Boat Storage','commercial.transport.storage.boat'), + ('CT10BU','Bus / Coach Depot','commercial.transport.storage.bus'), + ('CT11','Transport Related Infrastructure','commercial.transport.infrastructure'), + ('CT11AD','Aqueduct','commercial.transport.infrastructure.aqueduct'), + ('CT11LK','Lock','commercial.transport.infrastructure.lock'), + ('CT11WE','Weir','commercial.transport.infrastructure.weir'), + ('CT11WG','Weighbridge / Load Gauge','commercial.transport.infrastructure.weighing'), + ('CT12','Overnight Lorry Park','commercial.transport.overnightLorryPark'), + ('CT13','Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay','commercial.transport.dock'), + ('CT13FR','Passenger Ferry Terminal','commercial.transport.dock.ferry.passengers'), + ('CT13NB','Non-Tanker Nautical Berthing','commercial.transport.dock.generalBerth'), + ('CT13NF','Nautical Refuelling Facility','commercial.transport.dock.refuelling'), + ('CT13SA','Slipway','commercial.transport.dock.slipway'), + ('CT13SP','Ship Passenger Terminal','commercial.transport.dock.passenger'), + ('CT13TK','Tanker Berthing','commercial.transport.dock.tankerBerth'), + ('CT13VF','Vehicular Ferry Terminal','commercial.transport.dock.ferry.vehicles'), + ('CU','Utility','commercial.utility'), + ('CU01','Electricity Sub-Station','commercial.utility.SubStation'), + ('CU02','Landfill','commercial.utility.landfill'), + ('CU03','Power Station / Energy Production','commercial.utility.electricity'), + ('CU03ED','Electricity Distribution Facility','commercial.utility.electricity.distribution'), + ('CU03EP','Electricity Production Facility','commercial.utility.electricity.production'), + ('CU03WF','Wind Farm','commercial.utility.electricity.windFarm'), + ('CU03WU','Wind Turbine','commercial.utility.electricity.windTurbine'), + ('CU04','Pump House / Pumping Station / Water Tower','commercial.utility.water'), + ('CU04WC','Water Controlling / Pumping','commercial.utility.water.pump.control'), + ('CU04WD','Water Distribution / Pumping','commercial.utility.water.pump.distribution'), + ('CU04WM','Water Quality Monitoring','commercial.utility.water.qualityMonitoring'), + ('CU04WS','Water Storage','commercial.utility.water.storage'), + ('CU04WW','Waste Water Distribution / Pumping','commercial.utility.water.waste'), + ('CU06','Telecommunication','commercial.utility.telecoms'), + ('CU06TE','Telecommunications Mast','commercial.utility.telecoms.mast'), + ('CU06TX','Telephone Exchange','commercial.utility.telecoms.exhange'), + ('CU07','Water / Waste Water / Sewage Treatment Works','commercial.utility.waterTreatment'), + ('CU07WR','Waste Water Treatment','commercial.utility.waterTreatment.waste'), + ('CU07WT','Water Treatment','commercial.utility.waterTreatment.water'), + ('CU08','Gas / Oil Storage / Distribution','commercial.utility.oilGas'), + ('CU08GG','Gas Governor','commercial.utility.oilGas.gasGovernor'), + ('CU08GH','Gas Holder','commercial.utility.oilGas.gasHolder'), + ('CU08OT','Oil Terminal','commercial.utility.oilGas.oilTerminal'), + ('CU09','Other Utility Use','commercial.utility.other'), + ('CU09CQ','Cable Terminal Station','commercial.utility.other.cableTerminal'), + ('CU09OV','Observatory','commercial.utility.other.observatory'), + ('CU09RA','Radar Station','commercial.utility.other.radar'), + ('CU09SE','Satellite Earth Station','commercial.utility.other.satelliteEarth'), + ('CU10','Waste Management','commercial.utility.wasteManagement'), + ('CU11','Telephone Box','commercial.utility.publicPhone.box'), + ('CU11OP','Other Public Telephones','commercial.utility.publicPhone.other'), + ('CU12','Dam','commercial.utility.dam'), + ('CX','Emergency / Rescue Service','commercial.emergency'), + ('OA02NL','Nautical Navigation Beacon / Light','other.navigation.nautical.beacon'), + ('OA03','Aid To Road Navigation','other.navigation.road'), + ('OA03GP','Guide Post','other.navigation.guidePost'), + ('OC','Coastal Protection / Flood Prevention','other.coastal'), + ('OC01','Boulder Wall / Sea Wall','other.coastal.wall'), + ('OC02','Flood Gate / Flood Sluice Gate / Flood Valve','other.coastal.floodGate'), + ('OC03','Groyne','other.coastal.groyne'), + ('OC04','Rip-Rap','other.coastal.ripRap'), + ('OE','Emergency Support','other.emergency'), + ('OE01','Beach Office / First Aid Facility','other.emergency.firstAid'), + ('OE02','Emergency Telephone (Non Motorway)','other.emergency.telephone'), + ('OE03','Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility','other.emergency.fire'), + ('OE04','Emergency Equipment Point / Emergency Siren / Warning Flag','other.emergency.warning'), + ('OE05','Lifeguard Facility','other.emergency.lifeguard'), + ('OE06','LIfe / Belt / Buoy / Float / Jacket / Safety Rope','other.emergency.floatAids'), + ('OF','Street Furniture','other.streetFurniture'), + ('OG','Agricultural Support Objects','other.agriculture'), + ('OG01','Fish Ladder / Lock / Pen / Trap','other.agriculture.fishPen'), + ('OG02','Livestock Pen / Dip','other.agriculture.livestockPen'), + ('OG03','Currick','other.agriculture.currick'), + ('OG04','Slurry Bed / Pit','other.agriculture.slurry'), + ('OH','Historical Site / Object','other.historic'), + ('OH01','Historic Structure / Object','other.historic.structure'), + ('OI','Industrial Support','other.industrial'), + ('OI01','Adit / Incline / Level','other.industrial.aditIncline'), + ('OI02','Caisson / Dry Dock / Grid','other.industrial.caissonDock'), + ('OI03','Channel / Conveyor / Conduit / Pipe','other.industrial.channel'), + ('OI04','Chimney / Flue','other.industrial.chimney'), + ('OI05','Crane / Hoist / Winch / Material Elevator','other.industrial.crane'), + ('OI06','Flare Stack','other.industrial.flareStack'), + ('OI07','Hopper / Silo / Cistern / Tank','other.industrial.siloTank'), + ('OI08','Grab / Skip / Other Industrial Waste Machinery / Discharging','other.industrial.discharge'), + ('OI09','Kiln / Oven / Smelter','other.industrial.kiln'), + ('OI10','Manhole / Shaft','other.industrial.manholeShaft'), + ('OI11','Industrial Overflow / Sluice / Valve / Valve Housing','other.industrial.overflowSluiceValve'), + ('OI12','Cooling Tower','other.industrial.coolingTower'), + ('OI13','Solar Panel / Waterwheel','other.industrial.solarPanel'), + ('OI14','Telephone Pole / Post','other.industrial.pylon.telecom'), + ('OI15','Electricity Distribution Pole / Pylon','other.industrial.pylon.electricity'), + ('ON','Significant Natural Object','other.natural'), + ('ON01','Boundary / Significant / Historic Tree / Pollard','other.natural.tree'), + ('ON02','Boundary / Significant Rock / Boulder','other.natural.rock'), + ('ON03','Natural Hole (Blow / Shake / Swallow)','other.natural.hole'), + ('OO','Ornamental / Cultural Object','other.ornamental'), + ('OO02','Mausoleum / Tomb / Grave','other.ornamental.tomb'), + ('OO03','Simple Ornamental Object','other.ornamental.object'), + ('OO04','Maze','other.ornamental.maze'), + ('OP','Sport / Leisure Support','other.leisure'), + ('OP01','Butt / Hide','other.leisure.hide'), + ('OP02','Gallop / Ride','other.leisure.gallop'), + ('OP03','Miniature Railway','other.leisure.modelRailway'), + ('OR','Royal Mail Infrastructure','other.mail'), + ('OR01','Postal Box','other.mail.postBox'), + ('OR02','Postal Delivery Box / Pouch','other.mail.deliveryBox'), + ('OR03','PO Box','other.mail.POBox'), + ('OR04','Additional Mail / Packet Addressee','other.mail.additionalAddressee'), + ('OS','Scientific / Observation Support','other.scientific'), + ('OS01','Meteorological Station / Equipment','other.scientific.meteo'), + ('OS02','Radar / Satellite Infrastructure','other.scientific.radarSatellite'), + ('OS03','Telescope / Observation Infrastructure / Astronomy','other.scientific.astronomy'), + ('OT','Transport Support','other.transport'), + ('OT01','Cattle Grid / Ford','other.transport.cattleGridFord'), + ('OT02','Elevator / Escalator / Steps','other.transport.stepsLiftEscalator'), + ('OT03','Footbridge / Walkway','other.transport.bridge'), + ('OT04','Pole / Post / Bollard (Restricting Vehicular Access)','other.transport.post'), + ('OT05','Subway / Underpass','other.transport.subway'), + ('OT06','Customs Inspection Facility','other.transport.customs'), + ('OT07','Lay-By','other.transport.layby'), + ('OT08','Level Crossing','other.transport.rail.crossing.vehicles'), + ('OT09','Mail Pick Up','other.transport.mailPickUp'), + ('OT10','Railway Pedestrian Crossing','other.transport.rail.crossing.pedestrian'), + ('OT11','Railway Buffer','other.transport.rail.buffer'), + ('OT12','Rail Drag','other.transport.rail.drag'), + ('OT13','Rail Infrastructure Services','other.transport.rail.infrastructure'), + ('OT14','Rail Kilometre Distance Marker','other.transport.rail.marker.km'), + ('OT15','Railway Lighting','other.transport.rail.lighting'), + ('OT16','Rail Mile Distance Marker','other.transport.rail.market.mile'), + ('OT17','Railway Turntable','other.transport.rail.turntable'), + ('OT18','Rail Weighbridge','other.transport.rail.weighbridge'), + ('OT19','Rail Signalling','other.transport.rail.signals'), + ('OT20','Railway Traverse','other.transport.rail.traverse'), + ('OT21','Goods Tramway','other.transport.goodsTramway'), + ('OT22','Road Drag','other.transport.road.drag'), + ('OT23','Vehicle Dip','other.transport.road.vehicleDip'), + ('OT24','Road Turntable','other.transport.road.turntable'), + ('OT25','Road Mile Distance Marker','other.transport.road.marker.mile'), + ('OT26','Road Kilometre Distance Marker','other.transport.road.market.km'), + ('OT27','Road Infrastructure Services','other.transport.road.infrastructure'), + ('OU','Custom','other.unsupported'), + ('OU01','Cycle Parking Facility','other.unsupported.cycleParking'), + ('OU04','Picnic / Barbeque Site','other.unsupported.picnic'), + ('OU05','Travelling Persons Site','other.unsupported.travellingPersons'), + ('OU08','Shelter (Not Including Bus Shelter)','other.unsupported.shelter'), + ('PS','Street Record','parent.street'), + ('R','Residential','residential'), + ('RB','Residential Ancillary Building','residential.building'), + ('RC','Residential Car Park Space','residential.carParkingSpace'), + ('RC01','Residential Allocated Parking','residential.carParkingSpace.allocated'), + ('RD','Residential dwelling','residential.dwelling'), + ('RD01','Caravan','residential.dwelling.caravan'), + ('RD02','Residential - Detached','residential.dwelling.house.detached'), + ('RD03','Residential - Semi Detached','residential.dwelling.house.semiDetached'), + ('RD04','Residential - Terraced','residential.dwelling.house.terrace'), + ('RD06','Residential - Flat','residential.dwelling.flat'), + ('RD07','House Boat','residential.dwelling.boat'), + ('RD08','Sheltered Accommodation','residential.dwelling.shelteredAccommodation'), + ('RD10','Privately Owned Holiday Caravan / Chalet','residential.dwelling.holiday'), + ('RG','Garage','residential.garage'), + ('RG02','Lock-Up Garage / Garage Court','residential.garage'), + ('RH','House In Multiple Occupation','residential.HMO'), + ('RH01','HMO Parent','residential.HMO.parent'), + ('RH02','HMO Bedsit / Other Non Self Contained Accommodation','residential.HMO.bedsit'), + ('RH03','HMO Not Further Divided','residential.HMO.undivided'), + ('RI','Residential Institution','residential.institution'), + ('RI01','Care / Nursing Home','residential.institution.care'), + ('RI02','Communal Residence','residential.institution.communal'), + ('RI02NC','Non-Commercial Lodgings','residential.institution.noncommercial'), + ('RI02RC','Religious Community','residential.institution.religious'), + ('RI03','Residential Education','residential.institution.education'), + ('U','Unclassified','unclassified'), + ('UC','Awaiting Classification','unclassified.awaitingclassification'), + ('UP','Pending Internal Investigation','unclassified.pendingInvestigation'), + ('X','Dual Use','dualUse'), + ('Z','Object of Interest','object'), + ('ZA','Archaeological Dig Site','object.archaeological'), + ('ZM','Monument','object.monument'), + ('ZM01','Obelisk / Milestone / Standing Stone','object.monument.vertical'), + ('ZM01OB','Obelisk','object.monument.vertical.obelisk'), + ('ZM01ST','Standing Stone','object.monument.vertical.standingStone'), + ('ZM02','Memorial / Market Cross','object.monument.memorial'), + ('ZM03','Statue','object.monument.statue'), + ('ZM04','Castle / Historic Ruin','object.monument.ruin'), + ('ZM05','Other Structure','object.monument.other'), + ('ZM05BS','Boundary Stone','object.monument.other.boundaryStone'), + ('ZM05CE','Cascade / Fountain','object.monument.other.waterFeature'), + ('ZM05PN','Permanent Art Display / Sculpture','object.monument.other.art'), + ('ZM05WI','Windmill (Inactive)','object.monument.other.windmill'), + ('ZS','Stately Home','object.statelyHome'), + ('ZU','Underground Feature','object.underground'), + ('ZU01','Cave','object.underground.cave'), + ('ZU04','Pothole / Natural Hole','object.underground.hole'), + ('ZV','Other Underground Feature','object.underground.other'), + ('ZV01','Cellar','object.underground.other.cellar'), + ('ZV02','Disused Mine','object.underground.other.extraction'), + ('ZV02MI','Mineral Mining / Inactive','object.underground.other.extraction.mine'), + ('ZV02OI','Oil And / Gas Extraction/ Inactive','object.underground.other.extraction.oilGas'), + ('ZV02QI','Mineral Quarrying And / Open Extraction / Inactive','object.underground.other.extraction.quarry'), + ('ZV03','Well / Spring','object.underground.other.water'), + ('ZV03SG','Spring','object.underground.other.water.spring'), + ('ZV03WL','Well','object.underground.other.water.well'), + ('ZW','Place Of Worship','object.religious'), + ('ZW99','Religious building','object.religious.building'), + ('ZW99AB','Abbey','object.religious.building.abbey'), + ('ZW99CA','Cathedral','object.religious.building.cathedral'), + ('ZW99CH','Church','object.religious.building.church'), + ('ZW99CP','Chapel','object.religious.building.chapel'), + ('ZW99GU','Gurdwara','object.religious.building.gurdwara'), + ('ZW99KH','Kingdom Hall','object.religious.building.kingdomHall'), + ('ZW99LG','Lych Gate','object.religious.building.lychGate'), + ('ZW99MQ','Mosque','object.religious.building.mosque'), + ('ZW99MT','Minster','object.religious.building.minster'), + ('ZW99SU','Stupa','object.religious.building.stupa'), + ('ZW99SY','Synagogue','object.religious.building.synagogue'), + ('ZW99TP','Temple','object.religious.building.temple'), + ('P','Parent Shell',null), + ('PP','Property Shell',null);