From 784a3972a1e731bbdec098c2817f45165fc45978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Tue, 24 Dec 2024 09:51:20 +0000 Subject: [PATCH] feat: First working POC --- package.json | 1 + pnpm-lock.yaml | 136 +- src/export/digitalPlanning/index.ts | 3 +- src/export/digitalPlanning/model.ts | 46 +- src/export/digitalPlanning/schema/README.md | 20 - src/export/digitalPlanning/schema/schema.json | 21481 ---------------- src/export/digitalPlanning/schema/types.d.ts | 6374 ----- src/export/index.ts | 4 +- src/utils/digitalPlanningSchema.ts | 2 +- tsconfig.build.json | 4 +- tsconfig.check.json | 4 +- tsconfig.json | 6 +- tsconfig.types.json | 4 +- 13 files changed, 135 insertions(+), 27950 deletions(-) delete mode 100644 src/export/digitalPlanning/schema/README.md delete mode 100644 src/export/digitalPlanning/schema/schema.json delete mode 100644 src/export/digitalPlanning/schema/types.d.ts diff --git a/package.json b/package.json index 9945d08d..9a86f7eb 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "@formatjs/intl-listformat": "^7.7.8", "@mui/base": "5.0.0-beta.60", "@mui/material": "^5.15.10", + "@opensystemslab/digital-planning-data-schemas": "^0.0.22", "ajv": "^8.17.1", "ajv-formats": "^2.1.1", "cheerio": "1.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c18e6b84..173d9913 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ dependencies: '@mui/material': specifier: ^5.15.10 version: 5.15.10(@emotion/react@11.13.3)(@emotion/styled@11.13.0)(@types/react@18.3.12)(react-dom@18.3.1)(react@18.3.1) + '@opensystemslab/digital-planning-data-schemas': + specifier: ^0.0.22 + version: 0.0.22(@types/node@18.16.19)(typescript@5.5.4) ajv: specifier: ^8.17.1 version: 8.17.1 @@ -559,7 +562,6 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/trace-mapping': 0.3.9 - dev: true /@emotion/babel-plugin@11.12.0: resolution: {integrity: sha512-y2WQb+oP8Jqvvclh8Q55gLUyb7UFvgv7eJfsj7td5TToBrIUtPay2kMrZi4xjq9qw2vD0ZR5fSho0yqoFgX7Rw==} @@ -1034,7 +1036,6 @@ packages: strip-ansi-cjs: /strip-ansi@6.0.1 wrap-ansi: 8.1.0 wrap-ansi-cjs: /wrap-ansi@7.0.0 - dev: true /@istanbuljs/load-nyc-config@1.1.0: resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} @@ -1317,7 +1318,6 @@ packages: /@jridgewell/resolve-uri@3.1.1: resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} engines: {node: '>=6.0.0'} - dev: true /@jridgewell/set-array@1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} @@ -1330,7 +1330,6 @@ packages: /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true /@jridgewell/trace-mapping@0.3.18: resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} @@ -1344,7 +1343,6 @@ packages: dependencies: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - dev: true /@jsdevtools/ono@7.1.3: resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==} @@ -1589,11 +1587,25 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.15.0 + /@opensystemslab/digital-planning-data-schemas@0.0.22(@types/node@18.16.19)(typescript@5.5.4): + resolution: {integrity: sha512-6eEBo3UM82XZDUXwioU7gc3j2pfgBOq5KPTT5zqW7i8wq0ETv3v1Ij1CBWdbti/qSeNcGnnryao7yZ22SrLpBQ==} + dependencies: + ajv: 8.17.1 + ajv-formats: 2.1.1(ajv@8.17.1) + rimraf: 6.0.1 + ts-json-schema-generator: 2.3.0 + ts-node: 10.9.2(@types/node@18.16.19)(typescript@5.5.4) + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - typescript + dev: false + /@pkgjs/parseargs@0.11.0: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} requiresBuild: true - dev: true optional: true /@popperjs/core@2.11.8: @@ -1618,19 +1630,15 @@ packages: /@tsconfig/node10@1.0.9: resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true /@tsconfig/node12@1.0.11: resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true /@tsconfig/node14@1.0.3: resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true /@tsconfig/node16@1.0.4: resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - dev: true /@types/babel__core@7.20.1: resolution: {integrity: sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw==} @@ -1702,7 +1710,6 @@ packages: /@types/node@18.16.19: resolution: {integrity: sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==} - dev: true /@types/node@22.7.5: resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} @@ -1955,7 +1962,6 @@ packages: /acorn-walk@8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} - dev: true /acorn@8.10.0: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} @@ -2011,7 +2017,6 @@ packages: /ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} engines: {node: '>=12'} - dev: true /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} @@ -2033,7 +2038,6 @@ packages: /ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} - dev: true /anymatch@2.0.0: resolution: {integrity: sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==} @@ -2054,7 +2058,6 @@ packages: /arg@4.1.3: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true /argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} @@ -2250,7 +2253,6 @@ packages: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} dependencies: balanced-match: 1.0.2 - dev: true /braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} @@ -2480,7 +2482,6 @@ packages: /commander@12.1.0: resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} - dev: true /component-emitter@1.3.0: resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==} @@ -2548,7 +2549,6 @@ packages: /create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true /cross-fetch@3.1.8: resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==} @@ -2702,7 +2702,6 @@ packages: /diff@4.0.2: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} - dev: true /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} @@ -2765,7 +2764,6 @@ packages: /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - dev: true /ejs@3.1.10: resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} @@ -2793,7 +2791,6 @@ packages: /emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - dev: true /encoding-sniffer@0.2.0: resolution: {integrity: sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==} @@ -3208,7 +3205,6 @@ packages: dependencies: cross-spawn: 7.0.3 signal-exit: 4.1.0 - dev: true /fragment-cache@0.2.1: resolution: {integrity: sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==} @@ -3295,7 +3291,19 @@ packages: minimatch: 9.0.3 minipass: 7.0.4 path-scurry: 1.10.2 - dev: true + + /glob@11.0.0: + resolution: {integrity: sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==} + engines: {node: 20 || >=22} + hasBin: true + dependencies: + foreground-child: 3.1.1 + jackspeak: 4.0.2 + minimatch: 10.0.1 + minipass: 7.1.2 + package-json-from-dist: 1.0.1 + path-scurry: 2.0.0 + dev: false /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} @@ -3728,7 +3736,13 @@ packages: '@isaacs/cliui': 8.0.2 optionalDependencies: '@pkgjs/parseargs': 0.11.0 - dev: true + + /jackspeak@4.0.2: + resolution: {integrity: sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==} + engines: {node: 20 || >=22} + dependencies: + '@isaacs/cliui': 8.0.2 + dev: false /jake@10.9.1: resolution: {integrity: sha512-61btcOHNnLnsOdtLgA5efqQWjnSi/vow5HbI7HMdKKWqvrKR1bLK3BPlJn9gcSaP2ewuamUSMB5XEy76KUIS2w==} @@ -4264,7 +4278,6 @@ packages: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} hasBin: true - dev: true /jszip@3.10.1: resolution: {integrity: sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==} @@ -4406,7 +4419,11 @@ packages: /lru-cache@10.2.0: resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} engines: {node: 14 || >=16.14} - dev: true + + /lru-cache@11.0.2: + resolution: {integrity: sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==} + engines: {node: 20 || >=22} + dev: false /lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -4430,7 +4447,6 @@ packages: /make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true /makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} @@ -4513,6 +4529,13 @@ packages: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} dev: false + /minimatch@10.0.1: + resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} + engines: {node: 20 || >=22} + dependencies: + brace-expansion: 2.0.1 + dev: false + /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -4530,7 +4553,6 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 - dev: true /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -4538,7 +4560,10 @@ packages: /minipass@7.0.4: resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} engines: {node: '>=16 || 14 >=14.17'} - dev: true + + /minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} /mixin-deep@1.3.2: resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==} @@ -4633,7 +4658,6 @@ packages: /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - dev: true /npm-run-path@2.0.2: resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} @@ -4763,6 +4787,10 @@ packages: engines: {node: '>=6'} dev: true + /package-json-from-dist@1.0.1: + resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + dev: false + /pako@1.0.11: resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} dev: false @@ -4836,8 +4864,15 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: lru-cache: 10.2.0 - minipass: 7.0.4 - dev: true + minipass: 7.1.2 + + /path-scurry@2.0.0: + resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} + engines: {node: 20 || >=22} + dependencies: + lru-cache: 11.0.2 + minipass: 7.1.2 + dev: false /path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} @@ -5089,6 +5124,15 @@ packages: glob: 10.3.12 dev: true + /rimraf@6.0.1: + resolution: {integrity: sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==} + engines: {node: 20 || >=22} + hasBin: true + dependencies: + glob: 11.0.0 + package-json-from-dist: 1.0.1 + dev: false + /rsvp@4.8.5: resolution: {integrity: sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==} engines: {node: 6.* || >= 7.*} @@ -5109,6 +5153,11 @@ packages: ret: 0.1.15 dev: true + /safe-stable-stringify@2.5.0: + resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==} + engines: {node: '>=10'} + dev: false + /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} dev: false @@ -5207,7 +5256,6 @@ packages: /signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} - dev: true /sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -5334,7 +5382,6 @@ packages: eastasianwidth: 0.2.0 emoji-regex: 9.2.2 strip-ansi: 7.1.0 - dev: true /string-width@7.0.0: resolution: {integrity: sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==} @@ -5366,7 +5413,6 @@ packages: engines: {node: '>=12'} dependencies: ansi-regex: 6.0.1 - dev: true /strip-bom@4.0.0: resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} @@ -5534,6 +5580,21 @@ packages: yargs-parser: 21.1.1 dev: true + /ts-json-schema-generator@2.3.0: + resolution: {integrity: sha512-t4lBQAwZc0sOJq9LJt3NgbznIcslVnm0JeEMFq8qIRklpMRY8jlYD0YmnRWbqBKANxkby91P1XanSSlSOFpUmg==} + engines: {node: '>=18.0.0'} + hasBin: true + dependencies: + '@types/json-schema': 7.0.15 + commander: 12.1.0 + glob: 10.3.12 + json5: 2.2.3 + normalize-path: 3.0.0 + safe-stable-stringify: 2.5.0 + tslib: 2.7.0 + typescript: 5.5.4 + dev: false + /ts-node@10.9.2(@types/node@18.16.19)(typescript@5.5.4): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -5563,7 +5624,6 @@ packages: typescript: 5.5.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - dev: true /tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} @@ -5604,7 +5664,6 @@ packages: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} hasBin: true - dev: true /undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} @@ -5674,7 +5733,6 @@ packages: /v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - dev: true /v8-to-istanbul@9.1.0: resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==} @@ -5743,7 +5801,6 @@ packages: ansi-styles: 6.2.1 string-width: 5.1.2 strip-ansi: 7.1.0 - dev: true /wrap-ansi@9.0.0: resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==} @@ -5852,7 +5909,6 @@ packages: /yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'} - dev: true /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} diff --git a/src/export/digitalPlanning/index.ts b/src/export/digitalPlanning/index.ts index 7fefc5c4..165c43f0 100644 --- a/src/export/digitalPlanning/index.ts +++ b/src/export/digitalPlanning/index.ts @@ -1,8 +1,9 @@ +import { Application as DigitalPlanningPayload } from "@opensystemslab/digital-planning-data-schemas/types/application"; + import { findPublishedFlowBySessionId } from "../../requests/flow"; import { getSessionById, getSessionMetadata } from "../../requests/session"; import { ExportParams } from ".."; import { DigitalPlanning } from "./model"; -import { Application as DigitalPlanningPayload } from "./schema/types"; interface DigitalPlanningExportParams extends ExportParams { skipValidation?: boolean; diff --git a/src/export/digitalPlanning/model.ts b/src/export/digitalPlanning/model.ts index fc20fc7c..c810c681 100644 --- a/src/export/digitalPlanning/model.ts +++ b/src/export/digitalPlanning/model.ts @@ -1,3 +1,27 @@ +import { applicationSchema as jsonSchema } from "@opensystemslab/digital-planning-data-schemas/schemas"; +import { + Application as Payload, + ApplicationType, + BaseProposal, + File, + FileType, + PlanningDesignation, + ProjectType, + Property, + Proposal, + SiteContact, +} from "@opensystemslab/digital-planning-data-schemas/types/application"; +import { + FeeExplanation, + FeeExplanationNotApplicable, + GeoJSON, + Owners, + OwnersNoNoticeGiven, + OwnersNoticeDate, + OwnersNoticeGiven, + PlanXMetadata, + RequestedFiles, +} from "@opensystemslab/digital-planning-data-schemas/types/shared"; import Ajv from "ajv"; import addFormats from "ajv-formats"; import { Feature } from "geojson"; @@ -22,28 +46,6 @@ import { formatProposalDetails, parsePolicyRefs, } from "../bops"; -import jsonSchema from "./schema/schema.json"; -import { - Application as Payload, - ApplicationType, - BaseProposal, - FeeExplanation, - FeeExplanationNotApplicable, - File, - FileType, - GeoJSON, - Owners, - OwnersNoNoticeGiven, - OwnersNoticeDate, - OwnersNoticeGiven, - PlanningDesignation, - PlanXMetadata, - ProjectType, - Property, - Proposal, - RequestedFiles, - SiteContact, -} from "./schema/types"; const PARKING_TYPES = [ "cars", diff --git a/src/export/digitalPlanning/schema/README.md b/src/export/digitalPlanning/schema/README.md deleted file mode 100644 index ece8a7e0..00000000 --- a/src/export/digitalPlanning/schema/README.md +++ /dev/null @@ -1,20 +0,0 @@ -This subfolder contains files for managing the Digital Planning JSON schema and type generation process for the project. - -## Files - -1. **schema.json**: This file holds the JSON schema, copied from the `digital-planning-data-schemas`` repository. If there's a new version of the schema, update this file by copying and pasting the new schema content here. - -2. **types.d.ts**: This file is automatically generated by the `json-schema-to-typescript` library and contains TypeScript type declarations based on the JSON schema. **Do not modify this file directly**, as it will be overwritten by the type generation process. - -## Workflow - -1. **Updating Schema**: - - - When a new version of the schema is available, copy the new schema from the `digital-planning-data-schemas` repository. - - Replace the content of the `schema.json` file in this subfolder with the updated schema. - -2. **Generating Types**: - - Run the command `pnpm generate-types-from-schema` in the project's root directory. - - This command will automatically update the `types.d.ts` file based on the contents of the `schema.json` file. - -That's all you need to do to manage the JSON schema and type generation in this subfolder. Keep the `schema.json` file up-to-date and use the provided command to generate types as needed. diff --git a/src/export/digitalPlanning/schema/schema.json b/src/export/digitalPlanning/schema/schema.json deleted file mode 100644 index 08897357..00000000 --- a/src/export/digitalPlanning/schema/schema.json +++ /dev/null @@ -1,21481 +0,0 @@ -{ - "$id": "v0.7.1", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "definitions": { - "Address": { - "$id": "#Address", - "additionalProperties": false, - "description": "Address information for a person associated with this application not at the property address", - "properties": { - "country": { - "type": "string" - }, - "county": { - "type": "string" - }, - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "postcode": { - "type": "string" - }, - "town": { - "type": "string" - } - }, - "required": ["line1", "town", "postcode"], - "type": "object" - }, - "Agent": { - "$id": "#Agent", - "additionalProperties": false, - "description": "Information about the agent or proxy who completed the application on behalf of someone else", - "properties": { - "address": { - "$ref": "#/definitions/UserAddress" - }, - "agent": { - "additionalProperties": false, - "properties": { - "address": { - "$ref": "#/definitions/Address" - }, - "company": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "type": "object" - }, - "email": { - "$ref": "#/definitions/Email" - }, - "name": { - "additionalProperties": false, - "properties": { - "first": { - "type": "string" - }, - "last": { - "type": "string" - }, - "title": { - "type": "string" - } - }, - "required": ["first", "last"], - "type": "object" - }, - "phone": { - "additionalProperties": false, - "properties": { - "primary": { - "type": "string" - } - }, - "required": ["primary"], - "type": "object" - } - }, - "required": ["name", "email", "phone", "address"], - "type": "object" - }, - "company": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "type": "object" - }, - "email": { - "$ref": "#/definitions/Email" - }, - "maintenanceContact": { - "$ref": "#/definitions/MaintenanceContact" - }, - "name": { - "additionalProperties": false, - "properties": { - "first": { - "type": "string" - }, - "last": { - "type": "string" - }, - "title": { - "type": "string" - } - }, - "required": ["first", "last"], - "type": "object" - }, - "ownership": { - "$ref": "#/definitions/Ownership" - }, - "phone": { - "additionalProperties": false, - "properties": { - "primary": { - "type": "string" - } - }, - "required": ["primary"], - "type": "object" - }, - "siteContact": { - "$ref": "#/definitions/SiteContact" - }, - "type": { - "enum": [ - "individual", - "company", - "charity", - "public", - "parishCouncil" - ], - "type": "string" - } - }, - "required": [ - "address", - "agent", - "email", - "name", - "phone", - "siteContact", - "type" - ], - "type": "object" - }, - "AnyProviderMetadata": { - "$id": "#AnyProviderMetadata", - "additionalProperties": false, - "description": "Base metadata associated with applications submitted via any provider", - "properties": { - "id": { - "$ref": "#/definitions/UUID", - "description": "Unique identifier for this application" - }, - "organisation": { - "description": "The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority", - "maxLength": 4, - "type": "string" - }, - "schema": { - "$ref": "#/definitions/URL" - }, - "source": { - "const": "Any", - "type": "string" - }, - "submittedAt": { - "$ref": "#/definitions/DateTime" - } - }, - "required": ["id", "organisation", "schema", "source", "submittedAt"], - "type": "object" - }, - "Applicant": { - "$id": "#Applicant", - "anyOf": [ - { - "$ref": "#/definitions/BaseApplicant" - }, - { - "$ref": "#/definitions/Agent" - } - ], - "description": "The user who completed the application either for themself or on behalf of someone else" - }, - "ApplicationData": { - "$id": "#ApplicationData", - "anyOf": [ - { - "$ref": "#/definitions/BaseApplicationData" - }, - { - "$ref": "#/definitions/LondonApplicationData" - } - ], - "description": "Information about this planning application" - }, - "ApplicationDeclaration": { - "$id": "#ApplicationDeclaration", - "additionalProperties": false, - "description": "Declarations about the accuracy of this application and any personal connections to the receiving authority", - "properties": { - "accurate": { - "type": "boolean" - }, - "connection": { - "additionalProperties": false, - "properties": { - "description": { - "type": "string" - }, - "value": { - "enum": [ - "employee", - "relation.employee", - "electedMember", - "relation.electedMember", - "none" - ], - "type": "string" - } - }, - "required": ["value"], - "type": "object" - } - }, - "required": ["accurate", "connection"], - "type": "object" - }, - "ApplicationFee": { - "$id": "#ApplicationFee", - "additionalProperties": false, - "description": "The costs associated with this application", - "properties": { - "calculated": { - "description": "Total calculated fee in GBP", - "type": "number" - }, - "category": { - "additionalProperties": false, - "description": "Breakdown of calculated fee in GBP by category of development, based on the scales defined in The Town and Country Planning Regulations https://www.legislation.gov.uk/uksi/2012/2920/schedule/1/part/2", - "properties": { - "eight": { - "description": "Category 8 - Car parks or access roads", - "type": "number" - }, - "eleven": { - "additionalProperties": false, - "properties": { - "one": { - "description": "Category 11(1) - Mining operations", - "type": "number" - }, - "two": { - "description": "Category 11(2) - Other operations", - "type": "number" - } - }, - "type": "object" - }, - "five": { - "description": "Category 5 - Plant equipment or machinery", - "type": "number" - }, - "four": { - "description": "Category 4 - Glasshouses on agricultural land", - "type": "number" - }, - "fourteen": { - "description": "Category 14 - Other change of use", - "type": "number" - }, - "nine": { - "description": "Category 9 - Exploratory drilling", - "type": "number" - }, - "one": { - "description": "Category 1 - New homes", - "type": "number" - }, - "sixAndSeven": { - "description": "Category 6 and 7 - Home or curtilage of home", - "type": "number" - }, - "ten": { - "description": "Category 10 - Winning and working of oil or natural gas", - "type": "number" - }, - "thirteen": { - "description": "Category 13 - Waste disposal", - "type": "number" - }, - "three": { - "description": "Category 3 - Agricultural buildings", - "type": "number" - }, - "twelve": { - "additionalProperties": false, - "properties": { - "one": { - "description": "Category 12(1) - Change of use from single home to homes", - "type": "number" - }, - "two": { - "description": "Category 12(2) - Change of use to home", - "type": "number" - } - }, - "type": "object" - }, - "two": { - "description": "Category 2 - Other new buildings", - "type": "number" - } - }, - "type": "object" - }, - "exemption": { - "additionalProperties": false, - "properties": { - "disability": { - "type": "boolean" - }, - "resubmission": { - "type": "boolean" - } - }, - "required": ["disability", "resubmission"], - "type": "object" - }, - "payable": { - "description": "Total payable fee after any exemptions or reductions in GBP", - "type": "number" - }, - "reduction": { - "additionalProperties": false, - "properties": { - "alternative": { - "type": "boolean" - }, - "parishCouncil": { - "type": "boolean" - }, - "sports": { - "type": "boolean" - } - }, - "required": ["alternative", "parishCouncil", "sports"], - "type": "object" - }, - "reference": { - "additionalProperties": false, - "properties": { - "govPay": { - "description": "GOV.UK Pay payment reference number", - "type": "string" - } - }, - "required": ["govPay"], - "type": "object" - } - }, - "required": ["calculated", "payable", "exemption", "reduction"], - "type": "object" - }, - "ApplicationFeeNotApplicable": { - "$id": "#ApplicationFeeNotApplicable", - "additionalProperties": false, - "description": "An indicator that an application fee does not apply to this application type or journey", - "properties": { - "notApplicable": { - "const": true, - "type": "boolean" - } - }, - "required": ["notApplicable"], - "type": "object" - }, - "ApplicationType": { - "$id": "#ApplicationType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to display an advertisement", - "type": "string" - }, - "value": { - "const": "advertConsent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to make small changes to a project with Planning Permission", - "type": "string" - }, - "value": { - "const": "amendment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to make small (minor material) changes to a project with Planning Permission", - "type": "string" - }, - "value": { - "const": "amendment.minorMaterial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to make small (non-material) changes to a project with Planning Permission", - "type": "string" - }, - "value": { - "const": "amendment.nonMaterial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning approval", - "type": "string" - }, - "value": { - "const": "approval", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Approval of details reserved by condition", - "type": "string" - }, - "value": { - "const": "approval.conditions", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Approval of reserved matters", - "type": "string" - }, - "value": { - "const": "approval.reservedMatters", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Written confirmation of compliance with a planning condition", - "type": "string" - }, - "value": { - "const": "complianceConfirmation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Environmental Impact Decision", - "type": "string" - }, - "value": { - "const": "environmentalImpact", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Environmental Impact Decision - Scoping", - "type": "string" - }, - "value": { - "const": "environmentalImpact.scoping", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Environmental Impact Decision - Screening", - "type": "string" - }, - "value": { - "const": "environmentalImpact.screening", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to move and dispose of hazardous substances", - "type": "string" - }, - "value": { - "const": "hazardousSubstanceConsent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Notice to remove a hedge", - "type": "string" - }, - "value": { - "const": "hedgerowRemovalNotice", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to do works affecting ordinary watercourses or land drainage", - "type": "string" - }, - "value": { - "const": "landDrainageConsent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lawful Development Certificate", - "type": "string" - }, - "value": { - "const": "ldc", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lawful Development Certificate - Existing use lawful not to comply with a condition (S191C)", - "type": "string" - }, - "value": { - "const": "ldc.breachOfCondition", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lawful Development Certificate - Existing use", - "type": "string" - }, - "value": { - "const": "ldc.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lawful Development Certificate - Works to a Listed Building (S26H)", - "type": "string" - }, - "value": { - "const": "ldc.listedBuildingWorks", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lawful Development Certificate - Proposed use", - "type": "string" - }, - "value": { - "const": "ldc.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Consent to do works to a Listed Building", - "type": "string" - }, - "value": { - "const": "listed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Notification of completion", - "type": "string" - }, - "value": { - "const": "notifyCompletion", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning obligation", - "type": "string" - }, - "value": { - "const": "obligation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Discharge a planning obligation", - "type": "string" - }, - "value": { - "const": "obligation.discharge", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Modify a planning obligation", - "type": "string" - }, - "value": { - "const": "obligation.modify", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas - Other", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas - Full planning permission for an extension to an existing site including associated development", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas.pp.extension", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas - Full planning permission for waste development", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas.pp.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas - Full planning permission for oil and gas working including exploratory, appraisal and production phases", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas.pp.working", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas - Review of conditions applying to Mineral Permissions (ROMPs)", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas.review", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Onshore extraction of oil and gas - Variation of conditions", - "type": "string" - }, - "value": { - "const": "onshoreExtractionOilAndGas.variation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval", - "type": "string" - }, - "value": { - "const": "pa", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Larger extension to a house", - "type": "string" - }, - "value": { - "const": "pa.part1.classA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Adding storeys to a house", - "type": "string" - }, - "value": { - "const": "pa.part1.classAA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert a commercial building to mixed use", - "type": "string" - }, - "value": { - "const": "pa.part3.classG", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert a mixed use building into a home", - "type": "string" - }, - "value": { - "const": "pa.part3.classM", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert a commercial building into a home or homes", - "type": "string" - }, - "value": { - "const": "pa.part3.classMA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert a casino or amusement arcade into a home or homes", - "type": "string" - }, - "value": { - "const": "pa.part3.classN", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert an agricultural building into a home", - "type": "string" - }, - "value": { - "const": "pa.part3.classQ", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert an agricultural building to a commercial use", - "type": "string" - }, - "value": { - "const": "pa.part3.classR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert an agricultural building to a school", - "type": "string" - }, - "value": { - "const": "pa.part3.classS", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Convert a commercial building to a school", - "type": "string" - }, - "value": { - "const": "pa.part3.classT", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Changes of use permitted under a permission granted on an application", - "type": "string" - }, - "value": { - "const": "pa.part3.classV", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Put up a temporary structure", - "type": "string" - }, - "value": { - "const": "pa.part4.classBB", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Develop a temporary campsite", - "type": "string" - }, - "value": { - "const": "pa.part4.classBC", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Put temporary school buildings on vacant commercial land", - "type": "string" - }, - "value": { - "const": "pa.part4.classCA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Use a building or land to shoot a film", - "type": "string" - }, - "value": { - "const": "pa.part4.classE", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Alter or add new buildings to agricultural or forestry sites", - "type": "string" - }, - "value": { - "const": "pa.part6", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build new agricultural buildings on a unit of 5 hectares or more", - "type": "string" - }, - "value": { - "const": "pa.part6.classA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build new agricultural buildings on a unit of less than 5 hectares", - "type": "string" - }, - "value": { - "const": "pa.part6.classB", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build new forestry buildings", - "type": "string" - }, - "value": { - "const": "pa.part6.classE", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Install click and collect facilities", - "type": "string" - }, - "value": { - "const": "pa.part7.classC", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Extend a school, college, university, prison or hospital", - "type": "string" - }, - "value": { - "const": "pa.part7.classM", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Development of toll facilities", - "type": "string" - }, - "value": { - "const": "pa.part9.classD", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Demolish a building", - "type": "string" - }, - "value": { - "const": "pa.part11.classB", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Install or change solar equipment on domestic premises", - "type": "string" - }, - "value": { - "const": "pa.part14.classA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Install or change stand-alone solar equipment on domestic premises", - "type": "string" - }, - "value": { - "const": "pa.part14.classB", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Install or change solar panels", - "type": "string" - }, - "value": { - "const": "pa.part14.classJ", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Install or change stand-alone solar equipment on non-domestic premises", - "type": "string" - }, - "value": { - "const": "pa.part14.classK", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Installation of a solar canopy on non-domestic, off-street parking", - "type": "string" - }, - "value": { - "const": "pa.part14.classOA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Install telecommunications equipment", - "type": "string" - }, - "value": { - "const": "pa.part16.classA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Coal mining", - "type": "string" - }, - "value": { - "const": "pa.part17", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Other developments ancillary to mining operations", - "type": "string" - }, - "value": { - "const": "pa.part17.classB", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Developments for maintenance or safety", - "type": "string" - }, - "value": { - "const": "pa.part17.classC", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Coal mining development by the Coal Authority for maintenance or safety", - "type": "string" - }, - "value": { - "const": "pa.part17.classG", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Development under private acts or orders", - "type": "string" - }, - "value": { - "const": "pa.part18.classA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Development on a closed defence site", - "type": "string" - }, - "value": { - "const": "pa.part19.classTA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build homes on a detached blocks of flats", - "type": "string" - }, - "value": { - "const": "pa.part20.classA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build homes on a detached commercial building", - "type": "string" - }, - "value": { - "const": "pa.part20.classAA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build homes on an adjoining commercial or mixed use building", - "type": "string" - }, - "value": { - "const": "pa.part20.classAB", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build homes on adjoining houses", - "type": "string" - }, - "value": { - "const": "pa.part20.classAC", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Build homes on detached houses", - "type": "string" - }, - "value": { - "const": "pa.part20.classAD", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prior Approval - Demolish buildings and build homes in their place", - "type": "string" - }, - "value": { - "const": "pa.part20.classZA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission", - "type": "string" - }, - "value": { - "const": "pp", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission for development, including all householder, minor, and major applications", - "type": "string" - }, - "value": { - "const": "pp.full", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Full Planning Permission and consent to display an advert", - "type": "string" - }, - "value": { - "const": "pp.full.advertConsent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Full Planning Permission including demolition in a Conservation Area", - "type": "string" - }, - "value": { - "const": "pp.full.demolition", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Full Planning Permission - Fast track for the purposes of Affordable Housing", - "type": "string" - }, - "value": { - "const": "pp.full.fastTrack.affordable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Full householder", - "type": "string" - }, - "value": { - "const": "pp.full.householder", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Full householder with consent to do works to a Listed Building", - "type": "string" - }, - "value": { - "const": "pp.full.householder.listed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Full householder retrospective", - "type": "string" - }, - "value": { - "const": "pp.full.householder.retro", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Major application", - "type": "string" - }, - "value": { - "const": "pp.full.major", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Technical details consent for major development", - "type": "string" - }, - "value": { - "const": "pp.full.major.technicalDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Technical details consent for waste development", - "type": "string" - }, - "value": { - "const": "pp.full.major.technicalDetails.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Full planning permission for waste development", - "type": "string" - }, - "value": { - "const": "pp.full.major.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Minor application", - "type": "string" - }, - "value": { - "const": "pp.full.minor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Minor application and consent to do works to a Listed Building", - "type": "string" - }, - "value": { - "const": "pp.full.minor.listed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Technical details consent for minor development", - "type": "string" - }, - "value": { - "const": "pp.full.minor.technicalDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission - Consent to extract minerals and related development, such as temporary buildings and roads", - "type": "string" - }, - "value": { - "const": "pp.mineralExtraction", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning permission - Outline for proposed development", - "type": "string" - }, - "value": { - "const": "pp.outline", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of a project witholding all details", - "type": "string" - }, - "value": { - "const": "pp.outline.all", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of a project specifying some details", - "type": "string" - }, - "value": { - "const": "pp.outline.some", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning permission - Outline for proposed development (minor)", - "type": "string" - }, - "value": { - "const": "pp.outline.minor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of a project witholding all details (minor)", - "type": "string" - }, - "value": { - "const": "pp.outline.minor.all", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of a project specifying some details (minor)", - "type": "string" - }, - "value": { - "const": "pp.outline.minor.some", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning permission - Outline for proposed development (major)", - "type": "string" - }, - "value": { - "const": "pp.outline.major", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of a project witholding all details (major)", - "type": "string" - }, - "value": { - "const": "pp.outline.major.all", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of waste development witholding all details", - "type": "string" - }, - "value": { - "const": "pp.outline.major.all.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of a project specifying some details (major)", - "type": "string" - }, - "value": { - "const": "pp.outline.major.some", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outline Planning Permission - Consent for the principle of waste development witholding some details", - "type": "string" - }, - "value": { - "const": "pp.outline.major.some.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare", - "type": "string" - }, - "value": { - "const": "pp.pip", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rights of Way Order - Apply to move or close a path", - "type": "string" - }, - "value": { - "const": "rightsOfWayOrder", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Works to trees", - "type": "string" - }, - "value": { - "const": "wtt", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Works to trees - Consent to carry out works to a tree with a Tree Preservation Order", - "type": "string" - }, - "value": { - "const": "wtt.consent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Works to trees - Notification of proposed works to a tree in a Conservation Area", - "type": "string" - }, - "value": { - "const": "wtt.notice", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Planning application types" - }, - "Area": { - "$id": "#Area", - "additionalProperties": false, - "properties": { - "hectares": { - "type": "number" - }, - "squareMetres": { - "type": "number" - } - }, - "required": ["squareMetres"], - "type": "object" - }, - "BBox": { - "anyOf": [ - { - "items": { - "type": "number" - }, - "maxItems": 4, - "minItems": 4, - "type": "array" - }, - { - "items": { - "type": "number" - }, - "maxItems": 6, - "minItems": 6, - "type": "array" - } - ], - "description": "Bounding box https://tools.ietf.org/html/rfc7946#section-5" - }, - "BaseApplicant": { - "$id": "#BaseApplicant", - "additionalProperties": false, - "description": "Information about the user who completed the application for themself, or information about the person who the user applied on behalf of", - "properties": { - "address": { - "$ref": "#/definitions/UserAddress" - }, - "company": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "type": "object" - }, - "email": { - "$ref": "#/definitions/Email" - }, - "maintenanceContact": { - "$ref": "#/definitions/MaintenanceContact" - }, - "name": { - "additionalProperties": false, - "properties": { - "first": { - "type": "string" - }, - "last": { - "type": "string" - }, - "title": { - "type": "string" - } - }, - "required": ["first", "last"], - "type": "object" - }, - "ownership": { - "$ref": "#/definitions/Ownership" - }, - "phone": { - "additionalProperties": false, - "properties": { - "primary": { - "type": "string" - } - }, - "required": ["primary"], - "type": "object" - }, - "siteContact": { - "$ref": "#/definitions/SiteContact" - }, - "type": { - "enum": [ - "individual", - "company", - "charity", - "public", - "parishCouncil" - ], - "type": "string" - } - }, - "required": ["type", "name", "email", "phone", "address", "siteContact"], - "type": "object" - }, - "BaseApplicationData": { - "additionalProperties": false, - "properties": { - "CIL": { - "$ref": "#/definitions/CommunityInfrastructureLevy" - }, - "declaration": { - "$ref": "#/definitions/ApplicationDeclaration" - }, - "fee": { - "anyOf": [ - { - "$ref": "#/definitions/ApplicationFee" - }, - { - "$ref": "#/definitions/ApplicationFeeNotApplicable" - } - ] - }, - "planningApp": { - "$ref": "#/definitions/PlanningApplication" - }, - "preApp": { - "$ref": "#/definitions/PreApplication" - }, - "type": { - "$ref": "#/definitions/ApplicationType" - } - }, - "required": ["type", "fee", "declaration"], - "type": "object" - }, - "BaseProposal": { - "additionalProperties": false, - "properties": { - "access": { - "additionalProperties": false, - "properties": { - "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" - ], - "type": "string" - } - }, - "type": "object" - }, - "boundary": { - "$ref": "#/definitions/GeoBoundary", - "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" - }, - "date": { - "$ref": "#/definitions/ProposalDates" - }, - "description": { - "type": "string" - }, - "ecology": { - "additionalProperties": false, - "description": "Details of biodiversity and geological conservation, if applicable to application.type", - "properties": { - "conservationAffected": { - "enum": ["site", "adjacent", "none"], - "type": "string" - }, - "featuresAffected": { - "enum": ["site", "adjacent", "none"], - "type": "string" - }, - "speciesAffected": { - "enum": ["site", "adjacent", "none"], - "type": "string" - } - }, - "type": "object" - }, - "environmentalImpactDescription": { - "type": "string" - }, - "extend": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - } - }, - "required": ["area"], - "type": "object" - }, - "flood": { - "additionalProperties": false, - "description": "Assessment of flood risk, if applicable to application.type", - "properties": { - "surfaceWaterDisposal": { - "enum": [ - "drainageSystem", - "soakaway", - "sewer", - "watercourse", - "pondOrLake", - "other" - ], - "type": "string" - } - }, - "type": "object" - }, - "materials": { - "$ref": "#/definitions/Materials", - "description": "Proposed materials, if applicable to projectType" - }, - "new": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - }, - "count": { - "additionalProperties": false, - "properties": { - "bathrooms": { - "type": "number" - }, - "bedrooms": { - "type": "number" - }, - "dwellings": { - "type": "number" - } - }, - "type": "object" - } - }, - "required": ["area"], - "type": "object" - }, - "newDwellings": { - "additionalProperties": false, - "properties": { - "newBuild": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "type": "object" - }, - "projectType": { - "items": { - "$ref": "#/definitions/ProjectType" - }, - "type": "array" - }, - "structures": { - "additionalProperties": false, - "properties": { - "permanent": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "temporary": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "total": { - "type": "number" - }, - "type": { - "enum": [ - "bridge", - "catchpit", - "culvert", - "pipe", - "gully", - "headwall", - "manhole", - "weir", - "other" - ], - "type": "string" - } - }, - "required": ["type", "total"], - "type": "object" - }, - "units": { - "$ref": "#/definitions/ResidentialUnits" - }, - "use": { - "additionalProperties": false, - "description": "Proposed land use, including storage of hazardous materials, if applicable to application.type", - "properties": { - "contamination": { - "enum": ["known", "suspected", "vulnerable"], - "type": "string" - }, - "description": { - "type": "string" - }, - "storage": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "utilities": { - "additionalProperties": false, - "description": "Proposed utilities, if applicable to application.type", - "properties": { - "fire": { - "additionalProperties": false, - "description": "Whether the proposal introduces a fire suppression system", - "properties": { - "suppression": { - "type": "boolean" - } - }, - "required": ["suppression"], - "type": "object" - }, - "foulSewageDisposal": { - "description": "Type of proposed foul sewage disposal", - "enum": ["sewer", "tank", "plant", "pit", "other"], - "type": "string" - }, - "gas": { - "additionalProperties": false, - "description": "Count of new gas connections", - "properties": { - "connections": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["connections"], - "type": "object" - }, - "internet": { - "additionalProperties": false, - "description": "Count of new full fibre Internet connections", - "properties": { - "commercialUnits": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "residentialUnits": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["commercialUnits", "residentialUnits"], - "type": "object" - }, - "water": { - "additionalProperties": false, - "description": "Count of new water connections", - "properties": { - "connections": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["connections"], - "type": "object" - } - }, - "type": "object" - }, - "watercourse": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "type": { - "enum": [ - "ditch", - "millStream", - "pond", - "river", - "streamOrBrook", - "other" - ], - "type": "string" - } - }, - "required": ["name", "type"], - "type": "object" - } - }, - "required": ["projectType", "description"], - "type": "object" - }, - "BuildingRegulation": { - "$id": "#BuildingRegulation", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Part M4(2) of the Building Regulations 2010", - "type": "string" - }, - "value": { - "const": "m42", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Part M4(3)(2a) of the Building Regulations 2010", - "type": "string" - }, - "value": { - "const": "m432a", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Part M4(3)(2b) of the Building Regulations 2010", - "type": "string" - }, - "value": { - "const": "m432b", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "None of these", - "type": "string" - }, - "value": { - "const": "none", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Building regulations" - }, - "CalculateMetadata": { - "$id": "#CalculateMetadata", - "additionalProperties": false, - "description": "Metadata associated with PlanX Calculate components used to determine fees throughout a service", - "properties": { - "description": { - "type": "string" - }, - "policyRefs": { - "items": { - "additionalProperties": false, - "properties": { - "text": { - "type": "string" - }, - "url": { - "$ref": "#/definitions/URL" - } - }, - "required": ["text"], - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "CommunityInfrastructureLevy": { - "$id": "#CommunityInfrastructureLevy", - "additionalProperties": false, - "description": "Details about the Community Infrastructure Levy planning charge, if applicable", - "properties": { - "result": { - "enum": [ - "exempt.annexe", - "exempt.extension", - "exempt.selfBuild", - "liable", - "relief.charity", - "relief.socialHousing" - ], - "type": "string" - } - }, - "required": ["result"], - "type": "object" - }, - "Date": { - "format": "date", - "type": "string" - }, - "DateTime": { - "description": "Regex-based implementation of iso-date-time until available in ajv-formats@3.0.0", - "format": "date-time", - "pattern": "^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(([Zz])|([\\+|\\-]([01][0-9]|2[0-3]):[0-5][0-9]))$", - "type": "string" - }, - "DesignAndAccessStatement": { - "additionalProperties": false, - "properties": { - "accessAndLayout": { - "type": "string" - }, - "landscapingChanges": { - "type": "string" - }, - "projectDescription": { - "type": "string" - }, - "propertyDescription": { - "type": "string" - } - }, - "required": [ - "propertyDescription", - "projectDescription", - "accessAndLayout", - "landscapingChanges" - ], - "type": "object" - }, - "DevelopmentType": { - "$id": "#DevelopmentType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change of use", - "type": "string" - }, - "value": { - "const": "changeOfUse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change of use of an existing single home", - "type": "string" - }, - "value": { - "const": "changeOfUseFrom", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change of use to a home", - "type": "string" - }, - "value": { - "const": "changeOfUseTo", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Conversion", - "type": "string" - }, - "value": { - "const": "conversion", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Extension", - "type": "string" - }, - "value": { - "const": "extension", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New build", - "type": "string" - }, - "value": { - "const": "newBuild", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Not known", - "type": "string" - }, - "value": { - "const": "notKnown", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Development types" - }, - "Email": { - "format": "email", - "type": "string" - }, - "Entity": { - "additionalProperties": false, - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "source": { - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "text": { - "const": "Planning Data", - "type": "string" - }, - "url": { - "$ref": "#/definitions/URL" - } - }, - "required": ["text", "url"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "text": { - "const": "Ordnance Survey MasterMap Highways", - "type": "string" - } - }, - "required": ["text"], - "type": "object" - } - ] - } - }, - "required": ["name", "source"], - "type": "object" - }, - "Feature": { - "additionalProperties": false, - "description": "A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "geometry": { - "$ref": "#/definitions/Geometry", - "description": "The feature's geometry" - }, - "id": { - "description": "A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2.", - "type": ["string", "number"] - }, - "properties": { - "$ref": "#/definitions/GeoJsonProperties", - "description": "Properties associated with this feature." - }, - "type": { - "const": "Feature", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["geometry", "properties", "type"], - "type": "object" - }, - "Feature": { - "additionalProperties": false, - "description": "A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "geometry": { - "$ref": "#/definitions/Geometry", - "description": "The feature's geometry" - }, - "id": { - "description": "A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2.", - "type": ["string", "number"] - }, - "properties": { - "$ref": "#/definitions/GeoJsonProperties", - "description": "Properties associated with this feature." - }, - "type": { - "const": "Feature", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["geometry", "properties", "type"], - "type": "object" - }, - "FeatureCollection": { - "additionalProperties": false, - "description": "A collection of feature objects. https://tools.ietf.org/html/rfc7946#section-3.3", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "features": { - "items": { - "$ref": "#/definitions/Feature%3CGeometry%2CGeoJsonProperties%3E" - }, - "type": "array" - }, - "type": { - "const": "FeatureCollection", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["features", "type"], - "type": "object" - }, - "FeeExplanation": { - "$id": "#FeeExplanation", - "additionalProperties": false, - "description": "An explanation, including policy references, of the fees associated with this application", - "properties": { - "calculated": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "category": { - "additionalProperties": false, - "description": "Breakdown of calculated fee by category of development, based on the scales defined in The Town and Country Planning Regulations https://www.legislation.gov.uk/uksi/2012/2920/schedule/1/part/2", - "properties": { - "eight": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "eleven": { - "additionalProperties": false, - "properties": { - "one": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - } - }, - "required": ["one"], - "type": "object" - }, - "five": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "four": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "fourteen": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "nine": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "one": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "sixAndSeven": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "ten": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "thirteen": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "three": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "twelve": { - "additionalProperties": false, - "properties": { - "one": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - }, - "two": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - } - }, - "type": "object" - }, - "two": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - } - }, - "type": "object" - }, - "payable": { - "items": { - "$ref": "#/definitions/CalculateMetadata" - }, - "type": "array" - } - }, - "required": ["calculated", "payable"], - "type": "object" - }, - "FeeExplanationNotApplicable": { - "$id": "#FeeExplanationNotApplicable", - "additionalProperties": false, - "description": "An indicator that an application fee does not apply to this application type or journey, therefore there is not an explanation of how it was calculated", - "properties": { - "notApplicable": { - "const": true, - "type": "boolean" - } - }, - "required": ["notApplicable"], - "type": "object" - }, - "File": { - "$id": "#File", - "additionalProperties": false, - "description": "File uploaded and labeled by the user to support the application", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "items": { - "$ref": "#/definitions/FileType" - }, - "type": "array" - } - }, - "required": ["name", "type"], - "type": "object" - }, - "FileType": { - "$id": "#FileType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Details of impact on access, roads, and rights of way", - "type": "string" - }, - "value": { - "const": "accessRoadsRightsOfWayDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Affordable housing statement", - "type": "string" - }, - "value": { - "const": "affordableHousingStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Arboriculturist report", - "type": "string" - }, - "value": { - "const": "arboriculturistReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bank statement", - "type": "string" - }, - "value": { - "const": "bankStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Basement impact statement", - "type": "string" - }, - "value": { - "const": "basementImpactStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bio-aerosol assessment", - "type": "string" - }, - "value": { - "const": "bioaerosolAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Birdstrike risk management plan", - "type": "string" - }, - "value": { - "const": "birdstrikeRiskManagementPlan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Borehole or trial pit analysis", - "type": "string" - }, - "value": { - "const": "boreholeOrTrialPitAnalysis", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Building control certificate", - "type": "string" - }, - "value": { - "const": "buildingControlCertificate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Structural or building condition survey", - "type": "string" - }, - "value": { - "const": "conditionSurvey", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Construction invoice", - "type": "string" - }, - "value": { - "const": "constructionInvoice", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Contamination report", - "type": "string" - }, - "value": { - "const": "contaminationReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Council tax bill", - "type": "string" - }, - "value": { - "const": "councilTaxBill", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Crime prevention strategy", - "type": "string" - }, - "value": { - "const": "crimePreventionStrategy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Design and Access Statement", - "type": "string" - }, - "value": { - "const": "designAndAccessStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Evidence for application fee exemption - disability", - "type": "string" - }, - "value": { - "const": "disabilityExemptionEvidence", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ecology report", - "type": "string" - }, - "value": { - "const": "ecologyReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Elevations - existing", - "type": "string" - }, - "value": { - "const": "elevations.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Elevations - proposed", - "type": "string" - }, - "value": { - "const": "elevations.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Scheme for mitigation and monitoring of emissions (dust, odour and vibrations)", - "type": "string" - }, - "value": { - "const": "emissionsMitigationAndMonitoringScheme", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Energy statement", - "type": "string" - }, - "value": { - "const": "energyStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Environmental Impact Assessment (EIA)", - "type": "string" - }, - "value": { - "const": "environmentalImpactAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "External materials details", - "type": "string" - }, - "value": { - "const": "externalMaterialsDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fire safety report", - "type": "string" - }, - "value": { - "const": "fireSafetyReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood risk assessment (FRA)", - "type": "string" - }, - "value": { - "const": "floodRiskAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Floor plan - existing", - "type": "string" - }, - "value": { - "const": "floorPlan.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Floor plan - proposed", - "type": "string" - }, - "value": { - "const": "floorPlan.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Foul drainage assessment", - "type": "string" - }, - "value": { - "const": "foulDrainageAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Geodiversity assessment", - "type": "string" - }, - "value": { - "const": "geodiversityAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Plans showing the stretches of hedgerows to be removed", - "type": "string" - }, - "value": { - "const": "hedgerowsInformation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Evidence of the date of planting of the removed hedgerows", - "type": "string" - }, - "value": { - "const": "hedgerowsInformation.plantingDate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Heritage Statement", - "type": "string" - }, - "value": { - "const": "heritageStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hydrological and hydrogeological assessment", - "type": "string" - }, - "value": { - "const": "hydrologicalAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hydrology report", - "type": "string" - }, - "value": { - "const": "hydrologyReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Internal elevations", - "type": "string" - }, - "value": { - "const": "internalElevations", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Internal sections", - "type": "string" - }, - "value": { - "const": "internalSections", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Joiner's report", - "type": "string" - }, - "value": { - "const": "joinersReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Joinery section report", - "type": "string" - }, - "value": { - "const": "joinerySections", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Land contamination assessment", - "type": "string" - }, - "value": { - "const": "landContaminationAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Landscape and visual impact assessment (LVIA)", - "type": "string" - }, - "value": { - "const": "landscapeAndVisualImpactAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Landscape strategy or landscape plan", - "type": "string" - }, - "value": { - "const": "landscapeStrategy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lighting assessment", - "type": "string" - }, - "value": { - "const": "lightingAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Details of litter, vermin and bird control", - "type": "string" - }, - "value": { - "const": "litterVerminAndBirdControlDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Location plan", - "type": "string" - }, - "value": { - "const": "locationPlan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Method statement", - "type": "string" - }, - "value": { - "const": "methodStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Minerals and waste assessment", - "type": "string" - }, - "value": { - "const": "mineralsAndWasteAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Information the authority considers necessary for the application", - "type": "string" - }, - "value": { - "const": "necessaryInformation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New dwellings schedule", - "type": "string" - }, - "value": { - "const": "newDwellingsSchedule", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Noise assessment", - "type": "string" - }, - "value": { - "const": "noiseAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Open space assessment", - "type": "string" - }, - "value": { - "const": "openSpaceAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other - document", - "type": "string" - }, - "value": { - "const": "otherDocument", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other - drawing", - "type": "string" - }, - "value": { - "const": "otherDrawing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other - evidence or correspondence", - "type": "string" - }, - "value": { - "const": "otherEvidence", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Parking plan", - "type": "string" - }, - "value": { - "const": "parkingPlan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Photographs - existing", - "type": "string" - }, - "value": { - "const": "photographs.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Photographs - proposed", - "type": "string" - }, - "value": { - "const": "photographs.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Planning statement", - "type": "string" - }, - "value": { - "const": "planningStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Recyclable waste storage details", - "type": "string" - }, - "value": { - "const": "recycleWasteStorageDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Information the applicant considers relevant to the application", - "type": "string" - }, - "value": { - "const": "relevantInformation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Residential units details", - "type": "string" - }, - "value": { - "const": "residentialUnitsDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Roof plan - existing", - "type": "string" - }, - "value": { - "const": "roofPlan.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Roof plan - proposed", - "type": "string" - }, - "value": { - "const": "roofPlan.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sections - existing", - "type": "string" - }, - "value": { - "const": "sections.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sections - proposed", - "type": "string" - }, - "value": { - "const": "sections.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site plan - existing", - "type": "string" - }, - "value": { - "const": "sitePlan.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site plan - proposed", - "type": "string" - }, - "value": { - "const": "sitePlan.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sketch plan", - "type": "string" - }, - "value": { - "const": "sketchPlan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Statement of community involvement", - "type": "string" - }, - "value": { - "const": "statementOfCommunityInvolvement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Statutory declaration", - "type": "string" - }, - "value": { - "const": "statutoryDeclaration", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Details of storage treatment or disposal of waste", - "type": "string" - }, - "value": { - "const": "storageTreatmentAndWasteDisposalDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Street scene drawing", - "type": "string" - }, - "value": { - "const": "streetScene", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Subsidence report", - "type": "string" - }, - "value": { - "const": "subsidenceReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sunlight and daylight report", - "type": "string" - }, - "value": { - "const": "sunlightAndDaylightReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sustainability statement", - "type": "string" - }, - "value": { - "const": "sustainabilityStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Technical evidence", - "type": "string" - }, - "value": { - "const": "technicalEvidence", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Technical specification", - "type": "string" - }, - "value": { - "const": "technicalSpecification", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tenancy agreement", - "type": "string" - }, - "value": { - "const": "tenancyAgreement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tenancy invoice", - "type": "string" - }, - "value": { - "const": "tenancyInvoice", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Town centre uses - Impact assessment", - "type": "string" - }, - "value": { - "const": "townCentreImpactAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Town centre uses - Sequential assessment", - "type": "string" - }, - "value": { - "const": "townCentreSequentialAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Transport assessment", - "type": "string" - }, - "value": { - "const": "transportAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Travel plan", - "type": "string" - }, - "value": { - "const": "travelPlan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Location of trees and hedges", - "type": "string" - }, - "value": { - "const": "treeAndHedgeLocation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Removed or pruned trees and hedges", - "type": "string" - }, - "value": { - "const": "treeAndHedgeRemovedOrPruned", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tree canopy calculator", - "type": "string" - }, - "value": { - "const": "treeCanopyCalculator", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tree condition report", - "type": "string" - }, - "value": { - "const": "treeConditionReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tree plan", - "type": "string" - }, - "value": { - "const": "treePlan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Trees report", - "type": "string" - }, - "value": { - "const": "treesReport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Unit plan - existing", - "type": "string" - }, - "value": { - "const": "unitPlan.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Unit plan - proposed", - "type": "string" - }, - "value": { - "const": "unitPlan.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Use plan - existing", - "type": "string" - }, - "value": { - "const": "usePlan.existing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Use plan - proposed", - "type": "string" - }, - "value": { - "const": "usePlan.proposed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Utility bill", - "type": "string" - }, - "value": { - "const": "utilityBill", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Utilities statement", - "type": "string" - }, - "value": { - "const": "utilitiesStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ventilation or extraction statement", - "type": "string" - }, - "value": { - "const": "ventilationStatement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Viability Appraisal", - "type": "string" - }, - "value": { - "const": "viabilityAppraisal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Visualisations", - "type": "string" - }, - "value": { - "const": "visualisations", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Waste and recycling strategy", - "type": "string" - }, - "value": { - "const": "wasteAndRecyclingStrategy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Waste storage details", - "type": "string" - }, - "value": { - "const": "wasteStorageDetails", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water environment assessment", - "type": "string" - }, - "value": { - "const": "waterEnvironmentAssessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Types of planning documents and drawings" - }, - "FilesAsData": { - "$id": "#FilesAsData", - "additionalProperties": false, - "description": "File types that can optionally be provided by answering structured questions, rather than via document upload (see root `files` for uploads)", - "properties": { - "designAndAccessStatement": { - "$ref": "#/definitions/DesignAndAccessStatement" - }, - "heritageStatement": { - "$ref": "#/definitions/HeritageStatement" - }, - "locationPlan": { - "$ref": "#/definitions/GeoBoundary" - } - }, - "type": "object" - }, - "GLAHousingProvider": { - "$id": "#GLAHousingProvider", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other affordable housing provider", - "type": "string" - }, - "value": { - "const": "affordableHousing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Council delivered build to rent", - "type": "string" - }, - "value": { - "const": "councilBuildToRent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Council delivery company", - "type": "string" - }, - "value": { - "const": "councilDelivery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Housing association", - "type": "string" - }, - "value": { - "const": "HA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Local Authority", - "type": "string" - }, - "value": { - "const": "LA", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Private", - "type": "string" - }, - "value": { - "const": "private", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Private rented sector", - "type": "string" - }, - "value": { - "const": "privateRented", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other public authority", - "type": "string" - }, - "value": { - "const": "publicAuthority", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Self-build", - "type": "string" - }, - "value": { - "const": "selfBuild", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Housing provider categories tracked by the Greater London Authority (GLA)" - }, - "GLAResidentialUnitType": { - "$id": "#GLAResidentialUnitType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cluster flat", - "type": "string" - }, - "value": { - "const": "cluster", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Co-living unit", - "type": "string" - }, - "value": { - "const": "coLiving", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Detached home", - "type": "string" - }, - "value": { - "const": "detached", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flat/apartment or maisonette", - "type": "string" - }, - "value": { - "const": "flat", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "House in multiple occupation (HMO)", - "type": "string" - }, - "value": { - "const": "HMO", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hostel room", - "type": "string" - }, - "value": { - "const": "hostel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Live/work unit", - "type": "string" - }, - "value": { - "const": "LW", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other", - "type": "string" - }, - "value": { - "const": "other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Semi-detached home", - "type": "string" - }, - "value": { - "const": "semiDetached", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Student accomodation", - "type": "string" - }, - "value": { - "const": "student", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Studio or bedsit", - "type": "string" - }, - "value": { - "const": "studio", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Terraced home", - "type": "string" - }, - "value": { - "const": "terraced", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Residential unit types tracked by the Greater London Authority (GLA)" - }, - "GLATenureType": { - "$id": "#GLATenureType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Affordable rent (not at LAR benchmark rents)", - "type": "string" - }, - "value": { - "const": "AR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Discount market rate", - "type": "string" - }, - "value": { - "const": "DMR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Discount market rate (charged at London Living Rents)", - "type": "string" - }, - "value": { - "const": "DMRLLR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Discount market sale", - "type": "string" - }, - "value": { - "const": "DMS", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "London Affordable Rent", - "type": "string" - }, - "value": { - "const": "LAR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "London Living Rent", - "type": "string" - }, - "value": { - "const": "LRR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "London Shared Ownership", - "type": "string" - }, - "value": { - "const": "LSO", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Market for rent", - "type": "string" - }, - "value": { - "const": "marketForRent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Market for sale", - "type": "string" - }, - "value": { - "const": "marketForSale", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other", - "type": "string" - }, - "value": { - "const": "other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Self-build and custom build", - "type": "string" - }, - "value": { - "const": "selfCustomBuild", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Starter homes", - "type": "string" - }, - "value": { - "const": "SH", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Shared equity", - "type": "string" - }, - "value": { - "const": "sharedEquity", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Social rent", - "type": "string" - }, - "value": { - "const": "SR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Tenure types tracked by the Greater London Authority (GLA)" - }, - "GeoBoundary": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - }, - "site": { - "$ref": "#/definitions/GeoJSON" - } - }, - "required": ["site", "area"], - "type": "object" - }, - "GeoJSON": { - "anyOf": [ - { - "$ref": "#/definitions/Geometry" - }, - { - "$ref": "#/definitions/Feature" - }, - { - "$ref": "#/definitions/FeatureCollection" - } - ], - "description": "Union of GeoJSON objects." - }, - "GeoJsonProperties": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "Geometry": { - "anyOf": [ - { - "$ref": "#/definitions/Point" - }, - { - "$ref": "#/definitions/MultiPoint" - }, - { - "$ref": "#/definitions/LineString" - }, - { - "$ref": "#/definitions/MultiLineString" - }, - { - "$ref": "#/definitions/Polygon" - }, - { - "$ref": "#/definitions/MultiPolygon" - }, - { - "$ref": "#/definitions/GeometryCollection" - } - ], - "description": "Geometry object. https://tools.ietf.org/html/rfc7946#section-3" - }, - "GeometryCollection": { - "additionalProperties": false, - "description": "Geometry Collection https://tools.ietf.org/html/rfc7946#section-3.1.8", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "geometries": { - "items": { - "$ref": "#/definitions/Geometry" - }, - "type": "array" - }, - "type": { - "const": "GeometryCollection", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["geometries", "type"], - "type": "object" - }, - "HeritageStatement": { - "additionalProperties": false, - "properties": { - "designated.WHS": { - "$ref": "#/definitions/HeritageStatementBase" - }, - "designated.conservationArea": { - "$ref": "#/definitions/HeritageStatementBase" - }, - "listed": { - "$ref": "#/definitions/HeritageStatementBase" - }, - "monument": { - "$ref": "#/definitions/HeritageStatementBase" - } - }, - "type": "object" - }, - "HeritageStatementBase": { - "additionalProperties": false, - "properties": { - "designationDescription": { - "type": "string" - }, - "improvements": { - "type": "string" - }, - "managedImpact": { - "type": "string" - }, - "projectDescpription": { - "type": "string" - }, - "propertyDescription": { - "type": "string" - } - }, - "required": [ - "designationDescription", - "propertyDescription", - "projectDescpription", - "managedImpact", - "improvements" - ], - "type": "object" - }, - "LeadDeveloper": { - "additionalProperties": false, - "properties": { - "company": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "registrationNumber": { - "type": "string" - } - }, - "required": ["name", "registrationNumber"], - "type": "object" - }, - "type": { - "enum": ["ukCompany", "overseasCompany", "none"], - "type": "string" - } - }, - "required": ["type"], - "type": "object" - }, - "LineString": { - "additionalProperties": false, - "description": "LineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.4", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "coordinates": { - "items": { - "$ref": "#/definitions/Position" - }, - "type": "array" - }, - "type": { - "const": "LineString", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["coordinates", "type"], - "type": "object" - }, - "LondonApplicationData": { - "$id": "#LondonApplicationData", - "additionalProperties": false, - "description": "Application details for project sites within the Greater London Authority (GLA) area", - "properties": { - "CIL": { - "$ref": "#/definitions/CommunityInfrastructureLevy" - }, - "declaration": { - "$ref": "#/definitions/ApplicationDeclaration" - }, - "fee": { - "anyOf": [ - { - "$ref": "#/definitions/ApplicationFee" - }, - { - "$ref": "#/definitions/ApplicationFeeNotApplicable" - } - ] - }, - "leadDeveloper": { - "$ref": "#/definitions/LeadDeveloper" - }, - "planningApp": { - "$ref": "#/definitions/PlanningApplication" - }, - "preApp": { - "$ref": "#/definitions/PreApplication" - }, - "type": { - "$ref": "#/definitions/ApplicationType" - }, - "vacantBuildingCredit": { - "type": "boolean" - } - }, - "required": ["declaration", "fee", "type"], - "type": "object" - }, - "LondonProperty": { - "$id": "#LondonProperty", - "additionalProperties": false, - "description": "Property details for sites within the Greater London Authority (GLA) area", - "properties": { - "EPC": { - "additionalProperties": false, - "properties": { - "known": { - "enum": [ - "Yes", - "Yes, but only some of the properties have one", - "The property does not have one", - "No" - ], - "type": "string" - }, - "number": { - "type": "string" - } - }, - "required": ["known"], - "title": "Energy Performance Certificate", - "type": "object" - }, - "address": { - "anyOf": [ - { - "$ref": "#/definitions/ProposedAddress" - }, - { - "$ref": "#/definitions/OSAddress" - } - ] - }, - "boundary": { - "$ref": "#/definitions/GeoBoundary", - "description": "HM Land Registry Index polygon for this property, commonly referred to as the blue line boundary, sourced from planning.data.gov.uk/dataset/title-boundary" - }, - "flood": { - "additionalProperties": false, - "description": "Existing flood risk, if applicable to application.type", - "properties": { - "20mFromWatercourse": { - "type": "boolean" - }, - "increasedRiskElsewhere": { - "type": "boolean" - } - }, - "type": "object" - }, - "localAuthorityDistrict": { - "description": "Current and historic UK Local Authority Districts that contain this address sourced from planning.data.gov.uk/dataset/local-authority-district", - "items": { - "type": "string" - }, - "type": "array" - }, - "materials": { - "$ref": "#/definitions/Materials", - "description": "Existing materials, if applicable to proposal.projectType" - }, - "occupation": { - "additionalProperties": false, - "description": "Current occupation status of the property", - "properties": { - "status": { - "enum": ["occupied", "partVacant", "vacant"], - "type": "string" - } - }, - "required": ["status"], - "type": "object" - }, - "ownership": { - "additionalProperties": false, - "description": "Current ownership status of the land", - "properties": { - "status": { - "enum": ["public", "private", "mixed"], - "type": "string" - } - }, - "required": ["status"], - "type": "object" - }, - "parking": { - "additionalProperties": false, - "properties": { - "buses": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "carClub": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "cars": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "cycles": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "disabled": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "motorcycles": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "offStreet": { - "additionalProperties": false, - "properties": { - "residential": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["residential"], - "type": "object" - }, - "other": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "vans": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "type": "object" - }, - "planning": { - "additionalProperties": false, - "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", - "properties": { - "conditions": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - }, - "designations": { - "items": { - "$ref": "#/definitions/PlanningDesignation" - }, - "type": "array" - }, - "guidance": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - }, - "plans": { - "additionalProperties": false, - "properties": { - "local": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - }, - "neighbourhood": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - } - }, - "required": ["local", "neighbourhood"], - "type": "object" - }, - "sources": { - "description": "A list of open data requests or websites that explain how these constraints were sourced", - "items": { - "$ref": "#/definitions/URL" - }, - "type": "array" - } - }, - "required": ["sources"], - "type": "object" - }, - "region": { - "const": "London", - "type": "string" - }, - "socialLandlord": { - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "type": "string" - }, - "status": { - "const": true, - "type": "boolean" - } - }, - "required": ["status", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "status": { - "const": false, - "type": "boolean" - } - }, - "required": ["status"], - "type": "object" - } - ], - "title": "Lead Registered Social Landlord" - }, - "titleNumber": { - "additionalProperties": false, - "properties": { - "known": { - "enum": ["Yes", "No"], - "type": "string" - }, - "number": { - "type": "string" - } - }, - "required": ["known"], - "type": "object" - }, - "trees": { - "additionalProperties": false, - "description": "Existing trees on or near the site", - "properties": { - "adjacent": { - "type": "boolean" - }, - "present": { - "type": "boolean" - } - }, - "required": ["present", "adjacent"], - "type": "object" - }, - "type": { - "$ref": "#/definitions/PropertyType" - }, - "units": { - "$ref": "#/definitions/ResidentialUnits" - }, - "use": { - "additionalProperties": false, - "description": "Existing land use, if applicable to application.type", - "properties": { - "description": { - "type": "string" - }, - "vacant": { - "additionalProperties": false, - "properties": { - "lastUseEndDate": { - "$ref": "#/definitions/Date" - } - }, - "required": ["lastUseEndDate"], - "type": "object" - } - }, - "required": ["description"], - "type": "object" - } - }, - "required": ["address", "localAuthorityDistrict", "region", "type"], - "type": "object" - }, - "LondonProposal": { - "$id": "#LondonProposal", - "additionalProperties": false, - "description": "Proposal details for project sites within the Greater London Authority (GLA) area", - "properties": { - "access": { - "additionalProperties": false, - "properties": { - "affected": { - "enum": [ - "vehicle", - "pedestrian", - "newRoad", - "rightsOfWay.newPublic", - "rightsOfWay.changes" - ], - "type": "string" - } - }, - "type": "object" - }, - "boundary": { - "$ref": "#/definitions/GeoBoundary", - "description": "Location plan boundary proposed by the user, commonly referred to as the red line boundary" - }, - "charging": { - "additionalProperties": false, - "description": "Electric vehicle charing points", - "properties": { - "active": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "passive": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "type": "object" - }, - "cost": { - "additionalProperties": false, - "description": "Project cost", - "properties": { - "projected": { - "enum": ["2m", "2mTo100m", "100m"], - "type": "string" - } - }, - "required": ["projected"], - "type": "object" - }, - "date": { - "$ref": "#/definitions/ProposalDates" - }, - "description": { - "type": "string" - }, - "ecology": { - "additionalProperties": false, - "description": "Details of biodiversity and geological conservation, if applicable to application.type", - "properties": { - "conservationAffected": { - "enum": ["site", "adjacent", "none"], - "type": "string" - }, - "featuresAffected": { - "enum": ["site", "adjacent", "none"], - "type": "string" - }, - "speciesAffected": { - "enum": ["site", "adjacent", "none"], - "type": "string" - } - }, - "type": "object" - }, - "energy": { - "additionalProperties": false, - "description": "Proposed energy sources", - "properties": { - "communityOwned": { - "additionalProperties": false, - "properties": { - "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any on-site community-owned energy generation in megawatts (mW)", - "properties": { - "megawatts": { - "type": "number" - } - }, - "required": ["megawatts"], - "type": "object" - } - }, - "required": ["capacity"], - "type": "object" - }, - "heatPumps": { - "additionalProperties": false, - "properties": { - "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any heat pumps in megawatts (mV)", - "properties": { - "megawatts": { - "type": "number" - } - }, - "required": ["megawatts"], - "type": "object" - } - }, - "required": ["capacity"], - "type": "object" - }, - "solar": { - "additionalProperties": false, - "properties": { - "capacity": { - "additionalProperties": false, - "description": "Proposed total capacity of any solar energy generation in megawatts (mV)", - "properties": { - "megawatts": { - "type": "number" - } - }, - "required": ["megawatts"], - "type": "object" - } - }, - "required": ["capacity"], - "type": "object" - }, - "type": { - "items": { - "enum": ["communityOwned", "heatPump", "solar"], - "type": "string" - }, - "type": "array" - } - }, - "required": ["type"], - "type": "object" - }, - "environmentalImpactDescription": { - "type": "string" - }, - "extend": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - } - }, - "required": ["area"], - "type": "object" - }, - "flood": { - "additionalProperties": false, - "description": "Assessment of flood risk, if applicable to application.type", - "properties": { - "surfaceWaterDisposal": { - "enum": [ - "drainageSystem", - "soakaway", - "sewer", - "watercourse", - "pondOrLake", - "other" - ], - "type": "string" - } - }, - "type": "object" - }, - "greenRoof": { - "additionalProperties": false, - "description": "Green roof", - "properties": { - "area": { - "$ref": "#/definitions/Area" - } - }, - "required": ["area"], - "type": "object" - }, - "materials": { - "$ref": "#/definitions/Materials", - "description": "Proposed materials, if applicable to projectType" - }, - "nature": { - "additionalProperties": false, - "description": "Changes that result in the loss, gain, or change of use of natural spaces", - "properties": { - "openSpaces": { - "items": { - "additionalProperties": false, - "properties": { - "access": { - "enum": ["restricted", "unrestricted"], - "type": "string" - }, - "area": { - "additionalProperties": false, - "properties": { - "hectares": { - "type": "number" - } - }, - "required": ["hectares"], - "type": "object" - }, - "description": { - "type": "string" - }, - "designation": { - "$ref": "#/definitions/OpenSpaceDesignation" - }, - "impact": { - "enum": ["loss", "gain", "change"], - "type": "string" - }, - "swap": { - "description": "Whether the open space change involves a land swap", - "type": "boolean" - }, - "type": { - "$ref": "#/definitions/OpenSpaceType" - } - }, - "required": [ - "impact", - "description", - "type", - "designation", - "access", - "area", - "swap" - ], - "type": "object" - }, - "type": "array" - }, - "protectedSpaces": { - "items": { - "additionalProperties": false, - "properties": { - "access": { - "enum": ["restricted", "unrestricted"], - "type": "string" - }, - "area": { - "additionalProperties": false, - "properties": { - "hectares": { - "type": "number" - } - }, - "required": ["hectares"], - "type": "object" - }, - "description": { - "type": "string" - }, - "designation": { - "$ref": "#/definitions/ProtectedSpaceDesignation" - }, - "impact": { - "enum": ["loss", "gain", "change"], - "type": "string" - } - }, - "required": [ - "impact", - "description", - "designation", - "access", - "area" - ], - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "new": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - }, - "count": { - "additionalProperties": false, - "properties": { - "bathrooms": { - "type": "number" - }, - "bedrooms": { - "type": "number" - }, - "dwellings": { - "type": "number" - } - }, - "type": "object" - } - }, - "required": ["area"], - "type": "object" - }, - "newBuildings": { - "$ref": "#/definitions/NewBuildingsOrStoreys", - "description": "Creating new buildings" - }, - "newDwellings": { - "additionalProperties": false, - "properties": { - "newBuild": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "type": "object" - }, - "newStoreys": { - "$ref": "#/definitions/NewBuildingsOrStoreys", - "description": "Increasing the height of existing buildings" - }, - "parking": { - "additionalProperties": false, - "description": "Proposed parking spaces", - "properties": { - "buses": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "carClub": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "cars": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "cycles": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "disabled": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "motorcycles": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "offStreet": { - "additionalProperties": false, - "properties": { - "residential": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - } - }, - "required": ["residential"], - "type": "object" - }, - "other": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - }, - "vans": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - }, - "difference": { - "type": "number" - } - }, - "required": ["count", "difference"], - "type": "object" - } - }, - "type": "object" - }, - "projectType": { - "items": { - "$ref": "#/definitions/ProjectType" - }, - "type": "array" - }, - "schemeName": { - "type": "string" - }, - "structures": { - "additionalProperties": false, - "properties": { - "permanent": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "temporary": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "total": { - "type": "number" - }, - "type": { - "enum": [ - "bridge", - "catchpit", - "culvert", - "pipe", - "gully", - "headwall", - "manhole", - "weir", - "other" - ], - "type": "string" - } - }, - "required": ["type", "total"], - "type": "object" - }, - "units": { - "additionalProperties": false, - "properties": { - "residential": { - "additionalProperties": false, - "properties": { - "new": { - "items": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - }, - "bedrooms": { - "type": "number" - }, - "compliance": { - "items": { - "$ref": "#/definitions/BuildingRegulation" - }, - "type": "array" - }, - "development": { - "$ref": "#/definitions/DevelopmentType" - }, - "garden": { - "type": "boolean" - }, - "habitableRooms": { - "type": "number" - }, - "identicalUnits": { - "type": "number" - }, - "olderPersons": { - "type": "boolean" - }, - "provider": { - "$ref": "#/definitions/GLAHousingProvider" - }, - "sheltered": { - "type": "boolean" - }, - "tenure": { - "$ref": "#/definitions/GLATenureType" - }, - "type": { - "$ref": "#/definitions/GLAResidentialUnitType" - } - }, - "required": [ - "area", - "bedrooms", - "compliance", - "development", - "garden", - "habitableRooms", - "identicalUnits", - "olderPersons", - "provider", - "sheltered", - "tenure", - "type" - ], - "type": "object" - }, - "type": "array" - }, - "rebuilt": { - "items": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - }, - "bedrooms": { - "type": "number" - }, - "compliance": { - "items": { - "$ref": "#/definitions/BuildingRegulation" - }, - "type": "array" - }, - "development": { - "$ref": "#/definitions/DevelopmentType" - }, - "garden": { - "type": "boolean" - }, - "habitableRooms": { - "type": "number" - }, - "identicalUnits": { - "type": "number" - }, - "olderPersons": { - "type": "boolean" - }, - "provider": { - "$ref": "#/definitions/GLAHousingProvider" - }, - "sheltered": { - "type": "boolean" - }, - "tenure": { - "$ref": "#/definitions/GLATenureType" - }, - "type": { - "$ref": "#/definitions/GLAResidentialUnitType" - } - }, - "required": [ - "area", - "bedrooms", - "compliance", - "development", - "garden", - "habitableRooms", - "identicalUnits", - "olderPersons", - "provider", - "sheltered", - "tenure", - "type" - ], - "type": "object" - }, - "type": "array" - }, - "removed": { - "items": { - "additionalProperties": false, - "properties": { - "area": { - "$ref": "#/definitions/Area" - }, - "bedrooms": { - "type": "number" - }, - "compliance": { - "items": { - "$ref": "#/definitions/BuildingRegulation" - }, - "type": "array" - }, - "habitableRooms": { - "type": "number" - }, - "identicalUnits": { - "type": "number" - }, - "olderPersons": { - "type": "boolean" - }, - "provider": { - "$ref": "#/definitions/GLAHousingProvider" - }, - "sheltered": { - "type": "boolean" - }, - "tenure": { - "$ref": "#/definitions/GLATenureType" - }, - "type": { - "$ref": "#/definitions/GLAResidentialUnitType" - } - }, - "required": [ - "area", - "bedrooms", - "compliance", - "habitableRooms", - "identicalUnits", - "olderPersons", - "provider", - "sheltered", - "tenure", - "type" - ], - "type": "object" - }, - "type": "array" - }, - "retained": { - "items": { - "additionalProperties": false, - "properties": { - "bedrooms": { - "type": "number" - }, - "identicalUnits": { - "type": "number" - }, - "tenure": { - "$ref": "#/definitions/GLATenureType" - }, - "type": { - "$ref": "#/definitions/GLAResidentialUnitType" - } - }, - "required": [ - "bedrooms", - "tenure", - "type", - "identicalUnits" - ], - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "required": ["residential"], - "type": "object" - }, - "urbanGreeningFactor": { - "additionalProperties": false, - "description": "Urban Greening Factor Score", - "properties": { - "score": { - "type": "number" - } - }, - "required": ["score"], - "type": "object" - }, - "use": { - "additionalProperties": false, - "description": "Proposed land use, including storage of hazardous materials, if applicable to application.type", - "properties": { - "contamination": { - "enum": ["known", "suspected", "vulnerable"], - "type": "string" - }, - "description": { - "type": "string" - }, - "storage": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "utilities": { - "additionalProperties": false, - "description": "Proposed utilities, if applicable to application.type", - "properties": { - "fire": { - "additionalProperties": false, - "description": "Whether the proposal introduces a fire suppression system", - "properties": { - "suppression": { - "type": "boolean" - } - }, - "required": ["suppression"], - "type": "object" - }, - "foulSewageDisposal": { - "description": "Type of proposed foul sewage disposal", - "enum": ["sewer", "tank", "plant", "pit", "other"], - "type": "string" - }, - "gas": { - "additionalProperties": false, - "description": "Count of new gas connections", - "properties": { - "connections": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["connections"], - "type": "object" - }, - "internet": { - "additionalProperties": false, - "description": "Count of new full fibre Internet connections", - "properties": { - "commercialUnits": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "residentialUnits": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["commercialUnits", "residentialUnits"], - "type": "object" - }, - "water": { - "additionalProperties": false, - "description": "Count of new water connections", - "properties": { - "connections": { - "additionalProperties": false, - "properties": { - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - } - }, - "required": ["connections"], - "type": "object" - } - }, - "type": "object" - }, - "waste": { - "additionalProperties": false, - "description": "Waste management of demolition and construction materials", - "properties": { - "reuseRecycle": { - "additionalProperties": false, - "properties": { - "percent": { - "type": "number" - } - }, - "required": ["percent"], - "type": "object" - } - }, - "required": ["reuseRecycle"], - "type": "object" - }, - "water": { - "additionalProperties": false, - "description": "Water management", - "properties": { - "grey": { - "description": "Whether the proposal includes grey water re-use", - "type": "boolean" - }, - "rain": { - "description": "Whether the proposal includes rain water harvesting", - "type": "boolean" - }, - "usage": { - "additionalProperties": false, - "description": "Internal residential water usage", - "properties": { - "litresPerPersonPerDay": { - "type": "number" - } - }, - "required": ["litresPerPersonPerDay"], - "type": "object" - } - }, - "required": ["usage", "rain", "grey"], - "type": "object" - }, - "watercourse": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "type": { - "enum": [ - "ditch", - "millStream", - "pond", - "river", - "streamOrBrook", - "other" - ], - "type": "string" - } - }, - "required": ["name", "type"], - "type": "object" - } - }, - "required": ["description", "projectType"], - "type": "object" - }, - "MaintenanceContact": { - "$id": "#MaintenanceContact", - "description": "Contact information for the person(s) responsible for maintenance while the works are carried out", - "items": { - "additionalProperties": false, - "properties": { - "address": { - "$ref": "#/definitions/Address" - }, - "contact": { - "additionalProperties": false, - "properties": { - "company": { - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "type": "object" - }, - "email": { - "type": "string" - }, - "name": { - "additionalProperties": false, - "properties": { - "first": { - "type": "string" - }, - "last": { - "type": "string" - }, - "title": { - "type": "string" - } - }, - "required": ["first", "last"], - "type": "object" - }, - "phone": { - "type": "string" - } - }, - "required": ["name", "email", "phone"], - "type": "object" - }, - "when": { - "enum": [ - "duringConstruction", - "afterConstruction", - "duringAndAfterConstruction" - ], - "type": "string" - } - }, - "required": ["when", "address", "contact"], - "type": "object" - }, - "type": "array" - }, - "Materials": { - "additionalProperties": false, - "properties": { - "boundary": { - "type": "string" - }, - "door": { - "type": "string" - }, - "lighting": { - "type": "string" - }, - "other": { - "type": "string" - }, - "roof": { - "type": "string" - }, - "surface": { - "type": "string" - }, - "wall": { - "type": "string" - }, - "window": { - "type": "string" - } - }, - "type": "object" - }, - "Metadata": { - "$id": "#DigitalPlanningMetadata", - "anyOf": [ - { - "$ref": "#/definitions/AnyProviderMetadata" - }, - { - "$ref": "#/definitions/PlanXMetadata" - } - ], - "description": "Details of the digital planning service which sent this application" - }, - "MultiLineString": { - "additionalProperties": false, - "description": "MultiLineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.5", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "coordinates": { - "items": { - "items": { - "$ref": "#/definitions/Position" - }, - "type": "array" - }, - "type": "array" - }, - "type": { - "const": "MultiLineString", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["coordinates", "type"], - "type": "object" - }, - "MultiPoint": { - "additionalProperties": false, - "description": "MultiPoint geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.3", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "coordinates": { - "items": { - "$ref": "#/definitions/Position" - }, - "type": "array" - }, - "type": { - "const": "MultiPoint", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["coordinates", "type"], - "type": "object" - }, - "MultiPolygon": { - "additionalProperties": false, - "description": "MultiPolygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.7", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "coordinates": { - "items": { - "items": { - "items": { - "$ref": "#/definitions/Position" - }, - "type": "array" - }, - "type": "array" - }, - "type": "array" - }, - "type": { - "const": "MultiPolygon", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["coordinates", "type"], - "type": "object" - }, - "NewBuildingsOrStoreys": { - "$id": "#NewBuildingsOrStoreys", - "additionalProperties": false, - "description": "Details about creating new buildings or increasing the height of existing buildings", - "properties": { - "buildings": { - "items": { - "additionalProperties": false, - "properties": { - "height": { - "additionalProperties": false, - "properties": { - "metres": { - "type": "number" - } - }, - "required": ["metres"], - "type": "object" - }, - "storeys": { - "type": "number" - } - }, - "required": ["height", "storeys"], - "type": "object" - }, - "type": "array" - }, - "count": { - "type": "number" - } - }, - "required": ["count"], - "type": "object" - }, - "OSAddress": { - "$id": "#OSAddress", - "additionalProperties": false, - "description": "Address information for sites with a known address sourced from Ordnance Survey AddressBase Premium", - "properties": { - "latitude": { - "description": "Latitude coordinate in EPSG:4326 (WGS84)", - "type": "number" - }, - "longitude": { - "description": "Longitude coordinate in EPSG:4326 (WGS84)", - "type": "number" - }, - "organisation": { - "type": "string" - }, - "pao": { - "description": "Combined `PAO_START_NUMBER`, `PAO_START_SUFFIX`, `PAO_TEXT` OS LPI properties", - "title": "Primary Addressable Object start range and/or building description", - "type": "string" - }, - "paoEnd": { - "description": "Combined `PAO_END_NUMBER`, `PAO_END_SUFFIX` OS LPI properties", - "title": "Primary Addressable Object (PAO) end range", - "type": "string" - }, - "postcode": { - "type": "string" - }, - "sao": { - "description": "Combined `SAO_START_NUMBER`, `SAO_START_SUFFIX`, `SAO_TEXT` OS LPI properties", - "title": "Secondary Addressable Object (SAO) start range and/or building description", - "type": "string" - }, - "saoEnd": { - "description": "Combined `SAO_END_NUMBER`, `SAO_END_SUFFIX` OS LPI properties", - "title": "Secondary Addressable Object (SAO) end range", - "type": "string" - }, - "singleLine": { - "type": "string" - }, - "source": { - "const": "Ordnance Survey", - "type": "string" - }, - "street": { - "type": "string" - }, - "title": { - "type": "string" - }, - "town": { - "type": "string" - }, - "uprn": { - "maxLength": 12, - "title": "Unique Property Reference Number", - "type": "string" - }, - "usrn": { - "maxLength": 8, - "title": "Unique Street Reference Number", - "type": "string" - }, - "x": { - "description": "Easting coordinate in British National Grid (OSGB36)", - "type": "number" - }, - "y": { - "description": "Northing coordinate in British National Grid (OSGB36)", - "type": "number" - } - }, - "required": [ - "latitude", - "longitude", - "pao", - "postcode", - "singleLine", - "source", - "street", - "title", - "town", - "uprn", - "usrn", - "x", - "y" - ], - "type": "object" - }, - "OpenSpaceDesignation": { - "$id": "#OpenSpaceDesignation", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Green Belt", - "type": "string" - }, - "value": { - "const": "greenBelt", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Local Open Spaces", - "type": "string" - }, - "value": { - "const": "local", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Metropolitan Open Land", - "type": "string" - }, - "value": { - "const": "metropolitan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Not designated", - "type": "string" - }, - "value": { - "const": "none", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other designation", - "type": "string" - }, - "value": { - "const": "other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Designations of natural open spaces" - }, - "OpenSpaceType": { - "$id": "#OpenSpaceType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Allotments, community gardens and city farms", - "type": "string" - }, - "value": { - "const": "allotment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Amenity", - "type": "string" - }, - "value": { - "const": "amenity", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Brownfield land", - "type": "string" - }, - "value": { - "const": "brownfield", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cemeteries, churchyards and other burial grounds", - "type": "string" - }, - "value": { - "const": "burial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Provision for children and young people", - "type": "string" - }, - "value": { - "const": "children", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Civic spaces", - "type": "string" - }, - "value": { - "const": "civic", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Countryside in urban fringe areas", - "type": "string" - }, - "value": { - "const": "fringe", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Green corridors", - "type": "string" - }, - "value": { - "const": "greenCorridor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Natural and semi-natural", - "type": "string" - }, - "value": { - "const": "natural", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Non-residential institution grounds or gardens", - "type": "string" - }, - "value": { - "const": "nonResidential", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Parks and gardens", - "type": "string" - }, - "value": { - "const": "park", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Residential gardens", - "type": "string" - }, - "value": { - "const": "residential", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Outdoor sports facilities", - "type": "string" - }, - "value": { - "const": "sport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Types of natural open spaces" - }, - "Owners": { - "$id": "#Owners", - "anyOf": [ - { - "$ref": "#/definitions/OwnersNoticeGiven" - }, - { - "$ref": "#/definitions/OwnersNoNoticeGiven" - }, - { - "$ref": "#/definitions/OwnersNoticeDate" - } - ], - "description": "Names and addresses of all known owners and agricultural tenants, including confirmation or date of notice, or reason requisite notice has not been given if applicable" - }, - "OwnersNoNoticeGiven": { - "additionalProperties": false, - "properties": { - "address": { - "anyOf": [ - { - "$ref": "#/definitions/Address" - }, - { - "type": "string" - } - ] - }, - "interest": { - "enum": ["owner", "lessee", "occupier", "other"], - "type": "string" - }, - "name": { - "type": "string" - }, - "noNoticeReason": { - "type": "string" - }, - "noticeGiven": { - "const": false, - "type": "boolean" - } - }, - "required": ["address", "name", "noNoticeReason", "noticeGiven"], - "type": "object" - }, - "OwnersNoticeDate": { - "additionalProperties": false, - "properties": { - "address": { - "anyOf": [ - { - "$ref": "#/definitions/Address" - }, - { - "type": "string" - } - ] - }, - "interest": { - "enum": ["owner", "lessee", "occupier", "other"], - "type": "string" - }, - "name": { - "type": "string" - }, - "noticeDate": { - "$ref": "#/definitions/Date" - } - }, - "required": ["address", "name", "noticeDate"], - "type": "object" - }, - "OwnersNoticeGiven": { - "additionalProperties": false, - "properties": { - "address": { - "anyOf": [ - { - "$ref": "#/definitions/Address" - }, - { - "type": "string" - } - ] - }, - "interest": { - "enum": ["owner", "lessee", "occupier", "other"], - "type": "string" - }, - "name": { - "type": "string" - }, - "noticeGiven": { - "const": true, - "type": "boolean" - } - }, - "required": ["address", "name", "noticeGiven"], - "type": "object" - }, - "Ownership": { - "$id": "#Ownership", - "additionalProperties": false, - "description": "Information about the ownership certificate and property owners, if different than the applicant", - "properties": { - "agriculturalTenants": { - "description": "Does the land have any agricultural tenants?", - "type": "boolean" - }, - "certificate": { - "enum": ["a", "b", "c", "d"], - "type": "string" - }, - "declaration": { - "additionalProperties": false, - "description": "Declaration of the accuracy of the ownership certificate, including reasonable steps taken to find all owners and publish notice", - "properties": { - "accurate": { - "const": true, - "type": "boolean" - } - }, - "required": ["accurate"], - "type": "object" - }, - "interest": { - "enum": [ - "owner", - "owner.sole", - "owner.co", - "lessee", - "occupier", - "other" - ], - "type": "string" - }, - "noticeGiven": { - "description": "Has requisite notice been given to all the known owners and agricultural tenants?", - "type": "boolean" - }, - "noticePublished": { - "additionalProperties": false, - "description": "Has a notice of the application been published in a newspaper circulating in the area where the land is situated?", - "properties": { - "date": { - "$ref": "#/definitions/Date" - }, - "newspaperName": { - "type": "string" - }, - "status": { - "type": "boolean" - } - }, - "required": ["status"], - "type": "object" - }, - "owners": { - "items": { - "$ref": "#/definitions/Owners" - }, - "type": "array" - }, - "ownersKnown": { - "description": "Do you know the names and addresses of all owners and agricultural tenants?", - "enum": ["all", "some", "none"], - "type": "string" - } - }, - "type": "object" - }, - "PlanXMetadata": { - "$id": "#PlanXMetadata", - "additionalProperties": false, - "description": "Additional metadata associated with applications submitted via PlanX", - "properties": { - "id": { - "$ref": "#/definitions/UUID", - "description": "Unique identifier for this application" - }, - "organisation": { - "description": "The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority", - "maxLength": 4, - "type": "string" - }, - "schema": { - "$ref": "#/definitions/URL" - }, - "service": { - "additionalProperties": false, - "properties": { - "fee": { - "anyOf": [ - { - "$ref": "#/definitions/FeeExplanation" - }, - { - "$ref": "#/definitions/FeeExplanationNotApplicable" - } - ] - }, - "files": { - "$ref": "#/definitions/RequestedFiles" - }, - "flowId": { - "$ref": "#/definitions/UUID" - }, - "url": { - "$ref": "#/definitions/URL" - } - }, - "required": ["flowId", "url", "files", "fee"], - "type": "object" - }, - "source": { - "const": "PlanX", - "type": "string" - }, - "submittedAt": { - "$ref": "#/definitions/DateTime" - } - }, - "required": [ - "id", - "organisation", - "schema", - "service", - "source", - "submittedAt" - ], - "type": "object" - }, - "PlanningApplication": { - "$id": "#PlanningApplication", - "additionalProperties": false, - "description": "Details of the planning application linked to this application, if applicable", - "properties": { - "date": { - "$ref": "#/definitions/Date" - }, - "localPlanningAuthority": { - "type": "string" - }, - "reference": { - "type": "string" - } - }, - "required": ["reference", "date", "localPlanningAuthority"], - "type": "object" - }, - "PlanningConstraint": { - "$id": "#PlanningConstraint", - "anyOf": [ - { - "additionalProperties": false, - "description": "A planning constraint that does not intersect with the proposed site, per the DE-9IM spatial relationship definition of intersects", - "properties": { - "description": { - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "description": "A planning constraint that does intersect with the proposed site, per the DE-9IM spatial relationship definition of intersects", - "properties": { - "description": { - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "type": "string" - } - }, - "required": ["description", "entities", "intersects", "value"], - "type": "object" - } - ], - "description": "Planning constraints that intersect with the proposed site" - }, - "PlanningDesignation": { - "$id": "#PlanningDesignation", - "anyOf": [ - { - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Article 4 Direction area", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "article4", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Central Activities Zone (CAZ)", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "article4.caz", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Brownfield site", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "brownfieldSite", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Designated land", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "designated", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Area of Outstanding Natural Beauty (AONB)", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "designated.AONB", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Conservation Area", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "designated.conservationArea", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "National Park", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "designated.nationalPark", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "National Park - Broads", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "designated.nationalPark.broads", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "UNESCO World Heritage Site or buffer zone", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "designated.WHS", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "flood", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone 1 - Low risk", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "flood.zone.1", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone 2 - Medium risk", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "flood.zone.2", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone 3 - High risk", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "flood.zone.3", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Green Belt", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "greenBelt", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "listed", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building - Grade I", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "listed.grade.I", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building - Grade II", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "listed.grade.II", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building - Grade II*", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "listed.grade.II*", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Locally Listed Building", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "locallyListed", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of a Scheduled Monument", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "monument", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ancient Semi-Natural Woodland (ASNW)", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "nature.ASNW", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ramsar site", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "nature.ramsarSite", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Special Area of Conservation (SAC)", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "nature.SAC", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Special Protection Area (SPA)", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "nature.SPA", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of Special Scientific Interest (SSSI)", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "nature.SSSI", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Historic Park or Garden", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "registeredPark", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Classified Road", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "road.classified", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tree Preservation Order (TPO) or zone", - "type": "string" - }, - "intersects": { - "const": false, - "type": "boolean" - }, - "value": { - "const": "tpo", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - } - ], - "description": "A planning designation that does not intersect with the proposed site, per the DE-9IM spatial relationship definition of intersects" - }, - { - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Article 4 Direction area", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "article4", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Central Activities Zone (CAZ)", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "article4.caz", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Brownfield site", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "brownfieldSite", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Designated land", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "designated", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Area of Outstanding Natural Beauty (AONB)", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "designated.AONB", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Conservation Area", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "designated.conservationArea", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "National Park", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "designated.nationalPark", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "National Park - Broads", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "designated.nationalPark.broads", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "UNESCO World Heritage Site or buffer zone", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "designated.WHS", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "flood", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone 1 - Low risk", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "flood.zone.1", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone 2 - Medium risk", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "flood.zone.2", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Risk Zone 3 - High risk", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "flood.zone.3", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Green Belt", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "greenBelt", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "listed", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building - Grade I", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "listed.grade.I", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building - Grade II", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "listed.grade.II", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Listed Building - Grade II*", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "listed.grade.II*", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Locally Listed Building", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "locallyListed", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of a Scheduled Monument", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "monument", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ancient Semi-Natural Woodland (ASNW)", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "nature.ASNW", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ramsar site", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "nature.ramsarSite", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Special Area of Conservation (SAC)", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "nature.SAC", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Special Protection Area (SPA)", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "nature.SPA", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of Special Scientific Interest (SSSI)", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "nature.SSSI", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Historic Park or Garden", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "registeredPark", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Classified Road", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "road.classified", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tree Preservation Order (TPO) or zone", - "type": "string" - }, - "entities": { - "items": { - "$ref": "#/definitions/Entity" - }, - "type": "array" - }, - "intersects": { - "const": true, - "type": "boolean" - }, - "value": { - "const": "tpo", - "type": "string" - } - }, - "required": ["description", "intersects", "value"], - "type": "object" - } - ], - "description": "A planning designation that does intersect with the proposed site, per the DE-9IM spatial relationship definition of intersects" - } - ], - "description": "Planning designations that may intersect with the proposed site determined by spatial queries against Planning Data (planning.data.gov.uk) and Ordnance Survey" - }, - "Point": { - "additionalProperties": false, - "description": "Point geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.2", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "coordinates": { - "$ref": "#/definitions/Position" - }, - "type": { - "const": "Point", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["coordinates", "type"], - "type": "object" - }, - "Polygon": { - "additionalProperties": false, - "description": "Polygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.6", - "properties": { - "bbox": { - "$ref": "#/definitions/BBox", - "description": "Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5" - }, - "coordinates": { - "items": { - "items": { - "$ref": "#/definitions/Position" - }, - "type": "array" - }, - "type": "array" - }, - "type": { - "const": "Polygon", - "description": "Specifies the type of GeoJSON object.", - "type": "string" - } - }, - "required": ["coordinates", "type"], - "type": "object" - }, - "Position": { - "description": "A Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), but the current specification only allows X, Y, and (optionally) Z to be defined.", - "items": { - "type": "number" - }, - "type": "array" - }, - "PreApplication": { - "$id": "#PreApplication", - "additionalProperties": false, - "description": "Details of the pre-application preceeding this application, if applicable", - "properties": { - "date": { - "$ref": "#/definitions/Date" - }, - "officer": { - "type": "string" - }, - "reference": { - "type": "string" - }, - "summary": { - "type": "string" - } - }, - "required": ["reference", "date", "officer", "summary"], - "type": "object" - }, - "PreAssessment": { - "$id": "#PreAssessment", - "description": "The result of the application based on information provided by the applicant, prior to assessment by a planning officer. Results are determined by flags corresponding to responses; each application can have up to one result per flagset", - "items": { - "$ref": "#/definitions/ResultFlag" - }, - "type": "array" - }, - "ProjectType": { - "$id": "#ProjectType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter a building", - "type": "string" - }, - "value": { - "const": "alter", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or alter a balcony", - "type": "string" - }, - "value": { - "const": "alter.balcony", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or remove a bay window", - "type": "string" - }, - "value": { - "const": "alter.bayWindow", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a bay window", - "type": "string" - }, - "value": { - "const": "alter.bayWindow.add", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a bay window to the rear of the building", - "type": "string" - }, - "value": { - "const": "alter.bayWindow.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a bay window", - "type": "string" - }, - "value": { - "const": "alter.bayWindow.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to a fence, wall or gate", - "type": "string" - }, - "value": { - "const": "alter.boundary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new fence, wall or gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.add", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new fence", - "type": "string" - }, - "value": { - "const": "alter.boundary.add.fence", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.add.gate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new boundary wall", - "type": "string" - }, - "value": { - "const": "alter.boundary.add.wall", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change a fence, wall or gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.alter", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a fence, wall, or gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair a fence, wall or gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.repair", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair a fence", - "type": "string" - }, - "value": { - "const": "alter.boundary.repair.fence", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair a gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.repair.gate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair a wall", - "type": "string" - }, - "value": { - "const": "alter.boundary.repair.wall", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a fence, wall or gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a fence", - "type": "string" - }, - "value": { - "const": "alter.boundary.replace.fence", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a gate", - "type": "string" - }, - "value": { - "const": "alter.boundary.replace.gate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a wall", - "type": "string" - }, - "value": { - "const": "alter.boundary.replace.wall", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install underground cables", - "type": "string" - }, - "value": { - "const": "alter.cables", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of a fence, wall or gate", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.boundary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of chimneys", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.chimney", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of external doors", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.externalDoors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of external walls", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.externalWalls", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of floors", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.floors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of vehicle access or hardstanding", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.hardstanding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of internal doors", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.internalDoors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of internal walls", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.internalWalls", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of something else", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of rainwater goods", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.rainwaterGoods", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of roof coverings", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.roofCovering", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material of windows", - "type": "string" - }, - "value": { - "const": "alter.changeOfMaterials.windows", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change chimneys", - "type": "string" - }, - "value": { - "const": "alter.chimneys", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a chimney", - "type": "string" - }, - "value": { - "const": "alter.chimneys.add", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a chimney", - "type": "string" - }, - "value": { - "const": "alter.chimneys.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a verandah or deck", - "type": "string" - }, - "value": { - "const": "alter.decks", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a high verandah or deck", - "type": "string" - }, - "value": { - "const": "alter.decksHigh", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Work on drains", - "type": "string" - }, - "value": { - "const": "alter.drains", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install equipment", - "type": "string" - }, - "value": { - "const": "alter.equipment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install an air conditioning unit", - "type": "string" - }, - "value": { - "const": "alter.equipment.airConditioning", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a security alarm", - "type": "string" - }, - "value": { - "const": "alter.equipment.alarm", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a satellite dish or aerial", - "type": "string" - }, - "value": { - "const": "alter.equipment.antennae", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install an aerial antennea", - "type": "string" - }, - "value": { - "const": "alter.equipment.antennae.aerial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a satellite dish", - "type": "string" - }, - "value": { - "const": "alter.equipment.antennae.dish", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a barbeque", - "type": "string" - }, - "value": { - "const": "alter.equipment.bbq", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a flue with a biomass burner", - "type": "string" - }, - "value": { - "const": "alter.equipment.biomass", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install CCTV cameras", - "type": "string" - }, - "value": { - "const": "alter.equipment.cctv", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a car charging point", - "type": "string" - }, - "value": { - "const": "alter.equipment.charging", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a heat pump", - "type": "string" - }, - "value": { - "const": "alter.equipment.heatPump", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install an air heat pump", - "type": "string" - }, - "value": { - "const": "alter.equipment.heatPump.air", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a ground heat pump", - "type": "string" - }, - "value": { - "const": "alter.equipment.heatPump.ground", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a water heat pump", - "type": "string" - }, - "value": { - "const": "alter.equipment.heatPump.water", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install industrial equipment", - "type": "string" - }, - "value": { - "const": "alter.equipment.industrial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install outdoor lights", - "type": "string" - }, - "value": { - "const": "alter.equipment.lighting", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install machinery", - "type": "string" - }, - "value": { - "const": "alter.equipment.machinery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install solar panels", - "type": "string" - }, - "value": { - "const": "alter.equipment.solar", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install solar photovoltaics (PV)", - "type": "string" - }, - "value": { - "const": "alter.equipment.solar.pv", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install solar thermal equipment", - "type": "string" - }, - "value": { - "const": "alter.equipment.solar.thermal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install an outdoor tank (for example a water tank)", - "type": "string" - }, - "value": { - "const": "alter.equipment.tank", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install ventilation", - "type": "string" - }, - "value": { - "const": "alter.equipment.ventilation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install internet equipment", - "type": "string" - }, - "value": { - "const": "alter.equipment.wifi", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a wind turbine", - "type": "string" - }, - "value": { - "const": "alter.equipment.wind", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material or colour of the external walls", - "type": "string" - }, - "value": { - "const": "alter.facades", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the insulation of the facade", - "type": "string" - }, - "value": { - "const": "alter.facades.insulation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Paint the facade", - "type": "string" - }, - "value": { - "const": "alter.facades.paint", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the material or colour of the external walls to the rear of the building", - "type": "string" - }, - "value": { - "const": "alter.facades.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the cladding of the facade", - "type": "string" - }, - "value": { - "const": "alter.facades.reclad", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair the facade", - "type": "string" - }, - "value": { - "const": "alter.facades.repair", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to a public road, pavement or path (including drop kerb)", - "type": "string" - }, - "value": { - "const": "alter.highways", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Create a point of access to a highway", - "type": "string" - }, - "value": { - "const": "alter.highways.access", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Create a point of access to an unclassified road", - "type": "string" - }, - "value": { - "const": "alter.highways.access.unclassified", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to a dropped kerb", - "type": "string" - }, - "value": { - "const": "alter.highways.dropKerb", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to a dropped kerb", - "type": "string" - }, - "value": { - "const": "alter.highways.droppedKerb", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a dropped kerb", - "type": "string" - }, - "value": { - "const": "alter.highways.droppedKerb.add", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a dropped kerb", - "type": "string" - }, - "value": { - "const": "alter.highways.droppedKerb.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to a road", - "type": "string" - }, - "value": { - "const": "alter.highways.road", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a road", - "type": "string" - }, - "value": { - "const": "alter.highways.road.add", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a road", - "type": "string" - }, - "value": { - "const": "alter.highways.road.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install plant equipment or machinery", - "type": "string" - }, - "value": { - "const": "alter.industrial.plant", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to internal walls or layout", - "type": "string" - }, - "value": { - "const": "alter.internal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Landscaping works", - "type": "string" - }, - "value": { - "const": "alter.landscape", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or remove a residential lawn or garden", - "type": "string" - }, - "value": { - "const": "alter.landscape.gardens", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or remove a pond", - "type": "string" - }, - "value": { - "const": "alter.landscape.ponds", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change a door or window opening", - "type": "string" - }, - "value": { - "const": "alter.openings", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a door or window opening", - "type": "string" - }, - "value": { - "const": "alter.openings.add", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add one or more new doorways", - "type": "string" - }, - "value": { - "const": "alter.openings.add.door", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new doorways to the front of the building", - "type": "string" - }, - "value": { - "const": "alter.openings.add.door.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new doorways to the rear of the building", - "type": "string" - }, - "value": { - "const": "alter.openings.add.door.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new doorways to the side of the building", - "type": "string" - }, - "value": { - "const": "alter.openings.add.door.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add one or more new windows", - "type": "string" - }, - "value": { - "const": "alter.openings.add.window", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add one or more new windows", - "type": "string" - }, - "value": { - "const": "alter.openings.add.windows", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new windows to the front of the building", - "type": "string" - }, - "value": { - "const": "alter.openings.add.windows.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new windows 1.7m up or higher", - "type": "string" - }, - "value": { - "const": "alter.openings.add.windows.high", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new windows to the rear of the building", - "type": "string" - }, - "value": { - "const": "alter.openings.add.windows.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new shutters to windows", - "type": "string" - }, - "value": { - "const": "alter.openings.add.windows.shutters", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add new windows to the side of the building", - "type": "string" - }, - "value": { - "const": "alter.openings.add.windows.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the size of doorways or windows", - "type": "string" - }, - "value": { - "const": "alter.openings.alter", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a doorway into a window", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.convert.doorToWindow", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a window into a doorway", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.convert.windowToDoor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a door opening", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.enlarge.door", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a window opening", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.enlarge.window", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a window opening on the front of a building", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.enlarge.window.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a window opening on the rear of a building", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.enlarge.window.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a window opening on the side of a building", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.enlarge.window.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Reduce the size of a door opening", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.reduce.door", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Reduce the size of a window opening", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.reduce.window", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Reduce the size of a window opening on the front of a building", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.reduce.window.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Reduce the size of a window opening on the rear of a building", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.reduce.window.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Reduce the size of a window opening on the side of a building", - "type": "string" - }, - "value": { - "const": "alter.openings.alter.reduce.window.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Block up doorways or windows", - "type": "string" - }, - "value": { - "const": "alter.openings.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Block up doorways", - "type": "string" - }, - "value": { - "const": "alter.openings.remove.door", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Block up windows", - "type": "string" - }, - "value": { - "const": "alter.openings.remove.window", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install pipes", - "type": "string" - }, - "value": { - "const": "alter.pipes", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove part of a building (such as a decorative feature)", - "type": "string" - }, - "value": { - "const": "alter.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a chimney", - "type": "string" - }, - "value": { - "const": "alter.remove.chimney", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a deck", - "type": "string" - }, - "value": { - "const": "alter.remove.deck", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a drain", - "type": "string" - }, - "value": { - "const": "alter.remove.drain", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove energy equipment", - "type": "string" - }, - "value": { - "const": "alter.remove.equipment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove part of a facade", - "type": "string" - }, - "value": { - "const": "alter.remove.facade", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a soil pipe", - "type": "string" - }, - "value": { - "const": "alter.remove.soilPipe", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove a hard surface", - "type": "string" - }, - "value": { - "const": "alter.remove.surface", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair windows or doors", - "type": "string" - }, - "value": { - "const": "alter.repair", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair doors", - "type": "string" - }, - "value": { - "const": "alter.repair.doors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair windows", - "type": "string" - }, - "value": { - "const": "alter.repair.windows", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace windows or doors", - "type": "string" - }, - "value": { - "const": "alter.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with door", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToDoors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with door on the front of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToDoors.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with door on the rear of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToDoors.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with door on the side of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToDoors.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with window", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToWindows", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with window on the front of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToWindows.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with winoow on the rear of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToWindows.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace door with window on the side of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.doorsToWindows.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with door", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToDoors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with door on the front of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToDoors.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with door on the rear of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToDoors.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with door on the side of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToDoors.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with window", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToWindows", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with window on the front ofa building", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToWindows.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with window on the rear of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToWindows.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace window with window on the side of a building", - "type": "string" - }, - "value": { - "const": "alter.replace.windowsToWindows.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the roof", - "type": "string" - }, - "value": { - "const": "alter.roof", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace or change the roof materials", - "type": "string" - }, - "value": { - "const": "alter.roof.materials", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or change a roof parapet", - "type": "string" - }, - "value": { - "const": "alter.roof.parapet", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof terrace", - "type": "string" - }, - "value": { - "const": "alter.roof.roofTerrace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the shape of a roof", - "type": "string" - }, - "value": { - "const": "alter.roof.shape", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add skylights to an existing roof", - "type": "string" - }, - "value": { - "const": "alter.rooflight", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add secondary glazing to a window", - "type": "string" - }, - "value": { - "const": "alter.secondaryGlazing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or alter shop fronts", - "type": "string" - }, - "value": { - "const": "alter.shopfronts", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or alter shutters", - "type": "string" - }, - "value": { - "const": "alter.shutters", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an advert or sign", - "type": "string" - }, - "value": { - "const": "alter.sign", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or replace a soil pipe", - "type": "string" - }, - "value": { - "const": "alter.soilPipes", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add or change an external staircase", - "type": "string" - }, - "value": { - "const": "alter.staircase", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a low surface", - "type": "string" - }, - "value": { - "const": "alter.surfaceLow", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a decked area or patio", - "type": "string" - }, - "value": { - "const": "alter.surfaces", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a decked area", - "type": "string" - }, - "value": { - "const": "alter.surfaces.deck", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a driveway or parking area", - "type": "string" - }, - "value": { - "const": "alter.surfaces.parking", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Extend a driveway or parking area", - "type": "string" - }, - "value": { - "const": "alter.surfaces.parking.extend", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new driveway or parking area", - "type": "string" - }, - "value": { - "const": "alter.surfaces.parking.new", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a driveway or parking area", - "type": "string" - }, - "value": { - "const": "alter.surfaces.parking.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a patio", - "type": "string" - }, - "value": { - "const": "alter.surfaces.patio", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Extend a patio", - "type": "string" - }, - "value": { - "const": "alter.surfaces.patio.extend", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new patio", - "type": "string" - }, - "value": { - "const": "alter.surfaces.patio.new", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Replace a patio", - "type": "string" - }, - "value": { - "const": "alter.surfaces.patio.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install a swimming pool", - "type": "string" - }, - "value": { - "const": "alter.swimmingPool", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install an indoor swimming pool", - "type": "string" - }, - "value": { - "const": "alter.swimmingPool.indoor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install an outdoor swimming pool", - "type": "string" - }, - "value": { - "const": "alter.swimmingPool.outdoor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to trees or hedges", - "type": "string" - }, - "value": { - "const": "alter.trees", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to hedges", - "type": "string" - }, - "value": { - "const": "alter.trees.hedge", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Let hedges grow", - "type": "string" - }, - "value": { - "const": "alter.trees.hedge.letGrow", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New hedges", - "type": "string" - }, - "value": { - "const": "alter.trees.hedge.new", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prune hedges", - "type": "string" - }, - "value": { - "const": "alter.trees.hedge.prune", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove hedges", - "type": "string" - }, - "value": { - "const": "alter.trees.hedge.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Changes to trees", - "type": "string" - }, - "value": { - "const": "alter.trees.tree", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New trees", - "type": "string" - }, - "value": { - "const": "alter.trees.tree.new", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prune trees", - "type": "string" - }, - "value": { - "const": "alter.trees.tree.prune", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Remove trees", - "type": "string" - }, - "value": { - "const": "alter.trees.tree.remove", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the use of a building", - "type": "string" - }, - "value": { - "const": "changeOfUse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert part of the property into a granny flat (residential annexe)", - "type": "string" - }, - "value": { - "const": "changeOfUse.annexe", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Use a caravan or mobile home on the property", - "type": "string" - }, - "value": { - "const": "changeOfUse.caravans", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert an extension", - "type": "string" - }, - "value": { - "const": "changeOfUse.extension", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a garage", - "type": "string" - }, - "value": { - "const": "changeOfUse.garage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the use of land", - "type": "string" - }, - "value": { - "const": "changeOfUse.land", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Let a part of the property", - "type": "string" - }, - "value": { - "const": "changeOfUse.let.part", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Let the property", - "type": "string" - }, - "value": { - "const": "changeOfUse.let.whole", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert or change the use of an outbuilding (such as a shed, garage or barn)", - "type": "string" - }, - "value": { - "const": "changeOfUse.outbuilding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert or change the use of part of a building", - "type": "string" - }, - "value": { - "const": "changeOfUse.part", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change the use of a property", - "type": "string" - }, - "value": { - "const": "changeOfUse.property", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert or change the use of a whole building", - "type": "string" - }, - "value": { - "const": "changeOfUse.whole", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a home to bedsits or a shared home", - "type": "string" - }, - "value": { - "const": "changeOfUse.whole.homeToHMO", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Work from home", - "type": "string" - }, - "value": { - "const": "changeOfUse.workFromHome", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish a building", - "type": "string" - }, - "value": { - "const": "demolish", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish a fence, gate or boundary wall", - "type": "string" - }, - "value": { - "const": "demolish.boundary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Total demolition of a building", - "type": "string" - }, - "value": { - "const": "demolish.full", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish internal walls", - "type": "string" - }, - "value": { - "const": "demolish.internal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish a listed building", - "type": "string" - }, - "value": { - "const": "demolish.listed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Total demolition of a isted building", - "type": "string" - }, - "value": { - "const": "demolish.listed.full", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish part of a listed building", - "type": "string" - }, - "value": { - "const": "demolish.listed.part", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish an outbuilding (such as a garage or barn)", - "type": "string" - }, - "value": { - "const": "demolish.outbuilding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Total demolition of an outbuilding (such as a garage or barn)", - "type": "string" - }, - "value": { - "const": "demolish.outbuilding.full", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish part of an outbuilding (such as a garage or barn)", - "type": "string" - }, - "value": { - "const": "demolish.outbuilding.part", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish part of a building (such as an extension)", - "type": "string" - }, - "value": { - "const": "demolish.part", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish part of a conservatory", - "type": "string" - }, - "value": { - "const": "demolish.part.conservatory", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Demolish a building and build homes in its place", - "type": "string" - }, - "value": { - "const": "demolish.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Extend a building or add an outbuilding", - "type": "string" - }, - "value": { - "const": "extend", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a balcony", - "type": "string" - }, - "value": { - "const": "extend.balcony", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a basement extension", - "type": "string" - }, - "value": { - "const": "extend.basement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Enlarge a basement", - "type": "string" - }, - "value": { - "const": "extend.basement.extend", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a lightwell", - "type": "string" - }, - "value": { - "const": "extend.basement.lightwell", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new basement extension", - "type": "string" - }, - "value": { - "const": "extend.basement.new", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a front extension", - "type": "string" - }, - "value": { - "const": "extend.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding (such as a shed, garage or garden office)", - "type": "string" - }, - "value": { - "const": "extend.outbuilding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - animal enclosure, aviary or beehive", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.animals", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - residential (or \"granny\") annexe", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.annexe", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - bedroom or guest room", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.bedroom", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - games room", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.games", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - garage", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.garage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - greenhouse", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.greenhouse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - gym", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.gym", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - office", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.office", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - something else", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - play house", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.play", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - sauna", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.sauna", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - shed", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.shed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - car parking or smoking shelter", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.shelter", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - storage", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.store", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - studio", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.studio", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - summer house", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.summerHouse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - swimming pool", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.swimmingPool", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - tank", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.tank", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an outbuilding - workshop", - "type": "string" - }, - "value": { - "const": "extend.outbuilding.workshop", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a porch", - "type": "string" - }, - "value": { - "const": "extend.porch", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a porch to the front of the building", - "type": "string" - }, - "value": { - "const": "extend.porch.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a porch to the rear of the building", - "type": "string" - }, - "value": { - "const": "extend.porch.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a porch to the side of the building", - "type": "string" - }, - "value": { - "const": "extend.porch.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a rear or side extension (or conservatory)", - "type": "string" - }, - "value": { - "const": "extend.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a rear extension", - "type": "string" - }, - "value": { - "const": "extend.rear.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a side extension", - "type": "string" - }, - "value": { - "const": "extend.rear.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof extension", - "type": "string" - }, - "value": { - "const": "extend.roof", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Join two roofs", - "type": "string" - }, - "value": { - "const": "extend.roof.connect", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof dormer", - "type": "string" - }, - "value": { - "const": "extend.roof.dormer", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof dormer to the front of the building", - "type": "string" - }, - "value": { - "const": "extend.roof.dormer.front", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof dormer to the front and rear of the building", - "type": "string" - }, - "value": { - "const": "extend.roof.dormer.frontAndRear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a mansard roof", - "type": "string" - }, - "value": { - "const": "extend.roof.dormer.mansard", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof dormer to the rear of the building", - "type": "string" - }, - "value": { - "const": "extend.roof.dormer.rear", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a roof dormer to the side of the building", - "type": "string" - }, - "value": { - "const": "extend.roof.dormer.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a hip roof to a gable", - "type": "string" - }, - "value": { - "const": "extend.roof.hiptogable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a hip roof to a gable", - "type": "string" - }, - "value": { - "const": "extend.roof.hipToGable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert to a mansard roof", - "type": "string" - }, - "value": { - "const": "extend.roof.mansard", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add one or more new storeys", - "type": "string" - }, - "value": { - "const": "extend.roof.newstorey", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add one or more new storeys", - "type": "string" - }, - "value": { - "const": "extend.roof.newStorey", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert to a sloping roof", - "type": "string" - }, - "value": { - "const": "extend.roof.slope", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a side extension", - "type": "string" - }, - "value": { - "const": "extend.side", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add an upper storey extension", - "type": "string" - }, - "value": { - "const": "extend.upperStorey", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Internal building works, such as change the internal layout", - "type": "string" - }, - "value": { - "const": "internal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter internal doors", - "type": "string" - }, - "value": { - "const": "internal.doorways", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter internal finishes", - "type": "string" - }, - "value": { - "const": "internal.finishes", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter internal floors", - "type": "string" - }, - "value": { - "const": "internal.floors", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a loft", - "type": "string" - }, - "value": { - "const": "internal.loft", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a mezzanine floor", - "type": "string" - }, - "value": { - "const": "internal.mezzanine", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter internal staircases", - "type": "string" - }, - "value": { - "const": "internal.staircases", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter internal walls", - "type": "string" - }, - "value": { - "const": "internal.walls", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Alter internal window openings", - "type": "string" - }, - "value": { - "const": "internal.windows.openings", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Maintenance of an existing structure", - "type": "string" - }, - "value": { - "const": "maintain", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add a new separate building or self-contained units", - "type": "string" - }, - "value": { - "const": "new", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New agricultural buildings", - "type": "string" - }, - "value": { - "const": "new.agriculture", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New agricultural buildings - glasshouse", - "type": "string" - }, - "value": { - "const": "new.agriculture.glasshouse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New agricultural buildings - mining", - "type": "string" - }, - "value": { - "const": "new.agriculture.mining", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New agricultural buildings - pigs", - "type": "string" - }, - "value": { - "const": "new.agriculture.pigs", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New agricultural buildings - poultry", - "type": "string" - }, - "value": { - "const": "new agriculture.poultry", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install click and collect facilities", - "type": "string" - }, - "value": { - "const": "new.clickCollect", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New, self-contained dwelling", - "type": "string" - }, - "value": { - "const": "new.dwelling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New flats", - "type": "string" - }, - "value": { - "const": "new.dwelling.flat", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New houses", - "type": "string" - }, - "value": { - "const": "new.dwelling.house", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Build new forestry buildings", - "type": "string" - }, - "value": { - "const": "new.forestry", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New industrial premises", - "type": "string" - }, - "value": { - "const": "new.industrial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New waste disposal facilities", - "type": "string" - }, - "value": { - "const": "new.industrial.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New leisure premises", - "type": "string" - }, - "value": { - "const": "new.leisure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New offices", - "type": "string" - }, - "value": { - "const": "new.office", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Add another type of building - something else", - "type": "string" - }, - "value": { - "const": "new.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Build new homes", - "type": "string" - }, - "value": { - "const": "new.residential.dwelling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New retail premises", - "type": "string" - }, - "value": { - "const": "new.retail", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Install telecommunications equipment", - "type": "string" - }, - "value": { - "const": "new.telecoms", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Build a temporary structure", - "type": "string" - }, - "value": { - "const": "new.temporaryStructure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "New storage or distribution premises", - "type": "string" - }, - "value": { - "const": "new.warehouse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Negate a project type", - "type": "string" - }, - "value": { - "const": "not", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Do not add or change windows or doors", - "type": "string" - }, - "value": { - "const": "not.alter.replace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Do not add or change a rooflight", - "type": "string" - }, - "value": { - "const": "not.alter.rooflight", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Do not add or change a dropped kerb", - "type": "string" - }, - "value": { - "const": "not.dropKerb", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repairs", - "type": "string" - }, - "value": { - "const": "repair", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Repair the historic fabric", - "type": "string" - }, - "value": { - "const": "repair.historicFabric", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other project type", - "type": "string" - }, - "value": { - "const": "other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Change of units", - "type": "string" - }, - "value": { - "const": "unit", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert two or more properties into one", - "type": "string" - }, - "value": { - "const": "unit.merge", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Convert a home or part of a home into flats", - "type": "string" - }, - "value": { - "const": "unit.subdivide", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Planning project types" - }, - "Property": { - "$id": "#Property", - "anyOf": [ - { - "$ref": "#/definitions/UKProperty" - }, - { - "$ref": "#/definitions/LondonProperty" - } - ], - "description": "Information about the site where the works will happen" - }, - "PropertyType": { - "$id": "#PropertyType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Commercial", - "type": "string" - }, - "value": { - "const": "commercial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Agricultural", - "type": "string" - }, - "value": { - "const": "commercial.agriculture", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Farm / Non-Residential Associated Building", - "type": "string" - }, - "value": { - "const": "commercial.agriculture.farm", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fishery", - "type": "string" - }, - "value": { - "const": "commercial.fish", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fish Farming", - "type": "string" - }, - "value": { - "const": "commercial.fish.farm", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fish Hatchery", - "type": "string" - }, - "value": { - "const": "commercial.fish.hatchery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fish Processing", - "type": "string" - }, - "value": { - "const": "commercial.fish.processing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Oyster / Mussel Bed", - "type": "string" - }, - "value": { - "const": "commercial.fish.oysters", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Horticulture", - "type": "string" - }, - "value": { - "const": "commercial.horticulture", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Smallholding", - "type": "string" - }, - "value": { - "const": "commercial.horticulture.smallholding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Vineyard", - "type": "string" - }, - "value": { - "const": "commercial.horticulture.vineyard", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Watercress Bed", - "type": "string" - }, - "value": { - "const": "commercial.horticulture.watercress", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Slaughter House / Abattoir", - "type": "string" - }, - "value": { - "const": "commercial.abattoir", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ancillary Building", - "type": "string" - }, - "value": { - "const": "commercial.ancilliary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Community Services", - "type": "string" - }, - "value": { - "const": "commercial.community", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Law Court", - "type": "string" - }, - "value": { - "const": "commercial.community.court", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Prison", - "type": "string" - }, - "value": { - "const": "commercial.community.prison", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "HM Detention Centre", - "type": "string" - }, - "value": { - "const": "commercial.community.prison.detention", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "HM Prison Service", - "type": "string" - }, - "value": { - "const": "commercial.community.prison.service", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Secure Residential Accommodation", - "type": "string" - }, - "value": { - "const": "commercial.community.prison.secureResidential", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public / Village Hall / Other Community Facility", - "type": "string" - }, - "value": { - "const": "commercial.community.hall", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Youth Recreational / Social Club", - "type": "string" - }, - "value": { - "const": "commercial.community.hall.club", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Convenience", - "type": "string" - }, - "value": { - "const": "commercial.community.wc", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cemetery / Crematorium / Graveyard. In Current Use.", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Columbarium", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary.columbarium", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Crematorium", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary.crematorium", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Chapel Of Rest", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary.chapelOfRest", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cemetery", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary.cemetary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Military Cemetery", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary.military", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mortuary", - "type": "string" - }, - "value": { - "const": "commercial.community.cemetary.mortuary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Church Hall / Religious Meeting Place / Hall", - "type": "string" - }, - "value": { - "const": "commercial.community.religious", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Community Service Centre / Office", - "type": "string" - }, - "value": { - "const": "commercial.community.services", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Household Waste Recycling Centre (HWRC)", - "type": "string" - }, - "value": { - "const": "commercial.community.HWRC", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Recycling Site", - "type": "string" - }, - "value": { - "const": "commercial.community.recycling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "CCTV", - "type": "string" - }, - "value": { - "const": "commercial.community.CCTV", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Job Centre", - "type": "string" - }, - "value": { - "const": "commercial.community.employment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Education", - "type": "string" - }, - "value": { - "const": "commercial.education", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "College", - "type": "string" - }, - "value": { - "const": "commercial.education.college", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Further Education", - "type": "string" - }, - "value": { - "const": "commercial.education.college.further", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Higher Education", - "type": "string" - }, - "value": { - "const": "commercial.education.college.higher", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Children's Nursery / Crèche", - "type": "string" - }, - "value": { - "const": "commercial.education.nursery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Preparatory / First / Primary / Infant / Junior / Middle School", - "type": "string" - }, - "value": { - "const": "commercial.education.school", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "First School", - "type": "string" - }, - "value": { - "const": "commercial.education.school.first", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Infant School", - "type": "string" - }, - "value": { - "const": "commercial.education.school.infant", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Junior School", - "type": "string" - }, - "value": { - "const": "commercial.education.school.junior", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Middle School", - "type": "string" - }, - "value": { - "const": "commercial.education.school.middle", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Non State Primary / Preparatory School", - "type": "string" - }, - "value": { - "const": "commercial.education.school.primary.private", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Primary School", - "type": "string" - }, - "value": { - "const": "commercial.education.school.primary.state", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Secondary / High School", - "type": "string" - }, - "value": { - "const": "commercial.education.secondarySchool", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Non State Secondary School", - "type": "string" - }, - "value": { - "const": "commercial.education.secondarySchool.private", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Secondary School", - "type": "string" - }, - "value": { - "const": "commercial.education.secondarySchool.state", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "University", - "type": "string" - }, - "value": { - "const": "commercial.education.university", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Special Needs Establishment.", - "type": "string" - }, - "value": { - "const": "commercial.education.specialNeeds", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other Educational Establishment", - "type": "string" - }, - "value": { - "const": "commercial.education.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hotel / Motel / Boarding / Guest House", - "type": "string" - }, - "value": { - "const": "commercial.guest", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boarding / Guest House / Bed And Breakfast / Youth Hostel", - "type": "string" - }, - "value": { - "const": "commercial.guest.hostel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Youth Hostel", - "type": "string" - }, - "value": { - "const": "commercial.guest.hostel.youth", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Holiday Let/Accomodation/Short-Term Let Other Than CH01", - "type": "string" - }, - "value": { - "const": "commercial.guest.shortLet", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hotel/Motel", - "type": "string" - }, - "value": { - "const": "commercial.guest.hotel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites", - "type": "string" - }, - "value": { - "const": "commercial.industrial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Factory/Manufacturing", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Aircraft Works", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.aircraft", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boat Building", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.boats", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Brick Works", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.bricks", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Brewery", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.beer", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cider Manufacture", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.cider", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Chemical Works", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.chemicals", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cement Works", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.cement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Dairy Processing", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.dairy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Distillery", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.distillery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flour Mill", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.flour", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Food Processing", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.food", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Glassworks", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.glass", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Manufacturing", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Oast House", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.hops", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Oil Refining", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.oil", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Pottery Manufacturing", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.pottery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Paper Mill", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.paper", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Printing Works", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.printing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sugar Refinery", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.sugar", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Steel Works", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.steel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Timber Mill", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.timber", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Winery", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.wine", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Shipyard", - "type": "string" - }, - "value": { - "const": "commercial.industrial.manufacturing.ships", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral / Ore Working / Quarry / Mine", - "type": "string" - }, - "value": { - "const": "commercial.industrial.extraction", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral Mining / Active", - "type": "string" - }, - "value": { - "const": "commercial.industrial.extraction.mining", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral Distribution / Storage", - "type": "string" - }, - "value": { - "const": "commercial.industrial.extraction.distribution", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral Processing", - "type": "string" - }, - "value": { - "const": "commercial.industrial.extraction.processing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Oil / Gas Extraction / Active", - "type": "string" - }, - "value": { - "const": "commercial.industrial.extraction.oilGas", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral Quarrying / Open Extraction / Active", - "type": "string" - }, - "value": { - "const": "commercial.industrial.extraction.quarrying", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Workshop / Light Industrial", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Servicing Garage", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light.garage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Warehouse / Store / Storage Depot", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light.storage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Crop Handling / Storage", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light.storage.crops", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Postal Sorting / Distribution", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light.storage.post", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Solid Fuel Storage", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light.storage.solidFuel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Timber Storage", - "type": "string" - }, - "value": { - "const": "commercial.industrial.light.storage.timber", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Wholesale Distribution", - "type": "string" - }, - "value": { - "const": "commercial.industrial.distribution", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Solid Fuel Distribution", - "type": "string" - }, - "value": { - "const": "commercial.industrial.distribution.solidFueld", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Timber Distribution", - "type": "string" - }, - "value": { - "const": "commercial.industrial.distribution.timber", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Recycling Plant", - "type": "string" - }, - "value": { - "const": "commercial.industrial.recycling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Incinerator / Waste Transfer Station", - "type": "string" - }, - "value": { - "const": "commercial.industrial.incineration", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Maintenance Depot", - "type": "string" - }, - "value": { - "const": "commercial.industrial.maintenanceDepot", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Leisure - Applicable to recreational sites and enterprises", - "type": "string" - }, - "value": { - "const": "commercial.leisure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Amusements", - "type": "string" - }, - "value": { - "const": "commercial.leisure.amusements", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Leisure Pier", - "type": "string" - }, - "value": { - "const": "commercial.leisure.amusements.pier", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Holiday / Campsite", - "type": "string" - }, - "value": { - "const": "commercial.leisure.holiday", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Camping", - "type": "string" - }, - "value": { - "const": "commercial.leisure.holiday.camping", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Caravanning", - "type": "string" - }, - "value": { - "const": "commercial.leisure.holiday.caravanning", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Holiday Accommodation", - "type": "string" - }, - "value": { - "const": "commercial.leisure.holiday.accommodation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Holiday Centre", - "type": "string" - }, - "value": { - "const": "commercial.leisure.holiday.centre", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Youth Organisation Camp", - "type": "string" - }, - "value": { - "const": "commercial.leisure.holiday.youth", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Library", - "type": "string" - }, - "value": { - "const": "commercial.leisure.library", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Reading Room", - "type": "string" - }, - "value": { - "const": "commercial.leisure.library.readingRoom", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Museum / Gallery", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Art Centre / Gallery", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.art", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Aviation Museum", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.aviation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Heritage Centre", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.heritage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Industrial Museum", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.industrial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Military Museum", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.military", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Maritime Museum", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.maritime", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Science Museum", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.science", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Transport Museum", - "type": "string" - }, - "value": { - "const": "commercial.leisure.museum.transport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Indoor / Outdoor Leisure / Sporting Activity / Centre", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Athletics Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.athletics", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bowls Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.bowls", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cricket Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.cricket", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Curling Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.curling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Diving / Swimming Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.swimming", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Equestrian Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.equestrian", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Football Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.football", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fishing / Angling Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.fishing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Golf Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.golf", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Gliding Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.gliding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Greyhound Racing Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.dogracing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hockey Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.hockey", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Horse Racing Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.horseracing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Historic Vessel / Aircraft / Vehicle", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.historicVehicles", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Activity / Leisure / Sports Centre", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.centre", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Model Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.model", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Motor Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.motor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Playing Field", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.playingField", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Racquet Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.racquet", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rugby Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.rugby", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Recreation Ground", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.recreationGround", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Shinty Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.shinty", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Skateboarding Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.skateboarding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Civilian Firing Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.firing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tenpin Bowling Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.tenpin", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Tennis Court", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.tennis", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.water", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Winter Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.winter", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Wildlife Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.wildlife", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cycling Sports Facility", - "type": "string" - }, - "value": { - "const": "commercial.leisure.sport.cycling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall", - "type": "string" - }, - "value": { - "const": "commercial.leisure.entertainment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cinema", - "type": "string" - }, - "value": { - "const": "commercial.leisure.entertainment.cinema", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Entertainment Complex", - "type": "string" - }, - "value": { - "const": "commercial.leisure.entertainment.mixed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Conference / Exhibition Centre", - "type": "string" - }, - "value": { - "const": "commercial.leisure.entertainment.exhibition", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Theatre", - "type": "string" - }, - "value": { - "const": "commercial.leisure.entertainment.theatre", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Zoo / Theme Park", - "type": "string" - }, - "value": { - "const": "commercial.leisure.park.zoo", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Amusement Park", - "type": "string" - }, - "value": { - "const": "commercial.leisure.park.amusement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Aquatic Attraction", - "type": "string" - }, - "value": { - "const": "commercial.leisure.park.aquatic", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Model Village Site", - "type": "string" - }, - "value": { - "const": "commercial.leisure.park.model", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Wildlife / Zoological Park", - "type": "string" - }, - "value": { - "const": "commercial.leisure.park.wildlife", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Beach Hut (Recreational, Non-Residential Use Only)", - "type": "string" - }, - "value": { - "const": "commercial.leisure.beachHut", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Licensed Private Members' Club", - "type": "string" - }, - "value": { - "const": "commercial.leisure.club.private", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Recreational / Social Club", - "type": "string" - }, - "value": { - "const": "commercial.leisure.club.social", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Arena / Stadium", - "type": "string" - }, - "value": { - "const": "commercial.leisure.arena", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Stadium", - "type": "string" - }, - "value": { - "const": "commercial.leisure.arena.stadium", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Showground", - "type": "string" - }, - "value": { - "const": "commercial.leisure.arena.showground", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Medical", - "type": "string" - }, - "value": { - "const": "commercial.medical", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Dentist", - "type": "string" - }, - "value": { - "const": "commercial.medical.dentist", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "General Practice Surgery / Clinic", - "type": "string" - }, - "value": { - "const": "commercial.medical.GP", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Health Centre", - "type": "string" - }, - "value": { - "const": "commercial.medical.healthCentre", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Health Care Services", - "type": "string" - }, - "value": { - "const": "commercial.medical.healthServices", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hospital / Hospice", - "type": "string" - }, - "value": { - "const": "commercial.medical.care", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Care home/Hospice", - "type": "string" - }, - "value": { - "const": "commercial.medical.care.home", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hospital", - "type": "string" - }, - "value": { - "const": "commercial.medical.care.hospital", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Medical / Testing / Research Laboratory", - "type": "string" - }, - "value": { - "const": "commercial.medical.lab", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Professional Medical Service", - "type": "string" - }, - "value": { - "const": "commercial.medical.professional", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Assessment / Development Services", - "type": "string" - }, - "value": { - "const": "commercial.medical.assessment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Animal Centre", - "type": "string" - }, - "value": { - "const": "commercial.animals", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cattery / Kennel", - "type": "string" - }, - "value": { - "const": "commercial.animals.kennelsCattery", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Animal Services", - "type": "string" - }, - "value": { - "const": "commercial.animals.services", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Animal Quarantining", - "type": "string" - }, - "value": { - "const": "commercial.animals.services.quarantine", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Equestrian", - "type": "string" - }, - "value": { - "const": "commercial.animals.equestrian", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Horse Racing / Breeding Stable", - "type": "string" - }, - "value": { - "const": "commercial.animals.equestrian.racing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Commercial Stabling / Riding", - "type": "string" - }, - "value": { - "const": "commercial.animals.equestrian.riding", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Vet / Animal Medical Treatment", - "type": "string" - }, - "value": { - "const": "commercial.animals.vet", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Animal / Bird / Marine Sanctuary", - "type": "string" - }, - "value": { - "const": "commercial.animals.sanctuary", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Animal Sanctuary", - "type": "string" - }, - "value": { - "const": "commercial.animals.sanctuary.animals", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Marine Sanctuary", - "type": "string" - }, - "value": { - "const": "commercial.animals.sanctuary.marine", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Office", - "type": "string" - }, - "value": { - "const": "commercial.office", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Office / Work Studio", - "type": "string" - }, - "value": { - "const": "commercial.office.workspace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Embassy /, High Commission / Consulate", - "type": "string" - }, - "value": { - "const": "commercial.office.workspace.embassy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Film Studio", - "type": "string" - }, - "value": { - "const": "commercial.office.workspace.film", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Central Government Service", - "type": "string" - }, - "value": { - "const": "commercial.office.workspace.gov.national", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Local Government Service", - "type": "string" - }, - "value": { - "const": "commercial.office.workspace.gov.local", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Broadcasting (TV / Radio)", - "type": "string" - }, - "value": { - "const": "commercial.office.broadcasting", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Retail", - "type": "string" - }, - "value": { - "const": "commercial.retail", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bank / Financial Service", - "type": "string" - }, - "value": { - "const": "commercial.retail.financial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Retail Service Agent", - "type": "string" - }, - "value": { - "const": "commercial.retail.services", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Post Office", - "type": "string" - }, - "value": { - "const": "commercial.retail.post", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Market (Indoor / Outdoor)", - "type": "string" - }, - "value": { - "const": "commercial.retail.market", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fish Market", - "type": "string" - }, - "value": { - "const": "commercial.retail.market.fish", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fruit / Vegetable Market", - "type": "string" - }, - "value": { - "const": "commercial.retail.market.fruit", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Livestock Market", - "type": "string" - }, - "value": { - "const": "commercial.retail.market.livestock", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Petrol Filling Station", - "type": "string" - }, - "value": { - "const": "commercial.retail.fuel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public House / Bar / Nightclub", - "type": "string" - }, - "value": { - "const": "commercial.retail.drinking", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Restaurant / Cafeteria", - "type": "string" - }, - "value": { - "const": "commercial.retail.restaurant", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Shop / Showroom", - "type": "string" - }, - "value": { - "const": "commercial.retail.showroom", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Shop", - "type": "string" - }, - "value": { - "const": "commercial.retail.shop", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Garden Centre", - "type": "string" - }, - "value": { - "const": "commercial.retail.shop.gardenCentre", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other Licensed Premise / Vendor", - "type": "string" - }, - "value": { - "const": "commercial.retail.licensedPremises", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fast Food Outlet / Takeaway (Hot / Cold)", - "type": "string" - }, - "value": { - "const": "commercial.retail.takeaway", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Automated Teller Machine (ATM)", - "type": "string" - }, - "value": { - "const": "commercial.retail.atm", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Storage Land", - "type": "string" - }, - "value": { - "const": "commercial.storageLand", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "General Storage Land", - "type": "string" - }, - "value": { - "const": "commercial.storageLand.general", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Builders' Yard", - "type": "string" - }, - "value": { - "const": "commercial.storageLand.building", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Transport", - "type": "string" - }, - "value": { - "const": "commercial.transport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Airfield / Airstrip / Airport / Air Transport Infrastructure Facility", - "type": "string" - }, - "value": { - "const": "commercial.transport.air", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Airfield", - "type": "string" - }, - "value": { - "const": "commercial.transport.air.airfield", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Air Transport Infrastructure Services", - "type": "string" - }, - "value": { - "const": "commercial.transport.air.infrastructure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Airport", - "type": "string" - }, - "value": { - "const": "commercial.transport.air.airport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Air Passenger Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.air.passengerTerminal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Helicopter Station", - "type": "string" - }, - "value": { - "const": "commercial.transport.air.helicopterStation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Heliport / Helipad", - "type": "string" - }, - "value": { - "const": "commercial.transport.air.heliport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bus Shelter", - "type": "string" - }, - "value": { - "const": "commercial.transport.bus", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site", - "type": "string" - }, - "value": { - "const": "commercial.transport.parking", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Park And Ride", - "type": "string" - }, - "value": { - "const": "commercial.transport.parking.parkAndRide", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Car Parking", - "type": "string" - }, - "value": { - "const": "commercial.transport.parking.car", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Coach Parking", - "type": "string" - }, - "value": { - "const": "commercial.transport.parking.coach", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Public Commercial Vehicle Parking", - "type": "string" - }, - "value": { - "const": "commercial.transport.parking.commercialVehicle", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Goods Freight Handling / Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.freight", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Air Freight Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.freight.air", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Container Freight", - "type": "string" - }, - "value": { - "const": "commercial.transport.freight.container", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Road Freight Transport", - "type": "string" - }, - "value": { - "const": "commercial.transport.freight.road", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Freight Transport", - "type": "string" - }, - "value": { - "const": "commercial.transport.freight.rail", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Marina", - "type": "string" - }, - "value": { - "const": "commercial.transport.marina", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mooring", - "type": "string" - }, - "value": { - "const": "commercial.transport.mooring", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Railway Asset", - "type": "string" - }, - "value": { - "const": "commercial.transport.railAsset", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Station / Interchange / Terminal / Halt", - "type": "string" - }, - "value": { - "const": "commercial.transport.terminal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bus station", - "type": "string" - }, - "value": { - "const": "commercial.transport.terminal.bus", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Train station", - "type": "string" - }, - "value": { - "const": "commercial.transport.terminal.train", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Vehicular Rail Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.terminal.vehicularRail", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Transport Track / Way", - "type": "string" - }, - "value": { - "const": "commercial.transport.track", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cliff Railway", - "type": "string" - }, - "value": { - "const": "commercial.transport.track.cliff", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Chair Lift / Cable Car / Ski Tow", - "type": "string" - }, - "value": { - "const": "commercial.transport.track.cable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Monorail", - "type": "string" - }, - "value": { - "const": "commercial.transport.track.monorail", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Vehicle Storage", - "type": "string" - }, - "value": { - "const": "commercial.transport.storage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boat Storage", - "type": "string" - }, - "value": { - "const": "commercial.transport.storage.boat", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Bus / Coach Depot", - "type": "string" - }, - "value": { - "const": "commercial.transport.storage.bus", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Transport Related Infrastructure", - "type": "string" - }, - "value": { - "const": "commercial.transport.infrastructure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Aqueduct", - "type": "string" - }, - "value": { - "const": "commercial.transport.infrastructure.aqueduct", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lock", - "type": "string" - }, - "value": { - "const": "commercial.transport.infrastructure.lock", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Weir", - "type": "string" - }, - "value": { - "const": "commercial.transport.infrastructure.weir", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Weighbridge / Load Gauge", - "type": "string" - }, - "value": { - "const": "commercial.transport.infrastructure.weighing", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Overnight Lorry Park", - "type": "string" - }, - "value": { - "const": "commercial.transport.overnightLorryPark", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Passenger Ferry Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.ferry.passengers", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Non-Tanker Nautical Berthing", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.generalBerth", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Nautical Refuelling Facility", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.refuelling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Slipway", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.slipway", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ship Passenger Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.passenger", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Tanker Berthing", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.tankerBerth", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Vehicular Ferry Terminal", - "type": "string" - }, - "value": { - "const": "commercial.transport.dock.ferry.vehicles", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Utility", - "type": "string" - }, - "value": { - "const": "commercial.utility", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Electricity Sub-Station", - "type": "string" - }, - "value": { - "const": "commercial.utility.SubStation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Landfill", - "type": "string" - }, - "value": { - "const": "commercial.utility.landfill", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Power Station / Energy Production", - "type": "string" - }, - "value": { - "const": "commercial.utility.electricity", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Electricity Distribution Facility", - "type": "string" - }, - "value": { - "const": "commercial.utility.electricity.distribution", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Electricity Production Facility", - "type": "string" - }, - "value": { - "const": "commercial.utility.electricity.production", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Wind Farm", - "type": "string" - }, - "value": { - "const": "commercial.utility.electricity.windFarm", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Wind Turbine", - "type": "string" - }, - "value": { - "const": "commercial.utility.electricity.windTurbine", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Pump House / Pumping Station / Water Tower", - "type": "string" - }, - "value": { - "const": "commercial.utility.water", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water Controlling / Pumping", - "type": "string" - }, - "value": { - "const": "commercial.utility.water.pump.control", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water Distribution / Pumping", - "type": "string" - }, - "value": { - "const": "commercial.utility.water.pump.distribution", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water Quality Monitoring", - "type": "string" - }, - "value": { - "const": "commercial.utility.water.qualityMonitoring", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water Storage", - "type": "string" - }, - "value": { - "const": "commercial.utility.water.storage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Waste Water Distribution / Pumping", - "type": "string" - }, - "value": { - "const": "commercial.utility.water.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Telecommunication", - "type": "string" - }, - "value": { - "const": "commercial.utility.telecoms", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Telecommunications Mast", - "type": "string" - }, - "value": { - "const": "commercial.utility.telecoms.mast", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Telephone Exchange", - "type": "string" - }, - "value": { - "const": "commercial.utility.telecoms.exhange", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water / Waste Water / Sewage Treatment Works", - "type": "string" - }, - "value": { - "const": "commercial.utility.waterTreatment", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Waste Water Treatment", - "type": "string" - }, - "value": { - "const": "commercial.utility.waterTreatment.waste", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Water Treatment", - "type": "string" - }, - "value": { - "const": "commercial.utility.waterTreatment.water", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Gas / Oil Storage / Distribution", - "type": "string" - }, - "value": { - "const": "commercial.utility.oilGas", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Gas Governor", - "type": "string" - }, - "value": { - "const": "commercial.utility.oilGas.gasGovernor", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Gas Holder", - "type": "string" - }, - "value": { - "const": "commercial.utility.oilGas.gasHolder", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Oil Terminal", - "type": "string" - }, - "value": { - "const": "commercial.utility.oilGas.oilTerminal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other Utility Use", - "type": "string" - }, - "value": { - "const": "commercial.utility.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cable Terminal Station", - "type": "string" - }, - "value": { - "const": "commercial.utility.other.cableTerminal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Observatory", - "type": "string" - }, - "value": { - "const": "commercial.utility.other.observatory", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Radar Station", - "type": "string" - }, - "value": { - "const": "commercial.utility.other.radar", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Satellite Earth Station", - "type": "string" - }, - "value": { - "const": "commercial.utility.other.satelliteEarth", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Waste Management", - "type": "string" - }, - "value": { - "const": "commercial.utility.wasteManagement", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Telephone Box", - "type": "string" - }, - "value": { - "const": "commercial.utility.publicPhone.box", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other Public Telephones", - "type": "string" - }, - "value": { - "const": "commercial.utility.publicPhone.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Dam", - "type": "string" - }, - "value": { - "const": "commercial.utility.dam", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Emergency / Rescue Service", - "type": "string" - }, - "value": { - "const": "commercial.emergency", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Nautical Navigation Beacon / Light", - "type": "string" - }, - "value": { - "const": "other.navigation.nautical.beacon", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Aid To Road Navigation", - "type": "string" - }, - "value": { - "const": "other.navigation.road", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Guide Post", - "type": "string" - }, - "value": { - "const": "other.navigation.guidePost", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Coastal Protection / Flood Prevention", - "type": "string" - }, - "value": { - "const": "other.coastal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boulder Wall / Sea Wall", - "type": "string" - }, - "value": { - "const": "other.coastal.wall", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flood Gate / Flood Sluice Gate / Flood Valve", - "type": "string" - }, - "value": { - "const": "other.coastal.floodGate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Groyne", - "type": "string" - }, - "value": { - "const": "other.coastal.groyne", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rip-Rap", - "type": "string" - }, - "value": { - "const": "other.coastal.ripRap", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Emergency Support", - "type": "string" - }, - "value": { - "const": "other.emergency", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Beach Office / First Aid Facility", - "type": "string" - }, - "value": { - "const": "other.emergency.firstAid", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Emergency Telephone (Non Motorway)", - "type": "string" - }, - "value": { - "const": "other.emergency.telephone", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility", - "type": "string" - }, - "value": { - "const": "other.emergency.fire", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Emergency Equipment Point / Emergency Siren / Warning Flag", - "type": "string" - }, - "value": { - "const": "other.emergency.warning", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lifeguard Facility", - "type": "string" - }, - "value": { - "const": "other.emergency.lifeguard", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "LIfe / Belt / Buoy / Float / Jacket / Safety Rope", - "type": "string" - }, - "value": { - "const": "other.emergency.floatAids", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Street Furniture", - "type": "string" - }, - "value": { - "const": "other.streetFurniture", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Agricultural Support Objects", - "type": "string" - }, - "value": { - "const": "other.agriculture", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Fish Ladder / Lock / Pen / Trap", - "type": "string" - }, - "value": { - "const": "other.agriculture.fishPen", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Livestock Pen / Dip", - "type": "string" - }, - "value": { - "const": "other.agriculture.livestockPen", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Currick", - "type": "string" - }, - "value": { - "const": "other.agriculture.currick", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Slurry Bed / Pit", - "type": "string" - }, - "value": { - "const": "other.agriculture.slurry", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Historical Site / Object", - "type": "string" - }, - "value": { - "const": "other.historic", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Historic Structure / Object", - "type": "string" - }, - "value": { - "const": "other.historic.structure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Industrial Support", - "type": "string" - }, - "value": { - "const": "other.industrial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Adit / Incline / Level", - "type": "string" - }, - "value": { - "const": "other.industrial.aditIncline", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Caisson / Dry Dock / Grid", - "type": "string" - }, - "value": { - "const": "other.industrial.caissonDock", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Channel / Conveyor / Conduit / Pipe", - "type": "string" - }, - "value": { - "const": "other.industrial.channel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Chimney / Flue", - "type": "string" - }, - "value": { - "const": "other.industrial.chimney", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Crane / Hoist / Winch / Material Elevator", - "type": "string" - }, - "value": { - "const": "other.industrial.crane", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flare Stack", - "type": "string" - }, - "value": { - "const": "other.industrial.flareStack", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Hopper / Silo / Cistern / Tank", - "type": "string" - }, - "value": { - "const": "other.industrial.siloTank", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Grab / Skip / Other Industrial Waste Machinery / Discharging", - "type": "string" - }, - "value": { - "const": "other.industrial.discharge", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Kiln / Oven / Smelter", - "type": "string" - }, - "value": { - "const": "other.industrial.kiln", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Manhole / Shaft", - "type": "string" - }, - "value": { - "const": "other.industrial.manholeShaft", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Industrial Overflow / Sluice / Valve / Valve Housing", - "type": "string" - }, - "value": { - "const": "other.industrial.overflowSluiceValve", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cooling Tower", - "type": "string" - }, - "value": { - "const": "other.industrial.coolingTower", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Solar Panel / Waterwheel", - "type": "string" - }, - "value": { - "const": "other.industrial.solarPanel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Telephone Pole / Post", - "type": "string" - }, - "value": { - "const": "other.industrial.pylon.telecom", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Electricity Distribution Pole / Pylon", - "type": "string" - }, - "value": { - "const": "other.industrial.pylon.electricity", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Significant Natural Object", - "type": "string" - }, - "value": { - "const": "other.natural", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boundary / Significant / Historic Tree / Pollard", - "type": "string" - }, - "value": { - "const": "other.natural.tree", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boundary / Significant Rock / Boulder", - "type": "string" - }, - "value": { - "const": "other.natural.rock", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Natural Hole (Blow / Shake / Swallow)", - "type": "string" - }, - "value": { - "const": "other.natural.hole", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ornamental / Cultural Object", - "type": "string" - }, - "value": { - "const": "other.ornamental", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mausoleum / Tomb / Grave", - "type": "string" - }, - "value": { - "const": "other.ornamental.tomb", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Simple Ornamental Object", - "type": "string" - }, - "value": { - "const": "other.ornamental.object", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Maze", - "type": "string" - }, - "value": { - "const": "other.ornamental.maze", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sport / Leisure Support", - "type": "string" - }, - "value": { - "const": "other.leisure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Butt / Hide", - "type": "string" - }, - "value": { - "const": "other.leisure.hide", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Gallop / Ride", - "type": "string" - }, - "value": { - "const": "other.leisure.gallop", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Miniature Railway", - "type": "string" - }, - "value": { - "const": "other.leisure.modelRailway", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Royal Mail Infrastructure", - "type": "string" - }, - "value": { - "const": "other.mail", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Postal Box", - "type": "string" - }, - "value": { - "const": "other.mail.postBox", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Postal Delivery Box / Pouch", - "type": "string" - }, - "value": { - "const": "other.mail.deliveryBox", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "PO Box", - "type": "string" - }, - "value": { - "const": "other.mail.POBox", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Additional Mail / Packet Addressee", - "type": "string" - }, - "value": { - "const": "other.mail.additionalAddressee", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Scientific / Observation Support", - "type": "string" - }, - "value": { - "const": "other.scientific", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Meteorological Station / Equipment", - "type": "string" - }, - "value": { - "const": "other.scientific.meteo", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Radar / Satellite Infrastructure", - "type": "string" - }, - "value": { - "const": "other.scientific.radarSatellite", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Telescope / Observation Infrastructure / Astronomy", - "type": "string" - }, - "value": { - "const": "other.scientific.astronomy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Transport Support", - "type": "string" - }, - "value": { - "const": "other.transport", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cattle Grid / Ford", - "type": "string" - }, - "value": { - "const": "other.transport.cattleGridFord", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Elevator / Escalator / Steps", - "type": "string" - }, - "value": { - "const": "other.transport.stepsLiftEscalator", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Footbridge / Walkway", - "type": "string" - }, - "value": { - "const": "other.transport.bridge", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Pole / Post / Bollard (Restricting Vehicular Access)", - "type": "string" - }, - "value": { - "const": "other.transport.post", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Subway / Underpass", - "type": "string" - }, - "value": { - "const": "other.transport.subway", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Customs Inspection Facility", - "type": "string" - }, - "value": { - "const": "other.transport.customs", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lay-By", - "type": "string" - }, - "value": { - "const": "other.transport.layby", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Level Crossing", - "type": "string" - }, - "value": { - "const": "other.transport.rail.crossing.vehicles", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mail Pick Up", - "type": "string" - }, - "value": { - "const": "other.transport.mailPickUp", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Railway Pedestrian Crossing", - "type": "string" - }, - "value": { - "const": "other.transport.rail.crossing.pedestrian", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Railway Buffer", - "type": "string" - }, - "value": { - "const": "other.transport.rail.buffer", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Drag", - "type": "string" - }, - "value": { - "const": "other.transport.rail.drag", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Infrastructure Services", - "type": "string" - }, - "value": { - "const": "other.transport.rail.infrastructure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Kilometre Distance Marker", - "type": "string" - }, - "value": { - "const": "other.transport.rail.marker.km", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Railway Lighting", - "type": "string" - }, - "value": { - "const": "other.transport.rail.lighting", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Mile Distance Marker", - "type": "string" - }, - "value": { - "const": "other.transport.rail.market.mile", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Railway Turntable", - "type": "string" - }, - "value": { - "const": "other.transport.rail.turntable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Weighbridge", - "type": "string" - }, - "value": { - "const": "other.transport.rail.weighbridge", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Rail Signalling", - "type": "string" - }, - "value": { - "const": "other.transport.rail.signals", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Railway Traverse", - "type": "string" - }, - "value": { - "const": "other.transport.rail.traverse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Goods Tramway", - "type": "string" - }, - "value": { - "const": "other.transport.goodsTramway", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Road Drag", - "type": "string" - }, - "value": { - "const": "other.transport.road.drag", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Vehicle Dip", - "type": "string" - }, - "value": { - "const": "other.transport.road.vehicleDip", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Road Turntable", - "type": "string" - }, - "value": { - "const": "other.transport.road.turntable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Road Mile Distance Marker", - "type": "string" - }, - "value": { - "const": "other.transport.road.marker.mile", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Road Kilometre Distance Marker", - "type": "string" - }, - "value": { - "const": "other.transport.road.market.km", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Road Infrastructure Services", - "type": "string" - }, - "value": { - "const": "other.transport.road.infrastructure", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Unsupported Site", - "type": "string" - }, - "value": { - "const": "other.unsupported", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cycle Parking Facility", - "type": "string" - }, - "value": { - "const": "other.unsupported.cycleParking", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Picnic / Barbeque Site", - "type": "string" - }, - "value": { - "const": "other.unsupported.picnic", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Travelling Persons Site", - "type": "string" - }, - "value": { - "const": "other.unsupported.travellingPersons", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Shelter (Not Including Bus Shelter)", - "type": "string" - }, - "value": { - "const": "other.unsupported.shelter", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Street Record", - "type": "string" - }, - "value": { - "const": "parent.street", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Residential", - "type": "string" - }, - "value": { - "const": "residential", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Ancillary Building", - "type": "string" - }, - "value": { - "const": "residential.building", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Car Park Space", - "type": "string" - }, - "value": { - "const": "residential.carParkingSpace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Allocated Parking", - "type": "string" - }, - "value": { - "const": "residential.carParkingSpace.allocated", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Residential dwelling", - "type": "string" - }, - "value": { - "const": "residential.dwelling", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Caravan", - "type": "string" - }, - "value": { - "const": "residential.dwelling.caravan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Detached", - "type": "string" - }, - "value": { - "const": "residential.dwelling.house.detached", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Semi-detached", - "type": "string" - }, - "value": { - "const": "residential.dwelling.house.semiDetached", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Terrace", - "type": "string" - }, - "value": { - "const": "residential.dwelling.house.terrace", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flat", - "type": "string" - }, - "value": { - "const": "residential.dwelling.flat", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "House Boat", - "type": "string" - }, - "value": { - "const": "residential.dwelling.boat", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sheltered Accommodation", - "type": "string" - }, - "value": { - "const": "residential.dwelling.shelteredAccommodation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Privately Owned Holiday Caravan / Chalet", - "type": "string" - }, - "value": { - "const": "residential.dwelling.holiday", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Garage", - "type": "string" - }, - "value": { - "const": "residential.garage", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lock-Up Garage / Garage Court", - "type": "string" - }, - "value": { - "const": "residential.garage.court", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "House In Multiple Occupation", - "type": "string" - }, - "value": { - "const": "residential.HMO", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "HMO Parent", - "type": "string" - }, - "value": { - "const": "residential.HMO.parent", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "HMO Bedsit / Other Non Self Contained Accommodation", - "type": "string" - }, - "value": { - "const": "residential.HMO.bedsit", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "HMO Not Further Divided", - "type": "string" - }, - "value": { - "const": "residential.HMO.undivided", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Residential Institution", - "type": "string" - }, - "value": { - "const": "residential.institution", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Care / Nursing Home", - "type": "string" - }, - "value": { - "const": "residential.institution.care", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Communal Residence", - "type": "string" - }, - "value": { - "const": "residential.institution.communal", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Non-Commercial Lodgings", - "type": "string" - }, - "value": { - "const": "residential.institution.noncommercial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Religious Community", - "type": "string" - }, - "value": { - "const": "residential.institution.religious", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Residential Education", - "type": "string" - }, - "value": { - "const": "residential.institution.education", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Unclassified", - "type": "string" - }, - "value": { - "const": "unclassified", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Awaiting Classification", - "type": "string" - }, - "value": { - "const": "unclassified.awaitingclassification", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Pending Internal Investigation", - "type": "string" - }, - "value": { - "const": "unclassified.pendingInvestigation", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Dual Use", - "type": "string" - }, - "value": { - "const": "dualUse", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Object of Interest", - "type": "string" - }, - "value": { - "const": "object", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Archaeological Dig Site", - "type": "string" - }, - "value": { - "const": "object.archaeological", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Monument", - "type": "string" - }, - "value": { - "const": "object.monument", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Obelisk / Milestone / Standing Stone", - "type": "string" - }, - "value": { - "const": "object.monument.vertical", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Obelisk", - "type": "string" - }, - "value": { - "const": "object.monument.vertical.obelisk", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Standing Stone", - "type": "string" - }, - "value": { - "const": "object.monument.vertical.standingStone", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Memorial / Market Cross", - "type": "string" - }, - "value": { - "const": "object.monument.memorial", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Statue", - "type": "string" - }, - "value": { - "const": "object.monument.statue", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Castle / Historic Ruin", - "type": "string" - }, - "value": { - "const": "object.monument.ruin", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other Structure", - "type": "string" - }, - "value": { - "const": "object.monument.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Boundary Stone", - "type": "string" - }, - "value": { - "const": "object.monument.other.boundaryStone", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cascade / Fountain", - "type": "string" - }, - "value": { - "const": "object.monument.other.waterFeature", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Permanent Art Display / Sculpture", - "type": "string" - }, - "value": { - "const": "object.monument.other.art", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Windmill (Inactive)", - "type": "string" - }, - "value": { - "const": "object.monument.other.windmill", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Stately Home", - "type": "string" - }, - "value": { - "const": "object.statelyHome", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Underground Feature", - "type": "string" - }, - "value": { - "const": "object.underground", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cave", - "type": "string" - }, - "value": { - "const": "object.underground.cave", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Pothole / Natural Hole", - "type": "string" - }, - "value": { - "const": "object.underground.hole", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other Underground Feature", - "type": "string" - }, - "value": { - "const": "object.underground.other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cellar", - "type": "string" - }, - "value": { - "const": "object.underground.other.cellar", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Disused Mine", - "type": "string" - }, - "value": { - "const": "object.underground.other.extraction", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral Mining / Inactive", - "type": "string" - }, - "value": { - "const": "object.underground.other.extraction.mine", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Oil And / Gas Extraction/ Inactive", - "type": "string" - }, - "value": { - "const": "object.underground.other.extraction.oilGas", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mineral Quarrying And / Open Extraction / Inactive", - "type": "string" - }, - "value": { - "const": "object.underground.other.extraction.quarry", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Well / Spring", - "type": "string" - }, - "value": { - "const": "object.underground.other.water", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Spring", - "type": "string" - }, - "value": { - "const": "object.underground.other.water.spring", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Well", - "type": "string" - }, - "value": { - "const": "object.underground.other.water.well", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Place Of Worship", - "type": "string" - }, - "value": { - "const": "object.religious", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Religious building", - "type": "string" - }, - "value": { - "const": "object.religious.building", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Abbey", - "type": "string" - }, - "value": { - "const": "object.religious.building.abbey", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cathedral", - "type": "string" - }, - "value": { - "const": "object.religious.building.cathedral", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Church", - "type": "string" - }, - "value": { - "const": "object.religious.building.church", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Chapel", - "type": "string" - }, - "value": { - "const": "object.religious.building.chapel", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Gurdwara", - "type": "string" - }, - "value": { - "const": "object.religious.building.gurdwara", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Kingdom Hall", - "type": "string" - }, - "value": { - "const": "object.religious.building.kingdomHall", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Lych Gate", - "type": "string" - }, - "value": { - "const": "object.religious.building.lychGate", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Mosque", - "type": "string" - }, - "value": { - "const": "object.religious.building.mosque", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Minster", - "type": "string" - }, - "value": { - "const": "object.religious.building.minster", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Stupa", - "type": "string" - }, - "value": { - "const": "object.religious.building.stupa", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Synagogue", - "type": "string" - }, - "value": { - "const": "object.religious.building.synagogue", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Temple", - "type": "string" - }, - "value": { - "const": "object.religious.building.temple", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Property types derived from Basic Land and Property Unit (BLPU) classification codes" - }, - "Proposal": { - "$id": "#Proposal", - "anyOf": [ - { - "$ref": "#/definitions/BaseProposal" - }, - { - "$ref": "#/definitions/LondonProposal" - } - ], - "description": "Information about the proposed works and any changes to the property" - }, - "ProposalDates": { - "$id": "#ProposalDates", - "additionalProperties": false, - "description": "When the proposed works will start and be completed by, not required for all application types", - "properties": { - "completion": { - "$ref": "#/definitions/Date" - }, - "start": { - "$ref": "#/definitions/Date" - } - }, - "type": "object" - }, - "ProposedAddress": { - "$id": "#ProposedAddress", - "additionalProperties": false, - "description": "Address information for sites without a known Unique Property Reference Number (UPRN)", - "properties": { - "latitude": { - "description": "Latitude coordinate in EPSG:4326 (WGS84)", - "type": "number" - }, - "longitude": { - "description": "Longitude coordinate in EPSG:4326 (WGS84)", - "type": "number" - }, - "source": { - "const": "Proposed by applicant", - "type": "string" - }, - "title": { - "type": "string" - }, - "x": { - "description": "Easting coordinate in British National Grid (OSGB36)", - "type": "number" - }, - "y": { - "description": "Northing coordinate in British National Grid (OSGB36)", - "type": "number" - } - }, - "required": ["latitude", "longitude", "source", "title", "x", "y"], - "type": "object" - }, - "ProtectedSpaceDesignation": { - "$id": "#ProtectedSpaceDesignation", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of Borough Grade 1 Importance", - "type": "string" - }, - "value": { - "const": "boroughGradeOne", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of Borough Grade 2 Importance", - "type": "string" - }, - "value": { - "const": "boroughGradeTwo", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of Local Importance", - "type": "string" - }, - "value": { - "const": "local", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Local Nature Reserve", - "type": "string" - }, - "value": { - "const": "localReserve", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Site of Metropolitan Importance", - "type": "string" - }, - "value": { - "const": "metropolitan", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Not designated", - "type": "string" - }, - "value": { - "const": "none", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sites of Special Scientific Interest", - "type": "string" - }, - "value": { - "const": "SSSI", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Designations of natural protected spaces" - }, - "QuestionAndResponses": { - "additionalProperties": false, - "properties": { - "metadata": { - "$ref": "#/definitions/QuestionMetaData" - }, - "question": { - "type": "string" - }, - "responses": { - "anyOf": [ - { - "items": { - "$ref": "#/definitions/Response" - }, - "type": "array" - }, - { - "type": "string" - } - ] - } - }, - "required": ["question", "responses"], - "type": "object" - }, - "QuestionMetaData": { - "additionalProperties": false, - "properties": { - "autoAnswered": { - "type": "boolean" - }, - "policyRefs": { - "items": { - "additionalProperties": false, - "properties": { - "text": { - "type": "string" - }, - "url": { - "$ref": "#/definitions/URL" - } - }, - "required": ["text"], - "type": "object" - }, - "type": "array" - }, - "sectionName": { - "type": "string" - } - }, - "type": "object" - }, - "RequestedFiles": { - "$id": "#RequestedFiles", - "additionalProperties": false, - "description": "File types requested by this service. Schema[\"files\"] will be a subset of this list based on the user's journey through the service", - "properties": { - "optional": { - "items": { - "$ref": "#/definitions/FileType" - }, - "type": "array" - }, - "recommended": { - "items": { - "$ref": "#/definitions/FileType" - }, - "type": "array" - }, - "required": { - "items": { - "$ref": "#/definitions/FileType" - }, - "type": "array" - } - }, - "required": ["required", "recommended", "optional"], - "type": "object" - }, - "ResidentialUnits": { - "additionalProperties": false, - "properties": { - "residential": { - "items": { - "additionalProperties": false, - "properties": { - "bedrooms": { - "type": "number" - }, - "identicalUnits": { - "type": "number" - }, - "tenure": { - "$ref": "#/definitions/UKTenureType" - }, - "type": { - "$ref": "#/definitions/UKResidentialUnitType" - } - }, - "required": ["type", "tenure", "bedrooms", "identicalUnits"], - "type": "object" - }, - "type": "array" - }, - "total": { - "type": "number" - } - }, - "required": ["total", "residential"], - "type": "object" - }, - "Response": { - "additionalProperties": false, - "properties": { - "metadata": { - "$ref": "#/definitions/ResponseMetaData" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "type": "object" - }, - "ResponseMetaData": { - "additionalProperties": false, - "properties": { - "flags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "options": { - "anyOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "items": { - "$ref": "#/definitions/Response" - }, - "type": "array" - } - ] - } - }, - "type": "object" - }, - "Responses": { - "$id": "#Responses", - "description": "The ordered list of questions, answers, and their metadata for the application", - "items": { - "$ref": "#/definitions/QuestionAndResponses" - }, - "type": "array" - }, - "ResultFlag": { - "$id": "#ResultFlag", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the changes may now be beyond the time limit for enforcement action. This does not apply if the changes have been deliberately concealed.", - "type": "string" - }, - "value": { - "const": "Planning permission / Immune", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "There is some key information missing that will be needed to assess this application.", - "type": "string" - }, - "value": { - "const": "Planning permission / Missing information", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes may require planning permission.", - "type": "string" - }, - "value": { - "const": "Planning permission / Permission needed", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding.", - "type": "string" - }, - "value": { - "const": "Planning permission / Prior approval", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes may not require planning permission, however the applicant must provide notice to the planning authority before proceeding.", - "type": "string" - }, - "value": { - "const": "Planning permission / Notice", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes may fall within the rules for Permitted Development and therefore would not need planning permission.", - "type": "string" - }, - "value": { - "const": "Planning permission / Permitted development", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "It looks like the proposed changes may not fall within the legal definition of 'development', and therefore would not require planning permission.", - "type": "string" - }, - "value": { - "const": "Planning permission / Not development", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Listed building consent / Missing information", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Listed building consent / Required", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Listed building consent / De minimis", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Listed building consent / Not required", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Works to trees & hedges / Missing information", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Works to trees & hedges / Required", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Works to trees & hedges / De minimis", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Works to trees & hedges / Not required", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Demolition in a conservation area / Missing information", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Demolition in a conservation area / Required", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Demolition in a conservation area / De minimis", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Demolition in a conservation area / Not required", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Planning policy / Missing information", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Planning policy / Fails to meet policy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Planning policy / Edge case", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Planning policy / Meets policy", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Missing information", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Exemption void", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Exempt", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Relief void", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Relief", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Liable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "", - "type": "string" - }, - "value": { - "const": "Community infrastructure levy / Not liable", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "The result of a single flagset" - }, - "SiteContact": { - "$id": "#SiteContact", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "role": { - "enum": ["applicant", "agent", "proxy"], - "type": "string" - } - }, - "required": ["role"], - "type": "object" - }, - { - "$ref": "#/definitions/SiteContactOther" - } - ], - "description": "Contact information for the site visit" - }, - "SiteContactOther": { - "$id": "#SiteContactOther", - "additionalProperties": false, - "description": "Contact information for the site visit when the SiteContact's role is 'other'", - "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "role": { - "const": "other", - "type": "string" - } - }, - "required": ["role", "name", "email", "phone"], - "type": "object" - }, - "UKProperty": { - "$id": "#UKProperty", - "additionalProperties": false, - "description": "Property details for sites anywhere in the UK", - "properties": { - "address": { - "anyOf": [ - { - "$ref": "#/definitions/ProposedAddress" - }, - { - "$ref": "#/definitions/OSAddress" - } - ] - }, - "boundary": { - "$ref": "#/definitions/GeoBoundary", - "description": "HM Land Registry Index polygon for this property, commonly referred to as the blue line boundary, sourced from planning.data.gov.uk/dataset/title-boundary" - }, - "flood": { - "additionalProperties": false, - "description": "Existing flood risk, if applicable to application.type", - "properties": { - "20mFromWatercourse": { - "type": "boolean" - }, - "increasedRiskElsewhere": { - "type": "boolean" - } - }, - "type": "object" - }, - "localAuthorityDistrict": { - "description": "Current and historic UK Local Authority Districts that contain this address sourced from planning.data.gov.uk/dataset/local-authority-district", - "items": { - "type": "string" - }, - "type": "array" - }, - "materials": { - "$ref": "#/definitions/Materials", - "description": "Existing materials, if applicable to proposal.projectType" - }, - "planning": { - "additionalProperties": false, - "description": "Planning constraints and policies that intersect with this site and may impact or restrict development", - "properties": { - "conditions": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - }, - "designations": { - "items": { - "$ref": "#/definitions/PlanningDesignation" - }, - "type": "array" - }, - "guidance": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - }, - "plans": { - "additionalProperties": false, - "properties": { - "local": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - }, - "neighbourhood": { - "items": { - "$ref": "#/definitions/PlanningConstraint" - }, - "type": "array" - } - }, - "required": ["local", "neighbourhood"], - "type": "object" - }, - "sources": { - "description": "A list of open data requests or websites that explain how these constraints were sourced", - "items": { - "$ref": "#/definitions/URL" - }, - "type": "array" - } - }, - "required": ["sources"], - "type": "object" - }, - "region": { - "$ref": "#/definitions/UKRegion" - }, - "trees": { - "additionalProperties": false, - "description": "Existing trees on or near the site", - "properties": { - "adjacent": { - "type": "boolean" - }, - "present": { - "type": "boolean" - } - }, - "required": ["present", "adjacent"], - "type": "object" - }, - "type": { - "$ref": "#/definitions/PropertyType" - }, - "units": { - "$ref": "#/definitions/ResidentialUnits" - }, - "use": { - "additionalProperties": false, - "description": "Existing land use, if applicable to application.type", - "properties": { - "description": { - "type": "string" - }, - "vacant": { - "additionalProperties": false, - "properties": { - "lastUseEndDate": { - "$ref": "#/definitions/Date" - } - }, - "required": ["lastUseEndDate"], - "type": "object" - } - }, - "required": ["description"], - "type": "object" - } - }, - "required": ["address", "region", "localAuthorityDistrict", "type"], - "type": "object" - }, - "UKRegion": { - "$id": "#UKRegion", - "description": "The UK region that contains this address sourced from planning.data.gov.uk/dataset/region, where London is a proxy for the Greater London Authority (GLA) area", - "enum": [ - "North East", - "North West", - "Yorkshire and The Humber", - "East Midlands", - "West Midlands", - "East of England", - "London", - "South East", - "South West" - ], - "type": "string" - }, - "UKResidentialUnitType": { - "$id": "#UKResidentialUnitType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Cluster flat", - "type": "string" - }, - "value": { - "const": "cluster", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Flat", - "type": "string" - }, - "value": { - "const": "flat", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "House", - "type": "string" - }, - "value": { - "const": "house", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other", - "type": "string" - }, - "value": { - "const": "other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Sheltered housing", - "type": "string" - }, - "value": { - "const": "sheltered", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Studio or bedsit", - "type": "string" - }, - "value": { - "const": "studio", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Residential unit types tracked throughout the UK" - }, - "UKTenureType": { - "$id": "#UKTenureType", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Affordable home ownership", - "type": "string" - }, - "value": { - "const": "AHO", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Market housing", - "type": "string" - }, - "value": { - "const": "MH", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Other", - "type": "string" - }, - "value": { - "const": "other", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Social, affordable or interim rent", - "type": "string" - }, - "value": { - "const": "SAIR", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Self-build and custom build", - "type": "string" - }, - "value": { - "const": "selfCustomBuild", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "description": { - "const": "Starter homes", - "type": "string" - }, - "value": { - "const": "SH", - "type": "string" - } - }, - "required": ["value", "description"], - "type": "object" - } - ], - "description": "Tenure types tracked throughout the UK" - }, - "URL": { - "format": "uri", - "pattern": "^https?://", - "type": "string" - }, - "UUID": { - "format": "uuid", - "type": "string" - }, - "User": { - "$id": "User", - "additionalProperties": false, - "description": "The role of the user who completed the application", - "properties": { - "role": { - "enum": ["applicant", "agent", "proxy"], - "type": "string" - } - }, - "required": ["role"], - "type": "object" - }, - "UserAddress": { - "$id": "#UserAddress", - "anyOf": [ - { - "additionalProperties": false, - "properties": { - "sameAsSiteAddress": { - "const": true, - "type": "boolean" - } - }, - "required": ["sameAsSiteAddress"], - "type": "object" - }, - { - "$ref": "#/definitions/UserAddressNotSameSite" - } - ], - "description": "Address information for the applicant" - }, - "UserAddressNotSameSite": { - "$id": "#UserAddressNotSameSite", - "additionalProperties": false, - "description": "Address information for an applicant with contact information that differs from the property address", - "properties": { - "country": { - "type": "string" - }, - "county": { - "type": "string" - }, - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "postcode": { - "type": "string" - }, - "sameAsSiteAddress": { - "const": false, - "type": "boolean" - }, - "town": { - "type": "string" - } - }, - "required": ["line1", "postcode", "sameAsSiteAddress", "town"], - "type": "object" - } - }, - "description": "The root specification for a planning application in England generated by a digital planning service", - "properties": { - "data": { - "additionalProperties": false, - "properties": { - "applicant": { - "$ref": "#/definitions/Applicant" - }, - "application": { - "$ref": "#/definitions/ApplicationData" - }, - "files": { - "$ref": "#/definitions/FilesAsData" - }, - "property": { - "$ref": "#/definitions/Property" - }, - "proposal": { - "$ref": "#/definitions/Proposal" - }, - "user": { - "$ref": "#/definitions/User" - } - }, - "required": ["application", "user", "applicant", "property", "proposal"], - "type": "object" - }, - "files": { - "items": { - "$ref": "#/definitions/File" - }, - "type": "array" - }, - "metadata": { - "$ref": "#/definitions/Metadata" - }, - "preAssessment": { - "$ref": "#/definitions/PreAssessment" - }, - "responses": { - "$ref": "#/definitions/Responses" - } - }, - "required": ["data", "responses", "files", "metadata"], - "title": "Application", - "type": "object" -} diff --git a/src/export/digitalPlanning/schema/types.d.ts b/src/export/digitalPlanning/schema/types.d.ts deleted file mode 100644 index 7fc3968b..00000000 --- a/src/export/digitalPlanning/schema/types.d.ts +++ /dev/null @@ -1,6374 +0,0 @@ -/* eslint-disable */ -/** - * This file was automatically generated by json-schema-to-typescript. - * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, - * and run json-schema-to-typescript to regenerate this file. - */ - -/** - * The user who completed the application either for themself or on behalf of someone else - */ -export type Applicant = BaseApplicant | Agent; -/** - * Address information for the applicant - */ -export type UserAddress = - | { - sameAsSiteAddress: true; - } - | UserAddressNotSameSite; -export type Email = string; -/** - * Contact information for the person(s) responsible for maintenance while the works are carried out - */ -export type MaintenanceContact = { - address: Address; - contact: { - company?: { - name: string; - }; - email: string; - name: { - first: string; - last: string; - title?: string; - }; - phone: string; - }; - when: - | "duringConstruction" - | "afterConstruction" - | "duringAndAfterConstruction"; -}[]; -export type Date = string; -/** - * Names and addresses of all known owners and agricultural tenants, including confirmation or date of notice, or reason requisite notice has not been given if applicable - */ -export type Owners = OwnersNoticeGiven | OwnersNoNoticeGiven | OwnersNoticeDate; -/** - * Contact information for the site visit - */ -export type SiteContact = - | { - role: "applicant" | "agent" | "proxy"; - } - | SiteContactOther; -/** - * Information about this planning application - */ -export type ApplicationData = BaseApplicationData | LondonApplicationData; -/** - * Planning application types - */ -export type ApplicationType = - | { - description: "Consent to display an advertisement"; - value: "advertConsent"; - } - | { - description: "Consent to make small changes to a project with Planning Permission"; - value: "amendment"; - } - | { - description: "Consent to make small (minor material) changes to a project with Planning Permission"; - value: "amendment.minorMaterial"; - } - | { - description: "Consent to make small (non-material) changes to a project with Planning Permission"; - value: "amendment.nonMaterial"; - } - | { - description: "Planning approval"; - value: "approval"; - } - | { - description: "Approval of details reserved by condition"; - value: "approval.conditions"; - } - | { - description: "Approval of reserved matters"; - value: "approval.reservedMatters"; - } - | { - description: "Written confirmation of compliance with a planning condition"; - value: "complianceConfirmation"; - } - | { - description: "Environmental Impact Decision"; - value: "environmentalImpact"; - } - | { - description: "Environmental Impact Decision - Scoping"; - value: "environmentalImpact.scoping"; - } - | { - description: "Environmental Impact Decision - Screening"; - value: "environmentalImpact.screening"; - } - | { - description: "Consent to move and dispose of hazardous substances"; - value: "hazardousSubstanceConsent"; - } - | { - description: "Notice to remove a hedge"; - value: "hedgerowRemovalNotice"; - } - | { - description: "Consent to do works affecting ordinary watercourses or land drainage"; - value: "landDrainageConsent"; - } - | { - description: "Lawful Development Certificate"; - value: "ldc"; - } - | { - description: "Lawful Development Certificate - Existing use lawful not to comply with a condition (S191C)"; - value: "ldc.breachOfCondition"; - } - | { - description: "Lawful Development Certificate - Existing use"; - value: "ldc.existing"; - } - | { - description: "Lawful Development Certificate - Works to a Listed Building (S26H)"; - value: "ldc.listedBuildingWorks"; - } - | { - description: "Lawful Development Certificate - Proposed use"; - value: "ldc.proposed"; - } - | { - description: "Consent to do works to a Listed Building"; - value: "listed"; - } - | { - description: "Notification of completion"; - value: "notifyCompletion"; - } - | { - description: "Planning obligation"; - value: "obligation"; - } - | { - description: "Discharge a planning obligation"; - value: "obligation.discharge"; - } - | { - description: "Modify a planning obligation"; - value: "obligation.modify"; - } - | { - description: "Onshore extraction of oil and gas"; - value: "onshoreExtractionOilAndGas"; - } - | { - description: "Onshore extraction of oil and gas - Other"; - value: "onshoreExtractionOilAndGas.other"; - } - | { - description: "Onshore extraction of oil and gas - Full planning permission for an extension to an existing site including associated development"; - value: "onshoreExtractionOilAndGas.pp.extension"; - } - | { - description: "Onshore extraction of oil and gas - Full planning permission for waste development"; - value: "onshoreExtractionOilAndGas.pp.waste"; - } - | { - description: "Onshore extraction of oil and gas - Full planning permission for oil and gas working including exploratory, appraisal and production phases"; - value: "onshoreExtractionOilAndGas.pp.working"; - } - | { - description: "Onshore extraction of oil and gas - Review of conditions applying to Mineral Permissions (ROMPs)"; - value: "onshoreExtractionOilAndGas.review"; - } - | { - description: "Onshore extraction of oil and gas - Variation of conditions"; - value: "onshoreExtractionOilAndGas.variation"; - } - | { - description: "Prior Approval"; - value: "pa"; - } - | { - description: "Prior Approval - Larger extension to a house"; - value: "pa.part1.classA"; - } - | { - description: "Prior Approval - Adding storeys to a house"; - value: "pa.part1.classAA"; - } - | { - description: "Prior Approval - Convert a commercial building to mixed use"; - value: "pa.part3.classG"; - } - | { - description: "Prior Approval - Convert a mixed use building into a home"; - value: "pa.part3.classM"; - } - | { - description: "Prior Approval - Convert a commercial building into a home or homes"; - value: "pa.part3.classMA"; - } - | { - description: "Prior Approval - Convert a casino or amusement arcade into a home or homes"; - value: "pa.part3.classN"; - } - | { - description: "Prior Approval - Convert an agricultural building into a home"; - value: "pa.part3.classQ"; - } - | { - description: "Prior Approval - Convert an agricultural building to a commercial use"; - value: "pa.part3.classR"; - } - | { - description: "Prior Approval - Convert an agricultural building to a school"; - value: "pa.part3.classS"; - } - | { - description: "Prior Approval - Convert a commercial building to a school"; - value: "pa.part3.classT"; - } - | { - description: "Prior Approval - Changes of use permitted under a permission granted on an application"; - value: "pa.part3.classV"; - } - | { - description: "Prior Approval - Put up a temporary structure"; - value: "pa.part4.classBB"; - } - | { - description: "Prior Approval - Develop a temporary campsite"; - value: "pa.part4.classBC"; - } - | { - description: "Prior Approval - Put temporary school buildings on vacant commercial land"; - value: "pa.part4.classCA"; - } - | { - description: "Prior Approval - Use a building or land to shoot a film"; - value: "pa.part4.classE"; - } - | { - description: "Prior Approval - Alter or add new buildings to agricultural or forestry sites"; - value: "pa.part6"; - } - | { - description: "Prior Approval - Build new agricultural buildings on a unit of 5 hectares or more"; - value: "pa.part6.classA"; - } - | { - description: "Prior Approval - Build new agricultural buildings on a unit of less than 5 hectares"; - value: "pa.part6.classB"; - } - | { - description: "Prior Approval - Build new forestry buildings"; - value: "pa.part6.classE"; - } - | { - description: "Prior Approval - Install click and collect facilities"; - value: "pa.part7.classC"; - } - | { - description: "Prior Approval - Extend a school, college, university, prison or hospital"; - value: "pa.part7.classM"; - } - | { - description: "Prior Approval - Development of toll facilities"; - value: "pa.part9.classD"; - } - | { - description: "Prior Approval - Demolish a building"; - value: "pa.part11.classB"; - } - | { - description: "Prior Approval - Install or change solar equipment on domestic premises"; - value: "pa.part14.classA"; - } - | { - description: "Prior Approval - Install or change stand-alone solar equipment on domestic premises"; - value: "pa.part14.classB"; - } - | { - description: "Prior Approval - Install or change solar panels"; - value: "pa.part14.classJ"; - } - | { - description: "Prior Approval - Install or change stand-alone solar equipment on non-domestic premises"; - value: "pa.part14.classK"; - } - | { - description: "Prior Approval - Installation of a solar canopy on non-domestic, off-street parking"; - value: "pa.part14.classOA"; - } - | { - description: "Prior Approval - Install telecommunications equipment"; - value: "pa.part16.classA"; - } - | { - description: "Prior Approval - Coal mining"; - value: "pa.part17"; - } - | { - description: "Prior Approval - Other developments ancillary to mining operations"; - value: "pa.part17.classB"; - } - | { - description: "Prior Approval - Developments for maintenance or safety"; - value: "pa.part17.classC"; - } - | { - description: "Prior Approval - Coal mining development by the Coal Authority for maintenance or safety"; - value: "pa.part17.classG"; - } - | { - description: "Prior Approval - Development under private acts or orders"; - value: "pa.part18.classA"; - } - | { - description: "Prior Approval - Development on a closed defence site"; - value: "pa.part19.classTA"; - } - | { - description: "Prior Approval - Build homes on a detached blocks of flats"; - value: "pa.part20.classA"; - } - | { - description: "Prior Approval - Build homes on a detached commercial building"; - value: "pa.part20.classAA"; - } - | { - description: "Prior Approval - Build homes on an adjoining commercial or mixed use building"; - value: "pa.part20.classAB"; - } - | { - description: "Prior Approval - Build homes on adjoining houses"; - value: "pa.part20.classAC"; - } - | { - description: "Prior Approval - Build homes on detached houses"; - value: "pa.part20.classAD"; - } - | { - description: "Prior Approval - Demolish buildings and build homes in their place"; - value: "pa.part20.classZA"; - } - | { - description: "Planning Permission"; - value: "pp"; - } - | { - description: "Planning Permission for development, including all householder, minor, and major applications"; - value: "pp.full"; - } - | { - description: "Full Planning Permission and consent to display an advert"; - value: "pp.full.advertConsent"; - } - | { - description: "Full Planning Permission including demolition in a Conservation Area"; - value: "pp.full.demolition"; - } - | { - description: "Full Planning Permission - Fast track for the purposes of Affordable Housing"; - value: "pp.full.fastTrack.affordable"; - } - | { - description: "Planning Permission - Full householder"; - value: "pp.full.householder"; - } - | { - description: "Planning Permission - Full householder with consent to do works to a Listed Building"; - value: "pp.full.householder.listed"; - } - | { - description: "Planning Permission - Full householder retrospective"; - value: "pp.full.householder.retro"; - } - | { - description: "Planning Permission - Major application"; - value: "pp.full.major"; - } - | { - description: "Planning Permission - Technical details consent for major development"; - value: "pp.full.major.technicalDetails"; - } - | { - description: "Planning Permission - Technical details consent for waste development"; - value: "pp.full.major.technicalDetails.waste"; - } - | { - description: "Planning Permission - Full planning permission for waste development"; - value: "pp.full.major.waste"; - } - | { - description: "Planning Permission - Minor application"; - value: "pp.full.minor"; - } - | { - description: "Planning Permission - Minor application and consent to do works to a Listed Building"; - value: "pp.full.minor.listed"; - } - | { - description: "Planning Permission - Technical details consent for minor development"; - value: "pp.full.minor.technicalDetails"; - } - | { - description: "Planning Permission - Consent to extract minerals and related development, such as temporary buildings and roads"; - value: "pp.mineralExtraction"; - } - | { - description: "Planning permission - Outline for proposed development"; - value: "pp.outline"; - } - | { - description: "Outline Planning Permission - Consent for the principle of a project witholding all details"; - value: "pp.outline.all"; - } - | { - description: "Outline Planning Permission - Consent for the principle of a project specifying some details"; - value: "pp.outline.some"; - } - | { - description: "Planning permission - Outline for proposed development (minor)"; - value: "pp.outline.minor"; - } - | { - description: "Outline Planning Permission - Consent for the principle of a project witholding all details (minor)"; - value: "pp.outline.minor.all"; - } - | { - description: "Outline Planning Permission - Consent for the principle of a project specifying some details (minor)"; - value: "pp.outline.minor.some"; - } - | { - description: "Planning permission - Outline for proposed development (major)"; - value: "pp.outline.major"; - } - | { - description: "Outline Planning Permission - Consent for the principle of a project witholding all details (major)"; - value: "pp.outline.major.all"; - } - | { - description: "Outline Planning Permission - Consent for the principle of waste development witholding all details"; - value: "pp.outline.major.all.waste"; - } - | { - description: "Outline Planning Permission - Consent for the principle of a project specifying some details (major)"; - value: "pp.outline.major.some"; - } - | { - description: "Outline Planning Permission - Consent for the principle of waste development witholding some details"; - value: "pp.outline.major.some.waste"; - } - | { - description: "Planning Permission in Principle - Consent for the principle of a project with less than 1,000 square metres floor area on a site of less than 1 hectare"; - value: "pp.pip"; - } - | { - description: "Rights of Way Order - Apply to move or close a path"; - value: "rightsOfWayOrder"; - } - | { - description: "Works to trees"; - value: "wtt"; - } - | { - description: "Works to trees - Consent to carry out works to a tree with a Tree Preservation Order"; - value: "wtt.consent"; - } - | { - description: "Works to trees - Notification of proposed works to a tree in a Conservation Area"; - value: "wtt.notice"; - }; -/** - * Union of GeoJSON objects. - */ -export type GeoJSON = Geometry | Feature | FeatureCollection; -/** - * Geometry object. https://tools.ietf.org/html/rfc7946#section-3 - */ -export type Geometry = - | Point - | MultiPoint - | LineString - | MultiLineString - | Polygon - | MultiPolygon - | GeometryCollection; -/** - * A Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), but the current specification only allows X, Y, and (optionally) Z to be defined. - */ -export type Position = number[]; -/** - * Information about the site where the works will happen - */ -export type Property = UKProperty | LondonProperty; -/** - * Combined `PAO_START_NUMBER`, `PAO_START_SUFFIX`, `PAO_TEXT` OS LPI properties - */ -export type PrimaryAddressableObjectStartRangeAndOrBuildingDescription = string; -/** - * Combined `PAO_END_NUMBER`, `PAO_END_SUFFIX` OS LPI properties - */ -export type PrimaryAddressableObjectPAOEndRange = string; -/** - * Combined `SAO_START_NUMBER`, `SAO_START_SUFFIX`, `SAO_TEXT` OS LPI properties - */ -export type SecondaryAddressableObjectSAOStartRangeAndOrBuildingDescription = - string; -/** - * Combined `SAO_END_NUMBER`, `SAO_END_SUFFIX` OS LPI properties - */ -export type SecondaryAddressableObjectSAOEndRange = string; -export type UniquePropertyReferenceNumber = string; -export type UniqueStreetReferenceNumber = string; -/** - * Planning constraints that intersect with the proposed site - */ -export type PlanningConstraint = - | { - description: string; - intersects: false; - value: string; - } - | { - description: string; - entities: Entity[]; - intersects: true; - value: string; - }; -export type URL = string; -/** - * Planning designations that may intersect with the proposed site determined by spatial queries against Planning Data (planning.data.gov.uk) and Ordnance Survey - */ -export type PlanningDesignation = - | ( - | { - description: "Article 4 Direction area"; - intersects: false; - value: "article4"; - } - | { - description: "Central Activities Zone (CAZ)"; - intersects: false; - value: "article4.caz"; - } - | { - description: "Brownfield site"; - intersects: false; - value: "brownfieldSite"; - } - | { - description: "Designated land"; - intersects: false; - value: "designated"; - } - | { - description: "Area of Outstanding Natural Beauty (AONB)"; - intersects: false; - value: "designated.AONB"; - } - | { - description: "Conservation Area"; - intersects: false; - value: "designated.conservationArea"; - } - | { - description: "National Park"; - intersects: false; - value: "designated.nationalPark"; - } - | { - description: "National Park - Broads"; - intersects: false; - value: "designated.nationalPark.broads"; - } - | { - description: "UNESCO World Heritage Site or buffer zone"; - intersects: false; - value: "designated.WHS"; - } - | { - description: "Flood Risk Zone"; - intersects: false; - value: "flood"; - } - | { - description: "Flood Risk Zone 1 - Low risk"; - intersects: false; - value: "flood.zone.1"; - } - | { - description: "Flood Risk Zone 2 - Medium risk"; - intersects: false; - value: "flood.zone.2"; - } - | { - description: "Flood Risk Zone 3 - High risk"; - intersects: false; - value: "flood.zone.3"; - } - | { - description: "Green Belt"; - intersects: false; - value: "greenBelt"; - } - | { - description: "Listed Building"; - intersects: false; - value: "listed"; - } - | { - description: "Listed Building - Grade I"; - intersects: false; - value: "listed.grade.I"; - } - | { - description: "Listed Building - Grade II"; - intersects: false; - value: "listed.grade.II"; - } - | { - description: "Listed Building - Grade II*"; - intersects: false; - value: "listed.grade.II*"; - } - | { - description: "Locally Listed Building"; - intersects: false; - value: "locallyListed"; - } - | { - description: "Site of a Scheduled Monument"; - intersects: false; - value: "monument"; - } - | { - description: "Ancient Semi-Natural Woodland (ASNW)"; - intersects: false; - value: "nature.ASNW"; - } - | { - description: "Ramsar site"; - intersects: false; - value: "nature.ramsarSite"; - } - | { - description: "Special Area of Conservation (SAC)"; - intersects: false; - value: "nature.SAC"; - } - | { - description: "Special Protection Area (SPA)"; - intersects: false; - value: "nature.SPA"; - } - | { - description: "Site of Special Scientific Interest (SSSI)"; - intersects: false; - value: "nature.SSSI"; - } - | { - description: "Historic Park or Garden"; - intersects: false; - value: "registeredPark"; - } - | { - description: "Classified Road"; - intersects: false; - value: "road.classified"; - } - | { - description: "Tree Preservation Order (TPO) or zone"; - intersects: false; - value: "tpo"; - } - ) - | ( - | { - description: "Article 4 Direction area"; - entities?: Entity[]; - intersects: true; - value: "article4"; - } - | { - description: "Central Activities Zone (CAZ)"; - entities?: Entity[]; - intersects: true; - value: "article4.caz"; - } - | { - description: "Brownfield site"; - entities?: Entity[]; - intersects: true; - value: "brownfieldSite"; - } - | { - description: "Designated land"; - entities?: Entity[]; - intersects: true; - value: "designated"; - } - | { - description: "Area of Outstanding Natural Beauty (AONB)"; - entities?: Entity[]; - intersects: true; - value: "designated.AONB"; - } - | { - description: "Conservation Area"; - entities?: Entity[]; - intersects: true; - value: "designated.conservationArea"; - } - | { - description: "National Park"; - entities?: Entity[]; - intersects: true; - value: "designated.nationalPark"; - } - | { - description: "National Park - Broads"; - entities?: Entity[]; - intersects: true; - value: "designated.nationalPark.broads"; - } - | { - description: "UNESCO World Heritage Site or buffer zone"; - entities?: Entity[]; - intersects: true; - value: "designated.WHS"; - } - | { - description: "Flood Risk Zone"; - entities?: Entity[]; - intersects: true; - value: "flood"; - } - | { - description: "Flood Risk Zone 1 - Low risk"; - entities?: Entity[]; - intersects: true; - value: "flood.zone.1"; - } - | { - description: "Flood Risk Zone 2 - Medium risk"; - entities?: Entity[]; - intersects: true; - value: "flood.zone.2"; - } - | { - description: "Flood Risk Zone 3 - High risk"; - entities?: Entity[]; - intersects: true; - value: "flood.zone.3"; - } - | { - description: "Green Belt"; - entities?: Entity[]; - intersects: true; - value: "greenBelt"; - } - | { - description: "Listed Building"; - entities?: Entity[]; - intersects: true; - value: "listed"; - } - | { - description: "Listed Building - Grade I"; - entities?: Entity[]; - intersects: true; - value: "listed.grade.I"; - } - | { - description: "Listed Building - Grade II"; - entities?: Entity[]; - intersects: true; - value: "listed.grade.II"; - } - | { - description: "Listed Building - Grade II*"; - entities?: Entity[]; - intersects: true; - value: "listed.grade.II*"; - } - | { - description: "Locally Listed Building"; - entities?: Entity[]; - intersects: true; - value: "locallyListed"; - } - | { - description: "Site of a Scheduled Monument"; - entities?: Entity[]; - intersects: true; - value: "monument"; - } - | { - description: "Ancient Semi-Natural Woodland (ASNW)"; - entities?: Entity[]; - intersects: true; - value: "nature.ASNW"; - } - | { - description: "Ramsar site"; - entities?: Entity[]; - intersects: true; - value: "nature.ramsarSite"; - } - | { - description: "Special Area of Conservation (SAC)"; - entities?: Entity[]; - intersects: true; - value: "nature.SAC"; - } - | { - description: "Special Protection Area (SPA)"; - entities?: Entity[]; - intersects: true; - value: "nature.SPA"; - } - | { - description: "Site of Special Scientific Interest (SSSI)"; - entities?: Entity[]; - intersects: true; - value: "nature.SSSI"; - } - | { - description: "Historic Park or Garden"; - entities?: Entity[]; - intersects: true; - value: "registeredPark"; - } - | { - description: "Classified Road"; - entities?: Entity[]; - intersects: true; - value: "road.classified"; - } - | { - description: "Tree Preservation Order (TPO) or zone"; - entities?: Entity[]; - intersects: true; - value: "tpo"; - } - ); -/** - * The UK region that contains this address sourced from planning.data.gov.uk/dataset/region, where London is a proxy for the Greater London Authority (GLA) area - */ -export type UKRegion = - | "North East" - | "North West" - | "Yorkshire and The Humber" - | "East Midlands" - | "West Midlands" - | "East of England" - | "London" - | "South East" - | "South West"; -/** - * Property types derived from Basic Land and Property Unit (BLPU) classification codes - */ -export type PropertyType = - | { - description: "Commercial"; - value: "commercial"; - } - | { - description: "Agricultural"; - value: "commercial.agriculture"; - } - | { - description: "Farm / Non-Residential Associated Building"; - value: "commercial.agriculture.farm"; - } - | { - description: "Fishery"; - value: "commercial.fish"; - } - | { - description: "Fish Farming"; - value: "commercial.fish.farm"; - } - | { - description: "Fish Hatchery"; - value: "commercial.fish.hatchery"; - } - | { - description: "Fish Processing"; - value: "commercial.fish.processing"; - } - | { - description: "Oyster / Mussel Bed"; - value: "commercial.fish.oysters"; - } - | { - description: "Horticulture"; - value: "commercial.horticulture"; - } - | { - description: "Smallholding"; - value: "commercial.horticulture.smallholding"; - } - | { - description: "Vineyard"; - value: "commercial.horticulture.vineyard"; - } - | { - description: "Watercress Bed"; - value: "commercial.horticulture.watercress"; - } - | { - description: "Slaughter House / Abattoir"; - value: "commercial.abattoir"; - } - | { - description: "Ancillary Building"; - value: "commercial.ancilliary"; - } - | { - description: "Community Services"; - value: "commercial.community"; - } - | { - description: "Law Court"; - value: "commercial.community.court"; - } - | { - description: "Prison"; - value: "commercial.community.prison"; - } - | { - description: "HM Detention Centre"; - value: "commercial.community.prison.detention"; - } - | { - description: "HM Prison Service"; - value: "commercial.community.prison.service"; - } - | { - description: "Secure Residential Accommodation"; - value: "commercial.community.prison.secureResidential"; - } - | { - description: "Public / Village Hall / Other Community Facility"; - value: "commercial.community.hall"; - } - | { - description: "Youth Recreational / Social Club"; - value: "commercial.community.hall.club"; - } - | { - description: "Public Convenience"; - value: "commercial.community.wc"; - } - | { - description: "Cemetery / Crematorium / Graveyard. In Current Use."; - value: "commercial.community.cemetary"; - } - | { - description: "Columbarium"; - value: "commercial.community.cemetary.columbarium"; - } - | { - description: "Crematorium"; - value: "commercial.community.cemetary.crematorium"; - } - | { - description: "Chapel Of Rest"; - value: "commercial.community.cemetary.chapelOfRest"; - } - | { - description: "Cemetery"; - value: "commercial.community.cemetary.cemetary"; - } - | { - description: "Military Cemetery"; - value: "commercial.community.cemetary.military"; - } - | { - description: "Mortuary"; - value: "commercial.community.cemetary.mortuary"; - } - | { - description: "Church Hall / Religious Meeting Place / Hall"; - value: "commercial.community.religious"; - } - | { - description: "Community Service Centre / Office"; - value: "commercial.community.services"; - } - | { - description: "Public Household Waste Recycling Centre (HWRC)"; - value: "commercial.community.HWRC"; - } - | { - description: "Recycling Site"; - value: "commercial.community.recycling"; - } - | { - description: "CCTV"; - value: "commercial.community.CCTV"; - } - | { - description: "Job Centre"; - value: "commercial.community.employment"; - } - | { - description: "Education"; - value: "commercial.education"; - } - | { - description: "College"; - value: "commercial.education.college"; - } - | { - description: "Further Education"; - value: "commercial.education.college.further"; - } - | { - description: "Higher Education"; - value: "commercial.education.college.higher"; - } - | { - description: "Children's Nursery / Crèche"; - value: "commercial.education.nursery"; - } - | { - description: "Preparatory / First / Primary / Infant / Junior / Middle School"; - value: "commercial.education.school"; - } - | { - description: "First School"; - value: "commercial.education.school.first"; - } - | { - description: "Infant School"; - value: "commercial.education.school.infant"; - } - | { - description: "Junior School"; - value: "commercial.education.school.junior"; - } - | { - description: "Middle School"; - value: "commercial.education.school.middle"; - } - | { - description: "Non State Primary / Preparatory School"; - value: "commercial.education.school.primary.private"; - } - | { - description: "Primary School"; - value: "commercial.education.school.primary.state"; - } - | { - description: "Secondary / High School"; - value: "commercial.education.secondarySchool"; - } - | { - description: "Non State Secondary School"; - value: "commercial.education.secondarySchool.private"; - } - | { - description: "Secondary School"; - value: "commercial.education.secondarySchool.state"; - } - | { - description: "University"; - value: "commercial.education.university"; - } - | { - description: "Special Needs Establishment."; - value: "commercial.education.specialNeeds"; - } - | { - description: "Other Educational Establishment"; - value: "commercial.education.other"; - } - | { - description: "Hotel / Motel / Boarding / Guest House"; - value: "commercial.guest"; - } - | { - description: "Boarding / Guest House / Bed And Breakfast / Youth Hostel"; - value: "commercial.guest.hostel"; - } - | { - description: "Youth Hostel"; - value: "commercial.guest.hostel.youth"; - } - | { - description: "Holiday Let/Accomodation/Short-Term Let Other Than CH01"; - value: "commercial.guest.shortLet"; - } - | { - description: "Hotel/Motel"; - value: "commercial.guest.hotel"; - } - | { - description: "Industrial Applicable to manufacturing, engineering, maintenance, storage / wholesale distribution and extraction sites"; - value: "commercial.industrial"; - } - | { - description: "Factory/Manufacturing"; - value: "commercial.industrial.manufacturing"; - } - | { - description: "Aircraft Works"; - value: "commercial.industrial.manufacturing.aircraft"; - } - | { - description: "Boat Building"; - value: "commercial.industrial.manufacturing.boats"; - } - | { - description: "Brick Works"; - value: "commercial.industrial.manufacturing.bricks"; - } - | { - description: "Brewery"; - value: "commercial.industrial.manufacturing.beer"; - } - | { - description: "Cider Manufacture"; - value: "commercial.industrial.manufacturing.cider"; - } - | { - description: "Chemical Works"; - value: "commercial.industrial.manufacturing.chemicals"; - } - | { - description: "Cement Works"; - value: "commercial.industrial.manufacturing.cement"; - } - | { - description: "Dairy Processing"; - value: "commercial.industrial.manufacturing.dairy"; - } - | { - description: "Distillery"; - value: "commercial.industrial.manufacturing.distillery"; - } - | { - description: "Flour Mill"; - value: "commercial.industrial.manufacturing.flour"; - } - | { - description: "Food Processing"; - value: "commercial.industrial.manufacturing.food"; - } - | { - description: "Glassworks"; - value: "commercial.industrial.manufacturing.glass"; - } - | { - description: "Manufacturing"; - value: "commercial.industrial.manufacturing.other"; - } - | { - description: "Oast House"; - value: "commercial.industrial.manufacturing.hops"; - } - | { - description: "Oil Refining"; - value: "commercial.industrial.manufacturing.oil"; - } - | { - description: "Pottery Manufacturing"; - value: "commercial.industrial.manufacturing.pottery"; - } - | { - description: "Paper Mill"; - value: "commercial.industrial.manufacturing.paper"; - } - | { - description: "Printing Works"; - value: "commercial.industrial.manufacturing.printing"; - } - | { - description: "Sugar Refinery"; - value: "commercial.industrial.manufacturing.sugar"; - } - | { - description: "Steel Works"; - value: "commercial.industrial.manufacturing.steel"; - } - | { - description: "Timber Mill"; - value: "commercial.industrial.manufacturing.timber"; - } - | { - description: "Winery"; - value: "commercial.industrial.manufacturing.wine"; - } - | { - description: "Shipyard"; - value: "commercial.industrial.manufacturing.ships"; - } - | { - description: "Mineral / Ore Working / Quarry / Mine"; - value: "commercial.industrial.extraction"; - } - | { - description: "Mineral Mining / Active"; - value: "commercial.industrial.extraction.mining"; - } - | { - description: "Mineral Distribution / Storage"; - value: "commercial.industrial.extraction.distribution"; - } - | { - description: "Mineral Processing"; - value: "commercial.industrial.extraction.processing"; - } - | { - description: "Oil / Gas Extraction / Active"; - value: "commercial.industrial.extraction.oilGas"; - } - | { - description: "Mineral Quarrying / Open Extraction / Active"; - value: "commercial.industrial.extraction.quarrying"; - } - | { - description: "Workshop / Light Industrial"; - value: "commercial.industrial.light"; - } - | { - description: "Servicing Garage"; - value: "commercial.industrial.light.garage"; - } - | { - description: "Warehouse / Store / Storage Depot"; - value: "commercial.industrial.light.storage"; - } - | { - description: "Crop Handling / Storage"; - value: "commercial.industrial.light.storage.crops"; - } - | { - description: "Postal Sorting / Distribution"; - value: "commercial.industrial.light.storage.post"; - } - | { - description: "Solid Fuel Storage"; - value: "commercial.industrial.light.storage.solidFuel"; - } - | { - description: "Timber Storage"; - value: "commercial.industrial.light.storage.timber"; - } - | { - description: "Wholesale Distribution"; - value: "commercial.industrial.distribution"; - } - | { - description: "Solid Fuel Distribution"; - value: "commercial.industrial.distribution.solidFueld"; - } - | { - description: "Timber Distribution"; - value: "commercial.industrial.distribution.timber"; - } - | { - description: "Recycling Plant"; - value: "commercial.industrial.recycling"; - } - | { - description: "Incinerator / Waste Transfer Station"; - value: "commercial.industrial.incineration"; - } - | { - description: "Maintenance Depot"; - value: "commercial.industrial.maintenanceDepot"; - } - | { - description: "Leisure - Applicable to recreational sites and enterprises"; - value: "commercial.leisure"; - } - | { - description: "Amusements"; - value: "commercial.leisure.amusements"; - } - | { - description: "Leisure Pier"; - value: "commercial.leisure.amusements.pier"; - } - | { - description: "Holiday / Campsite"; - value: "commercial.leisure.holiday"; - } - | { - description: "Camping"; - value: "commercial.leisure.holiday.camping"; - } - | { - description: "Caravanning"; - value: "commercial.leisure.holiday.caravanning"; - } - | { - description: "Holiday Accommodation"; - value: "commercial.leisure.holiday.accommodation"; - } - | { - description: "Holiday Centre"; - value: "commercial.leisure.holiday.centre"; - } - | { - description: "Youth Organisation Camp"; - value: "commercial.leisure.holiday.youth"; - } - | { - description: "Library"; - value: "commercial.leisure.library"; - } - | { - description: "Reading Room"; - value: "commercial.leisure.library.readingRoom"; - } - | { - description: "Museum / Gallery"; - value: "commercial.leisure.museum"; - } - | { - description: "Art Centre / Gallery"; - value: "commercial.leisure.museum.art"; - } - | { - description: "Aviation Museum"; - value: "commercial.leisure.museum.aviation"; - } - | { - description: "Heritage Centre"; - value: "commercial.leisure.museum.heritage"; - } - | { - description: "Industrial Museum"; - value: "commercial.leisure.museum.industrial"; - } - | { - description: "Military Museum"; - value: "commercial.leisure.museum.military"; - } - | { - description: "Maritime Museum"; - value: "commercial.leisure.museum.maritime"; - } - | { - description: "Science Museum"; - value: "commercial.leisure.museum.science"; - } - | { - description: "Transport Museum"; - value: "commercial.leisure.museum.transport"; - } - | { - description: "Indoor / Outdoor Leisure / Sporting Activity / Centre"; - value: "commercial.leisure.sport"; - } - | { - description: "Athletics Facility"; - value: "commercial.leisure.sport.athletics"; - } - | { - description: "Bowls Facility"; - value: "commercial.leisure.sport.bowls"; - } - | { - description: "Cricket Facility"; - value: "commercial.leisure.sport.cricket"; - } - | { - description: "Curling Facility"; - value: "commercial.leisure.sport.curling"; - } - | { - description: "Diving / Swimming Facility"; - value: "commercial.leisure.sport.swimming"; - } - | { - description: "Equestrian Sports Facility"; - value: "commercial.leisure.sport.equestrian"; - } - | { - description: "Football Facility"; - value: "commercial.leisure.sport.football"; - } - | { - description: "Fishing / Angling Facility"; - value: "commercial.leisure.sport.fishing"; - } - | { - description: "Golf Facility"; - value: "commercial.leisure.sport.golf"; - } - | { - description: "Gliding Facility"; - value: "commercial.leisure.sport.gliding"; - } - | { - description: "Greyhound Racing Facility"; - value: "commercial.leisure.sport.dogracing"; - } - | { - description: "Hockey Facility"; - value: "commercial.leisure.sport.hockey"; - } - | { - description: "Horse Racing Facility"; - value: "commercial.leisure.sport.horseracing"; - } - | { - description: "Historic Vessel / Aircraft / Vehicle"; - value: "commercial.leisure.sport.historicVehicles"; - } - | { - description: "Activity / Leisure / Sports Centre"; - value: "commercial.leisure.sport.centre"; - } - | { - description: "Model Sports Facility"; - value: "commercial.leisure.sport.model"; - } - | { - description: "Motor Sports Facility"; - value: "commercial.leisure.sport.motor"; - } - | { - description: "Playing Field"; - value: "commercial.leisure.sport.playingField"; - } - | { - description: "Racquet Sports Facility"; - value: "commercial.leisure.sport.racquet"; - } - | { - description: "Rugby Facility"; - value: "commercial.leisure.sport.rugby"; - } - | { - description: "Recreation Ground"; - value: "commercial.leisure.sport.recreationGround"; - } - | { - description: "Shinty Facility"; - value: "commercial.leisure.sport.shinty"; - } - | { - description: "Skateboarding Facility"; - value: "commercial.leisure.sport.skateboarding"; - } - | { - description: "Civilian Firing Facility"; - value: "commercial.leisure.sport.firing"; - } - | { - description: "Tenpin Bowling Facility"; - value: "commercial.leisure.sport.tenpin"; - } - | { - description: "Public Tennis Court"; - value: "commercial.leisure.sport.tennis"; - } - | { - description: "Water Sports Facility"; - value: "commercial.leisure.sport.water"; - } - | { - description: "Winter Sports Facility"; - value: "commercial.leisure.sport.winter"; - } - | { - description: "Wildlife Sports Facility"; - value: "commercial.leisure.sport.wildlife"; - } - | { - description: "Cycling Sports Facility"; - value: "commercial.leisure.sport.cycling"; - } - | { - description: "Bingo Hall / Cinema / Conference / Exhibition Centre / Theatre / Concert Hall"; - value: "commercial.leisure.entertainment"; - } - | { - description: "Cinema"; - value: "commercial.leisure.entertainment.cinema"; - } - | { - description: "Entertainment Complex"; - value: "commercial.leisure.entertainment.mixed"; - } - | { - description: "Conference / Exhibition Centre"; - value: "commercial.leisure.entertainment.exhibition"; - } - | { - description: "Theatre"; - value: "commercial.leisure.entertainment.theatre"; - } - | { - description: "Zoo / Theme Park"; - value: "commercial.leisure.park.zoo"; - } - | { - description: "Amusement Park"; - value: "commercial.leisure.park.amusement"; - } - | { - description: "Aquatic Attraction"; - value: "commercial.leisure.park.aquatic"; - } - | { - description: "Model Village Site"; - value: "commercial.leisure.park.model"; - } - | { - description: "Wildlife / Zoological Park"; - value: "commercial.leisure.park.wildlife"; - } - | { - description: "Beach Hut (Recreational, Non-Residential Use Only)"; - value: "commercial.leisure.beachHut"; - } - | { - description: "Licensed Private Members' Club"; - value: "commercial.leisure.club.private"; - } - | { - description: "Recreational / Social Club"; - value: "commercial.leisure.club.social"; - } - | { - description: "Arena / Stadium"; - value: "commercial.leisure.arena"; - } - | { - description: "Stadium"; - value: "commercial.leisure.arena.stadium"; - } - | { - description: "Showground"; - value: "commercial.leisure.arena.showground"; - } - | { - description: "Medical"; - value: "commercial.medical"; - } - | { - description: "Dentist"; - value: "commercial.medical.dentist"; - } - | { - description: "General Practice Surgery / Clinic"; - value: "commercial.medical.GP"; - } - | { - description: "Health Centre"; - value: "commercial.medical.healthCentre"; - } - | { - description: "Health Care Services"; - value: "commercial.medical.healthServices"; - } - | { - description: "Hospital / Hospice"; - value: "commercial.medical.care"; - } - | { - description: "Care home/Hospice"; - value: "commercial.medical.care.home"; - } - | { - description: "Hospital"; - value: "commercial.medical.care.hospital"; - } - | { - description: "Medical / Testing / Research Laboratory"; - value: "commercial.medical.lab"; - } - | { - description: "Professional Medical Service"; - value: "commercial.medical.professional"; - } - | { - description: "Assessment / Development Services"; - value: "commercial.medical.assessment"; - } - | { - description: "Animal Centre"; - value: "commercial.animals"; - } - | { - description: "Cattery / Kennel"; - value: "commercial.animals.kennelsCattery"; - } - | { - description: "Animal Services"; - value: "commercial.animals.services"; - } - | { - description: "Animal Quarantining"; - value: "commercial.animals.services.quarantine"; - } - | { - description: "Equestrian"; - value: "commercial.animals.equestrian"; - } - | { - description: "Horse Racing / Breeding Stable"; - value: "commercial.animals.equestrian.racing"; - } - | { - description: "Commercial Stabling / Riding"; - value: "commercial.animals.equestrian.riding"; - } - | { - description: "Vet / Animal Medical Treatment"; - value: "commercial.animals.vet"; - } - | { - description: "Animal / Bird / Marine Sanctuary"; - value: "commercial.animals.sanctuary"; - } - | { - description: "Animal Sanctuary"; - value: "commercial.animals.sanctuary.animals"; - } - | { - description: "Marine Sanctuary"; - value: "commercial.animals.sanctuary.marine"; - } - | { - description: "Office"; - value: "commercial.office"; - } - | { - description: "Office / Work Studio"; - value: "commercial.office.workspace"; - } - | { - description: "Embassy /, High Commission / Consulate"; - value: "commercial.office.workspace.embassy"; - } - | { - description: "Film Studio"; - value: "commercial.office.workspace.film"; - } - | { - description: "Central Government Service"; - value: "commercial.office.workspace.gov.national"; - } - | { - description: "Local Government Service"; - value: "commercial.office.workspace.gov.local"; - } - | { - description: "Broadcasting (TV / Radio)"; - value: "commercial.office.broadcasting"; - } - | { - description: "Retail"; - value: "commercial.retail"; - } - | { - description: "Bank / Financial Service"; - value: "commercial.retail.financial"; - } - | { - description: "Retail Service Agent"; - value: "commercial.retail.services"; - } - | { - description: "Post Office"; - value: "commercial.retail.post"; - } - | { - description: "Market (Indoor / Outdoor)"; - value: "commercial.retail.market"; - } - | { - description: "Fish Market"; - value: "commercial.retail.market.fish"; - } - | { - description: "Fruit / Vegetable Market"; - value: "commercial.retail.market.fruit"; - } - | { - description: "Livestock Market"; - value: "commercial.retail.market.livestock"; - } - | { - description: "Petrol Filling Station"; - value: "commercial.retail.fuel"; - } - | { - description: "Public House / Bar / Nightclub"; - value: "commercial.retail.drinking"; - } - | { - description: "Restaurant / Cafeteria"; - value: "commercial.retail.restaurant"; - } - | { - description: "Shop / Showroom"; - value: "commercial.retail.showroom"; - } - | { - description: "Shop"; - value: "commercial.retail.shop"; - } - | { - description: "Garden Centre"; - value: "commercial.retail.shop.gardenCentre"; - } - | { - description: "Other Licensed Premise / Vendor"; - value: "commercial.retail.licensedPremises"; - } - | { - description: "Fast Food Outlet / Takeaway (Hot / Cold)"; - value: "commercial.retail.takeaway"; - } - | { - description: "Automated Teller Machine (ATM)"; - value: "commercial.retail.atm"; - } - | { - description: "Storage Land"; - value: "commercial.storageLand"; - } - | { - description: "General Storage Land"; - value: "commercial.storageLand.general"; - } - | { - description: "Builders' Yard"; - value: "commercial.storageLand.building"; - } - | { - description: "Transport"; - value: "commercial.transport"; - } - | { - description: "Airfield / Airstrip / Airport / Air Transport Infrastructure Facility"; - value: "commercial.transport.air"; - } - | { - description: "Airfield"; - value: "commercial.transport.air.airfield"; - } - | { - description: "Air Transport Infrastructure Services"; - value: "commercial.transport.air.infrastructure"; - } - | { - description: "Airport"; - value: "commercial.transport.air.airport"; - } - | { - description: "Air Passenger Terminal"; - value: "commercial.transport.air.passengerTerminal"; - } - | { - description: "Helicopter Station"; - value: "commercial.transport.air.helicopterStation"; - } - | { - description: "Heliport / Helipad"; - value: "commercial.transport.air.heliport"; - } - | { - description: "Bus Shelter"; - value: "commercial.transport.bus"; - } - | { - description: "Car / Coach / Commercial Vehicle / Taxi Parking / Park And Ride Site"; - value: "commercial.transport.parking"; - } - | { - description: "Public Park And Ride"; - value: "commercial.transport.parking.parkAndRide"; - } - | { - description: "Public Car Parking"; - value: "commercial.transport.parking.car"; - } - | { - description: "Public Coach Parking"; - value: "commercial.transport.parking.coach"; - } - | { - description: "Public Commercial Vehicle Parking"; - value: "commercial.transport.parking.commercialVehicle"; - } - | { - description: "Goods Freight Handling / Terminal"; - value: "commercial.transport.freight"; - } - | { - description: "Air Freight Terminal"; - value: "commercial.transport.freight.air"; - } - | { - description: "Container Freight"; - value: "commercial.transport.freight.container"; - } - | { - description: "Road Freight Transport"; - value: "commercial.transport.freight.road"; - } - | { - description: "Rail Freight Transport"; - value: "commercial.transport.freight.rail"; - } - | { - description: "Marina"; - value: "commercial.transport.marina"; - } - | { - description: "Mooring"; - value: "commercial.transport.mooring"; - } - | { - description: "Railway Asset"; - value: "commercial.transport.railAsset"; - } - | { - description: "Station / Interchange / Terminal / Halt"; - value: "commercial.transport.terminal"; - } - | { - description: "Bus station"; - value: "commercial.transport.terminal.bus"; - } - | { - description: "Train station"; - value: "commercial.transport.terminal.train"; - } - | { - description: "Vehicular Rail Terminal"; - value: "commercial.transport.terminal.vehicularRail"; - } - | { - description: "Transport Track / Way"; - value: "commercial.transport.track"; - } - | { - description: "Cliff Railway"; - value: "commercial.transport.track.cliff"; - } - | { - description: "Chair Lift / Cable Car / Ski Tow"; - value: "commercial.transport.track.cable"; - } - | { - description: "Monorail"; - value: "commercial.transport.track.monorail"; - } - | { - description: "Vehicle Storage"; - value: "commercial.transport.storage"; - } - | { - description: "Boat Storage"; - value: "commercial.transport.storage.boat"; - } - | { - description: "Bus / Coach Depot"; - value: "commercial.transport.storage.bus"; - } - | { - description: "Transport Related Infrastructure"; - value: "commercial.transport.infrastructure"; - } - | { - description: "Aqueduct"; - value: "commercial.transport.infrastructure.aqueduct"; - } - | { - description: "Lock"; - value: "commercial.transport.infrastructure.lock"; - } - | { - description: "Weir"; - value: "commercial.transport.infrastructure.weir"; - } - | { - description: "Weighbridge / Load Gauge"; - value: "commercial.transport.infrastructure.weighing"; - } - | { - description: "Overnight Lorry Park"; - value: "commercial.transport.overnightLorryPark"; - } - | { - description: "Harbour / Port / Dock / Dockyard / Slipway / Landing Stage / Pier / Jetty / Pontoon / Terminal / Berthing / Quay"; - value: "commercial.transport.dock"; - } - | { - description: "Passenger Ferry Terminal"; - value: "commercial.transport.dock.ferry.passengers"; - } - | { - description: "Non-Tanker Nautical Berthing"; - value: "commercial.transport.dock.generalBerth"; - } - | { - description: "Nautical Refuelling Facility"; - value: "commercial.transport.dock.refuelling"; - } - | { - description: "Slipway"; - value: "commercial.transport.dock.slipway"; - } - | { - description: "Ship Passenger Terminal"; - value: "commercial.transport.dock.passenger"; - } - | { - description: "Tanker Berthing"; - value: "commercial.transport.dock.tankerBerth"; - } - | { - description: "Vehicular Ferry Terminal"; - value: "commercial.transport.dock.ferry.vehicles"; - } - | { - description: "Utility"; - value: "commercial.utility"; - } - | { - description: "Electricity Sub-Station"; - value: "commercial.utility.SubStation"; - } - | { - description: "Landfill"; - value: "commercial.utility.landfill"; - } - | { - description: "Power Station / Energy Production"; - value: "commercial.utility.electricity"; - } - | { - description: "Electricity Distribution Facility"; - value: "commercial.utility.electricity.distribution"; - } - | { - description: "Electricity Production Facility"; - value: "commercial.utility.electricity.production"; - } - | { - description: "Wind Farm"; - value: "commercial.utility.electricity.windFarm"; - } - | { - description: "Wind Turbine"; - value: "commercial.utility.electricity.windTurbine"; - } - | { - description: "Pump House / Pumping Station / Water Tower"; - value: "commercial.utility.water"; - } - | { - description: "Water Controlling / Pumping"; - value: "commercial.utility.water.pump.control"; - } - | { - description: "Water Distribution / Pumping"; - value: "commercial.utility.water.pump.distribution"; - } - | { - description: "Water Quality Monitoring"; - value: "commercial.utility.water.qualityMonitoring"; - } - | { - description: "Water Storage"; - value: "commercial.utility.water.storage"; - } - | { - description: "Waste Water Distribution / Pumping"; - value: "commercial.utility.water.waste"; - } - | { - description: "Telecommunication"; - value: "commercial.utility.telecoms"; - } - | { - description: "Telecommunications Mast"; - value: "commercial.utility.telecoms.mast"; - } - | { - description: "Telephone Exchange"; - value: "commercial.utility.telecoms.exhange"; - } - | { - description: "Water / Waste Water / Sewage Treatment Works"; - value: "commercial.utility.waterTreatment"; - } - | { - description: "Waste Water Treatment"; - value: "commercial.utility.waterTreatment.waste"; - } - | { - description: "Water Treatment"; - value: "commercial.utility.waterTreatment.water"; - } - | { - description: "Gas / Oil Storage / Distribution"; - value: "commercial.utility.oilGas"; - } - | { - description: "Gas Governor"; - value: "commercial.utility.oilGas.gasGovernor"; - } - | { - description: "Gas Holder"; - value: "commercial.utility.oilGas.gasHolder"; - } - | { - description: "Oil Terminal"; - value: "commercial.utility.oilGas.oilTerminal"; - } - | { - description: "Other Utility Use"; - value: "commercial.utility.other"; - } - | { - description: "Cable Terminal Station"; - value: "commercial.utility.other.cableTerminal"; - } - | { - description: "Observatory"; - value: "commercial.utility.other.observatory"; - } - | { - description: "Radar Station"; - value: "commercial.utility.other.radar"; - } - | { - description: "Satellite Earth Station"; - value: "commercial.utility.other.satelliteEarth"; - } - | { - description: "Waste Management"; - value: "commercial.utility.wasteManagement"; - } - | { - description: "Telephone Box"; - value: "commercial.utility.publicPhone.box"; - } - | { - description: "Other Public Telephones"; - value: "commercial.utility.publicPhone.other"; - } - | { - description: "Dam"; - value: "commercial.utility.dam"; - } - | { - description: "Emergency / Rescue Service"; - value: "commercial.emergency"; - } - | { - description: "Nautical Navigation Beacon / Light"; - value: "other.navigation.nautical.beacon"; - } - | { - description: "Aid To Road Navigation"; - value: "other.navigation.road"; - } - | { - description: "Guide Post"; - value: "other.navigation.guidePost"; - } - | { - description: "Coastal Protection / Flood Prevention"; - value: "other.coastal"; - } - | { - description: "Boulder Wall / Sea Wall"; - value: "other.coastal.wall"; - } - | { - description: "Flood Gate / Flood Sluice Gate / Flood Valve"; - value: "other.coastal.floodGate"; - } - | { - description: "Groyne"; - value: "other.coastal.groyne"; - } - | { - description: "Rip-Rap"; - value: "other.coastal.ripRap"; - } - | { - description: "Emergency Support"; - value: "other.emergency"; - } - | { - description: "Beach Office / First Aid Facility"; - value: "other.emergency.firstAid"; - } - | { - description: "Emergency Telephone (Non Motorway)"; - value: "other.emergency.telephone"; - } - | { - description: "Fire Alarm Structure / Fire Observation Tower / Fire Beater Facility"; - value: "other.emergency.fire"; - } - | { - description: "Emergency Equipment Point / Emergency Siren / Warning Flag"; - value: "other.emergency.warning"; - } - | { - description: "Lifeguard Facility"; - value: "other.emergency.lifeguard"; - } - | { - description: "LIfe / Belt / Buoy / Float / Jacket / Safety Rope"; - value: "other.emergency.floatAids"; - } - | { - description: "Street Furniture"; - value: "other.streetFurniture"; - } - | { - description: "Agricultural Support Objects"; - value: "other.agriculture"; - } - | { - description: "Fish Ladder / Lock / Pen / Trap"; - value: "other.agriculture.fishPen"; - } - | { - description: "Livestock Pen / Dip"; - value: "other.agriculture.livestockPen"; - } - | { - description: "Currick"; - value: "other.agriculture.currick"; - } - | { - description: "Slurry Bed / Pit"; - value: "other.agriculture.slurry"; - } - | { - description: "Historical Site / Object"; - value: "other.historic"; - } - | { - description: "Historic Structure / Object"; - value: "other.historic.structure"; - } - | { - description: "Industrial Support"; - value: "other.industrial"; - } - | { - description: "Adit / Incline / Level"; - value: "other.industrial.aditIncline"; - } - | { - description: "Caisson / Dry Dock / Grid"; - value: "other.industrial.caissonDock"; - } - | { - description: "Channel / Conveyor / Conduit / Pipe"; - value: "other.industrial.channel"; - } - | { - description: "Chimney / Flue"; - value: "other.industrial.chimney"; - } - | { - description: "Crane / Hoist / Winch / Material Elevator"; - value: "other.industrial.crane"; - } - | { - description: "Flare Stack"; - value: "other.industrial.flareStack"; - } - | { - description: "Hopper / Silo / Cistern / Tank"; - value: "other.industrial.siloTank"; - } - | { - description: "Grab / Skip / Other Industrial Waste Machinery / Discharging"; - value: "other.industrial.discharge"; - } - | { - description: "Kiln / Oven / Smelter"; - value: "other.industrial.kiln"; - } - | { - description: "Manhole / Shaft"; - value: "other.industrial.manholeShaft"; - } - | { - description: "Industrial Overflow / Sluice / Valve / Valve Housing"; - value: "other.industrial.overflowSluiceValve"; - } - | { - description: "Cooling Tower"; - value: "other.industrial.coolingTower"; - } - | { - description: "Solar Panel / Waterwheel"; - value: "other.industrial.solarPanel"; - } - | { - description: "Telephone Pole / Post"; - value: "other.industrial.pylon.telecom"; - } - | { - description: "Electricity Distribution Pole / Pylon"; - value: "other.industrial.pylon.electricity"; - } - | { - description: "Significant Natural Object"; - value: "other.natural"; - } - | { - description: "Boundary / Significant / Historic Tree / Pollard"; - value: "other.natural.tree"; - } - | { - description: "Boundary / Significant Rock / Boulder"; - value: "other.natural.rock"; - } - | { - description: "Natural Hole (Blow / Shake / Swallow)"; - value: "other.natural.hole"; - } - | { - description: "Ornamental / Cultural Object"; - value: "other.ornamental"; - } - | { - description: "Mausoleum / Tomb / Grave"; - value: "other.ornamental.tomb"; - } - | { - description: "Simple Ornamental Object"; - value: "other.ornamental.object"; - } - | { - description: "Maze"; - value: "other.ornamental.maze"; - } - | { - description: "Sport / Leisure Support"; - value: "other.leisure"; - } - | { - description: "Butt / Hide"; - value: "other.leisure.hide"; - } - | { - description: "Gallop / Ride"; - value: "other.leisure.gallop"; - } - | { - description: "Miniature Railway"; - value: "other.leisure.modelRailway"; - } - | { - description: "Royal Mail Infrastructure"; - value: "other.mail"; - } - | { - description: "Postal Box"; - value: "other.mail.postBox"; - } - | { - description: "Postal Delivery Box / Pouch"; - value: "other.mail.deliveryBox"; - } - | { - description: "PO Box"; - value: "other.mail.POBox"; - } - | { - description: "Additional Mail / Packet Addressee"; - value: "other.mail.additionalAddressee"; - } - | { - description: "Scientific / Observation Support"; - value: "other.scientific"; - } - | { - description: "Meteorological Station / Equipment"; - value: "other.scientific.meteo"; - } - | { - description: "Radar / Satellite Infrastructure"; - value: "other.scientific.radarSatellite"; - } - | { - description: "Telescope / Observation Infrastructure / Astronomy"; - value: "other.scientific.astronomy"; - } - | { - description: "Transport Support"; - value: "other.transport"; - } - | { - description: "Cattle Grid / Ford"; - value: "other.transport.cattleGridFord"; - } - | { - description: "Elevator / Escalator / Steps"; - value: "other.transport.stepsLiftEscalator"; - } - | { - description: "Footbridge / Walkway"; - value: "other.transport.bridge"; - } - | { - description: "Pole / Post / Bollard (Restricting Vehicular Access)"; - value: "other.transport.post"; - } - | { - description: "Subway / Underpass"; - value: "other.transport.subway"; - } - | { - description: "Customs Inspection Facility"; - value: "other.transport.customs"; - } - | { - description: "Lay-By"; - value: "other.transport.layby"; - } - | { - description: "Level Crossing"; - value: "other.transport.rail.crossing.vehicles"; - } - | { - description: "Mail Pick Up"; - value: "other.transport.mailPickUp"; - } - | { - description: "Railway Pedestrian Crossing"; - value: "other.transport.rail.crossing.pedestrian"; - } - | { - description: "Railway Buffer"; - value: "other.transport.rail.buffer"; - } - | { - description: "Rail Drag"; - value: "other.transport.rail.drag"; - } - | { - description: "Rail Infrastructure Services"; - value: "other.transport.rail.infrastructure"; - } - | { - description: "Rail Kilometre Distance Marker"; - value: "other.transport.rail.marker.km"; - } - | { - description: "Railway Lighting"; - value: "other.transport.rail.lighting"; - } - | { - description: "Rail Mile Distance Marker"; - value: "other.transport.rail.market.mile"; - } - | { - description: "Railway Turntable"; - value: "other.transport.rail.turntable"; - } - | { - description: "Rail Weighbridge"; - value: "other.transport.rail.weighbridge"; - } - | { - description: "Rail Signalling"; - value: "other.transport.rail.signals"; - } - | { - description: "Railway Traverse"; - value: "other.transport.rail.traverse"; - } - | { - description: "Goods Tramway"; - value: "other.transport.goodsTramway"; - } - | { - description: "Road Drag"; - value: "other.transport.road.drag"; - } - | { - description: "Vehicle Dip"; - value: "other.transport.road.vehicleDip"; - } - | { - description: "Road Turntable"; - value: "other.transport.road.turntable"; - } - | { - description: "Road Mile Distance Marker"; - value: "other.transport.road.marker.mile"; - } - | { - description: "Road Kilometre Distance Marker"; - value: "other.transport.road.market.km"; - } - | { - description: "Road Infrastructure Services"; - value: "other.transport.road.infrastructure"; - } - | { - description: "Unsupported Site"; - value: "other.unsupported"; - } - | { - description: "Cycle Parking Facility"; - value: "other.unsupported.cycleParking"; - } - | { - description: "Picnic / Barbeque Site"; - value: "other.unsupported.picnic"; - } - | { - description: "Travelling Persons Site"; - value: "other.unsupported.travellingPersons"; - } - | { - description: "Shelter (Not Including Bus Shelter)"; - value: "other.unsupported.shelter"; - } - | { - description: "Street Record"; - value: "parent.street"; - } - | { - description: "Residential"; - value: "residential"; - } - | { - description: "Ancillary Building"; - value: "residential.building"; - } - | { - description: "Car Park Space"; - value: "residential.carParkingSpace"; - } - | { - description: "Allocated Parking"; - value: "residential.carParkingSpace.allocated"; - } - | { - description: "Residential dwelling"; - value: "residential.dwelling"; - } - | { - description: "Caravan"; - value: "residential.dwelling.caravan"; - } - | { - description: "Detached"; - value: "residential.dwelling.house.detached"; - } - | { - description: "Semi-detached"; - value: "residential.dwelling.house.semiDetached"; - } - | { - description: "Terrace"; - value: "residential.dwelling.house.terrace"; - } - | { - description: "Flat"; - value: "residential.dwelling.flat"; - } - | { - description: "House Boat"; - value: "residential.dwelling.boat"; - } - | { - description: "Sheltered Accommodation"; - value: "residential.dwelling.shelteredAccommodation"; - } - | { - description: "Privately Owned Holiday Caravan / Chalet"; - value: "residential.dwelling.holiday"; - } - | { - description: "Garage"; - value: "residential.garage"; - } - | { - description: "Lock-Up Garage / Garage Court"; - value: "residential.garage.court"; - } - | { - description: "House In Multiple Occupation"; - value: "residential.HMO"; - } - | { - description: "HMO Parent"; - value: "residential.HMO.parent"; - } - | { - description: "HMO Bedsit / Other Non Self Contained Accommodation"; - value: "residential.HMO.bedsit"; - } - | { - description: "HMO Not Further Divided"; - value: "residential.HMO.undivided"; - } - | { - description: "Residential Institution"; - value: "residential.institution"; - } - | { - description: "Care / Nursing Home"; - value: "residential.institution.care"; - } - | { - description: "Communal Residence"; - value: "residential.institution.communal"; - } - | { - description: "Non-Commercial Lodgings"; - value: "residential.institution.noncommercial"; - } - | { - description: "Religious Community"; - value: "residential.institution.religious"; - } - | { - description: "Residential Education"; - value: "residential.institution.education"; - } - | { - description: "Unclassified"; - value: "unclassified"; - } - | { - description: "Awaiting Classification"; - value: "unclassified.awaitingclassification"; - } - | { - description: "Pending Internal Investigation"; - value: "unclassified.pendingInvestigation"; - } - | { - description: "Dual Use"; - value: "dualUse"; - } - | { - description: "Object of Interest"; - value: "object"; - } - | { - description: "Archaeological Dig Site"; - value: "object.archaeological"; - } - | { - description: "Monument"; - value: "object.monument"; - } - | { - description: "Obelisk / Milestone / Standing Stone"; - value: "object.monument.vertical"; - } - | { - description: "Obelisk"; - value: "object.monument.vertical.obelisk"; - } - | { - description: "Standing Stone"; - value: "object.monument.vertical.standingStone"; - } - | { - description: "Memorial / Market Cross"; - value: "object.monument.memorial"; - } - | { - description: "Statue"; - value: "object.monument.statue"; - } - | { - description: "Castle / Historic Ruin"; - value: "object.monument.ruin"; - } - | { - description: "Other Structure"; - value: "object.monument.other"; - } - | { - description: "Boundary Stone"; - value: "object.monument.other.boundaryStone"; - } - | { - description: "Cascade / Fountain"; - value: "object.monument.other.waterFeature"; - } - | { - description: "Permanent Art Display / Sculpture"; - value: "object.monument.other.art"; - } - | { - description: "Windmill (Inactive)"; - value: "object.monument.other.windmill"; - } - | { - description: "Stately Home"; - value: "object.statelyHome"; - } - | { - description: "Underground Feature"; - value: "object.underground"; - } - | { - description: "Cave"; - value: "object.underground.cave"; - } - | { - description: "Pothole / Natural Hole"; - value: "object.underground.hole"; - } - | { - description: "Other Underground Feature"; - value: "object.underground.other"; - } - | { - description: "Cellar"; - value: "object.underground.other.cellar"; - } - | { - description: "Disused Mine"; - value: "object.underground.other.extraction"; - } - | { - description: "Mineral Mining / Inactive"; - value: "object.underground.other.extraction.mine"; - } - | { - description: "Oil And / Gas Extraction/ Inactive"; - value: "object.underground.other.extraction.oilGas"; - } - | { - description: "Mineral Quarrying And / Open Extraction / Inactive"; - value: "object.underground.other.extraction.quarry"; - } - | { - description: "Well / Spring"; - value: "object.underground.other.water"; - } - | { - description: "Spring"; - value: "object.underground.other.water.spring"; - } - | { - description: "Well"; - value: "object.underground.other.water.well"; - } - | { - description: "Place Of Worship"; - value: "object.religious"; - } - | { - description: "Religious building"; - value: "object.religious.building"; - } - | { - description: "Abbey"; - value: "object.religious.building.abbey"; - } - | { - description: "Cathedral"; - value: "object.religious.building.cathedral"; - } - | { - description: "Church"; - value: "object.religious.building.church"; - } - | { - description: "Chapel"; - value: "object.religious.building.chapel"; - } - | { - description: "Gurdwara"; - value: "object.religious.building.gurdwara"; - } - | { - description: "Kingdom Hall"; - value: "object.religious.building.kingdomHall"; - } - | { - description: "Lych Gate"; - value: "object.religious.building.lychGate"; - } - | { - description: "Mosque"; - value: "object.religious.building.mosque"; - } - | { - description: "Minster"; - value: "object.religious.building.minster"; - } - | { - description: "Stupa"; - value: "object.religious.building.stupa"; - } - | { - description: "Synagogue"; - value: "object.religious.building.synagogue"; - } - | { - description: "Temple"; - value: "object.religious.building.temple"; - }; -/** - * Tenure types tracked throughout the UK - */ -export type UKTenureType = - | { - description: "Affordable home ownership"; - value: "AHO"; - } - | { - description: "Market housing"; - value: "MH"; - } - | { - description: "Other"; - value: "other"; - } - | { - description: "Social, affordable or interim rent"; - value: "SAIR"; - } - | { - description: "Self-build and custom build"; - value: "selfCustomBuild"; - } - | { - description: "Starter homes"; - value: "SH"; - }; -/** - * Residential unit types tracked throughout the UK - */ -export type UKResidentialUnitType = - | { - description: "Cluster flat"; - value: "cluster"; - } - | { - description: "Flat"; - value: "flat"; - } - | { - description: "House"; - value: "house"; - } - | { - description: "Other"; - value: "other"; - } - | { - description: "Sheltered housing"; - value: "sheltered"; - } - | { - description: "Studio or bedsit"; - value: "studio"; - }; -export type LeadRegisteredSocialLandlord = - | { - description: string; - status: true; - } - | { - status: false; - }; -/** - * Information about the proposed works and any changes to the property - */ -export type Proposal = BaseProposal | LondonProposal; -/** - * Planning project types - */ -export type ProjectType = - | { - description: "Alter a building"; - value: "alter"; - } - | { - description: "Add or alter a balcony"; - value: "alter.balcony"; - } - | { - description: "Add or remove a bay window"; - value: "alter.bayWindow"; - } - | { - description: "Add a bay window"; - value: "alter.bayWindow.add"; - } - | { - description: "Add a bay window to the rear of the building"; - value: "alter.bayWindow.rear"; - } - | { - description: "Remove a bay window"; - value: "alter.bayWindow.remove"; - } - | { - description: "Changes to a fence, wall or gate"; - value: "alter.boundary"; - } - | { - description: "Add a new fence, wall or gate"; - value: "alter.boundary.add"; - } - | { - description: "Add a new fence"; - value: "alter.boundary.add.fence"; - } - | { - description: "Add a new gate"; - value: "alter.boundary.add.gate"; - } - | { - description: "Add a new boundary wall"; - value: "alter.boundary.add.wall"; - } - | { - description: "Change a fence, wall or gate"; - value: "alter.boundary.alter"; - } - | { - description: "Remove a fence, wall, or gate"; - value: "alter.boundary.remove"; - } - | { - description: "Repair a fence, wall or gate"; - value: "alter.boundary.repair"; - } - | { - description: "Repair a fence"; - value: "alter.boundary.repair.fence"; - } - | { - description: "Repair a gate"; - value: "alter.boundary.repair.gate"; - } - | { - description: "Repair a wall"; - value: "alter.boundary.repair.wall"; - } - | { - description: "Replace a fence, wall or gate"; - value: "alter.boundary.replace"; - } - | { - description: "Replace a fence"; - value: "alter.boundary.replace.fence"; - } - | { - description: "Replace a gate"; - value: "alter.boundary.replace.gate"; - } - | { - description: "Replace a wall"; - value: "alter.boundary.replace.wall"; - } - | { - description: "Install underground cables"; - value: "alter.cables"; - } - | { - description: "Change the material of a fence, wall or gate"; - value: "alter.changeOfMaterials.boundary"; - } - | { - description: "Change the material of chimneys"; - value: "alter.changeOfMaterials.chimney"; - } - | { - description: "Change the material of external doors"; - value: "alter.changeOfMaterials.externalDoors"; - } - | { - description: "Change the material of external walls"; - value: "alter.changeOfMaterials.externalWalls"; - } - | { - description: "Change the material of floors"; - value: "alter.changeOfMaterials.floors"; - } - | { - description: "Change the material of vehicle access or hardstanding"; - value: "alter.changeOfMaterials.hardstanding"; - } - | { - description: "Change the material of internal doors"; - value: "alter.changeOfMaterials.internalDoors"; - } - | { - description: "Change the material of internal walls"; - value: "alter.changeOfMaterials.internalWalls"; - } - | { - description: "Change the material of something else"; - value: "alter.changeOfMaterials.other"; - } - | { - description: "Change the material of rainwater goods"; - value: "alter.changeOfMaterials.rainwaterGoods"; - } - | { - description: "Change the material of roof coverings"; - value: "alter.changeOfMaterials.roofCovering"; - } - | { - description: "Change the material of windows"; - value: "alter.changeOfMaterials.windows"; - } - | { - description: "Change chimneys"; - value: "alter.chimneys"; - } - | { - description: "Add a chimney"; - value: "alter.chimneys.add"; - } - | { - description: "Replace a chimney"; - value: "alter.chimneys.replace"; - } - | { - description: "Add a verandah or deck"; - value: "alter.decks"; - } - | { - description: "Add a high verandah or deck"; - value: "alter.decksHigh"; - } - | { - description: "Work on drains"; - value: "alter.drains"; - } - | { - description: "Install equipment"; - value: "alter.equipment"; - } - | { - description: "Install an air conditioning unit"; - value: "alter.equipment.airConditioning"; - } - | { - description: "Install a security alarm"; - value: "alter.equipment.alarm"; - } - | { - description: "Install a satellite dish or aerial"; - value: "alter.equipment.antennae"; - } - | { - description: "Install an aerial antennea"; - value: "alter.equipment.antennae.aerial"; - } - | { - description: "Install a satellite dish"; - value: "alter.equipment.antennae.dish"; - } - | { - description: "Install a barbeque"; - value: "alter.equipment.bbq"; - } - | { - description: "Install a flue with a biomass burner"; - value: "alter.equipment.biomass"; - } - | { - description: "Install CCTV cameras"; - value: "alter.equipment.cctv"; - } - | { - description: "Install a car charging point"; - value: "alter.equipment.charging"; - } - | { - description: "Install a heat pump"; - value: "alter.equipment.heatPump"; - } - | { - description: "Install an air heat pump"; - value: "alter.equipment.heatPump.air"; - } - | { - description: "Install a ground heat pump"; - value: "alter.equipment.heatPump.ground"; - } - | { - description: "Install a water heat pump"; - value: "alter.equipment.heatPump.water"; - } - | { - description: "Install industrial equipment"; - value: "alter.equipment.industrial"; - } - | { - description: "Install outdoor lights"; - value: "alter.equipment.lighting"; - } - | { - description: "Install machinery"; - value: "alter.equipment.machinery"; - } - | { - description: "Install solar panels"; - value: "alter.equipment.solar"; - } - | { - description: "Install solar photovoltaics (PV)"; - value: "alter.equipment.solar.pv"; - } - | { - description: "Install solar thermal equipment"; - value: "alter.equipment.solar.thermal"; - } - | { - description: "Install an outdoor tank (for example a water tank)"; - value: "alter.equipment.tank"; - } - | { - description: "Install ventilation"; - value: "alter.equipment.ventilation"; - } - | { - description: "Install internet equipment"; - value: "alter.equipment.wifi"; - } - | { - description: "Install a wind turbine"; - value: "alter.equipment.wind"; - } - | { - description: "Change the material or colour of the external walls"; - value: "alter.facades"; - } - | { - description: "Change the insulation of the facade"; - value: "alter.facades.insulation"; - } - | { - description: "Paint the facade"; - value: "alter.facades.paint"; - } - | { - description: "Change the material or colour of the external walls to the rear of the building"; - value: "alter.facades.rear"; - } - | { - description: "Change the cladding of the facade"; - value: "alter.facades.reclad"; - } - | { - description: "Repair the facade"; - value: "alter.facades.repair"; - } - | { - description: "Changes to a public road, pavement or path (including drop kerb)"; - value: "alter.highways"; - } - | { - description: "Create a point of access to a highway"; - value: "alter.highways.access"; - } - | { - description: "Create a point of access to an unclassified road"; - value: "alter.highways.access.unclassified"; - } - | { - description: "Changes to a dropped kerb"; - value: "alter.highways.dropKerb"; - } - | { - description: "Changes to a dropped kerb"; - value: "alter.highways.droppedKerb"; - } - | { - description: "Add a dropped kerb"; - value: "alter.highways.droppedKerb.add"; - } - | { - description: "Remove a dropped kerb"; - value: "alter.highways.droppedKerb.remove"; - } - | { - description: "Changes to a road"; - value: "alter.highways.road"; - } - | { - description: "Add a road"; - value: "alter.highways.road.add"; - } - | { - description: "Remove a road"; - value: "alter.highways.road.remove"; - } - | { - description: "Install plant equipment or machinery"; - value: "alter.industrial.plant"; - } - | { - description: "Changes to internal walls or layout"; - value: "alter.internal"; - } - | { - description: "Landscaping works"; - value: "alter.landscape"; - } - | { - description: "Add or remove a residential lawn or garden"; - value: "alter.landscape.gardens"; - } - | { - description: "Add or remove a pond"; - value: "alter.landscape.ponds"; - } - | { - description: "Change a door or window opening"; - value: "alter.openings"; - } - | { - description: "Add a door or window opening"; - value: "alter.openings.add"; - } - | { - description: "Add one or more new doorways"; - value: "alter.openings.add.door"; - } - | { - description: "Add new doorways to the front of the building"; - value: "alter.openings.add.door.front"; - } - | { - description: "Add new doorways to the rear of the building"; - value: "alter.openings.add.door.rear"; - } - | { - description: "Add new doorways to the side of the building"; - value: "alter.openings.add.door.side"; - } - | { - description: "Add one or more new windows"; - value: "alter.openings.add.window"; - } - | { - description: "Add one or more new windows"; - value: "alter.openings.add.windows"; - } - | { - description: "Add new windows to the front of the building"; - value: "alter.openings.add.windows.front"; - } - | { - description: "Add new windows 1.7m up or higher"; - value: "alter.openings.add.windows.high"; - } - | { - description: "Add new windows to the rear of the building"; - value: "alter.openings.add.windows.rear"; - } - | { - description: "Add new shutters to windows"; - value: "alter.openings.add.windows.shutters"; - } - | { - description: "Add new windows to the side of the building"; - value: "alter.openings.add.windows.side"; - } - | { - description: "Change the size of doorways or windows"; - value: "alter.openings.alter"; - } - | { - description: "Convert a doorway into a window"; - value: "alter.openings.alter.convert.doorToWindow"; - } - | { - description: "Convert a window into a doorway"; - value: "alter.openings.alter.convert.windowToDoor"; - } - | { - description: "Enlarge a door opening"; - value: "alter.openings.alter.enlarge.door"; - } - | { - description: "Enlarge a window opening"; - value: "alter.openings.alter.enlarge.window"; - } - | { - description: "Enlarge a window opening on the front of a building"; - value: "alter.openings.alter.enlarge.window.front"; - } - | { - description: "Enlarge a window opening on the rear of a building"; - value: "alter.openings.alter.enlarge.window.rear"; - } - | { - description: "Enlarge a window opening on the side of a building"; - value: "alter.openings.alter.enlarge.window.side"; - } - | { - description: "Reduce the size of a door opening"; - value: "alter.openings.alter.reduce.door"; - } - | { - description: "Reduce the size of a window opening"; - value: "alter.openings.alter.reduce.window"; - } - | { - description: "Reduce the size of a window opening on the front of a building"; - value: "alter.openings.alter.reduce.window.front"; - } - | { - description: "Reduce the size of a window opening on the rear of a building"; - value: "alter.openings.alter.reduce.window.rear"; - } - | { - description: "Reduce the size of a window opening on the side of a building"; - value: "alter.openings.alter.reduce.window.side"; - } - | { - description: "Block up doorways or windows"; - value: "alter.openings.remove"; - } - | { - description: "Block up doorways"; - value: "alter.openings.remove.door"; - } - | { - description: "Block up windows"; - value: "alter.openings.remove.window"; - } - | { - description: "Install pipes"; - value: "alter.pipes"; - } - | { - description: "Remove part of a building (such as a decorative feature)"; - value: "alter.remove"; - } - | { - description: "Remove a chimney"; - value: "alter.remove.chimney"; - } - | { - description: "Remove a deck"; - value: "alter.remove.deck"; - } - | { - description: "Remove a drain"; - value: "alter.remove.drain"; - } - | { - description: "Remove energy equipment"; - value: "alter.remove.equipment"; - } - | { - description: "Remove part of a facade"; - value: "alter.remove.facade"; - } - | { - description: "Remove a soil pipe"; - value: "alter.remove.soilPipe"; - } - | { - description: "Remove a hard surface"; - value: "alter.remove.surface"; - } - | { - description: "Repair windows or doors"; - value: "alter.repair"; - } - | { - description: "Repair doors"; - value: "alter.repair.doors"; - } - | { - description: "Repair windows"; - value: "alter.repair.windows"; - } - | { - description: "Replace windows or doors"; - value: "alter.replace"; - } - | { - description: "Replace door with door"; - value: "alter.replace.doorsToDoors"; - } - | { - description: "Replace door with door on the front of a building"; - value: "alter.replace.doorsToDoors.front"; - } - | { - description: "Replace door with door on the rear of a building"; - value: "alter.replace.doorsToDoors.rear"; - } - | { - description: "Replace door with door on the side of a building"; - value: "alter.replace.doorsToDoors.side"; - } - | { - description: "Replace door with window"; - value: "alter.replace.doorsToWindows"; - } - | { - description: "Replace door with window on the front of a building"; - value: "alter.replace.doorsToWindows.front"; - } - | { - description: "Replace door with winoow on the rear of a building"; - value: "alter.replace.doorsToWindows.rear"; - } - | { - description: "Replace door with window on the side of a building"; - value: "alter.replace.doorsToWindows.side"; - } - | { - description: "Replace window with door"; - value: "alter.replace.windowsToDoors"; - } - | { - description: "Replace window with door on the front of a building"; - value: "alter.replace.windowsToDoors.front"; - } - | { - description: "Replace window with door on the rear of a building"; - value: "alter.replace.windowsToDoors.rear"; - } - | { - description: "Replace window with door on the side of a building"; - value: "alter.replace.windowsToDoors.side"; - } - | { - description: "Replace window with window"; - value: "alter.replace.windowsToWindows"; - } - | { - description: "Replace window with window on the front ofa building"; - value: "alter.replace.windowsToWindows.front"; - } - | { - description: "Replace window with window on the rear of a building"; - value: "alter.replace.windowsToWindows.rear"; - } - | { - description: "Replace window with window on the side of a building"; - value: "alter.replace.windowsToWindows.side"; - } - | { - description: "Change the roof"; - value: "alter.roof"; - } - | { - description: "Replace or change the roof materials"; - value: "alter.roof.materials"; - } - | { - description: "Add or change a roof parapet"; - value: "alter.roof.parapet"; - } - | { - description: "Add a roof terrace"; - value: "alter.roof.roofTerrace"; - } - | { - description: "Change the shape of a roof"; - value: "alter.roof.shape"; - } - | { - description: "Add skylights to an existing roof"; - value: "alter.rooflight"; - } - | { - description: "Add secondary glazing to a window"; - value: "alter.secondaryGlazing"; - } - | { - description: "Add or alter shop fronts"; - value: "alter.shopfronts"; - } - | { - description: "Add or alter shutters"; - value: "alter.shutters"; - } - | { - description: "Add an advert or sign"; - value: "alter.sign"; - } - | { - description: "Add or replace a soil pipe"; - value: "alter.soilPipes"; - } - | { - description: "Add or change an external staircase"; - value: "alter.staircase"; - } - | { - description: "Add a low surface"; - value: "alter.surfaceLow"; - } - | { - description: "Add a decked area or patio"; - value: "alter.surfaces"; - } - | { - description: "Add a decked area"; - value: "alter.surfaces.deck"; - } - | { - description: "Add a driveway or parking area"; - value: "alter.surfaces.parking"; - } - | { - description: "Extend a driveway or parking area"; - value: "alter.surfaces.parking.extend"; - } - | { - description: "Add a new driveway or parking area"; - value: "alter.surfaces.parking.new"; - } - | { - description: "Replace a driveway or parking area"; - value: "alter.surfaces.parking.replace"; - } - | { - description: "Add a patio"; - value: "alter.surfaces.patio"; - } - | { - description: "Extend a patio"; - value: "alter.surfaces.patio.extend"; - } - | { - description: "Add a new patio"; - value: "alter.surfaces.patio.new"; - } - | { - description: "Replace a patio"; - value: "alter.surfaces.patio.replace"; - } - | { - description: "Install a swimming pool"; - value: "alter.swimmingPool"; - } - | { - description: "Install an indoor swimming pool"; - value: "alter.swimmingPool.indoor"; - } - | { - description: "Install an outdoor swimming pool"; - value: "alter.swimmingPool.outdoor"; - } - | { - description: "Changes to trees or hedges"; - value: "alter.trees"; - } - | { - description: "Changes to hedges"; - value: "alter.trees.hedge"; - } - | { - description: "Let hedges grow"; - value: "alter.trees.hedge.letGrow"; - } - | { - description: "New hedges"; - value: "alter.trees.hedge.new"; - } - | { - description: "Prune hedges"; - value: "alter.trees.hedge.prune"; - } - | { - description: "Remove hedges"; - value: "alter.trees.hedge.remove"; - } - | { - description: "Changes to trees"; - value: "alter.trees.tree"; - } - | { - description: "New trees"; - value: "alter.trees.tree.new"; - } - | { - description: "Prune trees"; - value: "alter.trees.tree.prune"; - } - | { - description: "Remove trees"; - value: "alter.trees.tree.remove"; - } - | { - description: "Change the use of a building"; - value: "changeOfUse"; - } - | { - description: "Convert part of the property into a granny flat (residential annexe)"; - value: "changeOfUse.annexe"; - } - | { - description: "Use a caravan or mobile home on the property"; - value: "changeOfUse.caravans"; - } - | { - description: "Convert an extension"; - value: "changeOfUse.extension"; - } - | { - description: "Convert a garage"; - value: "changeOfUse.garage"; - } - | { - description: "Change the use of land"; - value: "changeOfUse.land"; - } - | { - description: "Let a part of the property"; - value: "changeOfUse.let.part"; - } - | { - description: "Let the property"; - value: "changeOfUse.let.whole"; - } - | { - description: "Convert or change the use of an outbuilding (such as a shed, garage or barn)"; - value: "changeOfUse.outbuilding"; - } - | { - description: "Convert or change the use of part of a building"; - value: "changeOfUse.part"; - } - | { - description: "Change the use of a property"; - value: "changeOfUse.property"; - } - | { - description: "Convert or change the use of a whole building"; - value: "changeOfUse.whole"; - } - | { - description: "Convert a home to bedsits or a shared home"; - value: "changeOfUse.whole.homeToHMO"; - } - | { - description: "Work from home"; - value: "changeOfUse.workFromHome"; - } - | { - description: "Demolish a building"; - value: "demolish"; - } - | { - description: "Demolish a fence, gate or boundary wall"; - value: "demolish.boundary"; - } - | { - description: "Total demolition of a building"; - value: "demolish.full"; - } - | { - description: "Demolish internal walls"; - value: "demolish.internal"; - } - | { - description: "Demolish a listed building"; - value: "demolish.listed"; - } - | { - description: "Total demolition of a isted building"; - value: "demolish.listed.full"; - } - | { - description: "Demolish part of a listed building"; - value: "demolish.listed.part"; - } - | { - description: "Demolish an outbuilding (such as a garage or barn)"; - value: "demolish.outbuilding"; - } - | { - description: "Total demolition of an outbuilding (such as a garage or barn)"; - value: "demolish.outbuilding.full"; - } - | { - description: "Demolish part of an outbuilding (such as a garage or barn)"; - value: "demolish.outbuilding.part"; - } - | { - description: "Demolish part of a building (such as an extension)"; - value: "demolish.part"; - } - | { - description: "Demolish part of a conservatory"; - value: "demolish.part.conservatory"; - } - | { - description: "Demolish a building and build homes in its place"; - value: "demolish.replace"; - } - | { - description: "Extend a building or add an outbuilding"; - value: "extend"; - } - | { - description: "Enlarge a balcony"; - value: "extend.balcony"; - } - | { - description: "Add a basement extension"; - value: "extend.basement"; - } - | { - description: "Enlarge a basement"; - value: "extend.basement.extend"; - } - | { - description: "Add a lightwell"; - value: "extend.basement.lightwell"; - } - | { - description: "Add a new basement extension"; - value: "extend.basement.new"; - } - | { - description: "Add a front extension"; - value: "extend.front"; - } - | { - description: "Add an outbuilding (such as a shed, garage or garden office)"; - value: "extend.outbuilding"; - } - | { - description: "Add an outbuilding - animal enclosure, aviary or beehive"; - value: "extend.outbuilding.animals"; - } - | { - description: 'Add an outbuilding - residential (or "granny") annexe'; - value: "extend.outbuilding.annexe"; - } - | { - description: "Add an outbuilding - bedroom or guest room"; - value: "extend.outbuilding.bedroom"; - } - | { - description: "Add an outbuilding - games room"; - value: "extend.outbuilding.games"; - } - | { - description: "Add an outbuilding - garage"; - value: "extend.outbuilding.garage"; - } - | { - description: "Add an outbuilding - greenhouse"; - value: "extend.outbuilding.greenhouse"; - } - | { - description: "Add an outbuilding - gym"; - value: "extend.outbuilding.gym"; - } - | { - description: "Add an outbuilding - office"; - value: "extend.outbuilding.office"; - } - | { - description: "Add an outbuilding - something else"; - value: "extend.outbuilding.other"; - } - | { - description: "Add an outbuilding - play house"; - value: "extend.outbuilding.play"; - } - | { - description: "Add an outbuilding - sauna"; - value: "extend.outbuilding.sauna"; - } - | { - description: "Add an outbuilding - shed"; - value: "extend.outbuilding.shed"; - } - | { - description: "Add an outbuilding - car parking or smoking shelter"; - value: "extend.outbuilding.shelter"; - } - | { - description: "Add an outbuilding - storage"; - value: "extend.outbuilding.store"; - } - | { - description: "Add an outbuilding - studio"; - value: "extend.outbuilding.studio"; - } - | { - description: "Add an outbuilding - summer house"; - value: "extend.outbuilding.summerHouse"; - } - | { - description: "Add an outbuilding - swimming pool"; - value: "extend.outbuilding.swimmingPool"; - } - | { - description: "Add an outbuilding - tank"; - value: "extend.outbuilding.tank"; - } - | { - description: "Add an outbuilding - workshop"; - value: "extend.outbuilding.workshop"; - } - | { - description: "Add a porch"; - value: "extend.porch"; - } - | { - description: "Add a porch to the front of the building"; - value: "extend.porch.front"; - } - | { - description: "Add a porch to the rear of the building"; - value: "extend.porch.rear"; - } - | { - description: "Add a porch to the side of the building"; - value: "extend.porch.side"; - } - | { - description: "Add a rear or side extension (or conservatory)"; - value: "extend.rear"; - } - | { - description: "Add a rear extension"; - value: "extend.rear.rear"; - } - | { - description: "Add a side extension"; - value: "extend.rear.side"; - } - | { - description: "Add a roof extension"; - value: "extend.roof"; - } - | { - description: "Join two roofs"; - value: "extend.roof.connect"; - } - | { - description: "Add a roof dormer"; - value: "extend.roof.dormer"; - } - | { - description: "Add a roof dormer to the front of the building"; - value: "extend.roof.dormer.front"; - } - | { - description: "Add a roof dormer to the front and rear of the building"; - value: "extend.roof.dormer.frontAndRear"; - } - | { - description: "Add a mansard roof"; - value: "extend.roof.dormer.mansard"; - } - | { - description: "Add a roof dormer to the rear of the building"; - value: "extend.roof.dormer.rear"; - } - | { - description: "Add a roof dormer to the side of the building"; - value: "extend.roof.dormer.side"; - } - | { - description: "Convert a hip roof to a gable"; - value: "extend.roof.hiptogable"; - } - | { - description: "Convert a hip roof to a gable"; - value: "extend.roof.hipToGable"; - } - | { - description: "Convert to a mansard roof"; - value: "extend.roof.mansard"; - } - | { - description: "Add one or more new storeys"; - value: "extend.roof.newstorey"; - } - | { - description: "Add one or more new storeys"; - value: "extend.roof.newStorey"; - } - | { - description: "Convert to a sloping roof"; - value: "extend.roof.slope"; - } - | { - description: "Add a side extension"; - value: "extend.side"; - } - | { - description: "Add an upper storey extension"; - value: "extend.upperStorey"; - } - | { - description: "Internal building works, such as change the internal layout"; - value: "internal"; - } - | { - description: "Alter internal doors"; - value: "internal.doorways"; - } - | { - description: "Alter internal finishes"; - value: "internal.finishes"; - } - | { - description: "Alter internal floors"; - value: "internal.floors"; - } - | { - description: "Convert a loft"; - value: "internal.loft"; - } - | { - description: "Add a mezzanine floor"; - value: "internal.mezzanine"; - } - | { - description: "Alter internal staircases"; - value: "internal.staircases"; - } - | { - description: "Alter internal walls"; - value: "internal.walls"; - } - | { - description: "Alter internal window openings"; - value: "internal.windows.openings"; - } - | { - description: "Maintenance of an existing structure"; - value: "maintain"; - } - | { - description: "Add a new separate building or self-contained units"; - value: "new"; - } - | { - description: "New agricultural buildings"; - value: "new.agriculture"; - } - | { - description: "New agricultural buildings - glasshouse"; - value: "new.agriculture.glasshouse"; - } - | { - description: "New agricultural buildings - mining"; - value: "new.agriculture.mining"; - } - | { - description: "New agricultural buildings - pigs"; - value: "new.agriculture.pigs"; - } - | { - description: "New agricultural buildings - poultry"; - value: "new agriculture.poultry"; - } - | { - description: "Install click and collect facilities"; - value: "new.clickCollect"; - } - | { - description: "New, self-contained dwelling"; - value: "new.dwelling"; - } - | { - description: "New flats"; - value: "new.dwelling.flat"; - } - | { - description: "New houses"; - value: "new.dwelling.house"; - } - | { - description: "Build new forestry buildings"; - value: "new.forestry"; - } - | { - description: "New industrial premises"; - value: "new.industrial"; - } - | { - description: "New waste disposal facilities"; - value: "new.industrial.waste"; - } - | { - description: "New leisure premises"; - value: "new.leisure"; - } - | { - description: "New offices"; - value: "new.office"; - } - | { - description: "Add another type of building - something else"; - value: "new.other"; - } - | { - description: "Build new homes"; - value: "new.residential.dwelling"; - } - | { - description: "New retail premises"; - value: "new.retail"; - } - | { - description: "Install telecommunications equipment"; - value: "new.telecoms"; - } - | { - description: "Build a temporary structure"; - value: "new.temporaryStructure"; - } - | { - description: "New storage or distribution premises"; - value: "new.warehouse"; - } - | { - description: "Negate a project type"; - value: "not"; - } - | { - description: "Do not add or change windows or doors"; - value: "not.alter.replace"; - } - | { - description: "Do not add or change a rooflight"; - value: "not.alter.rooflight"; - } - | { - description: "Do not add or change a dropped kerb"; - value: "not.dropKerb"; - } - | { - description: "Repairs"; - value: "repair"; - } - | { - description: "Repair the historic fabric"; - value: "repair.historicFabric"; - } - | { - description: "Other project type"; - value: "other"; - } - | { - description: "Change of units"; - value: "unit"; - } - | { - description: "Convert two or more properties into one"; - value: "unit.merge"; - } - | { - description: "Convert a home or part of a home into flats"; - value: "unit.subdivide"; - }; -/** - * Designations of natural open spaces - */ -export type OpenSpaceDesignation = - | { - description: "Green Belt"; - value: "greenBelt"; - } - | { - description: "Local Open Spaces"; - value: "local"; - } - | { - description: "Metropolitan Open Land"; - value: "metropolitan"; - } - | { - description: "Not designated"; - value: "none"; - } - | { - description: "Other designation"; - value: "other"; - }; -/** - * Types of natural open spaces - */ -export type OpenSpaceType = - | { - description: "Allotments, community gardens and city farms"; - value: "allotment"; - } - | { - description: "Amenity"; - value: "amenity"; - } - | { - description: "Brownfield land"; - value: "brownfield"; - } - | { - description: "Cemeteries, churchyards and other burial grounds"; - value: "burial"; - } - | { - description: "Provision for children and young people"; - value: "children"; - } - | { - description: "Civic spaces"; - value: "civic"; - } - | { - description: "Countryside in urban fringe areas"; - value: "fringe"; - } - | { - description: "Green corridors"; - value: "greenCorridor"; - } - | { - description: "Natural and semi-natural"; - value: "natural"; - } - | { - description: "Non-residential institution grounds or gardens"; - value: "nonResidential"; - } - | { - description: "Parks and gardens"; - value: "park"; - } - | { - description: "Residential gardens"; - value: "residential"; - } - | { - description: "Outdoor sports facilities"; - value: "sport"; - }; -/** - * Designations of natural protected spaces - */ -export type ProtectedSpaceDesignation = - | { - description: "Site of Borough Grade 1 Importance"; - value: "boroughGradeOne"; - } - | { - description: "Site of Borough Grade 2 Importance"; - value: "boroughGradeTwo"; - } - | { - description: "Site of Local Importance"; - value: "local"; - } - | { - description: "Local Nature Reserve"; - value: "localReserve"; - } - | { - description: "Site of Metropolitan Importance"; - value: "metropolitan"; - } - | { - description: "Not designated"; - value: "none"; - } - | { - description: "Sites of Special Scientific Interest"; - value: "SSSI"; - }; -/** - * Building regulations - */ -export type BuildingRegulation = - | { - description: "Part M4(2) of the Building Regulations 2010"; - value: "m42"; - } - | { - description: "Part M4(3)(2a) of the Building Regulations 2010"; - value: "m432a"; - } - | { - description: "Part M4(3)(2b) of the Building Regulations 2010"; - value: "m432b"; - } - | { - description: "None of these"; - value: "none"; - }; -/** - * Development types - */ -export type DevelopmentType = - | { - description: "Change of use"; - value: "changeOfUse"; - } - | { - description: "Change of use of an existing single home"; - value: "changeOfUseFrom"; - } - | { - description: "Change of use to a home"; - value: "changeOfUseTo"; - } - | { - description: "Conversion"; - value: "conversion"; - } - | { - description: "Extension"; - value: "extension"; - } - | { - description: "New build"; - value: "newBuild"; - } - | { - description: "Not known"; - value: "notKnown"; - }; -/** - * Housing provider categories tracked by the Greater London Authority (GLA) - */ -export type GLAHousingProvider = - | { - description: "Other affordable housing provider"; - value: "affordableHousing"; - } - | { - description: "Council delivered build to rent"; - value: "councilBuildToRent"; - } - | { - description: "Council delivery company"; - value: "councilDelivery"; - } - | { - description: "Housing association"; - value: "HA"; - } - | { - description: "Local Authority"; - value: "LA"; - } - | { - description: "Private"; - value: "private"; - } - | { - description: "Private rented sector"; - value: "privateRented"; - } - | { - description: "Other public authority"; - value: "publicAuthority"; - } - | { - description: "Self-build"; - value: "selfBuild"; - }; -/** - * Tenure types tracked by the Greater London Authority (GLA) - */ -export type GLATenureType = - | { - description: "Affordable rent (not at LAR benchmark rents)"; - value: "AR"; - } - | { - description: "Discount market rate"; - value: "DMR"; - } - | { - description: "Discount market rate (charged at London Living Rents)"; - value: "DMRLLR"; - } - | { - description: "Discount market sale"; - value: "DMS"; - } - | { - description: "London Affordable Rent"; - value: "LAR"; - } - | { - description: "London Living Rent"; - value: "LRR"; - } - | { - description: "London Shared Ownership"; - value: "LSO"; - } - | { - description: "Market for rent"; - value: "marketForRent"; - } - | { - description: "Market for sale"; - value: "marketForSale"; - } - | { - description: "Other"; - value: "other"; - } - | { - description: "Self-build and custom build"; - value: "selfCustomBuild"; - } - | { - description: "Starter homes"; - value: "SH"; - } - | { - description: "Shared equity"; - value: "sharedEquity"; - } - | { - description: "Social rent"; - value: "SR"; - }; -/** - * Residential unit types tracked by the Greater London Authority (GLA) - */ -export type GLAResidentialUnitType = - | { - description: "Cluster flat"; - value: "cluster"; - } - | { - description: "Co-living unit"; - value: "coLiving"; - } - | { - description: "Detached home"; - value: "detached"; - } - | { - description: "Flat/apartment or maisonette"; - value: "flat"; - } - | { - description: "House in multiple occupation (HMO)"; - value: "HMO"; - } - | { - description: "Hostel room"; - value: "hostel"; - } - | { - description: "Live/work unit"; - value: "LW"; - } - | { - description: "Other"; - value: "other"; - } - | { - description: "Semi-detached home"; - value: "semiDetached"; - } - | { - description: "Student accomodation"; - value: "student"; - } - | { - description: "Studio or bedsit"; - value: "studio"; - } - | { - description: "Terraced home"; - value: "terraced"; - }; -/** - * Types of planning documents and drawings - */ -export type FileType = - | { - description: "Details of impact on access, roads, and rights of way"; - value: "accessRoadsRightsOfWayDetails"; - } - | { - description: "Affordable housing statement"; - value: "affordableHousingStatement"; - } - | { - description: "Arboriculturist report"; - value: "arboriculturistReport"; - } - | { - description: "Bank statement"; - value: "bankStatement"; - } - | { - description: "Basement impact statement"; - value: "basementImpactStatement"; - } - | { - description: "Bio-aerosol assessment"; - value: "bioaerosolAssessment"; - } - | { - description: "Birdstrike risk management plan"; - value: "birdstrikeRiskManagementPlan"; - } - | { - description: "Borehole or trial pit analysis"; - value: "boreholeOrTrialPitAnalysis"; - } - | { - description: "Building control certificate"; - value: "buildingControlCertificate"; - } - | { - description: "Structural or building condition survey"; - value: "conditionSurvey"; - } - | { - description: "Construction invoice"; - value: "constructionInvoice"; - } - | { - description: "Contamination report"; - value: "contaminationReport"; - } - | { - description: "Council tax bill"; - value: "councilTaxBill"; - } - | { - description: "Crime prevention strategy"; - value: "crimePreventionStrategy"; - } - | { - description: "Design and Access Statement"; - value: "designAndAccessStatement"; - } - | { - description: "Evidence for application fee exemption - disability"; - value: "disabilityExemptionEvidence"; - } - | { - description: "Ecology report"; - value: "ecologyReport"; - } - | { - description: "Elevations - existing"; - value: "elevations.existing"; - } - | { - description: "Elevations - proposed"; - value: "elevations.proposed"; - } - | { - description: "Scheme for mitigation and monitoring of emissions (dust, odour and vibrations)"; - value: "emissionsMitigationAndMonitoringScheme"; - } - | { - description: "Energy statement"; - value: "energyStatement"; - } - | { - description: "Environmental Impact Assessment (EIA)"; - value: "environmentalImpactAssessment"; - } - | { - description: "External materials details"; - value: "externalMaterialsDetails"; - } - | { - description: "Fire safety report"; - value: "fireSafetyReport"; - } - | { - description: "Flood risk assessment (FRA)"; - value: "floodRiskAssessment"; - } - | { - description: "Floor plan - existing"; - value: "floorPlan.existing"; - } - | { - description: "Floor plan - proposed"; - value: "floorPlan.proposed"; - } - | { - description: "Foul drainage assessment"; - value: "foulDrainageAssessment"; - } - | { - description: "Geodiversity assessment"; - value: "geodiversityAssessment"; - } - | { - description: "Plans showing the stretches of hedgerows to be removed"; - value: "hedgerowsInformation"; - } - | { - description: "Evidence of the date of planting of the removed hedgerows"; - value: "hedgerowsInformation.plantingDate"; - } - | { - description: "Heritage Statement"; - value: "heritageStatement"; - } - | { - description: "Hydrological and hydrogeological assessment"; - value: "hydrologicalAssessment"; - } - | { - description: "Hydrology report"; - value: "hydrologyReport"; - } - | { - description: "Internal elevations"; - value: "internalElevations"; - } - | { - description: "Internal sections"; - value: "internalSections"; - } - | { - description: "Joiner's report"; - value: "joinersReport"; - } - | { - description: "Joinery section report"; - value: "joinerySections"; - } - | { - description: "Land contamination assessment"; - value: "landContaminationAssessment"; - } - | { - description: "Landscape and visual impact assessment (LVIA)"; - value: "landscapeAndVisualImpactAssessment"; - } - | { - description: "Landscape strategy or landscape plan"; - value: "landscapeStrategy"; - } - | { - description: "Lighting assessment"; - value: "lightingAssessment"; - } - | { - description: "Details of litter, vermin and bird control"; - value: "litterVerminAndBirdControlDetails"; - } - | { - description: "Location plan"; - value: "locationPlan"; - } - | { - description: "Method statement"; - value: "methodStatement"; - } - | { - description: "Minerals and waste assessment"; - value: "mineralsAndWasteAssessment"; - } - | { - description: "Information the authority considers necessary for the application"; - value: "necessaryInformation"; - } - | { - description: "New dwellings schedule"; - value: "newDwellingsSchedule"; - } - | { - description: "Noise assessment"; - value: "noiseAssessment"; - } - | { - description: "Open space assessment"; - value: "openSpaceAssessment"; - } - | { - description: "Other - document"; - value: "otherDocument"; - } - | { - description: "Other - drawing"; - value: "otherDrawing"; - } - | { - description: "Other - evidence or correspondence"; - value: "otherEvidence"; - } - | { - description: "Parking plan"; - value: "parkingPlan"; - } - | { - description: "Photographs - existing"; - value: "photographs.existing"; - } - | { - description: "Photographs - proposed"; - value: "photographs.proposed"; - } - | { - description: "Planning statement"; - value: "planningStatement"; - } - | { - description: "Recyclable waste storage details"; - value: "recycleWasteStorageDetails"; - } - | { - description: "Information the applicant considers relevant to the application"; - value: "relevantInformation"; - } - | { - description: "Residential units details"; - value: "residentialUnitsDetails"; - } - | { - description: "Roof plan - existing"; - value: "roofPlan.existing"; - } - | { - description: "Roof plan - proposed"; - value: "roofPlan.proposed"; - } - | { - description: "Sections - existing"; - value: "sections.existing"; - } - | { - description: "Sections - proposed"; - value: "sections.proposed"; - } - | { - description: "Site plan - existing"; - value: "sitePlan.existing"; - } - | { - description: "Site plan - proposed"; - value: "sitePlan.proposed"; - } - | { - description: "Sketch plan"; - value: "sketchPlan"; - } - | { - description: "Statement of community involvement"; - value: "statementOfCommunityInvolvement"; - } - | { - description: "Statutory declaration"; - value: "statutoryDeclaration"; - } - | { - description: "Details of storage treatment or disposal of waste"; - value: "storageTreatmentAndWasteDisposalDetails"; - } - | { - description: "Street scene drawing"; - value: "streetScene"; - } - | { - description: "Subsidence report"; - value: "subsidenceReport"; - } - | { - description: "Sunlight and daylight report"; - value: "sunlightAndDaylightReport"; - } - | { - description: "Sustainability statement"; - value: "sustainabilityStatement"; - } - | { - description: "Technical evidence"; - value: "technicalEvidence"; - } - | { - description: "Technical specification"; - value: "technicalSpecification"; - } - | { - description: "Tenancy agreement"; - value: "tenancyAgreement"; - } - | { - description: "Tenancy invoice"; - value: "tenancyInvoice"; - } - | { - description: "Town centre uses - Impact assessment"; - value: "townCentreImpactAssessment"; - } - | { - description: "Town centre uses - Sequential assessment"; - value: "townCentreSequentialAssessment"; - } - | { - description: "Transport assessment"; - value: "transportAssessment"; - } - | { - description: "Travel plan"; - value: "travelPlan"; - } - | { - description: "Location of trees and hedges"; - value: "treeAndHedgeLocation"; - } - | { - description: "Removed or pruned trees and hedges"; - value: "treeAndHedgeRemovedOrPruned"; - } - | { - description: "Tree canopy calculator"; - value: "treeCanopyCalculator"; - } - | { - description: "Tree condition report"; - value: "treeConditionReport"; - } - | { - description: "Tree plan"; - value: "treePlan"; - } - | { - description: "Trees report"; - value: "treesReport"; - } - | { - description: "Unit plan - existing"; - value: "unitPlan.existing"; - } - | { - description: "Unit plan - proposed"; - value: "unitPlan.proposed"; - } - | { - description: "Use plan - existing"; - value: "usePlan.existing"; - } - | { - description: "Use plan - proposed"; - value: "usePlan.proposed"; - } - | { - description: "Utility bill"; - value: "utilityBill"; - } - | { - description: "Utilities statement"; - value: "utilitiesStatement"; - } - | { - description: "Ventilation or extraction statement"; - value: "ventilationStatement"; - } - | { - description: "Viability Appraisal"; - value: "viabilityAppraisal"; - } - | { - description: "Visualisations"; - value: "visualisations"; - } - | { - description: "Waste and recycling strategy"; - value: "wasteAndRecyclingStrategy"; - } - | { - description: "Waste storage details"; - value: "wasteStorageDetails"; - } - | { - description: "Water environment assessment"; - value: "waterEnvironmentAssessment"; - }; -/** - * Details of the digital planning service which sent this application - */ -export type DigitalPlanningMetadata = AnyProviderMetadata | PlanXMetadata; -/** - * Regex-based implementation of iso-date-time until available in ajv-formats@3.0.0 - */ -export type DateTime = string; -export type UUID = string; -/** - * The result of a single flagset - */ -export type ResultFlag = - | { - description: "It looks like the changes may now be beyond the time limit for enforcement action. This does not apply if the changes have been deliberately concealed."; - value: "Planning permission / Immune"; - } - | { - description: "There is some key information missing that will be needed to assess this application."; - value: "Planning permission / Missing information"; - } - | { - description: "It looks like the proposed changes may require planning permission."; - value: "Planning permission / Permission needed"; - } - | { - description: "It looks like the proposed changes do not require planning permission, however the applicant must apply for Prior Approval before proceeding."; - value: "Planning permission / Prior approval"; - } - | { - description: "It looks like the proposed changes may not require planning permission, however the applicant must provide notice to the planning authority before proceeding."; - value: "Planning permission / Notice"; - } - | { - description: "It looks like the proposed changes may fall within the rules for Permitted Development and therefore would not need planning permission."; - value: "Planning permission / Permitted development"; - } - | { - description: "It looks like the proposed changes may not fall within the legal definition of 'development', and therefore would not require planning permission."; - value: "Planning permission / Not development"; - } - | { - description: ""; - value: "Listed building consent / Missing information"; - } - | { - description: ""; - value: "Listed building consent / Required"; - } - | { - description: ""; - value: "Listed building consent / De minimis"; - } - | { - description: ""; - value: "Listed building consent / Not required"; - } - | { - description: ""; - value: "Works to trees & hedges / Missing information"; - } - | { - description: ""; - value: "Works to trees & hedges / Required"; - } - | { - description: ""; - value: "Works to trees & hedges / De minimis"; - } - | { - description: ""; - value: "Works to trees & hedges / Not required"; - } - | { - description: ""; - value: "Demolition in a conservation area / Missing information"; - } - | { - description: ""; - value: "Demolition in a conservation area / Required"; - } - | { - description: ""; - value: "Demolition in a conservation area / De minimis"; - } - | { - description: ""; - value: "Demolition in a conservation area / Not required"; - } - | { - description: ""; - value: "Planning policy / Missing information"; - } - | { - description: ""; - value: "Planning policy / Fails to meet policy"; - } - | { - description: ""; - value: "Planning policy / Edge case"; - } - | { - description: ""; - value: "Planning policy / Meets policy"; - } - | { - description: ""; - value: "Community infrastructure levy / Missing information"; - } - | { - description: ""; - value: "Community infrastructure levy / Exemption void"; - } - | { - description: ""; - value: "Community infrastructure levy / Exempt"; - } - | { - description: ""; - value: "Community infrastructure levy / Relief void"; - } - | { - description: ""; - value: "Community infrastructure levy / Relief"; - } - | { - description: ""; - value: "Community infrastructure levy / Liable"; - } - | { - description: ""; - value: "Community infrastructure levy / Not liable"; - }; -/** - * The result of the application based on information provided by the applicant, prior to assessment by a planning officer. Results are determined by flags corresponding to responses; each application can have up to one result per flagset - */ -export type PreAssessment = ResultFlag[]; -/** - * The ordered list of questions, answers, and their metadata for the application - */ -export type Responses = QuestionAndResponses[]; - -/** - * The root specification for a planning application in England generated by a digital planning service - */ -export interface Application { - data: { - applicant: Applicant; - application: ApplicationData; - files?: FilesAsData; - property: Property; - proposal: Proposal; - user: User; - }; - files: File[]; - metadata: DigitalPlanningMetadata; - preAssessment?: PreAssessment; - responses: Responses; -} -/** - * Information about the user who completed the application for themself, or information about the person who the user applied on behalf of - */ -export interface BaseApplicant { - address: UserAddress; - company?: { - name: string; - }; - email: Email; - maintenanceContact?: MaintenanceContact; - name: { - first: string; - last: string; - title?: string; - }; - ownership?: Ownership; - phone: { - primary: string; - }; - siteContact: SiteContact; - type: "individual" | "company" | "charity" | "public" | "parishCouncil"; -} -/** - * Address information for an applicant with contact information that differs from the property address - */ -export interface UserAddressNotSameSite { - country?: string; - county?: string; - line1: string; - line2?: string; - postcode: string; - sameAsSiteAddress: false; - town: string; -} -/** - * Address information for a person associated with this application not at the property address - */ -export interface Address { - country?: string; - county?: string; - line1: string; - line2?: string; - postcode: string; - town: string; -} -/** - * Information about the ownership certificate and property owners, if different than the applicant - */ -export interface Ownership { - /** - * Does the land have any agricultural tenants? - */ - agriculturalTenants?: boolean; - certificate?: "a" | "b" | "c" | "d"; - /** - * Declaration of the accuracy of the ownership certificate, including reasonable steps taken to find all owners and publish notice - */ - declaration?: { - accurate: true; - }; - interest?: - | "owner" - | "owner.sole" - | "owner.co" - | "lessee" - | "occupier" - | "other"; - /** - * Has requisite notice been given to all the known owners and agricultural tenants? - */ - noticeGiven?: boolean; - /** - * Has a notice of the application been published in a newspaper circulating in the area where the land is situated? - */ - noticePublished?: { - date?: Date; - newspaperName?: string; - status: boolean; - }; - owners?: Owners[]; - /** - * Do you know the names and addresses of all owners and agricultural tenants? - */ - ownersKnown?: "all" | "some" | "none"; -} -export interface OwnersNoticeGiven { - address: Address | string; - interest?: "owner" | "lessee" | "occupier" | "other"; - name: string; - noticeGiven: true; -} -export interface OwnersNoNoticeGiven { - address: Address | string; - interest?: "owner" | "lessee" | "occupier" | "other"; - name: string; - noNoticeReason: string; - noticeGiven: false; -} -export interface OwnersNoticeDate { - address: Address | string; - interest?: "owner" | "lessee" | "occupier" | "other"; - name: string; - noticeDate: Date; -} -/** - * Contact information for the site visit when the SiteContact's role is 'other' - */ -export interface SiteContactOther { - email: string; - name: string; - phone: string; - role: "other"; -} -/** - * Information about the agent or proxy who completed the application on behalf of someone else - */ -export interface Agent { - address: UserAddress; - agent: { - address: Address; - company?: { - name: string; - }; - email: Email; - name: { - first: string; - last: string; - title?: string; - }; - phone: { - primary: string; - }; - }; - company?: { - name: string; - }; - email: Email; - maintenanceContact?: MaintenanceContact; - name: { - first: string; - last: string; - title?: string; - }; - ownership?: Ownership; - phone: { - primary: string; - }; - siteContact: SiteContact; - type: "individual" | "company" | "charity" | "public" | "parishCouncil"; -} -export interface BaseApplicationData { - CIL?: CommunityInfrastructureLevy; - declaration: ApplicationDeclaration; - fee: ApplicationFee | ApplicationFeeNotApplicable; - planningApp?: PlanningApplication; - preApp?: PreApplication; - type: ApplicationType; -} -/** - * Details about the Community Infrastructure Levy planning charge, if applicable - */ -export interface CommunityInfrastructureLevy { - result: - | "exempt.annexe" - | "exempt.extension" - | "exempt.selfBuild" - | "liable" - | "relief.charity" - | "relief.socialHousing"; -} -/** - * Declarations about the accuracy of this application and any personal connections to the receiving authority - */ -export interface ApplicationDeclaration { - accurate: boolean; - connection: { - description?: string; - value: - | "employee" - | "relation.employee" - | "electedMember" - | "relation.electedMember" - | "none"; - }; -} -/** - * The costs associated with this application - */ -export interface ApplicationFee { - /** - * Total calculated fee in GBP - */ - calculated: number; - /** - * Breakdown of calculated fee in GBP by category of development, based on the scales defined in The Town and Country Planning Regulations https://www.legislation.gov.uk/uksi/2012/2920/schedule/1/part/2 - */ - category?: { - /** - * Category 8 - Car parks or access roads - */ - eight?: number; - eleven?: { - /** - * Category 11(1) - Mining operations - */ - one?: number; - /** - * Category 11(2) - Other operations - */ - two?: number; - }; - /** - * Category 5 - Plant equipment or machinery - */ - five?: number; - /** - * Category 4 - Glasshouses on agricultural land - */ - four?: number; - /** - * Category 14 - Other change of use - */ - fourteen?: number; - /** - * Category 9 - Exploratory drilling - */ - nine?: number; - /** - * Category 1 - New homes - */ - one?: number; - /** - * Category 6 and 7 - Home or curtilage of home - */ - sixAndSeven?: number; - /** - * Category 10 - Winning and working of oil or natural gas - */ - ten?: number; - /** - * Category 13 - Waste disposal - */ - thirteen?: number; - /** - * Category 3 - Agricultural buildings - */ - three?: number; - twelve?: { - /** - * Category 12(1) - Change of use from single home to homes - */ - one?: number; - /** - * Category 12(2) - Change of use to home - */ - two?: number; - }; - /** - * Category 2 - Other new buildings - */ - two?: number; - }; - exemption: { - disability: boolean; - resubmission: boolean; - }; - /** - * Total payable fee after any exemptions or reductions in GBP - */ - payable: number; - reduction: { - alternative: boolean; - parishCouncil: boolean; - sports: boolean; - }; - reference?: { - /** - * GOV.UK Pay payment reference number - */ - govPay: string; - }; -} -/** - * An indicator that an application fee does not apply to this application type or journey - */ -export interface ApplicationFeeNotApplicable { - notApplicable: true; -} -/** - * Details of the planning application linked to this application, if applicable - */ -export interface PlanningApplication { - date: Date; - localPlanningAuthority: string; - reference: string; -} -/** - * Details of the pre-application preceeding this application, if applicable - */ -export interface PreApplication { - date: Date; - officer: string; - reference: string; - summary: string; -} -/** - * Application details for project sites within the Greater London Authority (GLA) area - */ -export interface LondonApplicationData { - CIL?: CommunityInfrastructureLevy; - declaration: ApplicationDeclaration; - fee: ApplicationFee | ApplicationFeeNotApplicable; - leadDeveloper?: LeadDeveloper; - planningApp?: PlanningApplication; - preApp?: PreApplication; - type: ApplicationType; - vacantBuildingCredit?: boolean; -} -export interface LeadDeveloper { - company?: { - name: string; - registrationNumber: string; - }; - type: "ukCompany" | "overseasCompany" | "none"; -} -/** - * File types that can optionally be provided by answering structured questions, rather than via document upload (see root `files` for uploads) - */ -export interface FilesAsData { - designAndAccessStatement?: DesignAndAccessStatement; - heritageStatement?: HeritageStatement; - locationPlan?: GeoBoundary; -} -export interface DesignAndAccessStatement { - accessAndLayout: string; - landscapingChanges: string; - projectDescription: string; - propertyDescription: string; -} -export interface HeritageStatement { - "designated.WHS"?: HeritageStatementBase; - "designated.conservationArea"?: HeritageStatementBase; - listed?: HeritageStatementBase; - monument?: HeritageStatementBase; -} -export interface HeritageStatementBase { - designationDescription: string; - improvements: string; - managedImpact: string; - projectDescpription: string; - propertyDescription: string; -} -export interface GeoBoundary { - area: Area; - site: GeoJSON; -} -export interface Area { - hectares?: number; - squareMetres: number; -} -/** - * Point geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.2 - */ -export interface Point { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - coordinates: Position; - /** - * Specifies the type of GeoJSON object. - */ - type: "Point"; -} -/** - * MultiPoint geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.3 - */ -export interface MultiPoint { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - coordinates: Position[]; - /** - * Specifies the type of GeoJSON object. - */ - type: "MultiPoint"; -} -/** - * LineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.4 - */ -export interface LineString { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - coordinates: Position[]; - /** - * Specifies the type of GeoJSON object. - */ - type: "LineString"; -} -/** - * MultiLineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.5 - */ -export interface MultiLineString { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - coordinates: Position[][]; - /** - * Specifies the type of GeoJSON object. - */ - type: "MultiLineString"; -} -/** - * Polygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.6 - */ -export interface Polygon { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - coordinates: Position[][]; - /** - * Specifies the type of GeoJSON object. - */ - type: "Polygon"; -} -/** - * MultiPolygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.7 - */ -export interface MultiPolygon { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - coordinates: Position[][][]; - /** - * Specifies the type of GeoJSON object. - */ - type: "MultiPolygon"; -} -/** - * Geometry Collection https://tools.ietf.org/html/rfc7946#section-3.1.8 - */ -export interface GeometryCollection { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - geometries: Geometry[]; - /** - * Specifies the type of GeoJSON object. - */ - type: "GeometryCollection"; -} -/** - * A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2 - */ -export interface Feature { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - /** - * Geometry object. https://tools.ietf.org/html/rfc7946#section-3 - */ - geometry: - | Point - | MultiPoint - | LineString - | MultiLineString - | Polygon - | MultiPolygon - | GeometryCollection; - /** - * A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2. - */ - id?: string | number; - /** - * Properties associated with this feature. - */ - properties: { - [k: string]: unknown; - } | null; - /** - * Specifies the type of GeoJSON object. - */ - type: "Feature"; -} -/** - * A collection of feature objects. https://tools.ietf.org/html/rfc7946#section-3.3 - */ -export interface FeatureCollection { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - features: Feature3CGeometry2CGeoJsonProperties3E[]; - /** - * Specifies the type of GeoJSON object. - */ - type: "FeatureCollection"; -} -/** - * A feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2 - */ -export interface Feature3CGeometry2CGeoJsonProperties3E { - /** - * Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5 - */ - bbox?: - | [number, number, number, number] - | [number, number, number, number, number, number]; - /** - * Geometry object. https://tools.ietf.org/html/rfc7946#section-3 - */ - geometry: - | Point - | MultiPoint - | LineString - | MultiLineString - | Polygon - | MultiPolygon - | GeometryCollection; - /** - * A value that uniquely identifies this feature in a https://tools.ietf.org/html/rfc7946#section-3.2. - */ - id?: string | number; - /** - * Properties associated with this feature. - */ - properties: { - [k: string]: unknown; - } | null; - /** - * Specifies the type of GeoJSON object. - */ - type: "Feature"; -} -/** - * Property details for sites anywhere in the UK - */ -export interface UKProperty { - address: ProposedAddress | OSAddress; - boundary?: GeoBoundary1; - /** - * Existing flood risk, if applicable to application.type - */ - flood?: { - "20mFromWatercourse"?: boolean; - increasedRiskElsewhere?: boolean; - }; - /** - * Current and historic UK Local Authority Districts that contain this address sourced from planning.data.gov.uk/dataset/local-authority-district - */ - localAuthorityDistrict: string[]; - materials?: Materials; - /** - * Planning constraints and policies that intersect with this site and may impact or restrict development - */ - planning?: { - conditions?: PlanningConstraint[]; - designations?: PlanningDesignation[]; - guidance?: PlanningConstraint[]; - plans?: { - local: PlanningConstraint[]; - neighbourhood: PlanningConstraint[]; - }; - /** - * A list of open data requests or websites that explain how these constraints were sourced - */ - sources: URL[]; - }; - region: UKRegion; - /** - * Existing trees on or near the site - */ - trees?: { - adjacent: boolean; - present: boolean; - }; - type: PropertyType; - units?: ResidentialUnits; - /** - * Existing land use, if applicable to application.type - */ - use?: { - description: string; - vacant?: { - lastUseEndDate: Date; - }; - }; -} -/** - * Address information for sites without a known Unique Property Reference Number (UPRN) - */ -export interface ProposedAddress { - /** - * Latitude coordinate in EPSG:4326 (WGS84) - */ - latitude: number; - /** - * Longitude coordinate in EPSG:4326 (WGS84) - */ - longitude: number; - source: "Proposed by applicant"; - title: string; - /** - * Easting coordinate in British National Grid (OSGB36) - */ - x: number; - /** - * Northing coordinate in British National Grid (OSGB36) - */ - y: number; -} -/** - * Address information for sites with a known address sourced from Ordnance Survey AddressBase Premium - */ -export interface OSAddress { - /** - * Latitude coordinate in EPSG:4326 (WGS84) - */ - latitude: number; - /** - * Longitude coordinate in EPSG:4326 (WGS84) - */ - longitude: number; - organisation?: string; - pao: PrimaryAddressableObjectStartRangeAndOrBuildingDescription; - paoEnd?: PrimaryAddressableObjectPAOEndRange; - postcode: string; - sao?: SecondaryAddressableObjectSAOStartRangeAndOrBuildingDescription; - saoEnd?: SecondaryAddressableObjectSAOEndRange; - singleLine: string; - source: "Ordnance Survey"; - street: string; - title: string; - town: string; - uprn: UniquePropertyReferenceNumber; - usrn: UniqueStreetReferenceNumber; - /** - * Easting coordinate in British National Grid (OSGB36) - */ - x: number; - /** - * Northing coordinate in British National Grid (OSGB36) - */ - y: number; -} -/** - * HM Land Registry Index polygon for this property, commonly referred to as the blue line boundary, sourced from planning.data.gov.uk/dataset/title-boundary - */ -export interface GeoBoundary1 { - area: Area; - site: GeoJSON; -} -/** - * Existing materials, if applicable to proposal.projectType - */ -export interface Materials { - boundary?: string; - door?: string; - lighting?: string; - other?: string; - roof?: string; - surface?: string; - wall?: string; - window?: string; -} -export interface Entity { - description?: string; - name: string; - source: - | { - text: "Planning Data"; - url: URL; - } - | { - text: "Ordnance Survey MasterMap Highways"; - }; -} -export interface ResidentialUnits { - residential: { - bedrooms: number; - identicalUnits: number; - tenure: UKTenureType; - type: UKResidentialUnitType; - }[]; - total: number; -} -/** - * Property details for sites within the Greater London Authority (GLA) area - */ -export interface LondonProperty { - EPC?: EnergyPerformanceCertificate; - address: ProposedAddress | OSAddress; - boundary?: GeoBoundary2; - /** - * Existing flood risk, if applicable to application.type - */ - flood?: { - "20mFromWatercourse"?: boolean; - increasedRiskElsewhere?: boolean; - }; - /** - * Current and historic UK Local Authority Districts that contain this address sourced from planning.data.gov.uk/dataset/local-authority-district - */ - localAuthorityDistrict: string[]; - materials?: Materials1; - /** - * Current occupation status of the property - */ - occupation?: { - status: "occupied" | "partVacant" | "vacant"; - }; - /** - * Current ownership status of the land - */ - ownership?: { - status: "public" | "private" | "mixed"; - }; - parking?: { - buses?: { - count: number; - }; - carClub?: { - count: number; - }; - cars?: { - count: number; - }; - cycles?: { - count: number; - }; - disabled?: { - count: number; - }; - motorcycles?: { - count: number; - }; - offStreet?: { - residential: { - count: number; - }; - }; - other?: { - count: number; - }; - vans?: { - count: number; - }; - }; - /** - * Planning constraints and policies that intersect with this site and may impact or restrict development - */ - planning?: { - conditions?: PlanningConstraint[]; - designations?: PlanningDesignation[]; - guidance?: PlanningConstraint[]; - plans?: { - local: PlanningConstraint[]; - neighbourhood: PlanningConstraint[]; - }; - /** - * A list of open data requests or websites that explain how these constraints were sourced - */ - sources: URL[]; - }; - region: "London"; - socialLandlord?: LeadRegisteredSocialLandlord; - titleNumber?: { - known: "Yes" | "No"; - number?: string; - }; - /** - * Existing trees on or near the site - */ - trees?: { - adjacent: boolean; - present: boolean; - }; - type: PropertyType; - units?: ResidentialUnits; - /** - * Existing land use, if applicable to application.type - */ - use?: { - description: string; - vacant?: { - lastUseEndDate: Date; - }; - }; -} -export interface EnergyPerformanceCertificate { - known: - | "Yes" - | "Yes, but only some of the properties have one" - | "The property does not have one" - | "No"; - number?: string; -} -/** - * HM Land Registry Index polygon for this property, commonly referred to as the blue line boundary, sourced from planning.data.gov.uk/dataset/title-boundary - */ -export interface GeoBoundary2 { - area: Area; - site: GeoJSON; -} -/** - * Existing materials, if applicable to proposal.projectType - */ -export interface Materials1 { - boundary?: string; - door?: string; - lighting?: string; - other?: string; - roof?: string; - surface?: string; - wall?: string; - window?: string; -} -export interface BaseProposal { - access?: { - affected?: - | "vehicle" - | "pedestrian" - | "newRoad" - | "rightsOfWay.newPublic" - | "rightsOfWay.changes"; - }; - boundary?: GeoBoundary3; - date?: ProposalDates; - description: string; - /** - * Details of biodiversity and geological conservation, if applicable to application.type - */ - ecology?: { - conservationAffected?: "site" | "adjacent" | "none"; - featuresAffected?: "site" | "adjacent" | "none"; - speciesAffected?: "site" | "adjacent" | "none"; - }; - environmentalImpactDescription?: string; - extend?: { - area: Area; - }; - /** - * Assessment of flood risk, if applicable to application.type - */ - flood?: { - surfaceWaterDisposal?: - | "drainageSystem" - | "soakaway" - | "sewer" - | "watercourse" - | "pondOrLake" - | "other"; - }; - materials?: Materials2; - new?: { - area: Area; - count?: { - bathrooms?: number; - bedrooms?: number; - dwellings?: number; - }; - }; - newDwellings?: { - newBuild?: { - count: number; - }; - }; - projectType: ProjectType[]; - structures?: { - permanent?: { - count: number; - }; - temporary?: { - count: number; - }; - total: number; - type: - | "bridge" - | "catchpit" - | "culvert" - | "pipe" - | "gully" - | "headwall" - | "manhole" - | "weir" - | "other"; - }; - units?: ResidentialUnits; - /** - * Proposed land use, including storage of hazardous materials, if applicable to application.type - */ - use?: { - contamination?: "known" | "suspected" | "vulnerable"; - description?: string; - storage?: string[]; - }; - /** - * Proposed utilities, if applicable to application.type - */ - utilities?: { - /** - * Whether the proposal introduces a fire suppression system - */ - fire?: { - suppression: boolean; - }; - /** - * Type of proposed foul sewage disposal - */ - foulSewageDisposal?: "sewer" | "tank" | "plant" | "pit" | "other"; - /** - * Count of new gas connections - */ - gas?: { - connections: { - count: number; - }; - }; - /** - * Count of new full fibre Internet connections - */ - internet?: { - commercialUnits: { - count: number; - }; - residentialUnits: { - count: number; - }; - }; - /** - * Count of new water connections - */ - water?: { - connections: { - count: number; - }; - }; - }; - watercourse?: { - name: string; - type: "ditch" | "millStream" | "pond" | "river" | "streamOrBrook" | "other"; - }; -} -/** - * Location plan boundary proposed by the user, commonly referred to as the red line boundary - */ -export interface GeoBoundary3 { - area: Area; - site: GeoJSON; -} -/** - * When the proposed works will start and be completed by, not required for all application types - */ -export interface ProposalDates { - completion?: Date; - start?: Date; -} -/** - * Proposed materials, if applicable to projectType - */ -export interface Materials2 { - boundary?: string; - door?: string; - lighting?: string; - other?: string; - roof?: string; - surface?: string; - wall?: string; - window?: string; -} -/** - * Proposal details for project sites within the Greater London Authority (GLA) area - */ -export interface LondonProposal { - access?: { - affected?: - | "vehicle" - | "pedestrian" - | "newRoad" - | "rightsOfWay.newPublic" - | "rightsOfWay.changes"; - }; - boundary?: GeoBoundary4; - /** - * Electric vehicle charing points - */ - charging?: { - active?: { - count: number; - }; - passive?: { - count: number; - }; - }; - /** - * Project cost - */ - cost?: { - projected: "2m" | "2mTo100m" | "100m"; - }; - date?: ProposalDates; - description: string; - /** - * Details of biodiversity and geological conservation, if applicable to application.type - */ - ecology?: { - conservationAffected?: "site" | "adjacent" | "none"; - featuresAffected?: "site" | "adjacent" | "none"; - speciesAffected?: "site" | "adjacent" | "none"; - }; - /** - * Proposed energy sources - */ - energy?: { - communityOwned?: { - /** - * Proposed total capacity of any on-site community-owned energy generation in megawatts (mW) - */ - capacity: { - megawatts: number; - }; - }; - heatPumps?: { - /** - * Proposed total capacity of any heat pumps in megawatts (mV) - */ - capacity: { - megawatts: number; - }; - }; - solar?: { - /** - * Proposed total capacity of any solar energy generation in megawatts (mV) - */ - capacity: { - megawatts: number; - }; - }; - type: ("communityOwned" | "heatPump" | "solar")[]; - }; - environmentalImpactDescription?: string; - extend?: { - area: Area; - }; - /** - * Assessment of flood risk, if applicable to application.type - */ - flood?: { - surfaceWaterDisposal?: - | "drainageSystem" - | "soakaway" - | "sewer" - | "watercourse" - | "pondOrLake" - | "other"; - }; - /** - * Green roof - */ - greenRoof?: { - area: Area; - }; - materials?: Materials3; - /** - * Changes that result in the loss, gain, or change of use of natural spaces - */ - nature?: { - openSpaces?: { - access: "restricted" | "unrestricted"; - area: { - hectares: number; - }; - description: string; - designation: OpenSpaceDesignation; - impact: "loss" | "gain" | "change"; - /** - * Whether the open space change involves a land swap - */ - swap: boolean; - type: OpenSpaceType; - }[]; - protectedSpaces?: { - access: "restricted" | "unrestricted"; - area: { - hectares: number; - }; - description: string; - designation: ProtectedSpaceDesignation; - impact: "loss" | "gain" | "change"; - }[]; - }; - new?: { - area: Area; - count?: { - bathrooms?: number; - bedrooms?: number; - dwellings?: number; - }; - }; - newBuildings?: NewBuildingsOrStoreys; - newDwellings?: { - newBuild?: { - count: number; - }; - }; - newStoreys?: NewBuildingsOrStoreys1; - /** - * Proposed parking spaces - */ - parking?: { - buses?: { - count: number; - difference: number; - }; - carClub?: { - count: number; - difference: number; - }; - cars?: { - count: number; - difference: number; - }; - cycles?: { - count: number; - difference: number; - }; - disabled?: { - count: number; - difference: number; - }; - motorcycles?: { - count: number; - difference: number; - }; - offStreet?: { - residential: { - count: number; - difference: number; - }; - }; - other?: { - count: number; - difference: number; - }; - vans?: { - count: number; - difference: number; - }; - }; - projectType: ProjectType[]; - schemeName?: string; - structures?: { - permanent?: { - count: number; - }; - temporary?: { - count: number; - }; - total: number; - type: - | "bridge" - | "catchpit" - | "culvert" - | "pipe" - | "gully" - | "headwall" - | "manhole" - | "weir" - | "other"; - }; - units?: { - residential: { - new?: { - area: Area; - bedrooms: number; - compliance: BuildingRegulation[]; - development: DevelopmentType; - garden: boolean; - habitableRooms: number; - identicalUnits: number; - olderPersons: boolean; - provider: GLAHousingProvider; - sheltered: boolean; - tenure: GLATenureType; - type: GLAResidentialUnitType; - }[]; - rebuilt?: { - area: Area; - bedrooms: number; - compliance: BuildingRegulation[]; - development: DevelopmentType; - garden: boolean; - habitableRooms: number; - identicalUnits: number; - olderPersons: boolean; - provider: GLAHousingProvider; - sheltered: boolean; - tenure: GLATenureType; - type: GLAResidentialUnitType; - }[]; - removed?: { - area: Area; - bedrooms: number; - compliance: BuildingRegulation[]; - habitableRooms: number; - identicalUnits: number; - olderPersons: boolean; - provider: GLAHousingProvider; - sheltered: boolean; - tenure: GLATenureType; - type: GLAResidentialUnitType; - }[]; - retained?: { - bedrooms: number; - identicalUnits: number; - tenure: GLATenureType; - type: GLAResidentialUnitType; - }[]; - }; - }; - /** - * Urban Greening Factor Score - */ - urbanGreeningFactor?: { - score: number; - }; - /** - * Proposed land use, including storage of hazardous materials, if applicable to application.type - */ - use?: { - contamination?: "known" | "suspected" | "vulnerable"; - description?: string; - storage?: string[]; - }; - /** - * Proposed utilities, if applicable to application.type - */ - utilities?: { - /** - * Whether the proposal introduces a fire suppression system - */ - fire?: { - suppression: boolean; - }; - /** - * Type of proposed foul sewage disposal - */ - foulSewageDisposal?: "sewer" | "tank" | "plant" | "pit" | "other"; - /** - * Count of new gas connections - */ - gas?: { - connections: { - count: number; - }; - }; - /** - * Count of new full fibre Internet connections - */ - internet?: { - commercialUnits: { - count: number; - }; - residentialUnits: { - count: number; - }; - }; - /** - * Count of new water connections - */ - water?: { - connections: { - count: number; - }; - }; - }; - /** - * Waste management of demolition and construction materials - */ - waste?: { - reuseRecycle: { - percent: number; - }; - }; - /** - * Water management - */ - water?: { - /** - * Whether the proposal includes grey water re-use - */ - grey: boolean; - /** - * Whether the proposal includes rain water harvesting - */ - rain: boolean; - /** - * Internal residential water usage - */ - usage: { - litresPerPersonPerDay: number; - }; - }; - watercourse?: { - name: string; - type: "ditch" | "millStream" | "pond" | "river" | "streamOrBrook" | "other"; - }; -} -/** - * Location plan boundary proposed by the user, commonly referred to as the red line boundary - */ -export interface GeoBoundary4 { - area: Area; - site: GeoJSON; -} -/** - * Proposed materials, if applicable to projectType - */ -export interface Materials3 { - boundary?: string; - door?: string; - lighting?: string; - other?: string; - roof?: string; - surface?: string; - wall?: string; - window?: string; -} -/** - * Creating new buildings - */ -export interface NewBuildingsOrStoreys { - buildings?: { - height: { - metres: number; - }; - storeys: number; - }[]; - count: number; -} -/** - * Increasing the height of existing buildings - */ -export interface NewBuildingsOrStoreys1 { - buildings?: { - height: { - metres: number; - }; - storeys: number; - }[]; - count: number; -} -/** - * The role of the user who completed the application - */ -export interface User { - role: "applicant" | "agent" | "proxy"; -} -/** - * File uploaded and labeled by the user to support the application - */ -export interface File { - description?: string; - name: string; - type: FileType[]; -} -/** - * Base metadata associated with applications submitted via any provider - */ -export interface AnyProviderMetadata { - /** - * Unique identifier for this application - */ - id: string; - /** - * The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority - */ - organisation: string; - schema: URL; - source: "Any"; - submittedAt: DateTime; -} -/** - * Additional metadata associated with applications submitted via PlanX - */ -export interface PlanXMetadata { - /** - * Unique identifier for this application - */ - id: string; - /** - * The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority - */ - organisation: string; - schema: URL; - service: { - fee: FeeExplanation | FeeExplanationNotApplicable; - files: RequestedFiles; - flowId: UUID; - url: URL; - }; - source: "PlanX"; - submittedAt: DateTime; -} -/** - * An explanation, including policy references, of the fees associated with this application - */ -export interface FeeExplanation { - calculated: CalculateMetadata[]; - /** - * Breakdown of calculated fee by category of development, based on the scales defined in The Town and Country Planning Regulations https://www.legislation.gov.uk/uksi/2012/2920/schedule/1/part/2 - */ - category?: { - eight?: CalculateMetadata[]; - eleven?: { - one: CalculateMetadata[]; - }; - five?: CalculateMetadata[]; - four?: CalculateMetadata[]; - fourteen?: CalculateMetadata[]; - nine?: CalculateMetadata[]; - one?: CalculateMetadata[]; - sixAndSeven?: CalculateMetadata[]; - ten?: CalculateMetadata[]; - thirteen?: CalculateMetadata[]; - three?: CalculateMetadata[]; - twelve?: { - one?: CalculateMetadata[]; - two?: CalculateMetadata[]; - }; - two?: CalculateMetadata[]; - }; - payable: CalculateMetadata[]; -} -/** - * Metadata associated with PlanX Calculate components used to determine fees throughout a service - */ -export interface CalculateMetadata { - description?: string; - policyRefs?: { - text: string; - url?: URL; - }[]; -} -/** - * An indicator that an application fee does not apply to this application type or journey, therefore there is not an explanation of how it was calculated - */ -export interface FeeExplanationNotApplicable { - notApplicable: true; -} -/** - * File types requested by this service. Schema["files"] will be a subset of this list based on the user's journey through the service - */ -export interface RequestedFiles { - optional: FileType[]; - recommended: FileType[]; - required: FileType[]; -} -export interface QuestionAndResponses { - metadata?: QuestionMetaData; - question: string; - responses: Response[] | string; -} -export interface QuestionMetaData { - autoAnswered?: boolean; - policyRefs?: { - text: string; - url?: URL; - }[]; - sectionName?: string; -} -export interface Response { - metadata?: ResponseMetaData; - value: string; -} -export interface ResponseMetaData { - flags?: string[]; - options?: string[] | Response[]; -} diff --git a/src/export/index.ts b/src/export/index.ts index 12b4f8ad..3938346e 100644 --- a/src/export/index.ts +++ b/src/export/index.ts @@ -1,12 +1,12 @@ +import { Application as DigitalPlanningApplication } from "@opensystemslab/digital-planning-data-schemas/types/application"; import { GraphQLClient } from "graphql-request"; import { findPublishedFlowBySessionId, getFlowName } from "../requests/flow"; -import { getSessionById, getSessionPassport } from "../requests/session"; +import { getSessionById } from "../requests/session"; import type { BOPSFullPayload, QuestionAndResponses } from "../types"; import { computeBOPSParams } from "./bops"; import { computeCSVData } from "./csv"; import { generateDigitalPlanningPayload } from "./digitalPlanning"; -import { Application as DigitalPlanningApplication } from "./digitalPlanning/schema/types"; import { generateOneAppXML } from "./oneApp"; export type ExportParams = { diff --git a/src/utils/digitalPlanningSchema.ts b/src/utils/digitalPlanningSchema.ts index 96c62d79..f0def84b 100644 --- a/src/utils/digitalPlanningSchema.ts +++ b/src/utils/digitalPlanningSchema.ts @@ -1,4 +1,4 @@ -import jsonSchema from "../export/digitalPlanning/schema/schema.json"; +import { applicationSchema as jsonSchema } from "@opensystemslab/digital-planning-data-schemas/schemas"; /** * For a given 'anyOf' enum definition in the JSON Schema (with properties `value` & `description`), return its valid `values` diff --git a/tsconfig.build.json b/tsconfig.build.json index 328933ef..d507d092 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -5,8 +5,8 @@ "forceConsistentCasingInFileNames": true, "lib": ["DOM", "ESNext"], "target": "es2022", - "module": "commonjs", - "moduleResolution": "node", + "module": "esnext", + "moduleResolution": "bundler", "noImplicitAny": false, "resolveJsonModule": true, "skipLibCheck": true, diff --git a/tsconfig.check.json b/tsconfig.check.json index 25ff109f..212648ef 100644 --- a/tsconfig.check.json +++ b/tsconfig.check.json @@ -5,8 +5,8 @@ "forceConsistentCasingInFileNames": true, "lib": ["DOM", "ESNext"], "target": "es2022", - "module": "commonjs", - "moduleResolution": "node", + "moduleResolution": "bundler", + "module": "esnext", "noImplicitAny": false, "resolveJsonModule": true, "skipLibCheck": true, diff --git a/tsconfig.json b/tsconfig.json index dc3db328..b1c0c4d5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,8 +5,6 @@ "forceConsistentCasingInFileNames": true, "lib": ["DOM", "ESNext"], "target": "es2022", - "module": "commonjs", - "moduleResolution": "node", "noImplicitAny": false, "resolveJsonModule": true, "skipLibCheck": true, @@ -14,7 +12,9 @@ "strict": true, "rootDir": "./src", "declaration": true, - "outDir": "dist" + "outDir": "dist", + "moduleResolution": "bundler", + "module": "esnext" }, "include": ["./src/*", "./src/**/*"], } diff --git a/tsconfig.types.json b/tsconfig.types.json index 313b49e4..561d961f 100644 --- a/tsconfig.types.json +++ b/tsconfig.types.json @@ -5,8 +5,8 @@ "forceConsistentCasingInFileNames": true, "lib": ["DOM", "ESNext"], "target": "es2022", - "module": "commonjs", - "moduleResolution": "node", + "moduleResolution": "bundler", + "module": "esnext", "noImplicitAny": false, "resolveJsonModule": true, "skipLibCheck": true,