@pdtf/schemas 3.0.0-10 → 3.0.0-11
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 +342 -429
- package/src/schemas/v3/overlays/baspi.json +173 -292
- package/src/schemas/v3/overlays/con29DW.json +10 -2
- package/src/schemas/v3/overlays/nts.json +97 -142
- 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 +272 -331
- package/src/schemas/v3/skeleton.json +35 -42
- package/src/tests/v3/transactionSchema.test.js +0 -1
|
@@ -1789,6 +1789,15 @@
|
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
1791
|
},
|
|
1792
|
+
{
|
|
1793
|
+
"properties": {
|
|
1794
|
+
"yesNo": {
|
|
1795
|
+
"enum": [
|
|
1796
|
+
"Not known"
|
|
1797
|
+
]
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1792
1801
|
{
|
|
1793
1802
|
"properties": {
|
|
1794
1803
|
"yesNo": {
|
|
@@ -1805,30 +1814,29 @@
|
|
|
1805
1814
|
"properties": {
|
|
1806
1815
|
"yesNo": {
|
|
1807
1816
|
"enum": [
|
|
1808
|
-
"No"
|
|
1809
|
-
"Not known"
|
|
1817
|
+
"No"
|
|
1810
1818
|
]
|
|
1811
1819
|
},
|
|
1812
|
-
"
|
|
1813
|
-
"ta6Ref": "12.
|
|
1820
|
+
"offMainsDrainageSystem": {
|
|
1821
|
+
"ta6Ref": "12.4a",
|
|
1814
1822
|
"discriminator": {
|
|
1815
|
-
"propertyName": "
|
|
1823
|
+
"propertyName": "offMainsDrainageSystemType"
|
|
1816
1824
|
},
|
|
1817
1825
|
"oneOf": [
|
|
1818
1826
|
{
|
|
1819
1827
|
"properties": {
|
|
1820
|
-
"
|
|
1828
|
+
"offMainsDrainageSystemType": {
|
|
1821
1829
|
"enum": [
|
|
1822
|
-
"
|
|
1830
|
+
"Sustainable Drainage System"
|
|
1823
1831
|
]
|
|
1824
1832
|
}
|
|
1825
1833
|
}
|
|
1826
1834
|
},
|
|
1827
1835
|
{
|
|
1828
1836
|
"properties": {
|
|
1829
|
-
"
|
|
1837
|
+
"offMainsDrainageSystemType": {
|
|
1830
1838
|
"enum": [
|
|
1831
|
-
"
|
|
1839
|
+
"Septic tank"
|
|
1832
1840
|
]
|
|
1833
1841
|
},
|
|
1834
1842
|
"dateReplaced": {
|
|
@@ -1842,37 +1850,12 @@
|
|
|
1842
1850
|
"dateReplaced",
|
|
1843
1851
|
"dateLastEmptied"
|
|
1844
1852
|
]
|
|
1845
|
-
}
|
|
1846
|
-
],
|
|
1847
|
-
"required": [
|
|
1848
|
-
"yesNo"
|
|
1849
|
-
],
|
|
1850
|
-
"properties": {
|
|
1851
|
-
"yesNo": {
|
|
1852
|
-
"ta6Ref": "12.5a1"
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
},
|
|
1856
|
-
"cesspit": {
|
|
1857
|
-
"ta6Ref": "12.5b",
|
|
1858
|
-
"discriminator": {
|
|
1859
|
-
"propertyName": "yesNo"
|
|
1860
|
-
},
|
|
1861
|
-
"oneOf": [
|
|
1862
|
-
{
|
|
1863
|
-
"properties": {
|
|
1864
|
-
"yesNo": {
|
|
1865
|
-
"enum": [
|
|
1866
|
-
"No"
|
|
1867
|
-
]
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
1853
|
},
|
|
1871
1854
|
{
|
|
1872
1855
|
"properties": {
|
|
1873
|
-
"
|
|
1856
|
+
"offMainsDrainageSystemType": {
|
|
1874
1857
|
"enum": [
|
|
1875
|
-
"
|
|
1858
|
+
"Cesspit"
|
|
1876
1859
|
]
|
|
1877
1860
|
},
|
|
1878
1861
|
"dateLastEmptied": {
|
|
@@ -1882,37 +1865,12 @@
|
|
|
1882
1865
|
"required": [
|
|
1883
1866
|
"dateLastEmptied"
|
|
1884
1867
|
]
|
|
1885
|
-
}
|
|
1886
|
-
],
|
|
1887
|
-
"required": [
|
|
1888
|
-
"yesNo"
|
|
1889
|
-
],
|
|
1890
|
-
"properties": {
|
|
1891
|
-
"yesNo": {
|
|
1892
|
-
"ta6Ref": "12.5c1"
|
|
1893
|
-
}
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
"sewerageTreatmentPlant": {
|
|
1897
|
-
"ta6Ref": "12.5b",
|
|
1898
|
-
"discriminator": {
|
|
1899
|
-
"propertyName": "yesNo"
|
|
1900
|
-
},
|
|
1901
|
-
"oneOf": [
|
|
1902
|
-
{
|
|
1903
|
-
"properties": {
|
|
1904
|
-
"yesNo": {
|
|
1905
|
-
"enum": [
|
|
1906
|
-
"No"
|
|
1907
|
-
]
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
1868
|
},
|
|
1911
1869
|
{
|
|
1912
1870
|
"properties": {
|
|
1913
|
-
"
|
|
1871
|
+
"offMainsDrainageSystemType": {
|
|
1914
1872
|
"enum": [
|
|
1915
|
-
"
|
|
1873
|
+
"Sewerage treatment plant"
|
|
1916
1874
|
]
|
|
1917
1875
|
},
|
|
1918
1876
|
"dateInstalled": {
|
|
@@ -1929,102 +1887,94 @@
|
|
|
1929
1887
|
}
|
|
1930
1888
|
],
|
|
1931
1889
|
"required": [
|
|
1932
|
-
"
|
|
1890
|
+
"offMainsDrainageSystemType",
|
|
1891
|
+
"otherConnectedProperties",
|
|
1892
|
+
"plantOnOtherLand"
|
|
1933
1893
|
],
|
|
1934
1894
|
"properties": {
|
|
1935
|
-
"
|
|
1936
|
-
"ta6Ref": "12.
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1895
|
+
"otherConnectedProperties": {
|
|
1896
|
+
"ta6Ref": "12.6",
|
|
1897
|
+
"discriminator": {
|
|
1898
|
+
"propertyName": "yesNo"
|
|
1899
|
+
},
|
|
1900
|
+
"oneOf": [
|
|
1901
|
+
{
|
|
1902
|
+
"properties": {
|
|
1903
|
+
"yesNo": {
|
|
1904
|
+
"enum": [
|
|
1905
|
+
"No"
|
|
1906
|
+
]
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"properties": {
|
|
1912
|
+
"yesNo": {
|
|
1913
|
+
"enum": [
|
|
1914
|
+
"Yes"
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
"numberOfPropertiesSharing": {
|
|
1918
|
+
"ta6Ref": "12.6.2"
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
"required": [
|
|
1922
|
+
"numberOfPropertiesSharing"
|
|
1923
|
+
]
|
|
1924
|
+
}
|
|
1925
|
+
],
|
|
1926
|
+
"required": [
|
|
1927
|
+
"yesNo"
|
|
1928
|
+
],
|
|
1947
1929
|
"properties": {
|
|
1948
1930
|
"yesNo": {
|
|
1949
|
-
"
|
|
1950
|
-
"No"
|
|
1951
|
-
]
|
|
1931
|
+
"ta6Ref": "12.6.1"
|
|
1952
1932
|
}
|
|
1953
1933
|
}
|
|
1954
1934
|
},
|
|
1955
|
-
{
|
|
1956
|
-
"
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1935
|
+
"plantOnOtherLand": {
|
|
1936
|
+
"ta6Ref": "12.10",
|
|
1937
|
+
"discriminator": {
|
|
1938
|
+
"propertyName": "yesNo"
|
|
1939
|
+
},
|
|
1940
|
+
"oneOf": [
|
|
1941
|
+
{
|
|
1942
|
+
"properties": {
|
|
1943
|
+
"yesNo": {
|
|
1944
|
+
"enum": [
|
|
1945
|
+
"No"
|
|
1946
|
+
]
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1961
1949
|
},
|
|
1962
|
-
|
|
1963
|
-
"
|
|
1950
|
+
{
|
|
1951
|
+
"properties": {
|
|
1952
|
+
"yesNo": {
|
|
1953
|
+
"enum": [
|
|
1954
|
+
"Yes"
|
|
1955
|
+
]
|
|
1956
|
+
},
|
|
1957
|
+
"attachments": {
|
|
1958
|
+
"ta6Ref": "12.10.2"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"required": [
|
|
1962
|
+
"attachments"
|
|
1963
|
+
]
|
|
1964
1964
|
}
|
|
1965
|
-
|
|
1965
|
+
],
|
|
1966
1966
|
"required": [
|
|
1967
|
-
"
|
|
1968
|
-
]
|
|
1969
|
-
}
|
|
1970
|
-
],
|
|
1971
|
-
"required": [
|
|
1972
|
-
"yesNo"
|
|
1973
|
-
],
|
|
1974
|
-
"properties": {
|
|
1975
|
-
"yesNo": {
|
|
1976
|
-
"ta6Ref": "12.6.1"
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
},
|
|
1980
|
-
"plantOnOtherLand": {
|
|
1981
|
-
"ta6Ref": "12.10",
|
|
1982
|
-
"discriminator": {
|
|
1983
|
-
"propertyName": "yesNo"
|
|
1984
|
-
},
|
|
1985
|
-
"oneOf": [
|
|
1986
|
-
{
|
|
1967
|
+
"yesNo"
|
|
1968
|
+
],
|
|
1987
1969
|
"properties": {
|
|
1988
1970
|
"yesNo": {
|
|
1989
|
-
"
|
|
1990
|
-
"No"
|
|
1991
|
-
]
|
|
1971
|
+
"ta6Ref": "12.10.1"
|
|
1992
1972
|
}
|
|
1993
1973
|
}
|
|
1994
|
-
},
|
|
1995
|
-
{
|
|
1996
|
-
"properties": {
|
|
1997
|
-
"yesNo": {
|
|
1998
|
-
"enum": [
|
|
1999
|
-
"Yes"
|
|
2000
|
-
]
|
|
2001
|
-
},
|
|
2002
|
-
"attachments": {
|
|
2003
|
-
"ta6Ref": "12.10.2"
|
|
2004
|
-
}
|
|
2005
|
-
},
|
|
2006
|
-
"required": [
|
|
2007
|
-
"attachments"
|
|
2008
|
-
]
|
|
2009
|
-
}
|
|
2010
|
-
],
|
|
2011
|
-
"required": [
|
|
2012
|
-
"yesNo"
|
|
2013
|
-
],
|
|
2014
|
-
"properties": {
|
|
2015
|
-
"yesNo": {
|
|
2016
|
-
"ta6Ref": "12.10.1"
|
|
2017
1974
|
}
|
|
2018
1975
|
}
|
|
2019
1976
|
}
|
|
2020
|
-
}
|
|
2021
|
-
"required": [
|
|
2022
|
-
"septicTank",
|
|
2023
|
-
"cesspit",
|
|
2024
|
-
"sewerageTreatmentPlant",
|
|
2025
|
-
"otherConnectedProperties",
|
|
2026
|
-
"plantOnOtherLand"
|
|
2027
|
-
]
|
|
1977
|
+
}
|
|
2028
1978
|
}
|
|
2029
1979
|
],
|
|
2030
1980
|
"required": [
|