@pdtf/schemas 3.6.0-11 → 3.6.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.
@@ -9966,9 +9966,49 @@
9966
9966
  }
9967
9967
  }
9968
9968
  ]
9969
+ }
9970
+ }
9971
+ }
9972
+ ]
9973
+ },
9974
+ "nonResidentialPurposes": {
9975
+ "title": "Is any part of the property used exclusively for non-residential purposes?",
9976
+ "description": "If yes, give details and supply a copy of any relevant planning permission:",
9977
+ "type": "object",
9978
+ "properties": {
9979
+ "yesNo": {
9980
+ "type": "string",
9981
+ "title": "",
9982
+ "enum": [
9983
+ "Yes",
9984
+ "No"
9985
+ ]
9986
+ }
9987
+ },
9988
+ "oneOf": [
9989
+ {
9990
+ "properties": {
9991
+ "yesNo": {
9992
+ "enum": [
9993
+ "No"
9994
+ ]
9995
+ }
9996
+ }
9997
+ },
9998
+ {
9999
+ "properties": {
10000
+ "yesNo": {
10001
+ "enum": [
10002
+ "Yes"
10003
+ ]
10004
+ },
10005
+ "details": {
10006
+ "title": "Please give details",
10007
+ "type": "string",
10008
+ "minLength": 1
9969
10009
  },
9970
10010
  "attachments": {
9971
- "title": "Attachments",
10011
+ "title": "Please supply a copy of any relevant planning permission",
9972
10012
  "type": "string",
9973
10013
  "enum": [
9974
10014
  "Attached",
@@ -20389,6 +20429,45 @@
20389
20429
  "title": "Please give details including who collects payments and organises the work, the amount of the payments in the last year and whether they are regular payments or only when maintenance work is required",
20390
20430
  "type": "string",
20391
20431
  "minLength": 1
20432
+ },
20433
+ "disagreementOrComplaint": {
20434
+ "title": "Are you aware of any disagreement or complaint about any such right or arrangement?",
20435
+ "type": "object",
20436
+ "properties": {
20437
+ "yesNo": {
20438
+ "type": "string",
20439
+ "enum": [
20440
+ "Yes",
20441
+ "No",
20442
+ "Not known"
20443
+ ]
20444
+ }
20445
+ },
20446
+ "oneOf": [
20447
+ {
20448
+ "properties": {
20449
+ "yesNo": {
20450
+ "enum": [
20451
+ "No",
20452
+ "Not known"
20453
+ ]
20454
+ }
20455
+ }
20456
+ },
20457
+ {
20458
+ "properties": {
20459
+ "yesNo": {
20460
+ "enum": [
20461
+ "Yes"
20462
+ ]
20463
+ },
20464
+ "details": {
20465
+ "type": "string",
20466
+ "minLength": 1
20467
+ }
20468
+ }
20469
+ }
20470
+ ]
20392
20471
  }
20393
20472
  }
20394
20473
  }
@@ -20429,6 +20508,45 @@
20429
20508
  "type": "string",
20430
20509
  "minLength": 1
20431
20510
  },
20511
+ "disagreementOrComplaint": {
20512
+ "title": "Are you aware of any disagreement or complaint about any such right or arrangement?",
20513
+ "type": "object",
20514
+ "properties": {
20515
+ "yesNo": {
20516
+ "type": "string",
20517
+ "enum": [
20518
+ "Yes",
20519
+ "No",
20520
+ "Not known"
20521
+ ]
20522
+ }
20523
+ },
20524
+ "oneOf": [
20525
+ {
20526
+ "properties": {
20527
+ "yesNo": {
20528
+ "enum": [
20529
+ "No",
20530
+ "Not known"
20531
+ ]
20532
+ }
20533
+ }
20534
+ },
20535
+ {
20536
+ "properties": {
20537
+ "yesNo": {
20538
+ "enum": [
20539
+ "Yes"
20540
+ ]
20541
+ },
20542
+ "details": {
20543
+ "type": "string",
20544
+ "minLength": 1
20545
+ }
20546
+ }
20547
+ }
20548
+ ]
20549
+ },
20432
20550
  "attachments": {
20433
20551
  "title": "Attachments",
20434
20552
  "type": "string",
@@ -20803,85 +20921,47 @@
20803
20921
  }
20804
20922
  }
20805
20923
  ]
