@pdtf/schemas 3.4.0-2 → 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.
- package/package.json +1 -1
- package/src/examples/v3/exampleTransaction.json +1 -1
- package/src/schemas/v3/combined.json +17 -16
- package/src/schemas/v3/overlays/nts2.json +46 -4
- package/src/schemas/v3/overlays/ntsl.json +2 -1
- package/src/schemas/v3/overlays/ntsl2.json +46 -3
- package/src/schemas/v3/pdtf-transaction.json +13 -4
package/package.json
CHANGED
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
"centralHeatingFuelType": "Other",
|
|
363
363
|
"otherCentralHeatingFuelType": "Ground-source Heat Pump"
|
|
364
364
|
},
|
|
365
|
-
"centralHeatingInstalled": "
|
|
365
|
+
"centralHeatingInstalled": "Not known",
|
|
366
366
|
"heatingLastServicedDate": "2021-03-26",
|
|
367
367
|
"heatingLastServicedReport": "To follow"
|
|
368
368
|
}
|
|
@@ -460,7 +460,8 @@
|
|
|
460
460
|
"listingAndConservation",
|
|
461
461
|
"rightsAndInformalArrangements",
|
|
462
462
|
"environmentalIssues",
|
|
463
|
-
"notices"
|
|
463
|
+
"notices",
|
|
464
|
+
"specialistIssues"
|
|
464
465
|
],
|
|
465
466
|
"ntsl2Required": [
|
|
466
467
|
"lettingInformation",
|
|
@@ -476,7 +477,8 @@
|
|
|
476
477
|
"listingAndConservation",
|
|
477
478
|
"rightsAndInformalArrangements",
|
|
478
479
|
"environmentalIssues",
|
|
479
|
-
"notices"
|
|
480
|
+
"notices",
|
|
481
|
+
"specialistIssues"
|
|
480
482
|
],
|
|
481
483
|
"ta7Required": ["ownership"],
|
|
482
484
|
"properties": {
|
|
@@ -1802,14 +1804,14 @@
|
|
|
1802
1804
|
{
|
|
1803
1805
|
"properties": {
|
|
1804
1806
|
"yesNo": {
|
|
1805
|
-
"enum": ["
|
|
1807
|
+
"enum": ["No"]
|
|
1806
1808
|
}
|
|
1807
1809
|
}
|
|
1808
1810
|
},
|
|
1809
1811
|
{
|
|
1810
1812
|
"properties": {
|
|
1811
1813
|
"yesNo": {
|
|
1812
|
-
"enum": ["
|
|
1814
|
+
"enum": ["Yes"]
|
|
1813
1815
|
},
|
|
1814
1816
|
"details": {
|
|
1815
1817
|
"nts2Ref": "A3.4.2",
|
|
@@ -4231,7 +4233,7 @@
|
|
|
4231
4233
|
"ntsRef": "A3.7.1",
|
|
4232
4234
|
"nts2Ref": "A3.7.1",
|
|
4233
4235
|
"title": "Shared ownership percentage",
|
|
4234
|
-
"type": "
|
|
4236
|
+
"type": "number",
|
|
4235
4237
|
"minimum": 5,
|
|
4236
4238
|
"exclusiveMaximum": 100
|
|
4237
4239
|
},
|
|
@@ -10074,16 +10076,8 @@
|
|
|
10074
10076
|
"enum": ["Yes", "No"]
|
|
10075
10077
|
}
|
|
10076
10078
|
},
|
|
10077
|
-
"nts2Required": [
|
|
10078
|
-
|
|
10079
|
-
"loftBoarded",
|
|
10080
|
-
"loftInsulated"
|
|
10081
|
-
],
|
|
10082
|
-
"ntsl2Required": [
|
|
10083
|
-
"loftAccess",
|
|
10084
|
-
"loftBoarded",
|
|
10085
|
-
"loftInsulated"
|
|
10086
|
-
]
|
|
10079
|
+
"nts2Required": ["details", "loftBoarded", "loftInsulated"],
|
|
10080
|
+
"ntsl2Required": ["details", "loftBoarded", "loftInsulated"]
|
|
10087
10081
|
}
|
|
10088
10082
|
]
|
|
10089
10083
|
},
|
|
@@ -20719,7 +20713,14 @@
|
|
|
20719
20713
|
"piqRef": "A7.4.1",
|
|
20720
20714
|
"title": "When was the heating system installed?",
|
|
20721
20715
|
"type": "string",
|
|
20722
|
-
"
|
|
20716
|
+
"oneOf": [
|
|
20717
|
+
{
|
|
20718
|
+
"format": "date"
|
|
20719
|
+
},
|
|
20720
|
+
{
|
|
20721
|
+
"enum": ["Not known"]
|
|
20722
|
+
}
|
|
20723
|
+
]
|
|
20723
20724
|
},
|
|
20724
20725
|
"boilerInstallationCertificate": {
|
|
20725
20726
|
"baspi4Ref": "A7.4.1.1",
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"properties": {
|
|
288
288
|
"yesNo": {
|
|
289
289
|
"enum": [
|
|
290
|
-
"
|
|
290
|
+
"No"
|
|
291
291
|
]
|
|
292
292
|
}
|
|
293
293
|
}
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"properties": {
|
|
297
297
|
"yesNo": {
|
|
298
298
|
"enum": [
|
|
299
|
-
"
|
|
299
|
+
"Yes"
|
|
300
300
|
]
|
|
301
301
|
},
|
|
302
302
|
"details": {
|
|
@@ -1008,7 +1008,8 @@
|
|
|
1008
1008
|
"required": [
|
|
1009
1009
|
"isStandardForm",
|
|
1010
1010
|
"buildingSafety",
|
|
1011
|
-
"loft"
|
|
1011
|
+
"loft",
|
|
1012
|
+
"sprayFoamInsulation"
|
|
1012
1013
|
],
|
|
1013
1014
|
"properties": {
|
|
1014
1015
|
"isStandardForm": {
|
|
@@ -1150,7 +1151,7 @@
|
|
|
1150
1151
|
}
|
|
1151
1152
|
},
|
|
1152
1153
|
"required": [
|
|
1153
|
-
"
|
|
1154
|
+
"details",
|
|
1154
1155
|
"loftBoarded",
|
|
1155
1156
|
"loftInsulated"
|
|
1156
1157
|
]
|
|
@@ -1165,6 +1166,47 @@
|
|
|
1165
1166
|
}
|
|
1166
1167
|
}
|
|
1167
1168
|
},
|
|
1169
|
+
"sprayFoamInsulation": {
|
|
1170
|
+
"nts2Ref": "A4.2",
|
|
1171
|
+
"discriminator": {
|
|
1172
|
+
"propertyName": "hasSprayFoamInstalled"
|
|
1173
|
+
},
|
|
1174
|
+
"oneOf": [
|
|
1175
|
+
{
|
|
1176
|
+
"properties": {
|
|
1177
|
+
"hasSprayFoamInstalled": {
|
|
1178
|
+
"enum": [
|
|
1179
|
+
"No"
|
|
1180
|
+
]
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"properties": {
|
|
1186
|
+
"hasSprayFoamInstalled": {
|
|
1187
|
+
"enum": [
|
|
1188
|
+
"Yes"
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1191
|
+
"details": {
|
|
1192
|
+
"nts2Ref": "A4.2.2",
|
|
1193
|
+
"title": "Please give details"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"required": [
|
|
1197
|
+
"details"
|
|
1198
|
+
]
|
|
1199
|
+
}
|
|
1200
|
+
],
|
|
1201
|
+
"required": [
|
|
1202
|
+
"hasSprayFoamInstalled"
|
|
1203
|
+
],
|
|
1204
|
+
"properties": {
|
|
1205
|
+
"hasSprayFoamInstalled": {
|
|
1206
|
+
"nts2Ref": "A4.2.1"
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1168
1210
|
"accessibilityAndAdaptations": {
|
|
1169
1211
|
"nts2Ref": "C5"
|
|
1170
1212
|
}
|
|
@@ -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
|
-
"
|
|
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
|
}
|
|
@@ -1398,7 +1398,7 @@
|
|
|
1398
1398
|
"properties": {
|
|
1399
1399
|
"yesNo": {
|
|
1400
1400
|
"enum": [
|
|
1401
|
-
"
|
|
1401
|
+
"No"
|
|
1402
1402
|
]
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
@@ -1407,7 +1407,7 @@
|
|
|
1407
1407
|
"properties": {
|
|
1408
1408
|
"yesNo": {
|
|
1409
1409
|
"enum": [
|
|
1410
|
-
"
|
|
1410
|
+
"Yes"
|
|
1411
1411
|
]
|
|
1412
1412
|
},
|
|
1413
1413
|
"details": {
|
|
@@ -3457,7 +3457,7 @@
|
|
|
3457
3457
|
},
|
|
3458
3458
|
"sharedOwnershipPercentage": {
|
|
3459
3459
|
"title": "Shared ownership percentage",
|
|
3460
|
-
"type": "
|
|
3460
|
+
"type": "number",
|
|
3461
3461
|
"minimum": 5,
|
|
3462
3462
|
"exclusiveMaximum": 100
|
|
3463
3463
|
},
|
|
@@ -17035,7 +17035,16 @@
|
|
|
17035
17035
|
"centralHeatingInstalled": {
|
|
17036
17036
|
"title": "When was the heating system installed?",
|
|
17037
17037
|
"type": "string",
|
|
17038
|
-
"
|
|
17038
|
+
"oneOf": [
|
|
17039
|
+
{
|
|
17040
|
+
"format": "date"
|
|
17041
|
+
},
|
|
17042
|
+
{
|
|
17043
|
+
"enum": [
|
|
17044
|
+
"Not known"
|
|
17045
|
+
]
|
|
17046
|
+
}
|
|
17047
|
+
]
|
|
17039
17048
|
},
|
|
17040
17049
|
"boilerInstallationCertificate": {
|
|
17041
17050
|
"title": "Was a gas boiler installed after 1st April 2005, or a solid fuel or oil boiler installed after 1st October 2010?",
|