@pdtf/schemas 3.0.0-15 → 3.0.0-16

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.
@@ -1611,79 +1611,84 @@
1611
1611
  },
1612
1612
  "heating": {
1613
1613
  "piqRef": "A7.3",
1614
- "discriminator": {
1615
- "propertyName": "heatingType"
1616
- },
1617
- "oneOf": [
1618
- {
1619
- "properties": {
1620
- "heatingType": {
1621
- "enum": [
1622
- "None"
1623
- ]
1624
- }
1625
- }
1626
- },
1627
- {
1628
- "properties": {
1629
- "heatingType": {
1630
- "enum": [
1631
- "Central heating"
1632
- ]
1614
+ "properties": {
1615
+ "heatingSystem": {
1616
+ "piqRef": "A7.3.1",
1617
+ "discriminator": {
1618
+ "propertyName": "heatingType"
1619
+ },
1620
+ "oneOf": [
1621
+ {
1622
+ "properties": {
1623
+ "heatingType": {
1624
+ "enum": [
1625
+ "None"
1626
+ ]
1627
+ }
1628
+ }
1633
1629
  },
1634
- "centralHeatingDetails": {
1635
- "piqRef": "A7.3.1.1",
1630
+ {
1636
1631
  "properties": {
1637
- "centralHeatingInstalled": {
1638
- "piqRef": "A7.4.1"
1639
- },
1640
- "heatingLastServicedDate": {
1641
- "piqRef": "A7.5.1"
1632
+ "heatingType": {
1633
+ "enum": [
1634
+ "Central heating"
1635
+ ]
1642
1636
  },
1643
- "heatingInGoodWorkingOrder": {
1644
- "piqRef": "A7.6",
1645
- "discriminator": {
1646
- "propertyName": "yesNo"
1647
- },
1648
- "oneOf": [
1649
- {
1650
- "properties": {
1651
- "yesNo": {
1652
- "enum": [
1653
- "Yes"
1654
- ]
1655
- }
1656
- }
1637
+ "centralHeatingDetails": {
1638
+ "piqRef": "A7.3.1.1",
1639
+ "properties": {
1640
+ "centralHeatingInstalled": {
1641
+ "piqRef": "A7.4.1"
1657
1642
  },
1658
- {
1659
- "properties": {
1660
- "yesNo": {
1661
- "enum": [
1662
- "No"
1663
- ]
1643
+ "heatingLastServicedDate": {
1644
+ "piqRef": "A7.5.1"
1645
+ },
1646
+ "heatingInGoodWorkingOrder": {
1647
+ "piqRef": "A7.6",
1648
+ "discriminator": {
1649
+ "propertyName": "yesNo"
1650
+ },
1651
+ "oneOf": [
1652
+ {
1653
+ "properties": {
1654
+ "yesNo": {
1655
+ "enum": [
1656
+ "Yes"
1657
+ ]
1658
+ }
1659
+ }
1660
+ },
1661
+ {
1662
+ "properties": {
1663
+ "yesNo": {
1664
+ "enum": [
1665
+ "No"
1666
+ ]
1667
+ }
1668
+ }
1664
1669
  }
1665
- }
1670
+ ]
1666
1671
  }
1672
+ }
1673
+ }
1674
+ }
1675
+ },
1676
+ {
1677
+ "properties": {
1678
+ "heatingType": {
1679
+ "enum": [
1680
+ "Community heating system"
1667
1681
  ]
1668
1682
  }
1669
1683
  }
1670
1684
  }
1671
- }
1672
- },
1673
- {
1685
+ ],
1674
1686
  "properties": {
1675
1687
  "heatingType": {
1676
- "enum": [
1677
- "Community heating system"
1678
- ]
1688
+ "piqRef": "A7.3.1"
1679
1689
  }
1680
1690
  }
1681
1691
  }
1682
- ],
1683
- "properties": {
1684
- "heatingType": {
1685
- "piqRef": "A7.3.1"
1686
- }
1687
1692
  }
1688
1693
  },
1689
1694
  "insurance": {
@@ -1876,130 +1876,109 @@
1876
1876
  },
1877
1877
  "heating": {
1878
1878
  "rdsRef": "Buildings|BuildingSections/isUnheated=no|yes|true|false",
1879
- "discriminator": {
1880
- "propertyName": "heatingType"
1881
- },
1882
- "oneOf": [
1883
- {
1884
- "properties": {
1885
- "heatingType": {
1886
- "enum": [
1887
- "None"
1888
- ]
1889
- }
1890
- }
1891
- },
1892
- {
1893
- "properties": {
1894
- "heatingType": {
1895
- "enum": [
1896
- "Central heating"
1897
- ]
1898
- },
1899
- "centralHeatingDetails": {
1879
+ "properties": {
1880
+ "heatingSystem": {
1881
+ "oneOf": [
1882
+ null,
1883
+ {
1900
1884
  "properties": {
1901
- "centralHeatingFuel": {
1902
- "rdsRef": "Buildings|BuildingSections/Heating/isGas=no|yes|true|false",
1903
- "discriminator": {
1904
- "propertyName": "centralHeatingFuelType"
1905
- },
1906
- "oneOf": [
1907
- {
1908
- "properties": {
1909
- "centralHeatingFuelType": {
1910
- "enum": [
1911
- "Mains gas",
1912
- "Electricity",
1913
- "Oil",
1914
- "LPG",
1915
- "Biomass"
1916
- ]
1885
+ "centralHeatingDetails": {
1886
+ "properties": {
1887
+ "centralHeatingFuel": {
1888
+ "rdsRef": "Buildings|BuildingSections/Heating/isGas=no|yes|true|false",
1889
+ "discriminator": {
1890
+ "propertyName": "centralHeatingFuelType"
1891
+ },
1892
+ "oneOf": [
1893
+ {
1894
+ "properties": {
1895
+ "centralHeatingFuelType": {
1896
+ "enum": [
1897
+ "Mains gas",
1898
+ "Electricity",
1899
+ "Oil",
1900
+ "LPG",
1901
+ "Biomass"
1902
+ ]
1903
+ }
1904
+ }
1905
+ },
1906
+ {
1907
+ "properties": {
1908
+ "centralHeatingFuelType": {
1909
+ "enum": [
1910
+ "Other"
1911
+ ]
1912
+ }
1913
+ }
1917
1914
  }
1918
- }
1915
+ ]
1919
1916
  },
1920
- {
1921
- "properties": {
1922
- "centralHeatingFuelType": {
1923
- "enum": [
1924
- "Other"
1925
- ]
1926
- }
1927
- }
1928
- }
1929
- ]
1930
- },
1931
- "centralHeatingInstalled": {
1932
- "rdsRef": "Objects/Installed"
1933
- },
1934
- "boilerInstallationCertificate": {
1935
- "rdsRef": "Objects/Installation,Objects/Certificates",
1936
- "discriminator": {
1937
- "propertyName": "yesNo"
1938
- },
1939
- "oneOf": [
1940
- {
1941
- "properties": {
1942
- "yesNo": {
1943
- "enum": [
1944
- "No"
1945
- ]
1946
- }
1947
- }
1917
+ "centralHeatingInstalled": {
1918
+ "rdsRef": "Objects/Installed"
1948
1919
  },
1949
- {
1950
- "properties": {
1951
- "yesNo": {
1952
- "enum": [
1953
- "Yes"
1954
- ]
1955
- }
1956
- }
1957
- }
1958
- ]
1959
- },
1960
- "heatingLastServicedDate": {
1961
- "rdsRef": "Objects/Maintenance"
1962
- },
1963
- "heatingInGoodWorkingOrder": {
1964
- "rdsRef": "Objects/Condition=?",
1965
- "discriminator": {
1966
- "propertyName": "yesNo"
1967
- },
1968
- "oneOf": [
1969
- {
1970
- "properties": {
1971
- "yesNo": {
1972
- "enum": [
1973
- "Yes"
1974
- ]
1920
+ "boilerInstallationCertificate": {
1921
+ "rdsRef": "Objects/Installation,Objects/Certificates",
1922
+ "discriminator": {
1923
+ "propertyName": "yesNo"
1924
+ },
1925
+ "oneOf": [
1926
+ {
1927
+ "properties": {
1928
+ "yesNo": {
1929
+ "enum": [
1930
+ "No"
1931
+ ]
1932
+ }
1933
+ }
1934
+ },
1935
+ {
1936
+ "properties": {
1937
+ "yesNo": {
1938
+ "enum": [
1939
+ "Yes"
1940
+ ]
1941
+ }
1942
+ }
1975
1943
  }
1976
- }
1944
+ ]
1977
1945
  },
1978
- {
1979
- "properties": {
1980
- "yesNo": {
1981
- "enum": [
1982
- "No"
1983
- ]
1946
+ "heatingLastServicedDate": {
1947
+ "rdsRef": "Objects/Maintenance"
1948
+ },
1949
+ "heatingInGoodWorkingOrder": {
1950
+ "rdsRef": "Objects/Condition=?",
1951
+ "discriminator": {
1952
+ "propertyName": "yesNo"
1953
+ },
1954
+ "oneOf": [
1955
+ {
1956
+ "properties": {
1957
+ "yesNo": {
1958
+ "enum": [
1959
+ "Yes"
1960
+ ]
1961
+ }
1962
+ }
1963
+ },
1964
+ {
1965
+ "properties": {
1966
+ "yesNo": {
1967
+ "enum": [
1968
+ "No"
1969
+ ]
1970
+ }
1971
+ }
1984
1972
  }
1985
- }
1973
+ ]
1986
1974
  }
1987
- ]
1975
+ }
1988
1976
  }
1989
1977
  }
1990
1978
  }
1991
- }
1992
- },
1993
- {
1994
- "properties": {
1995
- "heatingType": {
1996
- "enum": [
1997
- "Community heating system"
1998
- ]
1999
- }
2000
- }
1979
+ ]
2001
1980
  }
2002
- ]
1981
+ }
2003
1982
  },
2004
1983
  "insurance": {
2005
1984
  "properties": {