@pdtf/schemas 3.0.0-16 → 3.0.0-18

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
  },
@@ -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": {
@@ -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": {