@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.
@@ -1893,112 +1893,22 @@
1893
1893
  }
1894
1894
  }
1895
1895
  },
1896
- "connectedUtilities": {
1897
- "electricity": {
1898
- "mainsElectricity": {
1899
- "yesNo": {},
1900
- "supplier": {},
1901
- "mpan": {},
1902
- "dateToBeConnected": {}
1903
- },
1904
- "solarPanels": {
1905
- "yesNo": {},
1906
- "supplier": {},
1907
- "dateToBeConnected": {}
1908
- },
1909
- "otherSources": {
1910
- "yesNo": {},
1911
- "details": {},
1912
- "supplier": {},
1913
- "dateToBeConnected": {}
1914
- }
1915
- },
1916
- "mainsGas": {
1917
- "yesNo": {},
1918
- "supplier": {},
1919
- "mprn": {},
1920
- "dateToBeConnected": {}
1921
- },
1922
- "lpg": {
1923
- "yesNo": {},
1924
- "supplier": {},
1925
- "dateToBeConnected": {}
1926
- },
1927
- "oil": {
1896
+ "electricity": {
1897
+ "mainsElectricity": {
1928
1898
  "yesNo": {},
1929
1899
  "supplier": {},
1930
1900
  "dateToBeConnected": {}
1931
1901
  },
1932
- "telephone": {
1902
+ "solarPanels": {
1933
1903
  "yesNo": {},
1934
1904
  "supplier": {},
1935
1905
  "dateToBeConnected": {}
1936
1906
  },
1937
- "cableSatelliteTV": {
1907
+ "otherSources": {
1938
1908
  "yesNo": {},
1909
+ "details": {},
1939
1910
  "supplier": {},
1940
1911
  "dateToBeConnected": {}
1941
- },
1942
- "broadband": {
1943
- "yesNo": {},
1944
- "supplier": {},
1945
- "typeOfConnection": {},
1946
- "predictedSpeed": {
1947
- "MaxBbPredictedDown": {},
1948
- "MaxBbPredictedUp": {},
1949
- "MaxSfbbPredictedDown": {},
1950
- "MaxSfbbPredictedUp": {},
1951
- "MaxUfbbPredictedDown": {},
1952
- "MaxUfbbPredictedUp": {},
1953
- "MaxPredictedDown": {},
1954
- "MaxPredictedUp": {}
1955
- },
1956
- "dateToBeConnected": {}
1957
- },
1958
- "mobilePhone": {
1959
- "knownSignalIssues": {
1960
- "yesNo": {},
1961
- "details": {}
1962
- },
1963
- "predictedCoverage": {
1964
- "EEVoiceOutdoor": {},
1965
- "EEVoiceOutdoorNo4g": {},
1966
- "EEVoiceIndoor": {},
1967
- "EEVoiceIndoorNo4g": {},
1968
- "EEDataOutdoor": {},
1969
- "EEDataOutdoorNo4g": {},
1970
- "EEDataIndoor": {},
1971
- "EEDataIndoorNo4g": {},
1972
- "H3VoiceOutdoor": {},
1973
- "H3VoiceOutdoorNo4g": {},
1974
- "H3VoiceIndoor": {},
1975
- "H3VoiceIndoorNo4g": {},
1976
- "H3DataOutdoor": {},
1977
- "H3DataOutdoorNo4g": {},
1978
- "H3DataIndoor": {},
1979
- "H3DataIndoorNo4g": {},
1980
- "TFVoiceOutdoor": {},
1981
- "TFVoiceOutdoorNo4g": {},
1982
- "TFVoiceIndoor": {},
1983
- "TFVoiceIndoorNo4g": {},
1984
- "TFDataOutdoor": {},
1985
- "TFDataOutdoorNo4g": {},
1986
- "TFDataIndoor": {},
1987
- "TFDataIndoorNo4g": {},
1988
- "VOVoiceOutdoor": {},
1989
- "VOVoiceOutdoorNo4g": {},
1990
- "VOVoiceIndoor": {},
1991
- "VOVoiceIndoorNo4g": {},
1992
- "VODataOutdoor": {},
1993
- "VODataOutdoorNo4g": {},
1994
- "VODataIndoor": {},
1995
- "VODataIndoorNo4g": {}
1996
- }
1997
- },
1998
- "maintenanceAgreements": {
1999
- "yesNo": {},
2000
- "details": {},
2001
- "attachments": {}
2002
1912
  }
2003
1913
  },
2004
1914
  "waterAndDrainage": {
@@ -2063,7 +1973,8 @@
2063
1973
  "dateLastEmptied": {},
2064
1974
  "dateInstalled": {},
2065
1975
  "dateLastServiced": {},
2066
- "attachments": {}
1976
+ "attachments": {},
1977
+ "details": {}
2067
1978
  }
2068
1979
  },
2069
1980
  "surfaceDrainageCharge": {
@@ -2138,6 +2049,71 @@
2138
2049
  },
2139
2050
  "otherHeatingFeatures": {}
2140
2051
  },
2052
+ "connectivity": {
2053
+ "telephone": {
2054
+ "yesNo": {},
2055
+ "supplier": {},
2056
+ "dateToBeConnected": {}
2057
+ },
2058
+ "cableSatelliteTV": {
2059
+ "yesNo": {},
2060
+ "supplier": {},
2061
+ "dateToBeConnected": {}
2062
+ },
2063
+ "broadband": {
2064
+ "typeOfConnection": {},
2065
+ "predictedSpeed": {
2066
+ "MaxBbPredictedDown": {},
2067
+ "MaxBbPredictedUp": {},
2068
+ "MaxSfbbPredictedDown": {},
2069
+ "MaxSfbbPredictedUp": {},
2070
+ "MaxUfbbPredictedDown": {},
2071
+ "MaxUfbbPredictedUp": {},
2072
+ "MaxPredictedDown": {},
2073
+ "MaxPredictedUp": {}
2074
+ }
2075
+ },
2076
+ "mobilePhone": {
2077
+ "knownSignalIssues": {
2078
+ "yesNo": {},
2079
+ "details": {}
2080
+ },
2081
+ "predictedCoverage": {
2082
+ "EEVoiceOutdoor": {},
2083
+ "EEVoiceOutdoorNo4g": {},
2084
+ "EEVoiceIndoor": {},
2085
+ "EEVoiceIndoorNo4g": {},
2086
+ "EEDataOutdoor": {},
2087
+ "EEDataOutdoorNo4g": {},
2088
+ "EEDataIndoor": {},
2089
+ "EEDataIndoorNo4g": {},
2090
+ "H3VoiceOutdoor": {},
2091
+ "H3VoiceOutdoorNo4g": {},
2092
+ "H3VoiceIndoor": {},
2093
+ "H3VoiceIndoorNo4g": {},
2094
+ "H3DataOutdoor": {},
2095
+ "H3DataOutdoorNo4g": {},
2096
+ "H3DataIndoor": {},
2097
+ "H3DataIndoorNo4g": {},
2098
+ "TFVoiceOutdoor": {},
2099
+ "TFVoiceOutdoorNo4g": {},
2100
+ "TFVoiceIndoor": {},
2101
+ "TFVoiceIndoorNo4g": {},
2102
+ "TFDataOutdoor": {},
2103
+ "TFDataOutdoorNo4g": {},
2104
+ "TFDataIndoor": {},
2105
+ "TFDataIndoorNo4g": {},
2106
+ "VOVoiceOutdoor": {},
2107
+ "VOVoiceOutdoorNo4g": {},
2108
+ "VOVoiceIndoor": {},
2109
+ "VOVoiceIndoorNo4g": {},
2110
+ "VODataOutdoor": {},
2111
+ "VODataOutdoorNo4g": {},
2112
+ "VODataIndoor": {},
2113
+ "VODataIndoorNo4g": {}
2114
+ }
2115
+ }
2116
+ },
2141
2117
  "insurance": {
2142
2118
  "isInsured": {},
2143
2119
  "details": {},
@@ -2324,6 +2300,25 @@
2324
2300
  }
2325
2301
  }
2326
2302
  },
