@pdtf/schemas 3.4.0-5 → 3.4.0-6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.4.0-5",
3
+ "version": "3.4.0-6",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -189,7 +189,7 @@
189
189
  },
190
190
  "participantStatus": {
191
191
  "type": "string",
192
- "enum": ["Active", "Removed", "Pending"]
192
+ "enum": ["Proposed", "Invited", "Active", "Removed"]
193
193
  }
194
194
  },
195
195
  "discriminator": {
@@ -22476,10 +22476,7 @@
22476
22476
  "ntslRef": "C3.1.1.1",
22477
22477
  "ntsl2Ref": "C3.1.1.1",
22478
22478
  "type": "string",
22479
- "title": "Is the property impacted?",
22480
- "ntsTitle": "To your knowledge, is the property at risk of flooding of any type?",
22481
- "baspi4Title": "To your knowledge,, is the property at risk of flooding of any type?",
22482
- "baspi5Title": "To your knowledge, is the property at risk of flooding of any type?",
22479
+ "title": "To your knowledge, is the property at risk of flooding of any type?",
22483
22480
  "enum": ["Yes", "No"]
22484
22481
  }
22485
22482
  },
@@ -22517,7 +22514,10 @@
22517
22514
  "ntsl2Ref": "C3.1.1.2",
22518
22515
  "type": "string",
22519
22516
  "title": "Summary of risk",
22520
- "ntsTitle:": "Please provide details",
22517
+ "ntsTitle": "Please provide details",
22518
+ "nts2Title": "Please provide details",
22519
+ "ntslTitle": "Please provide details",
22520
+ "ntsl2Title": "Please provide details",
22521
22521
  "minLength": 1
22522
22522
  },
22523
22523
  "recommendations": {
@@ -22608,7 +22608,8 @@
22608
22608
  "baspi4Ref": "A11.1.2.1",
22609
22609
  "baspi5Ref": "A11.1.2.1",
22610
22610
  "ta6Ref": "7.1.1",
22611
- "title": "Has any part of the property (whether buildings or surrounding garden or land) ever been flooded?",
22611
+ "title": "Has the property been flooded in the last 5 years?",
22612
+ "ta6Title": "Has any part of the property (whether buildings or surrounding garden or land) ever been flooded?",
22612
22613
  "type": "string",
22613
22614
  "enum": ["Yes", "No"]
22614
22615
  }
@@ -22676,16 +22677,16 @@
22676
22677
  ]
22677
22678
  },
22678
22679
  "floodDefences": {
22679
- "nts2Ref": "C3.1.1.2",
22680
- "ntsl2Ref": "C3.1.1.2",
22680
+ "nts2Ref": "C3.1.1.3",
22681
+ "ntsl2Ref": "C3.1.1.3",
22681
22682
  "title": "Flood defences",
22682
22683
  "type": "object",
22683
22684
  "nts2Required": ["hasFloodDefences"],
22684
22685
  "ntsl2Required": ["hasFloodDefences"],
22685
22686
  "properties": {
22686
22687
  "hasFloodDefences": {
22687
- "nts2Ref": "C3.1.1.2.1",
22688
- "ntsl2Ref": "C3.1.1.2.1",
22688
+ "nts2Ref": "C3.1.1.3.1",
22689
+ "ntsl2Ref": "C3.1.1.3.1",
22689
22690
  "title": "Are there any defences to prevent flooding installed at the property?",
22690
22691
  "type": "string",
22691
22692
  "enum": ["Yes", "No"]
@@ -22708,8 +22709,8 @@
22708
22709
  "enum": ["Yes"]
22709
22710
  },
22710
22711
  "details": {
22711
- "nts2Ref": "C3.1.1.4",
22712
- "ntsl2Ref": "C3.1.1.4",
22712
+ "nts2Ref": "C3.1.1.3.2",
22713
+ "ntsl2Ref": "C3.1.1.3.2",
22713
22714
  "title": "Please provide details",
22714
22715
  "type": "string",
22715
22716
  "minLength": 1
@@ -5598,12 +5598,7 @@
5598
5598
  "floodRisk": {
5599
5599
  "required": [
5600
5600
  "riskIndicator"
5601
- ],
5602
- "properties": {
5603
- "riskIndicator": {
5604
- "title": "To your knowledge,, is the property at risk of flooding of any type?"
5605
- }
5606
- }
5601
+ ]
5607
5602
  },
5608
5603
  "historicalFlooding": {
5609
5604
  "baspi4Ref": "A11.1.2",
@@ -5749,12 +5749,7 @@
5749
5749
  "floodRisk": {
5750
5750
  "required": [
5751
5751
  "riskIndicator"
5752
- ],
5753
- "properties": {
5754
- "riskIndicator": {
5755
- "title": "To your knowledge, is the property at risk of flooding of any type?"
5756
- }
5757
- }
5752
+ ]
5758
5753
  },
5759
5754
  "historicalFlooding": {
5760
5755
  "baspi5Ref": "A11.1.2",
@@ -1893,7 +1893,8 @@
1893
1893
  ]
1894
1894
  },
1895
1895
  "summary": {
1896
- "ntsRef": "C3.1.1.2"
1896
+ "ntsRef": "C3.1.1.2",
1897
+ "title": "Please provide details"
1897
1898
  }
1898
1899
  },
1899
1900
  "required": [
@@ -1906,8 +1907,7 @@
1906
1907
  ],
