@pdtf/schemas 3.0.0-25 → 3.0.0-26

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.
@@ -646,18 +646,20 @@
646
646
  "collectsbuildingInsurancePremiums": {},
647
647
  "dealsWithDayToDayMaintenanceOfManagedArea": {},
648
648
  "organisesBuildingInsurance": {},
649
- "dealsWithDayToDayMaintenanceOfBuilding": {},
650
- "lesseeInCharge": {
651
- "nameOrOrganisation": {},
652
- "address": {
653
- "line1": {},
654
- "line2": {},
655
- "line3": {},
656
- "town": {},
657
- "postcode": {}
658
- },
659
- "telephone": {},
660
- "emailAddress": {}
649
+ "dealsWithDayToDayMaintenanceOfBuilding": {
650
+ "assignedContact": {},
651
+ "lesseeInCharge": {
652
+ "nameOrOrganisation": {},
653
+ "address": {
654
+ "line1": {},
655
+ "line2": {},
656
+ "line3": {},
657
+ "town": {},
658
+ "postcode": {}
659
+ },
660
+ "telephone": {},
661
+ "emailAddress": {}
662
+ }
661
663
  }
662
664
  }
663
665
  },
@@ -799,13 +801,6 @@
799
801
  "allPropertiesContribute": {
800
802
  "yesNo": {},
801
803
  "details": {}
802
- },
803
- "deedOfCertificateServed": {
804
- "yesNoNotApplicable": {},
805
- "sellerCompletedDeedOfCertificate": {}
806
- },
807
- "landlordsCertificateServed": {
808
- "yesNoNotApplicable": {}
809
804
  }
810
805
  },
811
806
  "buildingsInsurance": {
@@ -875,6 +870,19 @@
875
870
  "details": {}
876
871
  }
877
872
  },
873
+ "buildingSafety": {
874
+ "isLeaseQualifying": {},
875
+ "deedOfCertificateServed": {
876
+ "yesNoNotApplicable": {},
877
+ "sellerCompletedDeedOfCertificate": {},
878
+ "attachments": {}
879
+ },
880
+ "landlordNotifiedOfSale": {},
881
+ "landlordsCertificateServed": {
882
+ "yesNoNotApplicable": {},
883
+ "attachments": {}
884
+ }
885
+ },
878
886
  "general": {
879
887
  "sellerAwareOfAlterations": {
880
888
  "yesNo": {},
@@ -885,7 +893,6 @@
885
893
  "sellerServedNoticeOnLandlord": {},
886
894
  "sellerAwareOfNoticeOfCollectivePurchase": {},
887
895
  "sellerAwareOfResponse": {},
888
- "isLeaseQualifying": {},
889
896
  "otherPropertiesInManagedArea": {},
890
897
  "leasedOnSimilarTerms": {
891
898
  "yesNo": {},
@@ -905,9 +912,8 @@
905
912
  }
906
913
  },
907
914
  "requiredDocuments": {
908
- "noticeOfSale": {},
909
- "noticeOfBuildingCondition": {},
910
- "landlordNotifiedOfSale": {},
915
+ "lease": {},
916
+ "deedsOfVariation": {},
911
917
  "copyOfcorrespondence": {},
912
918
  "serviceChargeAccounts": {},
913
919
  "groundRent": {},
@@ -915,13 +921,14 @@
915
921
  "arrangedBySeller": {},
916
922
  "arrangedByLandlord": {}
917
923
  },
924
+ "noticeOfSale": {},
925
+ "noticeOfBuildingCondition": {},
918
926
  "managedAreasBuildingsInsurancePolicy": {},
919
927
  "serviceChargeEstimatesCurrent": {},
920
928
  "serviceChargeEstimatesPrevious": {},
921
929
  "proposedWorksNotices": {},
922
930
  "forfeitureDocumentation": {},
923
931
  "additionalRegulationsNotInLease": {},
924
- "deedsOfVariation": {},
925
932
  "deedOfCovenant": {},
926
933
  "certificateOfCompliance": {},
927
934
  "certificateOfComplianceFee": {},
@@ -930,12 +937,12 @@
930
937
  "noticesServedOnLessee": {},
931
938
  "asbestosSurvey": {},
932
939
  "managedAreaFireRiskAssessment": {},
933
- "memorandumAndArticles": {},
934
- "shareOrMembershipCertificate": {},
935
- "companyAccounts": {},
940
+ "managementCompanyDocuments": {
941
+ "memorandumAndArticles": {},
942
+ "shareOrMembershipCertificate": {},
943
+ "companyAccounts": {}
944
+ },
936
945
  "managementCompanyAGMMinutes": {},
937
- "deedOfCertificate": {},
938
- "landlordsCertificate": {},
939
946
  "enforcementNotices": {}
940
947
  },
941
948
  "confirmation": {
@@ -1983,8 +1990,8 @@
1983
1990
  "mainsFoulDrainage": {
1984
1991
  "yesNo": {},
1985
1992
  "details": {},
1986
- "dateToBeConnected": {},
1987
1993
  "supplier": {},
1994
+ "dateToBeConnected": {},
1988
1995
  "offMainsDrainageSystem": {
1989
1996
  "offMainsDrainageSystemType": {},
1990
1997
  "otherConnectedProperties": {
@@ -2597,9 +2604,10 @@
2597
2604
  "yesNo": {},
2598
2605
  "yearWorkCarriedOut": {},
2599
2606
  "details": {},
2600
- "electricalSafetyCertificate": {},
2601
- "buildingRegulationsComplianceCertificate": {},
2602
- "buildingControlCompletionCertificate": {}
2607
+ "suppliedCertificate": {
2608
+ "certificateType": {},
2609
+ "attachments": {}
2610
+ }
2603
2611
  }
2604
2612
  },
2605
2613
  "smartHomeSystems": {
@@ -116,6 +116,11 @@ const extractOverlay = (sourceSchema, ref) => {
116
116
  jp.set(returnSchema, `${path}/title`, element[refTitle]);
117
117
  }
118
118
 
119
+ const refDescription = `${ref}Description`;
120
+ if (element[refDescription]) {
121
+ jp.set(returnSchema, `${path}/description`, element[refDescription]);
122
+ }
123
+
119
124
  const refEnum = `${ref}Enum`;
120
125
  if (element[refEnum]) {
121
126
  jp.set(returnSchema, `${path}/enum`, element[refEnum]);