@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.
@@ -1992,188 +1992,196 @@
1992
1992
  },
1993
1993
  "heating": {
1994
1994
  "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
- ]
1995
+ "required": [
1996
+ "heatingSystem"
1997
+ ],
1998
+ "properties": {
1999
+ "heatingSystem": {
2000
+ "ta6Ref": "12.3.1",
2001
+ "discriminator": {
2002
+ "propertyName": "heatingType"
2003
+ },
2004
+ "oneOf": [
2005
+ {
2006
+ "properties": {
2007
+ "heatingType": {
2008
+ "enum": [
2009
+ "None"
2010
+ ]
2011
+ }
2012
+ }
2014
2013
  },
2015
- "centralHeatingDetails": {
2016
- "ta6Ref": "12.3.2",
2017
- "required": [
2018
- "centralHeatingFuel",
2019
- "centralHeatingInstalled",
2020
- "boilerInstallationCertificate",
2021
- "heatingLastServicedDate",
2022
- "heatingLastServicedReport",
2023
- "heatingInGoodWorkingOrder"
2024
- ],
2014
+ {
2025
2015
  "properties": {
2026
- "centralHeatingFuel": {
2027
- "ta6Ref": "12.3.3",
2028
- "discriminator": {
2029
- "propertyName": "centralHeatingFuelType"
2030
- },
2031
- "oneOf": [
2032
- {
2016
+ "heatingType": {
2017
+ "enum": [
2018
+ "Central heating"
2019
+ ]
2020
+ },
2021
+ "centralHeatingDetails": {
2022
+ "ta6Ref": "12.3.2",
2023
+ "required": [
2024
+ "centralHeatingFuel",
2025
+ "centralHeatingInstalled",
2026
+ "boilerInstallationCertificate",
2027
+ "heatingLastServicedDate",
2028
+ "heatingLastServicedReport",
2029
+ "heatingInGoodWorkingOrder"
2030
+ ],
2031
+ "properties": {
2032
+ "centralHeatingFuel": {
2033
+ "ta6Ref": "12.3.3",
2034
+ "discriminator": {
2035
+ "propertyName": "centralHeatingFuelType"
2036
+ },
2037
+ "oneOf": [
2038
+ {
2039
+ "properties": {
2040
+ "centralHeatingFuelType": {
2041
+ "enum": [
2042
+ "Mains gas",
2043
+ "Electricity",
2044
+ "Oil",
2045
+ "LPG",
2046
+ "Biomass"
2047
+ ]
2048
+ }
2049
+ }
2050
+ },
2051
+ {
2052
+ "properties": {
2053
+ "centralHeatingFuelType": {
2054
+ "enum": [
2055
+ "Other"
2056
+ ]
2057
+ },
2058
+ "otherCentralHeatingFuelType": {
2059
+ "ta6Ref": "12.3a2"
2060
+ }
2061
+ },
2062
+ "required": [
2063
+ "otherCentralHeatingFuelType"
2064
+ ]
2065
+ }
2066
+ ],
2067
+ "required": [
2068
+ "centralHeatingFuelType"
2069
+ ],
2033
2070
  "properties": {
2034
2071
  "centralHeatingFuelType": {
2035
- "enum": [
2036
- "Mains gas",
2037
- "Electricity",
2038
- "Oil",
2039
- "LPG",
2040
- "Biomass"
2041
- ]
2072
+ "ta6Ref": "12.3a1"
2042
2073
  }
2043
2074
  }
2044
2075
  },
2045
- {
2046
- "properties": {
2047
- "centralHeatingFuelType": {
2048
- "enum": [
2049
- "Other"
2050
- ]
2076
+ "centralHeatingInstalled": {
2077
+ "ta6Ref": "12.3b1"
2078
+ },
2079
+ "boilerInstallationCertificate": {
2080
+ "ta6Ref": "12.3b2",
2081
+ "discriminator": {
2082
+ "propertyName": "yesNo"
2083
+ },
2084
+ "oneOf": [
2085
+ {
2086
+ "properties": {
2087
+ "yesNo": {
2088
+ "enum": [
2089
+ "No"
2090
+ ]
2091
+ }
2092
+ }
2051
2093
  },
2052
- "otherCentralHeatingFuelType": {
2053
- "ta6Ref": "12.3a2"
2094
+ {
2095
+ "properties": {
2096
+ "yesNo": {
2097
+ "enum": [
2098
+ "Yes"
2099
+ ]
2100
+ },
2101
+ "attachments": {
2102
+ "ta6Ref": "12.3b4"
2103
+ }
2104
+ },
2105
+ "required": [
2106
+ "attachments"
2107
+ ]
2054
2108
  }
2055
- },
2109
+ ],
2056
2110
  "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
- {
2111
+ "yesNo"
2112
+ ],
2080
2113
  "properties": {
2081
2114
  "yesNo": {
2082
- "enum": [
2083
- "No"
2084
- ]
2115
+ "ta6Ref": "12.3b3"
2085
2116
  }
2086
2117
  }
2087
2118
  },
2088
- {
2089
- "properties": {
2090
- "yesNo": {
2091
- "enum": [
2092
- "Yes"
2093
- ]
2119
+ "heatingLastServicedDate": {
2120
+ "ta6Ref": "12.3d1"
2121
+ },
2122
+ "heatingLastServicedReport": {
2123
+ "ta6Ref": "12.3d2"
2124
+ },
2125
+ "heatingInGoodWorkingOrder": {
2126
+ "ta6Ref": "12.3c",
2127
+ "discriminator": {
2128
+ "propertyName": "yesNo"
2129
+ },
2130
+ "oneOf": [
2131
+ {
2132
+ "properties": {
2133
+ "yesNo": {
2134
+ "enum": [
2135
+ "Yes"
2136
+ ]
2137
+ }
2138
+ }
2094
2139
  },
2095
- "attachments": {
2096
- "ta6Ref": "12.3b4"
2140
+ {
2141
+ "properties": {
2142
+ "yesNo": {
2143
+ "enum": [
2144
+ "No"
2145
+ ]
2146
+ }
2147
+ }
2097
2148
  }
2098
- },
2149
+ ],
2099
2150
  "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
- {
2151
+ "yesNo"
2152
+ ],
2135
2153
  "properties": {
2136
2154
  "yesNo": {
2137
- "enum": [
2138
- "No"
2139
- ]
2155
+ "ta6Ref": "12.3c1"
2140
2156
  }
2141
2157
  }
2142
2158
  }
2143
- ],
2144
- "required": [
2145
- "yesNo"
2146
- ],
2147
- "properties": {
2148
- "yesNo": {
2149
- "ta6Ref": "12.3c1"
2150
- }
2151
2159
  }
2152
2160
  }
2161
+ },
2162
+ "required": [
2163
+ "centralHeatingDetails"
2164
+ ]
2165
+ },
2166
+ {
2167
+ "properties": {
2168
+ "heatingType": {
2169
+ "enum": [
2170
+ "Community heating system"
2171
+ ]
2172
+ }
2153
2173
  }
2154
2174
  }
2155
- },
2175
+ ],
2156
2176
  "required": [
2157
- "centralHeatingDetails"
2158
- ]
2159
- },
2160
- {
2177
+ "heatingType"
2178
+ ],
2161
2179
  "properties": {
2162
2180
  "heatingType": {
2163
- "enum": [
2164
- "Community heating system"
2165
- ]
2181
+ "ta6Ref": "12.3.1"
2166
2182
  }
2167
2183
  }
2168
2184
  }
2169
- ],
2170
- "required": [
2171
- "heatingType"
2172
- ],
2173
- "properties": {
2174
- "heatingType": {
2175
- "ta6Ref": "12.3.1"
2176
- }
2177
2185
  }
2178
2186
  },
2179
2187
  "insurance": {