1907
1908
  "properties": {
1908
1909
  "riskIndicator": {
1909
- "ntsRef": "C3.1.1.1",
1910
- "title": "To your knowledge, is the property at risk of flooding of any type?"
1910
+ "ntsRef": "C3.1.1.1"
1911
1911
  }
1912
1912
  }
1913
1913
  },
@@ -2410,7 +2410,8 @@
2410
2410
  ]
2411
2411
  },
2412
2412
  "summary": {
2413
- "nts2Ref": "C3.1.1.2"
2413
+ "nts2Ref": "C3.1.1.2",
2414
+ "title": "Please provide details"
2414
2415
  }
2415
2416
  },
2416
2417
  "required": [
@@ -2472,7 +2473,7 @@
2472
2473
  }
2473
2474
  },
2474
2475
  "floodDefences": {
2475
- "nts2Ref": "C3.1.1.2",
2476
+ "nts2Ref": "C3.1.1.3",
2476
2477
  "discriminator": {
2477
2478
  "propertyName": "hasFloodDefences"
2478
2479
  },
@@ -2494,7 +2495,7 @@
2494
2495
  ]
2495
2496
  },
2496
2497
  "details": {
2497
- "nts2Ref": "C3.1.1.4"
2498
+ "nts2Ref": "C3.1.1.3.2"
2498
2499
  }
2499
2500
  },
2500
2501
  "required": [
@@ -2507,7 +2508,7 @@
2507
2508
  ],
2508
2509
  "properties": {
2509
2510
  "hasFloodDefences": {
2510
- "nts2Ref": "C3.1.1.2.1"
2511
+ "nts2Ref": "C3.1.1.3.1"
2511
2512
  }
2512
2513
  }
2513
2514
  }
@@ -1553,7 +1553,8 @@
1553
1553
  ]
1554
1554
  },
1555
1555
  "summary": {
1556
- "ntslRef": "C3.1.1.2"
1556
+ "ntslRef": "C3.1.1.2",
1557
+ "title": "Please provide details"
1557
1558
  }
1558
1559
  },
1559
1560
  "required": [
@@ -1915,7 +1915,8 @@
1915
1915
  ]
1916
1916
  },
1917
1917
  "summary": {
1918
- "ntsl2Ref": "C3.1.1.2"
1918
+ "ntsl2Ref": "C3.1.1.2",
1919
+ "title": "Please provide details"
1919
1920
  }
1920
1921
  },
1921
1922
  "required": [
@@ -1977,7 +1978,7 @@
1977
1978
  }
1978
1979
  },
1979
1980
  "floodDefences": {
1980
- "ntsl2Ref": "C3.1.1.2",
1981
+ "ntsl2Ref": "C3.1.1.3",
1981
1982
  "discriminator": {
1982
1983
  "propertyName": "hasFloodDefences"
1983
1984
  },
@@ -1999,7 +2000,7 @@
1999
2000
  ]
2000
2001
  },
2001
2002
  "details": {
2002
- "ntsl2Ref": "C3.1.1.4"
2003
+ "ntsl2Ref": "C3.1.1.3.2"
2003
2004
  }
2004
2005
  },
2005
2006
  "required": [
@@ -2012,7 +2013,7 @@
2012
2013
  ],
2013
2014
  "properties": {
2014
2015
  "hasFloodDefences": {
2015
- "ntsl2Ref": "C3.1.1.2.1"
2016
+ "ntsl2Ref": "C3.1.1.3.1"
2016
2017
  }
2017
2018
  }
2018
2019
  }
@@ -3172,7 +3172,8 @@
3172
3172
  ],
3173
3173
  "properties": {
3174
3174
  "hasBeenFlooded": {
3175
- "ta6Ref": "7.1.1"
3175
+ "ta6Ref": "7.1.1",
3176
+ "title": "Has any part of the property (whether buildings or surrounding garden or land) ever been flooded?"
3176
3177
  }
3177
3178
  }
3178
3179
  }
@@ -186,9 +186,10 @@
186
186
  "participantStatus": {
187
187
  "type": "string",
188
188
  "enum": [
189
+ "Proposed",
190
+ "Invited",
189
191
  "Active",
190
- "Removed",
191
- "Pending"
192
+ "Removed"
192
193
  ]
193
194
  }
194
195
  },
@@ -18231,7 +18232,7 @@
18231
18232
  "properties": {
18232
18233
  "riskIndicator": {
18233
18234
  "type": "string",
18234
- "title": "Is the property impacted?",
18235
+ "title": "To your knowledge, is the property at risk of flooding of any type?",
18235
18236
  "enum": [
18236
18237
  "Yes",
18237
18238
  "No"
@@ -18269,7 +18270,6 @@
18269
18270
  "summary": {
18270
18271
  "type": "string",
18271
18272
  "title": "Summary of risk",
18272
- "ntsTitle:": "Please provide details",
18273
18273
  "minLength": 1
18274
18274
  },
18275
18275
  "recommendations": {
@@ -18338,7 +18338,7 @@
18338
18338
  "type": "object",
18339
18339
  "properties": {
18340
18340
  "hasBeenFlooded": {
18341
- "title": "Has any part of the property (whether buildings or surrounding garden or land) ever been flooded?",
18341
+ "title": "Has the property been flooded in the last 5 years?",
18342
18342
  "type": "string",
18343
18343
  "enum": [
18344
18344
  "Yes",