@pdtf/schemas 3.2.0-4 → 3.2.0-5

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/index.js CHANGED
@@ -47,6 +47,7 @@ const overlaysMap = {
47
47
  rdsV333: require("./src/schemas/v3/overlays/rds.json"),
48
48
  oc1v21: require("./src/schemas/v3/overlays/oc1.json"),
49
49
  piqV3: require("./src/schemas/v3/overlays/piq.json"),
50
+ sr24: require("./src/schemas/v3/overlays/sr24.json"),
50
51
  null: {},
51
52
  },
52
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.2.0-4",
3
+ "version": "3.2.0-5",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -19603,7 +19603,9 @@
19603
19603
  },
19604
19604
  "consequentialChargingBasis": {
19605
19605
  "con29DWRef": "4.5",
19606
- "title": "Will the basis for charging for sewerage and water services at the property change as a consequence of a change of occupation?"
19606
+ "title": "Will the basis for charging for sewerage and water services at the property change as a consequence of a change of occupation?",
19607
+ "type": "string",
19608
+ "minLength": 1
19607
19609
  }
19608
19610
  },
19609
19611
  "con29DWRequired": [
@@ -25841,6 +25843,23 @@
25841
25843
  }
25842
25844
  }
25843
25845
  },
25846
+ "saleReadyDeclarations": {
25847
+ "sr24Ref": "1",
25848
+ "title": "Confirmations to be supplied to confirm Sale Ready status",
25849
+ "type": "object",
25850
+ "properties": {
25851
+ "authorisedToActOnBehalfOfAllSellers": {
25852
+ "sr24Ref": "1.1",
25853
+ "title": "I/we confirm that I am/we are authorised to supply data and documents in relation to this property on behalf of all the owners of the property",
25854
+ "type": "boolean"
25855
+ },
25856
+ "authorisationToShare": {
25857
+ "sr24Ref": "1.2",
25858
+ "title": "I/we consent to the sharing of the information contained in the Sale Ready pack with the my/our legal representative and the buyer(s) and their legal representatives",
25859
+ "type": "boolean"
25860
+ }
25861
+ }
25862
+ },
25844
25863
  "localSearches": {
25845
25864
  "title": "Result of local searches, including Local Land Charges and CON29R",
25846
25865
  "type": "object",
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/sr24.json",
4
+ "properties": {
5
+ "propertyPack": {
6
+ "properties": {
7
+ "saleReadyDeclarations": {
8
+ "sr24Ref": "1",
9
+ "properties": {
10
+ "authorisedToActOnBehalfOfAllSellers": {
11
+ "sr24Ref": "1.1"
12
+ },
13
+ "authorisationToShare": {
14
+ "sr24Ref": "1.2"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
@@ -16752,7 +16752,9 @@
16752
16752
  "minLength": 1
16753
16753
  },
16754
16754
  "consequentialChargingBasis": {
16755
- "title": "Will the basis for charging for sewerage and water services at the property change as a consequence of a change of occupation?"
16755
+ "title": "Will the basis for charging for sewerage and water services at the property change as a consequence of a change of occupation?",
16756
+ "type": "string",
16757
+ "minLength": 1
16756
16758
  }
16757
16759
  }
16758
16760
  }
@@ -21615,6 +21617,20 @@
21615
21617
  }
21616
21618
  }
21617
21619
  },
21620
+ "saleReadyDeclarations": {
21621
+ "title": "Confirmations to be supplied to confirm Sale Ready status",
21622
+ "type": "object",
21623
+ "properties": {
21624
+ "authorisedToActOnBehalfOfAllSellers": {
21625
+ "title": "I/we confirm that I am/we are authorised to supply data and documents in relation to this property on behalf of all the owners of the property",
21626
+ "type": "boolean"
21627
+ },
21628
+ "authorisationToShare": {
21629
+ "title": "I/we consent to the sharing of the information contained in the Sale Ready pack with the my/our legal representative and the buyer(s) and their legal representatives",
21630
+ "type": "boolean"
21631
+ }
21632
+ }
21633
+ },
21618
21634
  "localSearches": {
21619
21635
  "title": "Result of local searches, including Local Land Charges and CON29R",
21620
21636
  "type": "object",
@@ -2807,6 +2807,10 @@
2807
2807
  "confirmWillProvideAdditionalDocumentation": {},
2808
2808
  "confirmInformationIsAccurate": {}
2809
2809
  },
2810
+ "saleReadyDeclarations": {
2811
+ "authorisedToActOnBehalfOfAllSellers": {},
2812
+ "authorisationToShare": {}
2813
+ },
2810
2814
  "localSearches": {
2811
2815
  "localLandCharges": {
2812
2816
  "hmlrReference": {},
@@ -22,6 +22,7 @@ const extractFields = [
22
22
  "llc1",
23
23
  "rds",
24
24
  "oc1",
25
+ "sr24",
25
26
  ];
26
27
 
27
28
  const flattenSkeleton = (schema) => {