@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.
@@ -1434,62 +1434,70 @@
1434
1434
  "connectedUtilities": {
1435
1435
  "ta6Ref": "13",
1436
1436
  "required": [
1437
- "mainsElectricity",
1437
+ "electricity",
1438
1438
  "mainsGas",
1439
1439
  "telephone",
1440
1440
  "cableSatelliteTV"
1441
1441
  ],
1442
1442
  "properties": {
1443
- "mainsElectricity": {
1443
+ "electricity": {
1444
1444
  "ta6Ref": "13.1",
1445
- "discriminator": {
1446
- "propertyName": "yesNo"
1447
- },
1448
- "oneOf": [
1449
- {
1450
- "properties": {
1451
- "yesNo": {
1452
- "enum": [
1453
- "No"
1454
- ]
1455
- }
1456
- }
1457
- },
1458
- {
1459
- "properties": {
1460
- "yesNo": {
1461
- "enum": [
1462
- "Yes"
1445
+ "required": [
1446
+ "mainsElectricity"
1447
+ ],
1448
+ "properties": {
1449
+ "mainsElectricity": {
1450
+ "ta6Ref": "13.1",
1451
+ "discriminator": {
1452
+ "propertyName": "yesNo"
1453
+ },
1454
+ "oneOf": [
1455
+ {
1456
+ "properties": {
1457
+ "yesNo": {
1458
+ "enum": [
1459
+ "No"
1460
+ ]
1461
+ }
1462
+ }
1463
+ },
1464
+ {
1465
+ "properties": {
1466
+ "yesNo": {
1467
+ "enum": [
1468
+ "Yes"
1469
+ ]
1470
+ },
1471
+ "supplier": {
1472
+ "ta6Ref": "13.1.2"
1473
+ }
1474
+ },
1475
+ "required": [
1476
+ "supplier"
1463
1477
  ]
1464
1478
  },
1465
- "supplier": {
1466
- "ta6Ref": "13.1.2"
1479
+ {
1480
+ "properties": {
1481
+ "yesNo": {
1482
+ "enum": [
1483
+ "To be connected"
1484
+ ]
1485
+ },
1486
+ "supplier": {
1487
+ "ta6Ref": "13.1.2"
1488
+ }
1489
+ }
1467
1490
  }
1468
- },
1491
+ ],
1469
1492
  "required": [
1470
- "supplier"
1471
- ]
1472
- },
1473
- {
1493
+ "yesNo"
1494
+ ],
1474
1495
  "properties": {
1475
1496
  "yesNo": {
1476
- "enum": [
1477
- "To be connected"
1478
- ]
1479
- },
1480
- "supplier": {
1481
- "ta6Ref": "13.1.2"
1497
+ "ta6Ref": "13.1.1"
1482
1498
  }
1483
1499
  }
1484
1500
  }
1485
- ],
1486
- "required": [
1487
- "yesNo"
1488
- ],
1489
- "properties": {
1490
- "yesNo": {
1491
- "ta6Ref": "13.1.1"
1492
- }
1493
1501
  }
1494
1502
  },
1495
1503
  "mainsGas": {
@@ -1992,188 +2000,196 @@
1992
2000
  },
1993
2001
  "heating": {
1994
2002
  "ta6Ref": "12.3",
1995
- "discriminator": {
1996
- "propertyName": "heatingType"
1997
- },
1998
- "oneOf": [
1999
- {
2000
- "properties": {
2001
- "heatingType": {
2002
- "enum": [
2003
- "None"
2004
- ]
2005
- }
2006
- }
2007
- },
2008
- {
2009
- "properties": {
2010
- "heatingType": {
2011
- "enum": [
2012
- "Central heating"
2013
- ]
2003
+ "required": [
2004
+ "heatingSystem"
2005
+ ],
2006
+ "properties": {
2007
+ "heatingSystem": {
2008
+ "ta6Ref": "12.3.1",
2009
+ "discriminator": {
2010
+ "propertyName": "heatingType"
2011
+ },
2012
+ "oneOf": [
2013
+ {
2014
+ "properties": {
2015
+ "heatingType": {
2016
+ "enum": [
2017
+ "None"
2018
+ ]
2019
+ }
2020
+ }
2014
2021
  },
2015
- "centralHeatingDetails": {
2016
- "ta6Ref": "12.3.2",
2017
- "required": [
2018
- "centralHeatingFuel",
2019
- "centralHeatingInstalled",
2020
- "boilerInstallationCertificate",
2021
- "heatingLastServicedDate",
2022
- "heatingLastServicedReport",
2023
- "heatingInGoodWorkingOrder"
2024
- ],
2022
+ {
2025
2023
  "properties": {
2026
- "centralHeatingFuel": {
2027
- "ta6Ref": "12.3.3",
2028
- "discriminator": {
2029
- "propertyName": "centralHeatingFuelType"
2030
- },
2031
- "oneOf": [
2032
- {
2024
+ "heatingType": {
2025
+ "enum": [
2026
+ "Central heating"
2027
+ ]
2028
+ },
2029
+ "centralHeatingDetails": {
2030
+ "ta6Ref": "12.3.2",
2031
+ "required": [
2032
+ "centralHeatingFuel",
2033
+ "centralHeatingInstalled",
2034
+ "boilerInstallationCertificate",
2035
+ "heatingLastServicedDate",
2036
+ "heatingLastServicedReport",
2037
+ "heatingInGoodWorkingOrder"
2038
+ ],
2039
+ "properties": {
2040
+ "centralHeatingFuel": {
2041
+ "ta6Ref": "12.3.3",
2042
+ "discriminator": {
2043
+ "propertyName": "centralHeatingFuelType"
2044
+ },
2045
+ "oneOf": [
2046
+ {
2047
+ "properties": {
2048
+ "centralHeatingFuelType": {
2049
+ "enum": [
2050
+ "Mains gas",
2051
+ "Electricity",
2052
+ "Oil",
2053
+ "LPG",
2054
+ "Biomass"
2055
+ ]
2056
+ }
2057
+ }
2058
+ },
2059
+ {
2060
+ "properties": {
2061
+ "centralHeatingFuelType": {
2062
+ "enum": [
2063
+ "Other"
2064
+ ]
2065
+ },
2066
+ "otherCentralHeatingFuelType": {
2067
+ "ta6Ref": "12.3a2"
2068
+ }
2069
+ },
2070
+ "required": [
2071
+ "otherCentralHeatingFuelType"
2072
+ ]
2073
+ }
2074
+ ],
2075
+ "required": [
2076
+ "centralHeatingFuelType"
2077
+ ],
2033
2078
  "properties": {
2034
2079
  "centralHeatingFuelType": {
2035
- "enum": [
2036
- "Mains gas",
2037
- "Electricity",
2038
- "Oil",
2039
- "LPG",
2040
- "Biomass"
2041
- ]
2080
+ "ta6Ref": "12.3a1"
2042
2081
  }
2043
2082
  }
2044
2083
  },
2045
- {
2046
- "properties": {
2047
- "centralHeatingFuelType": {
2048
- "enum": [
2049
- "Other"
2050
- ]
2084
+ "centralHeatingInstalled": {
2085
+ "ta6Ref": "12.3b1"
2086
+ },
2087
+ "boilerInstallationCertificate": {
2088
+ "ta6Ref": "12.3b2",
2089
+ "discriminator": {
2090
+ "propertyName": "yesNo"
2091
+ },
2092
+ "oneOf": [
2093
+ {
2094
+ "properties": {
2095
+ "yesNo": {
2096
+ "enum": [
2097
+ "No"
2098
+ ]
2099
+ }
2100
+ }
2051
2101
  },
2052
- "otherCentralHeatingFuelType": {
2053
- "ta6Ref": "12.3a2"
2102
+ {
2103
+ "properties": {
2104
+ "yesNo": {
2105
+ "enum": [
2106
+ "Yes"
2107
+ ]
2108
+ },
2109
+ "attachments": {
2110
+ "ta6Ref": "12.3b4"
2111
+ }
2112
+ },
2113
+ "required": [
2114
+ "attachments"
2115
+ ]
2054
2116
  }
2055
- },
2117
+ ],
2056
2118
  "required": [
2057
- "otherCentralHeatingFuelType"
2058
- ]
2059
- }
2060
- ],
2061
- "required": [
2062
- "centralHeatingFuelType"
2063
- ],
2064
- "properties": {
2065
- "centralHeatingFuelType": {
2066
- "ta6Ref": "12.3a1"
2067
- }
2068
- }
2069
- },
2070
- "centralHeatingInstalled": {
2071
- "ta6Ref": "12.3b1"
2072
- },
2073
- "boilerInstallationCertificate": {
2074
- "ta6Ref": "12.3b2",
2075
- "discriminator": {
2076
- "propertyName": "yesNo"
2077
- },
2078
- "oneOf": [
2079
- {
2119
+ "yesNo"
2120
+ ],
2080
2121
  "properties": {
2081
2122
  "yesNo": {
2082
- "enum": [
2083
- "No"
2084
- ]
2123
+ "ta6Ref": "12.3b3"
2085
2124
  }
2086
2125
  }
2087
2126
  },
2088
- {
2089
- "properties": {
2090
- "yesNo": {
2091
- "enum": [
2092
- "Yes"
2093
- ]
2127
+ "heatingLastServicedDate": {
2128
+ "ta6Ref": "12.3d1"
2129
+ },
2130
+ "heatingLastServicedReport": {
2131
+ "ta6Ref": "12.3d2"
2132
+ },
2133
+ "heatingInGoodWorkingOrder": {
2134
+ "ta6Ref": "12.3c",
2135
+ "discriminator": {
2136
+ "propertyName": "yesNo"
2137
+ },
2138
+ "oneOf": [
2139
+ {
2140
+ "properties": {
2141
+ "yesNo": {
2142
+ "enum": [
2143
+ "Yes"
2144
+ ]
2145
+ }
2146
+ }
2094
2147
  },
2095
- "attachments": {
2096
- "ta6Ref": "12.3b4"
2148
+ {
2149
+ "properties": {
2150
+ "yesNo": {
2151
+ "enum": [
2152
+ "No"
2153
+ ]
2154
+ }
2155
+ }
2097
2156
  }
2098
- },
2157
+ ],
2099
2158
  "required": [
2100
- "attachments"
2101
- ]
2102
- }
2103
- ],
2104
- "required": [
2105
- "yesNo"
2106
- ],
2107
- "properties": {
2108
- "yesNo": {
2109
- "ta6Ref": "12.3b3"
2110
- }
2111
- }
2112
- },
2113
- "heatingLastServicedDate": {
2114
- "ta6Ref": "12.3d1"
2115
- },
2116
- "heatingLastServicedReport": {
2117
- "ta6Ref": "12.3d2"
2118
- },
2119
- "heatingInGoodWorkingOrder": {
2120
- "ta6Ref": "12.3c",
2121
- "discriminator": {
2122
- "propertyName": "yesNo"
2123
- },
2124
- "oneOf": [
2125
- {
2126
- "properties": {
2127
- "yesNo": {
2128
- "enum": [
2129
- "Yes"
2130
- ]
2131
- }
2132
- }
2133
- },
2134
- {
2159
+ "yesNo"
2160
+ ],
2135
2161
  "properties": {
2136
2162
  "yesNo": {
2137
- "enum": [
2138
- "No"
2139
- ]
2163
+ "ta6Ref": "12.3c1"
2140
2164
  }
2141
2165
  }
2142
2166
  }
2143
- ],
2144
- "required": [
2145
- "yesNo"
2146
- ],
2147
- "properties": {
2148
- "yesNo": {
2149
- "ta6Ref": "12.3c1"
2150
- }
2151
2167
  }
2152
2168
  }
2169
+ },
2170
+ "required": [
2171
+ "centralHeatingDetails"
2172
+ ]
2173
+ },
2174
+ {
2175
+ "properties": {
2176
+ "heatingType": {
2177
+ "enum": [
2178
+ "Community heating system"
2179
+ ]
2180
+ }
2153
2181
  }
2154
2182
  }
2155
- },
2183
+ ],
2156
2184
  "required": [
2157
- "centralHeatingDetails"
2158
- ]
2159
- },
2160
- {
2185
+ "heatingType"
2186
+ ],
2161
2187
  "properties": {
2162
2188
  "heatingType": {
2163
- "enum": [
2164
- "Community heating system"
2165
- ]
2189
+ "ta6Ref": "12.3.1"
2166
2190
  }
2167
2191
  }
2168
2192
  }
2169
- ],
2170
- "required": [
2171
- "heatingType"
2172
- ],
2173
- "properties": {
2174
- "heatingType": {
2175
- "ta6Ref": "12.3.1"
2176
- }
2177
2193
  }
2178
2194
  },
2179
2195
  "insurance": {