@pdtf/schemas 2.0.0-16 → 2.0.0-18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1713,346 +1713,354 @@
1713
1713
  },
1714
1714
  "waterAndDrainage": {
1715
1715
  "properties": {
1716
- "mainsWater": {
1717
- "rdsRef": "Services/PotableWaterSupply",
1718
- "title": "Mains water",
1719
- "discriminator": {
1720
- "propertyName": "yesNo"
1721
- },
1722
- "oneOf": [
1723
- {
1724
- "properties": {
1725
- "yesNo": {
1726
- "enum": [
1727
- "No"
1728
- ]
1729
- }
1730
- }
1731
- },
1732
- {
1733
- "properties": {
1734
- "yesNo": {
1735
- "enum": [
1736
- "Yes"
1737
- ]
1738
- }
1739
- }
1740
- },
1741
- {
1742
- "properties": {
1743
- "yesNo": {
1744
- "enum": [
1745
- "To be connected"
1746
- ]
1747
- }
1748
- }
1749
- }
1750
- ]
1751
- },
1752
- "mainsSurfaceWaterDrainage": {
1753
- "rdsRef": "Services/StormWaterDrainage",
1754
- "title": "Mains surface water drainage",
1755
- "discriminator": {
1756
- "propertyName": "yesNo"
1757
- },
1758
- "oneOf": [
1759
- {
1760
- "properties": {
1761
- "yesNo": {
1762
- "enum": [
1763
- "No"
1764
- ]
1765
- }
1766
- }
1767
- },
1768
- {
1769
- "properties": {
1770
- "yesNo": {
1771
- "enum": [
1772
- "Yes"
1773
- ]
1774
- }
1775
- }
1776
- },
1777
- {
1778
- "properties": {
1779
- "yesNo": {
1780
- "enum": [
1781
- "To be connected"
1782
- ]
1716
+ "water": {
1717
+ "properties": {
1718
+ "mainsWater": {
1719
+ "rdsRef": "Services/PotableWaterSupply",
1720
+ "title": "Mains water",
1721
+ "discriminator": {
1722
+ "propertyName": "yesNo"
1723
+ },
1724
+ "oneOf": [
1725
+ {
1726
+ "properties": {
1727
+ "yesNo": {
1728
+ "enum": [
1729
+ "No"
1730
+ ]
1731
+ }
1732
+ }
1733
+ },
1734
+ {
1735
+ "properties": {
1736
+ "yesNo": {
1737
+ "enum": [
1738
+ "Yes"
1739
+ ]
1740
+ }
1741
+ }
1742
+ },
1743
+ {
1744
+ "properties": {
1745
+ "yesNo": {
1746
+ "enum": [
1747
+ "To be connected"
1748
+ ]
1749
+ }
1750
+ }
1783
1751
  }
1784
- }
1752
+ ]
1785
1753
  }
1786
- ]
1754
+ }
1787
1755
  },
1788
- "mainsFoulDrainage": {
1789
- "rdsRef": "Services/WasteWaterSewarageDisposal",
1790
- "title": "Mains foul drainage",
1791
- "discriminator": {
1792
- "propertyName": "yesNo"
1793
- },
1794
- "oneOf": [
1795
- {
1796
- "properties": {
1797
- "yesNo": {
1798
- "enum": [
1799
- "Yes"
1800
- ]
1801
- }
1802
- }
1803
- },
1804
- {
1805
- "properties": {
1806
- "yesNo": {
1807
- "enum": [
1808
- "To be connected"
1809
- ]
1810
- }
1811
- }
1812
- },
1813
- {
1814
- "properties": {
1815
- "yesNo": {
1816
- "enum": [
1817
- "No"
1818
- ]
1819
- },
1820
- "sustainableDrainageSystem": {
1821
- "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1822
- "title": "Sustainable Drainage System",
1823
- "discriminator": {
1824
- "propertyName": "yesNo"
1825
- },
1826
- "oneOf": [
1827
- {
1828
- "properties": {
1829
- "yesNo": {
1830
- "enum": [
1831
- "No"
1832
- ]
1833
- }
1834
- }
1835
- },
1836
- {
1837
- "properties": {
1838
- "yesNo": {
1839
- "enum": [
1840
- "Yes"
1841
- ]
1842
- }
1843
- }
1844
- },
1845
- {
1846
- "properties": {
1847
- "yesNo": {
1848
- "enum": [
1849
- "To be connected"
1850
- ]
1851
- }
1852
- }
1756
+ "drainage": {
1757
+ "properties": {
1758
+ "mainsSurfaceWaterDrainage": {
1759
+ "rdsRef": "Services/StormWaterDrainage",
1760
+ "title": "Mains surface water drainage",
1761
+ "discriminator": {
1762
+ "propertyName": "yesNo"
1763
+ },
1764
+ "oneOf": [
1765
+ {
1766
+ "properties": {
1767
+ "yesNo": {
1768
+ "enum": [
1769
+ "No"
1770
+ ]
1853
1771
  }
1854
- ]
1772
+ }
1855
1773
  },
1856
- "septicTank": {
1857
- "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1858
- "title": "Septic tank",
1859
- "discriminator": {
1860
- "propertyName": "yesNo"
1861
- },
1862
- "oneOf": [
1863
- {
1864
- "properties": {
1865
- "yesNo": {
1866
- "enum": [
1867
- "No"
1868
- ]
1869
- }
1870
- }
1871
- },
1872
- {
1873
- "properties": {
1874
- "yesNo": {
1875
- "enum": [
1876
- "Yes"
1877
- ]
1878
- }
1879
- }
1774
+ {
1775
+ "properties": {
1776
+ "yesNo": {
1777
+ "enum": [
1778
+ "Yes"
1779
+ ]
1880
1780
  }
1881
- ]
1781
+ }
1882
1782
  },
1883
- "cesspit": {
1884
- "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1885
- "title": "Cesspit",
1886
- "discriminator": {
1887
- "propertyName": "yesNo"
1888
- },
1889
- "oneOf": [
1890
- {
1891
- "properties": {
1892
- "yesNo": {
1893
- "enum": [
1894
- "No"
1895
- ]
1896
- }
1897
- }
1898
- },
1899
- {
1900
- "properties": {
1901
- "yesNo": {
1902
- "enum": [
1903
- "Yes"
1904
- ]
1905
- }
1906
- }
1783
+ {
1784
+ "properties": {
1785
+ "yesNo": {
1786
+ "enum": [
1787
+ "To be connected"
1788
+ ]
1907
1789
  }
1908
- ]
1790
+ }
1791
+ }
1792
+ ]
1793
+ },
1794
+ "mainsFoulDrainage": {
1795
+ "rdsRef": "Services/WasteWaterSewarageDisposal",
1796
+ "title": "Mains foul drainage",
1797
+ "discriminator": {
1798
+ "propertyName": "yesNo"
1799
+ },
1800
+ "oneOf": [
1801
+ {
1802
+ "properties": {
1803
+ "yesNo": {
1804
+ "enum": [
1805
+ "Yes"
1806
+ ]
1807
+ }
1808
+ }
1909
1809
  },
1910
- "sewerageTreatmentPlant": {
1911
- "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1912
- "title": "Sewerage treatment plant",
1913
- "discriminator": {
1914
- "propertyName": "yesNo"
1915
- },
1916
- "oneOf": [
1917
- {
1918
- "properties": {
1919
- "yesNo": {
1920
- "enum": [
1921
- "No"
1922
- ]
1923
- }
1924
- }
1925
- },
1926
- {
1927
- "properties": {
1928
- "yesNo": {
1929
- "enum": [
1930
- "Yes"
1931
- ]
1932
- }
1933
- }
1810
+ {
1811
+ "properties": {
1812
+ "yesNo": {
1813
+ "enum": [
1814
+ "To be connected"
1815
+ ]
1934
1816
  }
1935
- ]
1817
+ }
1936
1818
  },
1937
- "otherConnectedProperties": {
1938
- "rdsRef": "Services/OtherServices/SharedWith",
1939
- "title": "Do other properties connect to the septic tank, cesspit or sewerage treatment plant?",
1940
- "discriminator": {
1941
- "propertyName": "yesNo"
1942
- },
1943
- "oneOf": [
1944
- {
1945
- "properties": {
1946
- "yesNo": {
1947
- "enum": [
1948
- "No"
1949
- ]
1819
+ {
1820
+ "properties": {
1821
+ "yesNo": {
1822
+ "enum": [
1823
+ "No"
1824
+ ]
1825
+ },
1826
+ "sustainableDrainageSystem": {
1827
+ "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1828
+ "title": "Sustainable Drainage System",
1829
+ "discriminator": {
1830
+ "propertyName": "yesNo"
1831
+ },
1832
+ "oneOf": [
1833
+ {
1834
+ "properties": {
1835
+ "yesNo": {
1836
+ "enum": [
1837
+ "No"
1838
+ ]
1839
+ }
1840
+ }
1841
+ },
1842
+ {
1843
+ "properties": {
1844
+ "yesNo": {
1845
+ "enum": [
1846
+ "Yes"
1847
+ ]
1848
+ }
1849
+ }
1850
+ },
1851
+ {
1852
+ "properties": {
1853
+ "yesNo": {
1854
+ "enum": [
1855
+ "To be connected"
1856
+ ]
1857
+ }
1858
+ }
1950
1859
  }
1951
- }
1860
+ ]
1952
1861
  },
1953
- {
1954
- "properties": {
1955
- "yesNo": {
1956
- "enum": [
1957
- "Yes"
1958
- ]
1862
+ "septicTank": {
1863
+ "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1864
+ "title": "Septic tank",
1865
+ "discriminator": {
1866
+ "propertyName": "yesNo"
1867
+ },
1868
+ "oneOf": [
1869
+ {
1870
+ "properties": {
1871
+ "yesNo": {
1872
+ "enum": [
1873
+ "No"
1874
+ ]
1875
+ }
1876
+ }
1877
+ },
1878
+ {
1879
+ "properties": {
1880
+ "yesNo": {
1881
+ "enum": [
1882
+ "Yes"
1883
+ ]
1884
+ }
1885
+ }
1959
1886
  }
1960
- }
1961
- }
1962
- ]
1963
- },
1964
- "plantOnOtherLand": {
1965
- "rdsRef": "Services/OtherServices/Located,Services/OtherServices/{access=?}",
1966
- "title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else’s land?",
1967
- "discriminator": {
1968
- "propertyName": "yesNo"
1969
- },
1970
- "oneOf": [
1971
- {
1972
- "properties": {
1973
- "yesNo": {
1974
- "enum": [
1975
- "No"
1976
- ]
1887
+ ]
1888
+ },
1889
+ "cesspit": {
1890
+ "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1891
+ "title": "Cesspit",
1892
+ "discriminator": {
1893
+ "propertyName": "yesNo"
1894
+ },
1895
+ "oneOf": [
1896
+ {
1897
+ "properties": {
1898
+ "yesNo": {
1899
+ "enum": [
1900
+ "No"
1901
+ ]
1902
+ }
1903
+ }
1904
+ },
1905
+ {
1906
+ "properties": {
1907
+ "yesNo": {
1908
+ "enum": [
1909
+ "Yes"
1910
+ ]
1911
+ }
1912
+ }
1977
1913
  }
1978
- }
1914
+ ]
1979
1915
  },
1980
- {
1981
- "properties": {
1982
- "yesNo": {
1983
- "enum": [
1984
- "Yes"
1985
- ]
1916
+ "sewerageTreatmentPlant": {
1917
+ "rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
1918
+ "title": "Sewerage treatment plant",
1919
+ "discriminator": {
1920
+ "propertyName": "yesNo"
1921
+ },
1922
+ "oneOf": [
1923
+ {
1924
+ "properties": {
1925
+ "yesNo": {
1926
+ "enum": [
1927
+ "No"
1928
+ ]
1929
+ }
1930
+ }
1931
+ },
1932
+ {
1933
+ "properties": {
1934
+ "yesNo": {
1935
+ "enum": [
1936
+ "Yes"
1937
+ ]
1938
+ }
1939
+ }
1986
1940
  }
1987
- }
1988
- }
1989
- ]
1990
- },
1991
- "plantRegistered": {
1992
- "rdsRef": "Services/OtherServices/Certificates",
1993
- "title": "Is the septic tank, cesspit or sewerage treatment plant registered with the Environment Agency or exempted?",
1994
- "discriminator": {
1995
- "propertyName": "yesNo"
1996
- },
1997
- "oneOf": [
1998
- {
1999
- "properties": {
2000
- "yesNo": {
2001
- "enum": [
2002
- "No"
2003
- ]
1941
+ ]
1942
+ },
1943
+ "otherConnectedProperties": {
1944
+ "rdsRef": "Services/OtherServices/SharedWith",
1945
+ "title": "Do other properties connect to the septic tank, cesspit or sewerage treatment plant?",
1946
+ "discriminator": {
1947
+ "propertyName": "yesNo"
1948
+ },
1949
+ "oneOf": [
1950
+ {
1951
+ "properties": {
1952
+ "yesNo": {
1953
+ "enum": [
1954
+ "No"
1955
+ ]
1956
+ }
1957
+ }
1958
+ },
1959
+ {
1960
+ "properties": {
1961
+ "yesNo": {
1962
+ "enum": [
1963
+ "Yes"
1964
+ ]
1965
+ }
1966
+ }
2004
1967
  }
2005
- }
1968
+ ]
2006
1969
  },
2007
- {
2008
- "properties": {
2009
- "yesNo": {
2010
- "enum": [
2011
- "Yes"
2012
- ]
1970
+ "plantOnOtherLand": {
1971
+ "rdsRef": "Services/OtherServices/Located,Services/OtherServices/{access=?}",
1972
+ "title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else’s land?",
1973
+ "discriminator": {
1974
+ "propertyName": "yesNo"
1975
+ },
1976
+ "oneOf": [
1977
+ {
1978
+ "properties": {
1979
+ "yesNo": {
1980
+ "enum": [
1981
+ "No"
1982
+ ]
1983
+ }
1984
+ }
1985
+ },
1986
+ {
1987
+ "properties": {
1988
+ "yesNo": {
1989
+ "enum": [
1990
+ "Yes"
1991
+ ]
1992
+ }
1993
+ }
2013
1994
  }
2014
- }
2015
- }
2016
- ]
2017
- },
2018
- "plantDrainsIntoWaterway": {
2019
- "rdsRef": "Services/OtherServices/{isExternallyConnected='yes?true'}",
2020
- "title": "Does the septic tank, cesspit or sewerage treatment plant drain into a waterway (lake, river, stream etc)",
2021
- "discriminator": {
2022
- "propertyName": "yesNo"
2023
- },
2024
- "oneOf": [
2025
- {
2026
- "properties": {
2027
- "yesNo": {
2028
- "enum": [
2029
- "No, the effluent is discharged through a soakaway system."
2030
- ]
1995
+ ]
1996
+ },
1997
+ "plantRegistered": {
1998
+ "rdsRef": "Services/OtherServices/Certificates",
1999
+ "title": "Is the septic tank, cesspit or sewerage treatment plant registered with the Environment Agency or exempted?",
2000
+ "discriminator": {
2001
+ "propertyName": "yesNo"
2002
+ },
2003
+ "oneOf": [
2004
+ {
2005
+ "properties": {
2006
+ "yesNo": {
2007
+ "enum": [
2008
+ "No"
2009
+ ]
2010
+ }
2011
+ }
2012
+ },
2013
+ {
2014
+ "properties": {
2015
+ "yesNo": {
2016
+ "enum": [
2017
+ "Yes"
2018
+ ]
2019
+ }
2020
+ }
2031
2021
  }
2032
- }
2022
+ ]
2033
2023
  },
2034
- {
2035
- "properties": {
2036
- "yesNo": {
2037
- "enum": [
2038
- "Yes"
2039
- ]
2024
+ "plantDrainsIntoWaterway": {
2025
+ "rdsRef": "Services/OtherServices/{isExternallyConnected='yes?true'}",
2026
+ "title": "Does the septic tank, cesspit or sewerage treatment plant drain into a waterway (lake, river, stream etc)",
2027
+ "discriminator": {
2028
+ "propertyName": "yesNo"
2029
+ },
2030
+ "oneOf": [
2031
+ {
2032
+ "properties": {
2033
+ "yesNo": {
2034
+ "enum": [
2035
+ "No, the effluent is discharged through a soakaway system."
2036
+ ]
2037
+ }
2038
+ }
2040
2039
  },
2041
- "dischargeCompliesWithGBR": {
2042
- "rdsRef": "Services/OtherServices/ExternalConnections/Flags",
2043
- "title": "Does it comply with the General Binding Rules for discharge into a waterway?",
2044
- "enum": [
2045
- "Yes",
2046
- "No, it does not comply with the rules for discharge into a waterway."
2047
- ]
2040
+ {
2041
+ "properties": {
2042
+ "yesNo": {
2043
+ "enum": [
2044
+ "Yes"
2045
+ ]
2046
+ },
2047
+ "dischargeCompliesWithGBR": {
2048
+ "rdsRef": "Services/OtherServices/ExternalConnections/Flags",
2049
+ "title": "Does it comply with the General Binding Rules for discharge into a waterway?",
2050
+ "enum": [
2051
+ "Yes",
2052
+ "No, it does not comply with the rules for discharge into a waterway."
2053
+ ]
2054
+ }
2055
+ }
2048
2056
  }
2049
- }
2057
+ ]
2050
2058
  }
2051
- ]
2059
+ }
2052
2060
  }
2053
- }
2061
+ ]
2054
2062
  }
2055
- ]
2063
+ }
2056
2064
  },
2057
2065
  "maintenanceAgreements": {
2058
2066
  "rdsRef": "Services/Certificates,Services/OtherServices/Certificates",