@pdtf/schemas 3.4.0-1 → 3.4.0-3

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.
@@ -21,7 +21,8 @@
21
21
  "listingAndConservation",
22
22
  "rightsAndInformalArrangements",
23
23
  "environmentalIssues",
24
- "notices"
24
+ "notices",
25
+ "specialistIssues"
25
26
  ],
26
27
  "properties": {
27
28
  "lettingInformation": {
@@ -495,7 +496,8 @@
495
496
  "required": [
496
497
  "isStandardForm",
497
498
  "buildingSafety",
498
- "loft"
499
+ "loft",
500
+ "sprayFoamInsulation"
499
501
  ],
500
502
  "properties": {
501
503
  "isStandardForm": {
@@ -630,7 +632,7 @@
630
632
  }
631
633
  },
632
634
  "required": [
633
- "loftAccess",
635
+ "details",
634
636
  "loftBoarded",
635
637
  "loftInsulated"
636
638
  ]
@@ -645,6 +647,47 @@
645
647
  }
646
648
  }
647
649
  },
650
+ "sprayFoamInsulation": {
651
+ "ntsl2Ref": "A4.2",
652
+ "discriminator": {
653
+ "propertyName": "hasSprayFoamInstalled"
654
+ },
655
+ "oneOf": [
656
+ {
657
+ "properties": {
658
+ "hasSprayFoamInstalled": {
659
+ "enum": [
660
+ "No"
661
+ ]
662
+ }
663
+ }
664
+ },
665
+ {
666
+ "properties": {
667
+ "hasSprayFoamInstalled": {
668
+ "enum": [
669
+ "Yes"
670
+ ]
671
+ },
672
+ "details": {
673
+ "ntsl2Ref": "A4.2.2",
674
+ "title": "Please give details"
675
+ }
676
+ },
677
+ "required": [
678
+ "details"
679
+ ]
680
+ }
681
+ ],
682
+ "required": [
683
+ "hasSprayFoamInstalled"
684
+ ],
685
+ "properties": {
686
+ "hasSprayFoamInstalled": {
687
+ "ntsl2Ref": "A4.2.1"
688
+ }
689
+ }
690
+ },
648
691
  "accessibilityAndAdaptations": {
649
692
  "ntsl2Ref": "C5"
650
693
  }
@@ -816,9 +859,98 @@
816
859
  "specialistIssues": {
817
860
  "ntsl2Ref": "A5",
818
861
  "required": [
819
- "japaneseKnotweed"
862
+ "dryRotEtcTreatment",
863
+ "containsAsbestos",
864
+ "japaneseKnotweed",
865
+ "subsidenceOrStructuralFault",
866
+ "ongoingHealthOrSafetyIssue"
820
867
  ],
821
868
  "properties": {
869
+ "dryRotEtcTreatment": {
870
+ "ntsl2Ref": "A5.1",
871
+ "discriminator": {
872
+ "propertyName": "yesNo"
873
+ },
874
+ "oneOf": [
875
+ {
876
+ "properties": {
877
+ "yesNo": {
878
+ "enum": [
879
+ "No"
880
+ ]
881
+ }
882
+ }
883
+ },
884
+ {
885
+ "properties": {
886
+ "yesNo": {
887
+ "enum": [
888
+ "Yes"
889
+ ]
890
+ },
891
+ "details": {
892
+ "ntsl2Ref": "A5.1.2"
893
+ },
894
+ "attachments": {
895
+ "ntsl2Ref": "A5.1.3"
896
+ }
897
+ },
898
+ "required": [
899
+ "details",
900
+ "attachments"
901
+ ]
902
+ }
903
+ ],
904
+ "required": [
905
+ "yesNo"
906
+ ],
907
+ "properties": {
908
+ "yesNo": {
909
+ "ntsl2Ref": "A5.1.1"
910
+ }
911
+ }
912
+ },
913
+ "containsAsbestos": {
914
+ "ntsl2Ref": "A5.2",
915
+ "discriminator": {
916
+ "propertyName": "yesNo"
917
+ },
918
+ "oneOf": [
919
+ {
920
+ "properties": {
921
+ "yesNo": {
922
+ "enum": [
923
+ "No"
924
+ ]
925
+ }
926
+ }
927
+ },
928
+ {
929
+ "properties": {
930
+ "yesNo": {
931
+ "enum": [
932
+ "Yes"
933
+ ]
934
+ },
935
+ "details": {
936
+ "ntsl2Ref": "A5.2.2",
937
+ "title": "Details"
938
+ }
939
+ },
940
+ "required": [
941
+ "details"
942
+ ]
943
+ }
944
+ ],
945
+ "required": [
946
+ "yesNo"
947
+ ],
948
+ "properties": {
949
+ "yesNo": {
950
+ "ntsl2Ref": "A5.2.1"
951
+ }
952
+ }
953
+ },
822
954
  "japaneseKnotweed": {
823
955
  "ntsl2Ref": "A5.3",
824
956
  "discriminator": {
@@ -893,6 +1025,46 @@
893
1025
  "ntsl2Ref": "A5.4.1"
894
1026
  }
895
1027
  }
1028
+ },
1029
+ "ongoingHealthOrSafetyIssue": {
1030
+ "ntsl2Ref": "A5.5",
1031
+ "discriminator": {
1032
+ "propertyName": "yesNo"
1033
+ },
1034
+ "oneOf": [
1035
+ {
1036
+ "properties": {
1037
+ "yesNo": {
1038
+ "enum": [
1039
+ "No"
1040
+ ]
1041
+ }
1042
+ }
1043
+ },
1044
+ {
1045
+ "properties": {
1046
+ "yesNo": {
1047
+ "enum": [
1048
+ "Yes"
1049
+ ]
1050
+ },
1051
+ "details": {
1052
+ "ntsl2Ref": "A5.5.2"
1053
+ }
1054
+ },
1055
+ "required": [
1056
+ "details"
1057
+ ]
1058
+ }
1059
+ ],
1060
+ "required": [
1061
+ "yesNo"
1062
+ ],
1063
+ "properties": {
1064
+ "yesNo": {
1065
+ "ntsl2Ref": "A5.5.1"
1066
+ }
1067
+ }
896
1068
  }
897
1069
  }
898
1070
  },