20806
- }
20807
- }
20808
- },
20809
- "disagreementAboutRightsYouExercise": {
20810
- "title": "Are you aware of any disagreement or complaint about any such right or arrangement?",
20811
- "type": "object",
20812
- "properties": {
20813
- "yesNo": {
20814
- "type": "string",
20815
- "enum": [
20816
- "Yes",
20817
- "No",
20818
- "Not known"
20819
- ]
20820
- }
20821
- },
20822
- "oneOf": [
20823
- {
20924
+ },
20925
+ "disagreementOrComplaint": {
20926
+ "title": "Are you aware of any disagreement or complaint about any such rights?",
20927
+ "type": "object",
20824
20928
  "properties": {
20825
20929
  "yesNo": {
20930
+ "type": "string",
20826
20931
  "enum": [
20932
+ "Yes",
20827
20933
  "No",
20828
20934
  "Not known"
20829
20935
  ]
20830
20936
  }
20831
- }
20832
- },
20833
- {
20834
- "properties": {
20835
- "yesNo": {
20836
- "enum": [
20837
- "Yes"
20838
- ]
20937
+ },
20938
+ "oneOf": [
20939
+ {
20940
+ "properties": {
20941
+ "yesNo": {
20942
+ "enum": [
20943
+ "No",
20944
+ "Not known"
20945
+ ]
20946
+ }
20947
+ }
20839
20948
  },
20840
- "details": {
20841
- "type": "string",
20842
- "minLength": 1
20949
+ {
20950
+ "properties": {
20951
+ "yesNo": {
20952
+ "enum": [
20953
+ "Yes"
20954
+ ]
20955
+ },
20956
+ "details": {
20957
+ "type": "string",
20958
+ "minLength": 1
20959
+ }
20960
+ }
20843
20961
  }
20844
- }
20845
- }
20846
- ]
20847
- },
20848
- "rightsOverProperty": {
20849
- "title": "Do the owners of any other properties exercise any rights or arrangements over the property?",
20850
- "type": "object",
20851
- "properties": {
20852
- "yesNo": {
20853
- "type": "string",
20854
- "enum": [
20855
- "Yes",
20856
- "No"
20857
20962
  ]
20858
20963
  }
20859
- },
20860
- "oneOf": [
20861
- {
20862
- "properties": {
20863
- "yesNo": {
20864
- "enum": [
20865
- "No"
20866
- ]
20867
- }
20868
- }
20869
- },
20870
- {
20871
- "properties": {
20872
- "yesNo": {
20873
- "enum": [
20874
- "Yes"
20875
- ]
20876
- },
20877
- "details": {
20878
- "type": "string",
20879
- "minLength": 1,
20880
- "title": "Please give details:"
20881
- }
20882
- }
20883
- }
20884
- ]
20964
+ }
20885
20965
  },
20886
20966
  "askedOthersToContribute": {
20887
20967
  "title": "Have you asked the owner of any other properties to contribute towards the cost of the jointly used facilities?",
@@ -20918,6 +20998,45 @@
20918
20998
  "title": "Specify whether you receive this payment or if it is made to a third party. Include details about how much is paid and how often payments are made:",
20919
20999
  "type": "string",
20920
21000
  "minLength": 1
21001
+ },
21002
+ "disagreementOrComplaint": {
21003
+ "title": "Are you aware of any disagreement or complaint about any such arrangements?",
21004
+ "type": "object",
21005
+ "properties": {
21006
+ "yesNo": {
21007
+ "type": "string",
21008
+ "enum": [
21009
+ "Yes",
21010
+ "No",
21011
+ "Not known"
21012
+ ]
21013
+ }
21014
+ },
21015
+ "oneOf": [
21016
+ {
21017
+ "properties": {
21018
+ "yesNo": {
21019
+ "enum": [
21020
+ "No",
21021
+ "Not known"
21022
+ ]
21023
+ }
21024
+ }
21025
+ },
21026
+ {
21027
+ "properties": {
21028
+ "yesNo": {
21029
+ "enum": [
21030
+ "Yes"
21031
+ ]
21032
+ },
21033
+ "details": {
21034
+ "type": "string",
21035
+ "minLength": 1
21036
+ }
21037
+ }
21038
+ }
21039
+ ]
20921
21040
  }
20922
21041
  }
20923
21042
  }
@@ -1468,7 +1468,11 @@
1468
1468
  "yesNo": "variant",
1469
1469
  "attachments": "string",
1470
1470
  "details": "string"
1471
- },
1471
+ }
1472
+ },
1473
+ "nonResidentialPurposes": {
1474
+ "yesNo": "variant",
1475
+ "details": "string",
1472
1476
  "attachments": "string"
1473
1477
  },
