@pdtf/schemas 3.0.0-15 → 3.0.0-17

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.
@@ -1302,40 +1302,80 @@
1302
1302
  },
1303
1303
  "connectedUtilities": {
1304
1304
  "properties": {
1305
- "mainsElectricity": {
1305
+ "electricity": {
1306
1306
  "rdsRef": "Services/Electricity",
1307
- "discriminator": {
1308
- "propertyName": "yesNo"
1309
- },
1310
- "oneOf": [
1311
- {
1312
- "properties": {
1313
- "yesNo": {
1314
- "enum": [
1315
- "No"
1316
- ]
1317
- }
1318
- }
1319
- },
1320
- {
1321
- "properties": {
1322
- "yesNo": {
1323
- "enum": [
1324
- "Yes"
1325
- ]
1307
+ "properties": {
1308
+ "mainsElectricity": {
1309
+ "rdsRef": "Services/Electricity",
1310
+ "discriminator": {
1311
+ "propertyName": "yesNo"
1312
+ },
1313
+ "oneOf": [
1314
+ {
1315
+ "properties": {
1316
+ "yesNo": {
1317
+ "enum": [
1318
+ "No"
1319
+ ]
1320
+ }
1321
+ }
1322
+ },
1323
+ {
1324
+ "properties": {
1325
+ "yesNo": {
1326
+ "enum": [
1327
+ "Yes"
1328
+ ]
1329
+ }
1330
+ }
1331
+ },
1332
+ {
1333
+ "properties": {
1334
+ "yesNo": {
1335
+ "enum": [
1336
+ "To be connected"
1337
+ ]
1338
+ }
1339
+ }
1326
1340
  }
1327
- }
1341
+ ]
1328
1342
  },
1329
- {
1330
- "properties": {
1331
- "yesNo": {
1332
- "enum": [
1333
- "To be connected"
1334
- ]
1343
+ "otherSources": {
1344
+ "rdsRef": "Services/Other",
1345
+ "discriminator": {
1346
+ "propertyName": "yesNo"
1347
+ },
1348
+ "oneOf": [
1349
+ {
1350
+ "properties": {
1351
+ "yesNo": {
1352
+ "enum": [
1353
+ "No"
1354
+ ]
1355
+ }
1356
+ }
1357
+ },
1358
+ {
1359
+ "properties": {
1360
+ "yesNo": {
1361
+ "enum": [
1362
+ "Yes"
1363
+ ]
1364
+ }
1365
+ }
1366
+ },
1367
+ {
1368
+ "properties": {
1369
+ "yesNo": {
1370
+ "enum": [
1371
+ "To be connected"
1372
+ ]
1373
+ }
1374
+ }
1335
1375
  }
1336
- }
1376
+ ]
1337
1377
  }
1338
- ]
1378
+ }
1339
1379
  },
1340
1380
  "mainsGas": {
1341
1381
  "rdsRef": "Services/Gas",
@@ -1547,41 +1587,6 @@
1547
1587
  }
1548
1588
  ]
1549
1589
  },
1550
- "otherServices": {
1551
- "rdsRef": "Services/Other",
1552
- "discriminator": {
1553
- "propertyName": "yesNo"
1554
- },
1555
- "oneOf": [
1556
- {
1557
- "properties": {
1558
- "yesNo": {
1559
- "enum": [
1560
- "No"
1561
- ]
1562
- }
1563
- }
1564
- },
1565
- {
1566
- "properties": {
1567
- "yesNo": {
1568
- "enum": [
1569
- "Yes"
1570
- ]
1571
- }
1572
- }
1573
- },
1574
- {
1575
- "properties": {
1576
- "yesNo": {
1577
- "enum": [
1578
- "To be connected"
1579
- ]
1580
- }
1581
- }
1582
- }
1583
- ]
1584
- },
1585
1590
  "maintenanceAgreements": {
1586
1591
  "rdsRef": "Services/Certificates,Services/OtherServices/Certificates",
1587
1592
  "discriminator": {
@@ -1876,130 +1881,109 @@
1876
1881
  },
1877
1882
  "heating": {
1878
1883
  "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": {
1884
+ "properties": {
1885
+ "heatingSystem": {
1886
+ "oneOf": [
1887
+ null,
1888
+ {
1900
1889
  "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
- ]
1890
+ "centralHeatingDetails": {
1891
+ "properties": {
1892
+ "centralHeatingFuel": {
1893
+ "rdsRef": "Buildings|BuildingSections/Heating/isGas=no|yes|true|false",
1894
+ "discriminator": {
1895
+ "propertyName": "centralHeatingFuelType"
1896
+ },
1897
+ "oneOf": [
1898
+ {
1899
+ "properties": {
1900
+ "centralHeatingFuelType": {
1901
+ "enum": [
1902
+ "Mains gas",
1903
+ "Electricity",
1904
+ "Oil",
1905
+ "LPG",
1906
+ "Biomass"
1907
+ ]
1908
+ }
1909
+ }
1910
+ },
1911
+ {
1912
+ "properties": {
1913
+ "centralHeatingFuelType": {
1914
+ "enum": [
1915
+ "Other"
1916
+ ]
1917
+ }
1918
+ }
1917
1919
  }
1918
- }
1920
+ ]
1919
1921
  },
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
- }
1922
+ "centralHeatingInstalled": {
1923
+ "rdsRef": "Objects/Installed"
1948
1924
  },
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
- ]
1925
+ "boilerInstallationCertificate": {
1926
+ "rdsRef": "Objects/Installation,Objects/Certificates",
1927
+ "discriminator": {
1928
+ "propertyName": "yesNo"
1929
+ },
1930
+ "oneOf": [
1931
+ {
1932
+ "properties": {
1933
+ "yesNo": {
1934
+ "enum": [
1935
+ "No"
1936
+ ]
1937
+ }
1938
+ }
1939
+ },
1940
+ {
1941
+ "properties": {
1942
+ "yesNo": {
1943
+ "enum": [
1944
+ "Yes"
1945
+ ]
1946
+ }
1947
+ }
1975
1948
  }
1976
- }
1949
+ ]
1977
1950
  },
1978
- {
1979
- "properties": {
1980
- "yesNo": {
1981
- "enum": [
1982
- "No"
1983
- ]
1951
+ "heatingLastServicedDate": {
1952
+ "rdsRef": "Objects/Maintenance"
1953
+ },
1954
+ "heatingInGoodWorkingOrder": {
1955
+ "rdsRef": "Objects/Condition=?",
1956
+ "discriminator": {
1957
+ "propertyName": "yesNo"
1958
+ },
1959
+ "oneOf": [
1960
+ {
1961
+ "properties": {
1962
+ "yesNo": {
1963
+ "enum": [
1964
+ "Yes"
1965
+ ]
1966
+ }
1967
+ }
1968
+ },
1969
+ {
1970
+ "properties": {
1971
+ "yesNo": {
1972
+ "enum": [
1973
+ "No"
1974
+ ]
1975
+ }
1976
+ }
1984
1977
  }
1985
- }
1978
+ ]
1986
1979
  }
1987
- ]
1980
+ }
1988
1981
  }
1989
1982
  }
1990
1983
  }
1991
- }
1992
- },
1993
- {
1994
- "properties": {
1995
- "heatingType": {
1996
- "enum": [
1997
- "Community heating system"
1998
- ]
1999
- }
2000
- }
1984
+ ]
2001
1985
  }
2002
- ]
1986
+ }
2003
1987
  },
2004
1988
  "insurance": {
2005
1989
  "properties": {