@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.
@@ -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": {},
@@ -72,9 +69,9 @@
72
69
  },
73
70
  "buildInformation": {
74
71
  "building": {
72
+ "builtForm": {},
75
73
  "propertyType": {},
76
74
  "otherType": {},
77
- "builtForm": {},
78
75
  "numberOfFloors": {},
79
76
  "entranceFloor": {},
80
77
  "hasLift": {},
@@ -88,13 +85,19 @@
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
+ "rooms": {
94
+ "roomName": {},
95
+ "length": {},
96
+ "width": {},
97
+ "units": {},
98
+ "dimensionDetails": {},
99
+ "photoUrls": {}
100
+ }
98
101
  }
99
102
  },
100
103
  "residentialPropertyFeatures": {
@@ -2029,42 +2032,30 @@
2029
2032
  "details": {},
2030
2033
  "dateToBeConnected": {},
2031
2034
  "supplier": {},
2032
- "sustainableDrainageSystem": {
2033
- "yesNo": {},
2034
- "supplier": {},
2035
- "dateToBeConnected": {}
2036
- },
2037
- "septicTank": {
2038
- "yesNo": {},
2035
+ "offMainsDrainageSystem": {
2036
+ "offMainsDrainageSystemType": {},
2037
+ "otherConnectedProperties": {
2038
+ "yesNo": {},
2039
+ "numberOfPropertiesSharing": {},
2040
+ "details": {}
2041
+ },
2042
+ "plantOnOtherLand": {
2043
+ "yesNo": {},
2044
+ "attachments": {}
2045
+ },
2046
+ "plantRegistered": {
2047
+ "yesNo": {},
2048
+ "attachments": {}
2049
+ },
2050
+ "plantDrainsIntoWaterway": {
2051
+ "yesNo": {},
2052
+ "dischargeCompliesWithGBR": {}
2053
+ },
2039
2054
  "dateReplaced": {},
2040
- "dateLastEmptied": {}
2041
- },
2042
- "cesspit": {
2043
- "yesNo": {},
2044
- "dateLastEmptied": {}
2045
- },
2046
- "sewerageTreatmentPlant": {
2047
- "yesNo": {},
2055
+ "dateLastEmptied": {},
2048
2056
  "dateInstalled": {},
2049
2057
  "dateLastServiced": {},
2050
2058
  "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
2059
  }
2069
2060
  },
2070
2061
  "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