@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.
@@ -34,9 +34,6 @@
34
34
  "postcode": {}
35
35
  },
36
36
  "uprn": {},
37
- "isNewBuild": {
38
- "yesNo": {}
39
- },
40
37
  "location": {
41
38
  "latitude": {},
42
39
  "longitude": {},
@@ -88,13 +85,21 @@
88
85
  "units": {}
89
86
  },
90
87
  "yearOfBuild": {},
91
- "rooms": {
92
- "roomName": {},
93
- "length": {},
94
- "width": {},
95
- "units": {},
96
- "dimensionDetails": {},
97
- "photoUrls": {}
88
+ "isNewBuild": {
89
+ "yesNo": {}
90
+ },
91
+ "roomDimensions": {
92
+ "hasFloorplan": {
93
+ "yesNo": {},
94
+ "rooms": {
95
+ "roomName": {},
96
+ "length": {},
97
+ "width": {},
98
+ "units": {},
99
+ "dimensionDetails": {},
100
+ "photoUrls": {}
101
+ }
102
+ }
98
103
  }
99
104
  },
100
105
  "residentialPropertyFeatures": {
@@ -2029,42 +2034,30 @@
2029
2034
  "details": {},
2030
2035
  "dateToBeConnected": {},
2031
2036
  "supplier": {},
2032
- "sustainableDrainageSystem": {
2033
- "yesNo": {},
2034
- "supplier": {},
2035
- "dateToBeConnected": {}
2036
- },
2037
- "septicTank": {
2038
- "yesNo": {},
2037
+ "offMainsDrainageSystem": {
2038
+ "offMainsDrainageSystemType": {},
2039
+ "otherConnectedProperties": {
2040
+ "yesNo": {},
2041
+ "numberOfPropertiesSharing": {},
2042
+ "details": {}
2043
+ },
2044
+ "plantOnOtherLand": {
2045
+ "yesNo": {},
2046
+ "attachments": {}
2047
+ },
2048
+ "plantRegistered": {
2049
+ "yesNo": {},
2050
+ "attachments": {}
2051
+ },
2052
+ "plantDrainsIntoWaterway": {
2053
+ "yesNo": {},
2054
+ "dischargeCompliesWithGBR": {}
2055
+ },
2039
2056
  "dateReplaced": {},
2040
- "dateLastEmptied": {}
2041
- },
2042
- "cesspit": {
2043
- "yesNo": {},
2044
- "dateLastEmptied": {}
2045
- },
2046
- "sewerageTreatmentPlant": {
2047
- "yesNo": {},
2057
+ "dateLastEmptied": {},
2048
2058
  "dateInstalled": {},
2049
2059
  "dateLastServiced": {},
2050
2060
  "attachments": {}
2051
- },
2052
- "otherConnectedProperties": {
2053
- "yesNo": {},
2054
- "numberOfPropertiesSharing": {},
2055
- "details": {}
2056
- },
2057
- "plantOnOtherLand": {
2058
- "yesNo": {},
2059
- "attachments": {}
2060
- },
2061
- "plantRegistered": {
2062
- "yesNo": {},
2063
- "attachments": {}
2064
- },
2065
- "plantDrainsIntoWaterway": {
2066
- "yesNo": {},
2067
- "dischargeCompliesWithGBR": {}
2068
2061
  }
2069
2062
  },
2070
2063
  "surfaceDrainageCharge": {
@@ -204,7 +204,6 @@ test("correctly gets a subschema validator for a TA6 overlay", () => {
204
204
  "ta6ed4",
205
205
  ]);
206
206
  let isValid = validator(data);
207
- // console.log(validator.errors);
208
207
  expect(isValid).toBe(true);
209
208
  });
210
209