2303
+ "infrastructure": {
2304
+ "infrastructureRisk": {
2305
+ "riskIndicator": {},
2306
+ "actionAlertRating": {},
2307
+ "result": {},
2308
+ "summary": {},
2309
+ "recommendations": {},
2310
+ "datasetAttribution": {},
2311
+ "riskSubcategories": {
2312
+ "subCategory": {},
2313
+ "riskIndicator": {},
2314
+ "actionAlertRating": {},
2315
+ "result": {},
2316
+ "summary": {},
2317
+ "recommendations": {},
2318
+ "datasetAttribution": {}
2319
+ }
2320
+ }
2321
+ },
2327
2322
  "energy": {
2328
2323
  "energyRisk": {
2329
2324
  "riskIndicator": {},
@@ -2595,16 +2590,22 @@
2595
2590
  "attachments": {}
2596
2591
  }
2597
2592
  },
2598
- "electricityMeterLocation": {
2599
- "attachments": {}
2593
+ "electricityMeter": {
2594
+ "location": {},
2595
+ "attachments": {},
2596
+ "mpan": {}
2600
2597
  },
2601
- "gasMeterLocation": {
2602
- "attachments": {}
2598
+ "gasMeter": {
2599
+ "location": {},
2600
+ "attachments": {},
2601
+ "mprn": {}
2603
2602
  },
2604
- "stopcockLocation": {
2603
+ "stopcock": {
2604
+ "location": {},
2605
2605
  "attachments": {}
2606
2606
  },
2607
- "waterMeterLocation": {
2607
+ "waterMeter": {
2608
+ "location": {},
2608
2609
  "attachments": {}
2609
2610
  }
2610
2611
  },
@@ -169,7 +169,7 @@ test("correctly gets yes another subschema but through a non-baspi oneOf structu
169
169
 
170
170
  test("correctly gets an overlaid enum in a subschema", () => {
171
171
  const subschema = getSubschema(
172
- "/propertyPack/materialFacts/connectedUtilities/electricity/mainsElectricity/yesNo",
172
+ "/propertyPack/materialFacts/electricity/mainsElectricity/yesNo",
173
173
  schemaId,
174
174
  ["nts2023"]
175
175
  );