1474
1478
  "windowReplacementsSince2002": {
@@ -2673,11 +2677,19 @@
2673
2677
  "rightsAndInformalArrangements": {
2674
2678
  "sharedContributions": {
2675
2679
  "yesNo": "variant",
2676
- "details": "string"
2680
+ "details": "string",
2681
+ "disagreementOrComplaint": {
2682
+ "yesNo": "variant",
2683
+ "details": "string"
2684
+ }
2677
2685
  },
2678
2686
  "neighbouringLandRights": {
2679
2687
  "yesNo": "variant",
2680
2688
  "details": "string",
2689
+ "disagreementOrComplaint": {
2690
+ "yesNo": "variant",
2691
+ "details": "string"
2692
+ },
2681
2693
  "attachments": "string"
2682
2694
  },
2683
2695
  "accessRestrictionAttempts": {
@@ -2717,19 +2729,19 @@
2717
2729
  "otherRights": {
2718
2730
  "yesNo": "variant",
2719
2731
  "details": "string"
2732
+ },
2733
+ "disagreementOrComplaint": {
2734
+ "yesNo": "variant",
2735
+ "details": "string"
2720
2736
  }
2721
2737
  },
2722
- "disagreementAboutRightsYouExercise": {
2723
- "yesNo": "variant",
2724
- "details": "string"
2725
- },
2726
- "rightsOverProperty": {
2727
- "yesNo": "variant",
2728
- "details": "string"
2729
- },
2730
2738
  "askedOthersToContribute": {
2731
2739
  "yesNo": "variant",
2732
- "details": "string"
2740
+ "details": "string",
2741
+ "disagreementOrComplaint": {
2742
+ "yesNo": "variant",
2743
+ "details": "string"
2744
+ }
2733
2745
  }
2734
2746
  },
2735
2747
  "environmentalIssues": {
@@ -726,7 +726,12 @@ describe("TA6 Edition 6 overlay", () => {
726
726
  test("isInsured Yes with insuranceClaims is valid", () => {
727
727
  const data = {
728
728
  isInsured: "Yes",
729
- difficultiesObtainingInsurance: { yesNo: "No" },
729
+ difficultiesObtainingInsurance: {
730
+ abnormalRiseInPremiums: { yesNo: "No" },
731
+ subjectToHighExcesses: { yesNo: "No" },
732
+ subjectToUnusualConditions: { yesNo: "No" },
733
+ refused: { yesNo: "No" },
734
+ },
730
735
  insuranceClaims: { yesNo: "No" },
731
736
  };
732
737
  expect(validator(data)).toBe(true);
@@ -735,7 +740,12 @@ describe("TA6 Edition 6 overlay", () => {
735
740
  test("isInsured No with whoInsures is valid", () => {
736
741
  const data = {
737
742
  isInsured: "No",
738
- difficultiesObtainingInsurance: { yesNo: "No" },
743
+ difficultiesObtainingInsurance: {
744
+ abnormalRiseInPremiums: { yesNo: "No" },
745
+ subjectToHighExcesses: { yesNo: "No" },
746
+ subjectToUnusualConditions: { yesNo: "No" },
747
+ refused: { yesNo: "No" },
748
+ },
739
749
  whoInsures: "Landlord insures the building",
740
750
  insuranceClaims: { yesNo: "No" },
741
751
  };
@@ -823,10 +833,18 @@ describe("TA6 Edition 6 overlay", () => {
823
833
  const data = {
824
834
  neighbouringLandRights: { yesNo: "No" },
825
835
  sharedContributions: { yesNo: "No" },
826
- disagreementAboutRightsYouExercise: { yesNo: "No" },
836
+ rightsOrArrangements: {
837
+ rightsOfLight: { yesNo: "No" },
838
+ rightsOfSupport: { yesNo: "No" },
839
+ rightsCreatedThroughCustom: { yesNo: "No" },
840
+ minesAndMinerals: { yesNo: "No" },
841
+ churchChancel: { yesNo: "No" },
842
+ rightsToTakeFromLand: { yesNo: "No" },
843
+ otherRights: { yesNo: "No" },
844
+ disagreementOrComplaint: { yesNo: "No" },
845
+ },
827
846
  rightsOverProperty: { yesNo: "No" },
828
847
  askedOthersToContribute: { yesNo: "No" },
829
- accessRestrictionAttempts: { yesNo: "No" },
830
848
  };
831
849
  expect(validator(data)).toBe(true);
832
850
  });
@@ -1034,6 +1052,7 @@ describe("TA6 Edition 6 overlay", () => {
1034
1052
  insulation: { yesNo: "No" },
1035
1053
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1036
1054
  changeOfUse: { yesNo: "No" },
1055
+ nonResidentialPurposes: { yesNo: "No" },
1037
1056
  planningPermissionBreaches: { yesNo: "No" },
1038
1057
  unresolvedPlanningIssues: { yesNo: "No" },
1039
1058
  };
@@ -1051,6 +1070,7 @@ describe("TA6 Edition 6 overlay", () => {
1051
1070
  insulation: { yesNo: "No" },
1052
1071
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1053
1072
  changeOfUse: { yesNo: "No" },
1073
+ nonResidentialPurposes: { yesNo: "No" },
1054
1074
  planningPermissionBreaches: { yesNo: "No" },
1055
1075
  unresolvedPlanningIssues: { yesNo: "No" },
1056
1076
  };
@@ -1072,6 +1092,7 @@ describe("TA6 Edition 6 overlay", () => {
1072
1092
  insulation: { yesNo: "No" },
1073
1093
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1074
1094
  changeOfUse: { yesNo: "No" },
1095
+ nonResidentialPurposes: { yesNo: "No" },
1075
1096
  planningPermissionBreaches: { yesNo: "No" },
1076
1097
  unresolvedPlanningIssues: { yesNo: "No" },
1077
1098
  };
@@ -1096,6 +1117,7 @@ describe("TA6 Edition 6 overlay", () => {
1096
1117
  insulation: { yesNo: "No" },
1097
1118
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1098
1119
  changeOfUse: { yesNo: "No" },
1120
+ nonResidentialPurposes: { yesNo: "No" },
1099
1121
  planningPermissionBreaches: { yesNo: "No" },
1100
1122
  unresolvedPlanningIssues: { yesNo: "No" },
1101
1123
  };
@@ -1121,6 +1143,7 @@ describe("TA6 Edition 6 overlay", () => {
1121
1143
  insulation: { yesNo: "No" },
1122
1144
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1123
1145
  changeOfUse: { yesNo: "No" },
1146
+ nonResidentialPurposes: { yesNo: "No" },
1124
1147
  planningPermissionBreaches: { yesNo: "No" },
1125
1148
  unresolvedPlanningIssues: { yesNo: "No" },
1126
1149
  };
@@ -1143,6 +1166,7 @@ describe("TA6 Edition 6 overlay", () => {
1143
1166
  insulation: { yesNo: "No" },
1144
1167
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1145
1168
  changeOfUse: { yesNo: "No" },
1169
+ nonResidentialPurposes: { yesNo: "No" },
1146
1170
  planningPermissionBreaches: { yesNo: "No" },
1147
1171
  unresolvedPlanningIssues: { yesNo: "No" },
1148
1172
  };
@@ -1171,6 +1195,7 @@ describe("TA6 Edition 6 overlay", () => {
1171
1195
  insulation: { yesNo: "No" },
1172
1196
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1173
1197
  changeOfUse: { yesNo: "No" },
1198
+ nonResidentialPurposes: { yesNo: "No" },
1174
1199
  planningPermissionBreaches: { yesNo: "No" },
1175
1200
  unresolvedPlanningIssues: { yesNo: "No" },
1176
1201
  };
@@ -1192,6 +1217,7 @@ describe("TA6 Edition 6 overlay", () => {
1192
1217
  insulation: { yesNo: "No" },
1193
1218
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1194
1219
  changeOfUse: { yesNo: "No" },
1220
+ nonResidentialPurposes: { yesNo: "No" },
1195
1221
  planningPermissionBreaches: { yesNo: "No" },
1196
1222
  unresolvedPlanningIssues: { yesNo: "No" },
1197
1223
  };
@@ -1210,6 +1236,7 @@ describe("TA6 Edition 6 overlay", () => {
1210
1236
  insulation: { yesNo: "No" },
1211
1237
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1212
1238
  changeOfUse: { yesNo: "No" },
1239
+ nonResidentialPurposes: { yesNo: "No" },
1213
1240
  planningPermissionBreaches: { yesNo: "No" },
1214
1241
  unresolvedPlanningIssues: { yesNo: "No" },
1215
1242
  };
@@ -1249,6 +1276,7 @@ describe("TA6 Edition 6 overlay", () => {
1249
1276
  insulation: { yesNo: "No" },
1250
1277
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1251
1278
  changeOfUse: { yesNo: "No" },
1279
+ nonResidentialPurposes: { yesNo: "No" },
1252
1280
  planningPermissionBreaches: { yesNo: "No" },
1253
1281
  unresolvedPlanningIssues: { yesNo: "No" },
1254
1282
  };
@@ -1272,6 +1300,7 @@ describe("TA6 Edition 6 overlay", () => {
1272
1300
  insulation: { yesNo: "No" },
1273
1301
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1274
1302
  changeOfUse: { yesNo: "No" },
1303
+ nonResidentialPurposes: { yesNo: "No" },
1275
1304
  planningPermissionBreaches: { yesNo: "No" },
1276
1305
  unresolvedPlanningIssues: { yesNo: "No" },
1277
1306
  };
@@ -1298,6 +1327,7 @@ describe("TA6 Edition 6 overlay", () => {
1298
1327
  insulation: { yesNo: "No" },
1299
1328
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1300
1329
  changeOfUse: { yesNo: "No" },
1330
+ nonResidentialPurposes: { yesNo: "No" },
1301
1331
  planningPermissionBreaches: { yesNo: "No" },
1302
1332
  unresolvedPlanningIssues: { yesNo: "No" },
1303
1333
  };
@@ -1321,6 +1351,7 @@ describe("TA6 Edition 6 overlay", () => {
1321
1351
  insulation: { yesNo: "No" },
1322
1352
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1323
1353
  changeOfUse: { yesNo: "No" },
1354
+ nonResidentialPurposes: { yesNo: "No" },
1324
1355
  planningPermissionBreaches: { yesNo: "No" },
1325
1356
  unresolvedPlanningIssues: { yesNo: "No" },
1326
1357
  };
@@ -1353,6 +1384,7 @@ describe("TA6 Edition 6 overlay", () => {
1353
1384
  insulation: { yesNo: "No" },
1354
1385
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1355
1386
  changeOfUse: { yesNo: "No" },
1387
+ nonResidentialPurposes: { yesNo: "No" },
1356
1388
  planningPermissionBreaches: { yesNo: "No" },
1357
1389
  unresolvedPlanningIssues: { yesNo: "No" },
1358
1390
  };
@@ -1379,6 +1411,7 @@ describe("TA6 Edition 6 overlay", () => {
1379
1411
  insulation: { yesNo: "No" },
1380
1412
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1381
1413
  changeOfUse: { yesNo: "No" },
1414
+ nonResidentialPurposes: { yesNo: "No" },
1382
1415
  planningPermissionBreaches: { yesNo: "No" },
1383
1416
  unresolvedPlanningIssues: { yesNo: "No" },
1384
1417
  };
@@ -1405,6 +1438,7 @@ describe("TA6 Edition 6 overlay", () => {
1405
1438
  insulation: { yesNo: "No" },
1406
1439
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1407
1440
  changeOfUse: { yesNo: "No" },
1441
+ nonResidentialPurposes: { yesNo: "No" },
1408
1442
  planningPermissionBreaches: { yesNo: "No" },
1409
1443
  unresolvedPlanningIssues: { yesNo: "No" },
1410
1444
  };
@@ -1434,6 +1468,7 @@ describe("TA6 Edition 6 overlay", () => {
1434
1468
  insulation: { yesNo: "No" },
1435
1469
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1436
1470
  changeOfUse: { yesNo: "No" },
1471
+ nonResidentialPurposes: { yesNo: "No" },
1437
1472
  planningPermissionBreaches: { yesNo: "No" },
1438
1473
  unresolvedPlanningIssues: { yesNo: "No" },
1439
1474
  };
@@ -1466,6 +1501,7 @@ describe("TA6 Edition 6 overlay", () => {
1466
1501
  insulation: { yesNo: "No" },
1467
1502
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
1468
1503
  changeOfUse: { yesNo: "No" },
1504
+ nonResidentialPurposes: { yesNo: "No" },
1469
1505
  planningPermissionBreaches: { yesNo: "No" },
1470
1506
  unresolvedPlanningIssues: { yesNo: "No" },
1471
1507
  };
@@ -2182,6 +2218,7 @@ function buildMinimalTransaction() {
2182
2218
  insulation: { yesNo: "No" },
2183
2219
  otherBuildingWorksOrChangesToTheProperty: { yesNo: "No" },
2184
2220
  changeOfUse: { yesNo: "No" },
2221
+ nonResidentialPurposes: { yesNo: "No" },
2185
2222
  planningPermissionBreaches: { yesNo: "No" },
2186
2223
  unresolvedPlanningIssues: { yesNo: "No" },
2187
2224
  },