@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.
@@ -1091,46 +1091,127 @@
1091
1091
  },
1092
1092
  "connectedUtilities": {
1093
1093
  "properties": {
1094
- "mainsElectricity": {
1094
+ "electricity": {
1095
1095
  "piqRef": "A7.1.1",
1096
- "discriminator": {
1097
- "propertyName": "yesNo"
1098
- },
1099
- "oneOf": [
1100
- {
1101
- "properties": {
1102
- "yesNo": {
1103
- "enum": [
1104
- "No"
1105
- ]
1096
+ "properties": {
1097
+ "mainsElectricity": {
1098
+ "piqRef": "A7.1.1",
1099
+ "discriminator": {
1100
+ "propertyName": "yesNo"
1101
+ },
1102
+ "oneOf": [
1103
+ {
1104
+ "properties": {
1105
+ "yesNo": {
1106
+ "enum": [
1107
+ "No"
1108
+ ]
1109
+ }
1110
+ }
1111
+ },
1112
+ {
1113
+ "properties": {
1114
+ "yesNo": {
1115
+ "enum": [
1116
+ "Yes"
1117
+ ]
1118
+ },
1119
+ "supplier": {
1120
+ "piqRef": "A7.1.2"
1121
+ }
1122
+ }
1123
+ },
1124
+ {
1125
+ "properties": {
1126
+ "yesNo": {
1127
+ "enum": [
1128
+ "To be connected"
1129
+ ]
1130
+ },
1131
+ "supplier": {
1132
+ "piqRef": "A7.1.2"
1133
+ }
1134
+ }
1106
1135
  }
1107
- }
1136
+ ]
1108
1137
  },
1109
- {
1110
- "properties": {
1111
- "yesNo": {
1112
- "enum": [
1113
- "Yes"
1114
- ]
1138
+ "solarPanels": {
1139
+ "piqRef": "A7.1.17",
1140
+ "discriminator": {
1141
+ "propertyName": "yesNo"
1142
+ },
1143
+ "oneOf": [
1144
+ {
1145
+ "properties": {
1146
+ "yesNo": {
1147
+ "enum": [
1148
+ "No"
1149
+ ]
1150
+ }
1151
+ }
1115
1152
  },
1116
- "supplier": {
1117
- "piqRef": "A7.1.2"
1153
+ {
1154
+ "properties": {
1155
+ "yesNo": {
1156
+ "enum": [
1157
+ "Yes"
1158
+ ]
1159
+ }
1160
+ }
1161
+ },
1162
+ {
1163
+ "properties": {
1164
+ "yesNo": {
1165
+ "enum": [
1166
+ "To be connected"
1167
+ ]
1168
+ },
1169
+ "supplier": {
1170
+ "piqRef": "A7.1.18"
1171
+ }
1172
+ }
1118
1173
  }
1119
- }
1174
+ ]
1120
1175
  },
1121
- {
1122
- "properties": {
1123
- "yesNo": {
1124
- "enum": [
1125
- "To be connected"
1126
- ]
1176
+ "otherSources": {
1177
+ "piqRef": "A7.1.19",
1178
+ "discriminator": {
1179
+ "propertyName": "yesNo"
1180
+ },
1181
+ "oneOf": [
1182
+ {
1183
+ "properties": {
1184
+ "yesNo": {
1185
+ "enum": [
1186
+ "No"
1187
+ ]
1188
+ }
1189
+ }
1127
1190
  },
1128
- "supplier": {
1129
- "piqRef": "A7.1.2"
1191
+ {
1192
+ "properties": {
1193
+ "yesNo": {
1194
+ "enum": [
1195
+ "Yes"
1196
+ ]
1197
+ }
1198
+ }
1199
+ },
1200
+ {
1201
+ "properties": {
1202
+ "yesNo": {
1203
+ "enum": [
1204
+ "To be connected"
1205
+ ]
1206
+ },
1207
+ "supplier": {
1208
+ "piqRef": "A7.1.20"
1209
+ }
1210
+ }
1130
1211
  }
1131
- }
1212
+ ]
1132
1213
  }
1133
- ]
1214
+ }
1134
1215
  },
1135
1216
  "mainsGas": {
1136
1217
  "piqRef": "A7.1.3",
@@ -1333,82 +1414,6 @@
1333
1414
  }
1334
1415
  }
1335
1416
  ]
1336
- },
1337
- "solarPanels": {
1338
- "piqRef": "A7.1.17",
1339
- "discriminator": {
1340
- "propertyName": "yesNo"
1341
- },
1342
- "oneOf": [
1343
- {
1344
- "properties": {
1345
- "yesNo": {
1346
- "enum": [
1347
- "No"
1348
- ]
1349
- }
1350
- }
1351
- },
1352
- {
1353
- "properties": {
1354
- "yesNo": {
1355
- "enum": [
1356
- "Yes"
1357
- ]
1358
- }
1359
- }
1360
- },
1361
- {
1362
- "properties": {
1363
- "yesNo": {
1364
- "enum": [
1365
- "To be connected"
1366
- ]
1367
- },
1368
- "supplier": {
1369
- "piqRef": "A7.1.18"
1370
- }
1371
- }
1372
- }
1373
- ]
1374
- },
1375
- "otherServices": {
1376
- "piqRef": "A7.1.19",
1377
- "discriminator": {
1378
- "propertyName": "yesNo"
1379
- },
1380
- "oneOf": [
1381
- {
1382
- "properties": {
1383
- "yesNo": {
1384
- "enum": [
1385
- "No"
1386
- ]
1387
- }
1388
- }
1389
- },
1390
- {
1391
- "properties": {
1392
- "yesNo": {
1393
- "enum": [
1394
- "Yes"
1395
- ]
1396
- }
1397
- }
1398
- },
1399
- {
1400
- "properties": {
1401
- "yesNo": {
1402
- "enum": [
1403
- "To be connected"
1404
- ]
1405
- },
1406
- "supplier": {
1407
- "piqRef": "A7.1.20"
1408
- }
1409
- }
1410
- }
1411
- ]
1412
1417
  }
1413
1418
  }
1414
1419
  },
@@ -1611,79 +1616,84 @@
1611
1616
  },
1612
1617
  "heating": {
1613
1618
  "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
- ]
1619
+ "properties": {
1620
+ "heatingSystem": {
1621
+ "piqRef": "A7.3.1",
1622
+ "discriminator": {
1623
+ "propertyName": "heatingType"
1624
+ },
1625
+ "oneOf": [
1626
+ {
1627
+ "properties": {
1628
+ "heatingType": {
1629
+ "enum": [
1630
+ "None"
1631
+ ]
1632
+ }
1633
+ }
1633
1634
  },
1634
- "centralHeatingDetails": {
1635
- "piqRef": "A7.3.1.1",
1635
+ {
1636
1636
  "properties": {
1637
- "centralHeatingInstalled": {
1638
- "piqRef": "A7.4.1"
1639
- },
1640
- "heatingLastServicedDate": {
1641
- "piqRef": "A7.5.1"
1637
+ "heatingType": {
1638
+ "enum": [
1639
+ "Central heating"
1640
+ ]
1642
1641
  },
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
- }
1642
+ "centralHeatingDetails": {
1643
+ "piqRef": "A7.3.1.1",
1644
+ "properties": {
1645
+ "centralHeatingInstalled": {
1646
+ "piqRef": "A7.4.1"
1657
1647
  },
1658
- {
1659
- "properties": {
1660
- "yesNo": {
1661
- "enum": [
1662
- "No"
1663
- ]
1648
+ "heatingLastServicedDate": {
1649
+ "piqRef": "A7.5.1"
1650
+ },
1651
+ "heatingInGoodWorkingOrder": {
1652
+ "piqRef": "A7.6",
1653
+ "discriminator": {
1654
+ "propertyName": "yesNo"
1655
+ },
1656
+ "oneOf": [
1657
+ {
1658
+ "properties": {
1659
+ "yesNo": {
1660
+ "enum": [
1661
+ "Yes"
1662
+ ]
1663
+ }
1664
+ }
1665
+ },
1666
+ {
1667
+ "properties": {
1668
+ "yesNo": {
1669
+ "enum": [
1670
+ "No"
1671
+ ]
1672
+ }
1673
+ }
1664
1674
  }
1665
- }
1675
+ ]
1666
1676
  }
1677
+ }
1678
+ }
1679
+ }
1680
+ },
1681
+ {
1682
+ "properties": {
1683
+ "heatingType": {
1684
+ "enum": [
1685
+ "Community heating system"
1667
1686
  ]
1668
1687
  }
1669
1688
  }
1670
1689
  }
1671
- }
1672
- },
1673
- {
1690
+ ],
1674
1691
  "properties": {
1675
1692
  "heatingType": {
1676
- "enum": [
1677
- "Community heating system"
1678
- ]
1693
+ "piqRef": "A7.3.1"
1679
1694
  }
1680
1695
  }
1681
1696
  }
1682
- ],
1683
- "properties": {
1684
- "heatingType": {
1685
- "piqRef": "A7.3.1"
1686
- }
1687
1697
  }
1688
1698
  },
1689
1699
  "insurance": {