@pdtf/schemas 3.0.0-10 → 3.0.0-12
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 +14 -17
- package/src/schemas/v3/combined.json +350 -459
- package/src/schemas/v3/overlays/baspi.json +164 -292
- package/src/schemas/v3/overlays/con29DW.json +10 -2
- package/src/schemas/v3/overlays/nts.json +98 -154
- package/src/schemas/v3/overlays/piq.json +78 -140
- package/src/schemas/v3/overlays/rds.json +112 -213
- package/src/schemas/v3/overlays/ta6.json +92 -142
- package/src/schemas/v3/pdtf-transaction.json +278 -354
- package/src/schemas/v3/skeleton.json +34 -43
- package/src/tests/v3/transactionSchema.test.js +0 -1
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
]
|
|
1691
1691
|
},
|
|
1692
1692
|
"mainsFoulDrainage": {
|
|
1693
|
-
"rdsRef": "Services/
|
|
1693
|
+
"rdsRef": "Services/WasteWaterSewerageDisposal",
|
|
1694
1694
|
"discriminator": {
|
|
1695
1695
|
"propertyName": "yesNo"
|
|
1696
1696
|
},
|
|
@@ -1708,7 +1708,7 @@
|
|
|
1708
1708
|
"properties": {
|
|
1709
1709
|
"yesNo": {
|
|
1710
1710
|
"enum": [
|
|
1711
|
-
"
|
|
1711
|
+
"Not known"
|
|
1712
1712
|
]
|
|
1713
1713
|
}
|
|
1714
1714
|
}
|
|
@@ -1717,229 +1717,128 @@
|
|
|
1717
1717
|
"properties": {
|
|
1718
1718
|
"yesNo": {
|
|
1719
1719
|
"enum": [
|
|
1720
|
-
"
|
|
1721
|
-
"Not known"
|
|
1722
|
-
]
|
|
1723
|
-
},
|
|
1724
|
-
"sustainableDrainageSystem": {
|
|
1725
|
-
"rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
|
|
1726
|
-
"discriminator": {
|
|
1727
|
-
"propertyName": "yesNo"
|
|
1728
|
-
},
|
|
1729
|
-
"oneOf": [
|
|
1730
|
-
{
|
|
1731
|
-
"properties": {
|
|
1732
|
-
"yesNo": {
|
|
1733
|
-
"enum": [
|
|
1734
|
-
"No"
|
|
1735
|
-
]
|
|
1736
|
-
}
|
|
1737
|
-
}
|
|
1738
|
-
},
|
|
1739
|
-
{
|
|
1740
|
-
"properties": {
|
|
1741
|
-
"yesNo": {
|
|
1742
|
-
"enum": [
|
|
1743
|
-
"Yes"
|
|
1744
|
-
]
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
"properties": {
|
|
1750
|
-
"yesNo": {
|
|
1751
|
-
"enum": [
|
|
1752
|
-
"To be connected"
|
|
1753
|
-
]
|
|
1754
|
-
}
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
]
|
|
1758
|
-
},
|
|
1759
|
-
"septicTank": {
|
|
1760
|
-
"rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
|
|
1761
|
-
"discriminator": {
|
|
1762
|
-
"propertyName": "yesNo"
|
|
1763
|
-
},
|
|
1764
|
-
"oneOf": [
|
|
1765
|
-
{
|
|
1766
|
-
"properties": {
|
|
1767
|
-
"yesNo": {
|
|
1768
|
-
"enum": [
|
|
1769
|
-
"No"
|
|
1770
|
-
]
|
|
1771
|
-
}
|
|
1772
|
-
}
|
|
1773
|
-
},
|
|
1774
|
-
{
|
|
1775
|
-
"properties": {
|
|
1776
|
-
"yesNo": {
|
|
1777
|
-
"enum": [
|
|
1778
|
-
"Yes"
|
|
1779
|
-
]
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
}
|
|
1783
|
-
]
|
|
1784
|
-
},
|
|
1785
|
-
"cesspit": {
|
|
1786
|
-
"rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
|
|
1787
|
-
"discriminator": {
|
|
1788
|
-
"propertyName": "yesNo"
|
|
1789
|
-
},
|
|
1790
|
-
"oneOf": [
|
|
1791
|
-
{
|
|
1792
|
-
"properties": {
|
|
1793
|
-
"yesNo": {
|
|
1794
|
-
"enum": [
|
|
1795
|
-
"No"
|
|
1796
|
-
]
|
|
1797
|
-
}
|
|
1798
|
-
}
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
"properties": {
|
|
1802
|
-
"yesNo": {
|
|
1803
|
-
"enum": [
|
|
1804
|
-
"Yes"
|
|
1805
|
-
]
|
|
1806
|
-
}
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
]
|
|
1810
|
-
},
|
|
1811
|
-
"sewerageTreatmentPlant": {
|
|
1812
|
-
"rdsRef": "Services/OtherServices/{description=?,type=?},Services/OtherServices/Installed|Upgraded|Replaced|Serviced|Certificates",
|
|
1813
|
-
"discriminator": {
|
|
1814
|
-
"propertyName": "yesNo"
|
|
1815
|
-
},
|
|
1816
|
-
"oneOf": [
|
|
1817
|
-
{
|
|
1818
|
-
"properties": {
|
|
1819
|
-
"yesNo": {
|
|
1820
|
-
"enum": [
|
|
1821
|
-
"No"
|
|
1822
|
-
]
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"properties": {
|
|
1828
|
-
"yesNo": {
|
|
1829
|
-
"enum": [
|
|
1830
|
-
"Yes"
|
|
1831
|
-
]
|
|
1832
|
-
}
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1720
|
+
"To be connected"
|
|
1835
1721
|
]
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
"
|
|
1843
|
-
|
|
1844
|
-
"properties": {
|
|
1845
|
-
"yesNo": {
|
|
1846
|
-
"enum": [
|
|
1847
|
-
"No"
|
|
1848
|
-
]
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"properties": {
|
|
1854
|
-
"yesNo": {
|
|
1855
|
-
"enum": [
|
|
1856
|
-
"Yes"
|
|
1857
|
-
]
|
|
1858
|
-
}
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"properties": {
|
|
1727
|
+
"yesNo": {
|
|
1728
|
+
"enum": [
|
|
1729
|
+
"No"
|
|
1861
1730
|
]
|
|
1862
1731
|
},
|
|
1863
|
-
"
|
|
1864
|
-
"
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
"
|
|
1871
|
-
|
|
1872
|
-
"
|
|
1873
|
-
"
|
|
1874
|
-
|
|
1732
|
+
"offMainsDrainageSystem": {
|
|
1733
|
+
"properties": {
|
|
1734
|
+
"otherConnectedProperties": {
|
|
1735
|
+
"rdsRef": "Services/OtherServices/SharedWith",
|
|
1736
|
+
"discriminator": {
|
|
1737
|
+
"propertyName": "yesNo"
|
|
1738
|
+
},
|
|
1739
|
+
"oneOf": [
|
|
1740
|
+
{
|
|
1741
|
+
"properties": {
|
|
1742
|
+
"yesNo": {
|
|
1743
|
+
"enum": [
|
|
1744
|
+
"No"
|
|
1745
|
+
]
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"properties": {
|
|
1751
|
+
"yesNo": {
|
|
1752
|
+
"enum": [
|
|
1753
|
+
"Yes"
|
|
1754
|
+
]
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1875
1757
|
}
|
|
1876
|
-
|
|
1758
|
+
]
|
|
1877
1759
|
},
|
|
1878
|
-
{
|
|
1879
|
-
"
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1760
|
+
"plantOnOtherLand": {
|
|
1761
|
+
"rdsRef": "Services/OtherServices/Located,Services/OtherServices/{access=?}",
|
|
1762
|
+
"discriminator": {
|
|
1763
|
+
"propertyName": "yesNo"
|
|
1764
|
+
},
|
|
1765
|
+
"oneOf": [
|
|
1766
|
+
{
|
|
1767
|
+
"properties": {
|
|
1768
|
+
"yesNo": {
|
|
1769
|
+
"enum": [
|
|
1770
|
+
"No"
|
|
1771
|
+
]
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"properties": {
|
|
1777
|
+
"yesNo": {
|
|
1778
|
+
"enum": [
|
|
1779
|
+
"Yes"
|
|
1780
|
+
]
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1901
1783
|
}
|
|
1902
|
-
|
|
1784
|
+
]
|
|
1903
1785
|
},
|
|
1904
|
-
{
|
|
1905
|
-
"
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1786
|
+
"plantRegistered": {
|
|
1787
|
+
"rdsRef": "Services/OtherServices/Certificates",
|
|
1788
|
+
"discriminator": {
|
|
1789
|
+
"propertyName": "yesNo"
|
|
1790
|
+
},
|
|
1791
|
+
"oneOf": [
|
|
1792
|
+
{
|
|
1793
|
+
"properties": {
|
|
1794
|
+
"yesNo": {
|
|
1795
|
+
"enum": [
|
|
1796
|
+
"No"
|
|
1797
|
+
]
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"properties": {
|
|
1803
|
+
"yesNo": {
|
|
1804
|
+
"enum": [
|
|
1805
|
+
"Yes"
|
|
1806
|
+
]
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1927
1809
|
}
|
|
1928
|
-
|
|
1810
|
+
]
|
|
1929
1811
|
},
|
|
1930
|
-
{
|
|
1931
|
-
"
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1812
|
+
"plantDrainsIntoWaterway": {
|
|
1813
|
+
"rdsRef": "Services/OtherServices/{isExternallyConnected='yes?true'}",
|
|
1814
|
+
"discriminator": {
|
|
1815
|
+
"propertyName": "yesNo"
|
|
1816
|
+
},
|
|
1817
|
+
"oneOf": [
|
|
1818
|
+
{
|
|
1819
|
+
"properties": {
|
|
1820
|
+
"yesNo": {
|
|
1821
|
+
"enum": [
|
|
1822
|
+
"No, the effluent is discharged through a soakaway system."
|
|
1823
|
+
]
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1936
1826
|
},
|
|
1937
|
-
|
|
1938
|
-
"
|
|
1827
|
+
{
|
|
1828
|
+
"properties": {
|
|
1829
|
+
"yesNo": {
|
|
1830
|
+
"enum": [
|
|
1831
|
+
"Yes"
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
"dischargeCompliesWithGBR": {
|
|
1835
|
+
"rdsRef": "Services/OtherServices/ExternalConnections/Flags"
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1939
1838
|
}
|
|
1940
|
-
|
|
1839
|
+
]
|
|
1941
1840
|
}
|
|
1942
|
-
|
|
1841
|
+
}
|
|
1943
1842
|
}
|
|
1944
1843
|
}
|
|
1945
1844
|
}
|