@pdtf/schemas 3.0.0-19 → 3.0.0-20
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.
- package/package.json +1 -1
- package/src/examples/v3/exampleTransaction.json +37 -50
- package/src/schemas/v3/combined.json +627 -820
- package/src/schemas/v3/overlays/baspi.json +177 -433
- package/src/schemas/v3/overlays/con29DW.json +2 -10
- package/src/schemas/v3/overlays/nts.json +187 -233
- package/src/schemas/v3/overlays/piq.json +104 -219
- package/src/schemas/v3/overlays/rds.json +91 -259
- package/src/schemas/v3/overlays/ta6.json +140 -191
- package/src/schemas/v3/pdtf-transaction.json +519 -682
- package/src/schemas/v3/skeleton.json +103 -102
- package/src/tests/v3/transactionSchema.test.js +1 -1
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"notices",
|
|
25
25
|
"specialistIssues",
|
|
26
26
|
"waterAndDrainage",
|
|
27
|
-
"
|
|
27
|
+
"electricity",
|
|
28
28
|
"heating",
|
|
29
29
|
"insurance",
|
|
30
30
|
"rightsAndInformalArrangements",
|
|
@@ -1431,77 +1431,14 @@
|
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
1433
|
},
|
|
1434
|
-
"
|
|
1435
|
-
"ta6Ref": "13",
|
|
1434
|
+
"electricity": {
|
|
1435
|
+
"ta6Ref": "13.1",
|
|
1436
1436
|
"required": [
|
|
1437
|
-
"
|
|
1438
|
-
"mainsGas",
|
|
1439
|
-
"telephone",
|
|
1440
|
-
"cableSatelliteTV"
|
|
1437
|
+
"mainsElectricity"
|
|
1441
1438
|
],
|
|
1442
1439
|
"properties": {
|
|
1443
|
-
"
|
|
1440
|
+
"mainsElectricity": {
|
|
1444
1441
|
"ta6Ref": "13.1",
|
|
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"
|
|
1477
|
-
]
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
"properties": {
|
|
1481
|
-
"yesNo": {
|
|
1482
|
-
"enum": [
|
|
1483
|
-
"To be connected"
|
|
1484
|
-
]
|
|
1485
|
-
},
|
|
1486
|
-
"supplier": {
|
|
1487
|
-
"ta6Ref": "13.1.2"
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
],
|
|
1492
|
-
"required": [
|
|
1493
|
-
"yesNo"
|
|
1494
|
-
],
|
|
1495
|
-
"properties": {
|
|
1496
|
-
"yesNo": {
|
|
1497
|
-
"ta6Ref": "13.1.1"
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
},
|
|
1503
|
-
"mainsGas": {
|
|
1504
|
-
"ta6Ref": "13.2",
|
|
1505
1442
|
"discriminator": {
|
|
1506
1443
|
"propertyName": "yesNo"
|
|
1507
1444
|
},
|
|
@@ -1523,7 +1460,7 @@
|
|
|
1523
1460
|
]
|
|
1524
1461
|
},
|
|
1525
1462
|
"supplier": {
|
|
1526
|
-
"ta6Ref": "13.
|
|
1463
|
+
"ta6Ref": "13.1.2"
|
|
1527
1464
|
}
|
|
1528
1465
|
},
|
|
1529
1466
|
"required": [
|
|
@@ -1538,7 +1475,7 @@
|
|
|
1538
1475
|
]
|
|
1539
1476
|
},
|
|
1540
1477
|
"supplier": {
|
|
1541
|
-
"ta6Ref": "13.
|
|
1478
|
+
"ta6Ref": "13.1.2"
|
|
1542
1479
|
}
|
|
1543
1480
|
}
|
|
1544
1481
|
}
|
|
@@ -1548,108 +1485,7 @@
|
|
|
1548
1485
|
],
|
|
1549
1486
|
"properties": {
|
|
1550
1487
|
"yesNo": {
|
|
1551
|
-
"ta6Ref": "13.
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
},
|
|
1555
|
-
"telephone": {
|
|
1556
|
-
"ta6Ref": "13.5",
|
|
1557
|
-
"discriminator": {
|
|
1558
|
-
"propertyName": "yesNo"
|
|
1559
|
-
},
|
|
1560
|
-
"oneOf": [
|
|
1561
|
-
{
|
|
1562
|
-
"properties": {
|
|
1563
|
-
"yesNo": {
|
|
1564
|
-
"enum": [
|
|
1565
|
-
"No"
|
|
1566
|
-
]
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"properties": {
|
|
1572
|
-
"yesNo": {
|
|
1573
|
-
"enum": [
|
|
1574
|
-
"Yes"
|
|
1575
|
-
]
|
|
1576
|
-
},
|
|
1577
|
-
"supplier": {
|
|
1578
|
-
"ta6Ref": "13.5.2"
|
|
1579
|
-
}
|
|
1580
|
-
},
|
|
1581
|
-
"required": [
|
|
1582
|
-
"supplier"
|
|
1583
|
-
]
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"properties": {
|
|
1587
|
-
"yesNo": {
|
|
1588
|
-
"enum": [
|
|
1589
|
-
"To be connected"
|
|
1590
|
-
]
|
|
1591
|
-
},
|
|
1592
|
-
"supplier": {
|
|
1593
|
-
"ta6Ref": "13.5.2"
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
],
|
|
1598
|
-
"required": [
|
|
1599
|
-
"yesNo"
|
|
1600
|
-
],
|
|
1601
|
-
"properties": {
|
|
1602
|
-
"yesNo": {
|
|
1603
|
-
"ta6Ref": "13.5.1"
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
},
|
|
1607
|
-
"cableSatelliteTV": {
|
|
1608
|
-
"ta6Ref": "13.6",
|
|
1609
|
-
"discriminator": {
|
|
1610
|
-
"propertyName": "yesNo"
|
|
1611
|
-
},
|
|
1612
|
-
"oneOf": [
|
|
1613
|
-
{
|
|
1614
|
-
"properties": {
|
|
1615
|
-
"yesNo": {
|
|
1616
|
-
"enum": [
|
|
1617
|
-
"No"
|
|
1618
|
-
]
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"properties": {
|
|
1624
|
-
"yesNo": {
|
|
1625
|
-
"enum": [
|
|
1626
|
-
"Yes"
|
|
1627
|
-
]
|
|
1628
|
-
},
|
|
1629
|
-
"supplier": {
|
|
1630
|
-
"ta6Ref": "13.6.2"
|
|
1631
|
-
}
|
|
1632
|
-
},
|
|
1633
|
-
"required": [
|
|
1634
|
-
"supplier"
|
|
1635
|
-
]
|
|
1636
|
-
},
|
|
1637
|
-
{
|
|
1638
|
-
"properties": {
|
|
1639
|
-
"yesNo": {
|
|
1640
|
-
"enum": [
|
|
1641
|
-
"To be connected"
|
|
1642
|
-
]
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
],
|
|
1647
|
-
"required": [
|
|
1648
|
-
"yesNo"
|
|
1649
|
-
],
|
|
1650
|
-
"properties": {
|
|
1651
|
-
"yesNo": {
|
|
1652
|
-
"ta6Ref": "13.6.1"
|
|
1488
|
+
"ta6Ref": "13.1.1"
|
|
1653
1489
|
}
|
|
1654
1490
|
}
|
|
1655
1491
|
}
|
|
@@ -1792,15 +1628,6 @@
|
|
|
1792
1628
|
}
|
|
1793
1629
|
}
|
|
1794
1630
|
},
|
|
1795
|
-
{
|
|
1796
|
-
"properties": {
|
|
1797
|
-
"yesNo": {
|
|
1798
|
-
"enum": [
|
|
1799
|
-
"Not known"
|
|
1800
|
-
]
|
|
1801
|
-
}
|
|
1802
|
-
}
|
|
1803
|
-
},
|
|
1804
1631
|
{
|
|
1805
1632
|
"properties": {
|
|
1806
1633
|
"yesNo": {
|
|
@@ -1817,7 +1644,8 @@
|
|
|
1817
1644
|
"properties": {
|
|
1818
1645
|
"yesNo": {
|
|
1819
1646
|
"enum": [
|
|
1820
|
-
"No"
|
|
1647
|
+
"No",
|
|
1648
|
+
"Not known"
|
|
1821
1649
|
]
|
|
1822
1650
|
},
|
|
1823
1651
|
"offMainsDrainageSystem": {
|
|
@@ -1887,6 +1715,16 @@
|
|
|
1887
1715
|
"dateInstalled",
|
|
1888
1716
|
"dateLastServiced"
|
|
1889
1717
|
]
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"properties": {
|
|
1721
|
+
"offMainsDrainageSystemType": {
|
|
1722
|
+
"enum": [
|
|
1723
|
+
"Other",
|
|
1724
|
+
"Not known"
|
|
1725
|
+
]
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1890
1728
|
}
|
|
1891
1729
|
],
|
|
1892
1730
|
"required": [
|
|
@@ -2014,7 +1852,8 @@
|
|
|
2014
1852
|
"properties": {
|
|
2015
1853
|
"heatingType": {
|
|
2016
1854
|
"enum": [
|
|
2017
|
-
"None"
|
|
1855
|
+
"None",
|
|
1856
|
+
"Room heaters only"
|
|
2018
1857
|
]
|
|
2019
1858
|
}
|
|
2020
1859
|
}
|
|
@@ -2192,6 +2031,116 @@
|
|
|
2192
2031
|
}
|
|
2193
2032
|
}
|
|
2194
2033
|
},
|
|
2034
|
+
"connectivity": {
|
|
2035
|
+
"ta6Ref": "13",
|
|
2036
|
+
"required": [
|
|
2037
|
+
"telephone",
|
|
2038
|
+
"cableSatelliteTV"
|
|
2039
|
+
],
|
|
2040
|
+
"properties": {
|
|
2041
|
+
"telephone": {
|
|
2042
|
+
"ta6Ref": "13.5",
|
|
2043
|
+
"discriminator": {
|
|
2044
|
+
"propertyName": "yesNo"
|
|
2045
|
+
},
|
|
2046
|
+
"oneOf": [
|
|
2047
|
+
{
|
|
2048
|
+
"properties": {
|
|
2049
|
+
"yesNo": {
|
|
2050
|
+
"enum": [
|
|
2051
|
+
"No"
|
|
2052
|
+
]
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"properties": {
|
|
2058
|
+
"yesNo": {
|
|
2059
|
+
"enum": [
|
|
2060
|
+
"Yes"
|
|
2061
|
+
]
|
|
2062
|
+
},
|
|
2063
|
+
"supplier": {
|
|
2064
|
+
"ta6Ref": "13.5.2"
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
"required": [
|
|
2068
|
+
"supplier"
|
|
2069
|
+
]
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"properties": {
|
|
2073
|
+
"yesNo": {
|
|
2074
|
+
"enum": [
|
|
2075
|
+
"To be connected"
|
|
2076
|
+
]
|
|
2077
|
+
},
|
|
2078
|
+
"supplier": {
|
|
2079
|
+
"ta6Ref": "13.5.2"
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
],
|
|
2084
|
+
"required": [
|
|
2085
|
+
"yesNo"
|
|
2086
|
+
],
|
|
2087
|
+
"properties": {
|
|
2088
|
+
"yesNo": {
|
|
2089
|
+
"ta6Ref": "13.5.1"
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"cableSatelliteTV": {
|
|
2094
|
+
"ta6Ref": "13.6",
|
|
2095
|
+
"discriminator": {
|
|
2096
|
+
"propertyName": "yesNo"
|
|
2097
|
+
},
|
|
2098
|
+
"oneOf": [
|
|
2099
|
+
{
|
|
2100
|
+
"properties": {
|
|
2101
|
+
"yesNo": {
|
|
2102
|
+
"enum": [
|
|
2103
|
+
"No"
|
|
2104
|
+
]
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"properties": {
|
|
2110
|
+
"yesNo": {
|
|
2111
|
+
"enum": [
|
|
2112
|
+
"Yes"
|
|
2113
|
+
]
|
|
2114
|
+
},
|
|
2115
|
+
"supplier": {
|
|
2116
|
+
"ta6Ref": "13.6.2"
|
|
2117
|
+
}
|
|
2118
|
+
},
|
|
2119
|
+
"required": [
|
|
2120
|
+
"supplier"
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"properties": {
|
|
2125
|
+
"yesNo": {
|
|
2126
|
+
"enum": [
|
|
2127
|
+
"To be connected"
|
|
2128
|
+
]
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
],
|
|
2133
|
+
"required": [
|
|
2134
|
+
"yesNo"
|
|
2135
|
+
],
|
|
2136
|
+
"properties": {
|
|
2137
|
+
"yesNo": {
|
|
2138
|
+
"ta6Ref": "13.6.1"
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2195
2144
|
"insurance": {
|
|
2196
2145
|
"ta6Ref": "6",
|
|
2197
2146
|
"discriminator": {
|
|
@@ -3595,34 +3544,34 @@
|
|
|
3595
3544
|
}
|
|
3596
3545
|
}
|
|
3597
3546
|
},
|
|
3598
|
-
"
|
|
3547
|
+
"electricityMeter": {
|
|
3599
3548
|
"ta6Ref": "13.1b",
|
|
3600
3549
|
"properties": {
|
|
3601
|
-
"
|
|
3550
|
+
"location": {
|
|
3602
3551
|
"ta6Ref": "13.1b1"
|
|
3603
3552
|
}
|
|
3604
3553
|
}
|
|
3605
3554
|
},
|
|
3606
|
-
"
|
|
3555
|
+
"gasMeter": {
|
|
3607
3556
|
"ta6Ref": "13.2b",
|
|
3608
3557
|
"properties": {
|
|
3609
|
-
"
|
|
3558
|
+
"location": {
|
|
3610
3559
|
"ta6Ref": "13.2b1"
|
|
3611
3560
|
}
|
|
3612
3561
|
}
|
|
3613
3562
|
},
|
|
3614
|
-
"
|
|
3563
|
+
"stopcock": {
|
|
3615
3564
|
"ta6Ref": "13.3b",
|
|
3616
3565
|
"properties": {
|
|
3617
|
-
"
|
|
3566
|
+
"location": {
|
|
3618
3567
|
"ta6Ref": "13.3b1"
|
|
3619
3568
|
}
|
|
3620
3569
|
}
|
|
3621
3570
|
},
|
|
3622
|
-
"
|
|
3571
|
+
"waterMeter": {
|
|
3623
3572
|
"ta6Ref": "13.3b",
|
|
3624
3573
|
"properties": {
|
|
3625
|
-
"
|
|
3574
|
+
"location": {
|
|
3626
3575
|
"ta6Ref": "13.3b2"
|
|
3627
3576
|
}
|
|
3628
3577
|
}
|