@pdtf/schemas 3.6.0-32 → 3.6.0-34
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/README.md +52 -33
- package/docs/sef25-extensions-ui-spec.md +63 -123
- package/package.json +1 -1
- package/src/schemas/v3/combined.json +21 -51
- package/src/schemas/v3/compactSkeleton.txt +0 -5
- package/src/schemas/v3/overlays/extensions/ic.json +3 -0
- package/src/schemas/v3/overlays/extensions/mi.json +3 -0
- package/src/schemas/v3/overlays/extensions/ph.json +11 -14
- package/src/schemas/v3/overlays/extensions/wg.json +57 -16
- package/src/schemas/v3/overlays/sef25.json +995 -0
- package/src/schemas/v3/pdtf-transaction.json +13 -233
- package/src/schemas/v3/skeleton.json +1 -7
- package/src/tests/v3/extensionOverlays.test.js +14 -14
- package/src/utils/extractExtensionOverlays.js +2 -11
- package/src/utils/extractOverlay.js +1 -0
|
@@ -1325,48 +1325,7 @@
|
|
|
1325
1325
|
"type": "string",
|
|
1326
1326
|
"enum": ["Yes", "No"]
|
|
1327
1327
|
}
|
|
1328
|
-
}
|
|
1329
|
-
"oneOf": [
|
|
1330
|
-
{
|
|
1331
|
-
"properties": {
|
|
1332
|
-
"yesNo": {
|
|
1333
|
-
"enum": ["No"]
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
"properties": {
|
|
1339
|
-
"yesNo": {
|
|
1340
|
-
"enum": ["Yes"]
|
|
1341
|
-
},
|
|
1342
|
-
"newBuildDetails": {
|
|
1343
|
-
"title": "New build details",
|
|
1344
|
-
"type": "object",
|
|
1345
|
-
"properties": {
|
|
1346
|
-
"snaggingCompletion": {
|
|
1347
|
-
"title": "Snagging completion status",
|
|
1348
|
-
"type": "string",
|
|
1349
|
-
"enum": ["complete", "outstanding", "not-done"]
|
|
1350
|
-
},
|
|
1351
|
-
"adoptionStatus": {
|
|
1352
|
-
"title": "Roads and drains adoption status",
|
|
1353
|
-
"type": "string",
|
|
1354
|
-
"enum": ["adopted", "pending", "private"]
|
|
1355
|
-
},
|
|
1356
|
-
"conversionConsent": {
|
|
1357
|
-
"title": "Consent for conversion obtained",
|
|
1358
|
-
"type": "boolean"
|
|
1359
|
-
},
|
|
1360
|
-
"conversionQuality": {
|
|
1361
|
-
"title": "Conversion quality assessment",
|
|
1362
|
-
"type": "string",
|
|
1363
|
-
"enum": ["professional", "diy", "unknown"]
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
]
|
|
1328
|
+
}
|
|
1370
1329
|
},
|
|
1371
1330
|
"isHMO": {
|
|
1372
1331
|
"title": "Is the property a House in Multiple Occupation (HMO)?",
|
|
@@ -4435,8 +4394,9 @@
|
|
|
4435
4394
|
"properties": {
|
|
4436
4395
|
"response": {
|
|
4437
4396
|
"title": "Declaration",
|
|
4438
|
-
"type": "
|
|
4439
|
-
"description": "I/we confirm that I am the person authorised to provide the information which I have completed in it on behalf of those parties which I have selected from the list, and that a buyer may rely on the information which I have supplied without applying to any other party except where I have left a section blank because I do not have the authority to provide the information"
|
|
4397
|
+
"type": "object",
|
|
4398
|
+
"description": "I/we confirm that I am the person authorised to provide the information which I have completed in it on behalf of those parties which I have selected from the list, and that a buyer may rely on the information which I have supplied without applying to any other party except where I have left a section blank because I do not have the authority to provide the information",
|
|
4399
|
+
"type": "boolean"
|
|
4440
4400
|
},
|
|
4441
4401
|
"capacity": {
|
|
4442
4402
|
"title": "Please tick as applicable below, to confirm the capacity in which the answers are given.",
|
|
@@ -7317,16 +7277,12 @@
|
|
|
7317
7277
|
"oneOf": [
|
|
7318
7278
|
{
|
|
7319
7279
|
"properties": {
|
|
7320
|
-
"yesNo": {
|
|
7321
|
-
"enum": ["No", "Not known"]
|
|
7322
|
-
}
|
|
7280
|
+
"yesNo": { "enum": ["No", "Not known"] }
|
|
7323
7281
|
}
|
|
7324
7282
|
},
|
|
7325
7283
|
{
|
|
7326
7284
|
"properties": {
|
|
7327
|
-
"yesNo": {
|
|
7328
|
-
"enum": ["Yes"]
|
|
7329
|
-
},
|
|
7285
|
+
"yesNo": { "enum": ["Yes"] },
|
|
7330
7286
|
"attachments": {
|
|
7331
7287
|
"ta7ed5Ref": "4.4.2",
|
|
7332
7288
|
"title": "If yes, supply evidence of your ownership or share certificate for membership of the organisation that is responsible for the management of the building.",
|
|
@@ -10430,6 +10386,7 @@
|
|
|
10430
10386
|
"ntsl2Required": ["yesNo"],
|
|
10431
10387
|
"ta6Required": ["yesNo"],
|
|
10432
10388
|
"ta6ed6Required": ["yesNo"],
|
|
10389
|
+
|
|
10433
10390
|
"discriminator": {
|
|
10434
10391
|
"propertyName": "yesNo"
|
|
10435
10392
|
},
|
|
@@ -10457,7 +10414,7 @@
|
|
|
10457
10414
|
"sef25Ref": "P1.2",
|
|
10458
10415
|
"title": "Payment frequency",
|
|
10459
10416
|
"type": "string",
|
|
10460
|
-
"enum": ["Per month", "Per year"
|
|
10417
|
+
"enum": ["Per month", "Per year"]
|
|
10461
10418
|
}
|
|
10462
10419
|
},
|
|
10463
10420
|
"baspi5Required": ["costOfPermit"],
|
|
@@ -25014,6 +24971,7 @@
|
|
|
25014
24971
|
}
|
|
25015
24972
|
}
|
|
25016
24973
|
},
|
|
24974
|
+
|
|
25017
24975
|
{
|
|
25018
24976
|
"properties": {
|
|
25019
24977
|
"typeOfConnection": {
|
|
@@ -25030,6 +24988,7 @@
|
|
|
25030
24988
|
"type": "string"
|
|
25031
24989
|
}
|
|
25032
24990
|
},
|
|
24991
|
+
|
|
25033
24992
|
"ta6ed6Required": ["providerName"]
|
|
25034
24993
|
}
|
|
25035
24994
|
],
|
|
@@ -25592,6 +25551,7 @@
|
|
|
25592
25551
|
"baspi5Required": ["yesNo"],
|
|
25593
25552
|
"ta6Required": ["yesNo"],
|
|
25594
25553
|
"ta6ed6Required": ["yesNo"],
|
|
25554
|
+
"sef25Required": ["yesNo"],
|
|
25595
25555
|
"discriminator": {
|
|
25596
25556
|
"propertyName": "yesNo"
|
|
25597
25557
|
},
|
|
@@ -28692,6 +28652,7 @@
|
|
|
28692
28652
|
},
|
|
28693
28653
|
"baspi4Required": ["yesNo"],
|
|
28694
28654
|
"baspi5Required": ["yesNo"],
|
|
28655
|
+
"sef25Required": ["yesNo"],
|
|
28695
28656
|
"discriminator": {
|
|
28696
28657
|
"propertyName": "yesNo"
|
|
28697
28658
|
},
|
|
@@ -30099,6 +30060,7 @@
|
|
|
30099
30060
|
"baspi5Required": ["hasValidGuaranteesOrWarranties"],
|
|
30100
30061
|
"ta6Required": ["hasValidGuaranteesOrWarranties"],
|
|
30101
30062
|
"ta6ed6Required": ["hasValidGuaranteesOrWarranties"],
|
|
30063
|
+
"sef25Required": ["hasValidGuaranteesOrWarranties"],
|
|
30102
30064
|
"properties": {
|
|
30103
30065
|
"hasValidGuaranteesOrWarranties": {
|
|
30104
30066
|
"baspi4Ref": "B5.1",
|
|
@@ -30107,6 +30069,7 @@
|
|
|
30107
30069
|
"ta6ed6Ref": "6.1",
|
|
30108
30070
|
"rdsRef": "Certificates",
|
|
30109
30071
|
"piqRef": "B5.1",
|
|
30072
|
+
"sef25Ref": "W1.0",
|
|
30110
30073
|
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
|
|
30111
30074
|
"type": "string",
|
|
30112
30075
|
"enum": ["Yes", "No"]
|
|
@@ -30153,6 +30116,7 @@
|
|
|
30153
30116
|
"baspi5Required": ["yesNo"],
|
|
30154
30117
|
"ta6Required": ["yesNo"],
|
|
30155
30118
|
"ta6ed6Required": ["yesNo"],
|
|
30119
|
+
"sef25Required": ["yesNo"],
|
|
30156
30120
|
"discriminator": {
|
|
30157
30121
|
"propertyName": "yesNo"
|
|
30158
30122
|
},
|
|
@@ -30219,6 +30183,7 @@
|
|
|
30219
30183
|
"baspi5Required": ["yesNo"],
|
|
30220
30184
|
"ta6Required": ["yesNo"],
|
|
30221
30185
|
"ta6ed6Required": ["yesNo"],
|
|
30186
|
+
"sef25Required": ["yesNo"],
|
|
30222
30187
|
"discriminator": {
|
|
30223
30188
|
"propertyName": "yesNo"
|
|
30224
30189
|
},
|
|
@@ -30276,6 +30241,7 @@
|
|
|
30276
30241
|
"baspi4Required": ["yesNo"],
|
|
30277
30242
|
"baspi5Required": ["yesNo"],
|
|
30278
30243
|
"ta6Required": ["yesNo"],
|
|
30244
|
+
"sef25Required": ["yesNo"],
|
|
30279
30245
|
"ta6ed6Required": ["yesNo"],
|
|
30280
30246
|
"discriminator": {
|
|
30281
30247
|
"propertyName": "yesNo"
|
|
@@ -30393,6 +30359,7 @@
|
|
|
30393
30359
|
"baspi5Required": ["yesNo"],
|
|
30394
30360
|
"ta6Required": ["yesNo"],
|
|
30395
30361
|
"ta6ed6Required": ["yesNo"],
|
|
30362
|
+
"sef25Required": ["yesNo"],
|
|
30396
30363
|
"discriminator": {
|
|
30397
30364
|
"propertyName": "yesNo"
|
|
30398
30365
|
},
|
|
@@ -30537,6 +30504,7 @@
|
|
|
30537
30504
|
},
|
|
30538
30505
|
"baspi4Required": ["yesNo"],
|
|
30539
30506
|
"baspi5Required": ["yesNo"],
|
|
30507
|
+
"sef25Required": ["yesNo"],
|
|
30540
30508
|
"ta6Required": ["yesNo"],
|
|
30541
30509
|
"discriminator": {
|
|
30542
30510
|
"propertyName": "yesNo"
|
|
@@ -30594,6 +30562,7 @@
|
|
|
30594
30562
|
"baspi5Required": ["yesNo"],
|
|
30595
30563
|
"ta6Required": ["yesNo"],
|
|
30596
30564
|
"ta6ed6Required": ["yesNo"],
|
|
30565
|
+
"sef25Required": ["yesNo"],
|
|
30597
30566
|
"discriminator": {
|
|
30598
30567
|
"propertyName": "yesNo"
|
|
30599
30568
|
},
|
|
@@ -30740,6 +30709,7 @@
|
|
|
30740
30709
|
"baspi5Required": ["yesNo"],
|
|
30741
30710
|
"ta6Required": ["yesNo"],
|
|
30742
30711
|
"ta6ed6Required": ["yesNo"],
|
|
30712
|
+
"sef25Required": ["yesNo"],
|
|
30743
30713
|
"discriminator": {
|
|
30744
30714
|
"propertyName": "yesNo"
|
|
30745
30715
|
},
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
"propertyPack": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"specialistIssues": {
|
|
6
|
+
"required": [
|
|
7
|
+
"wellsDitchesShaft",
|
|
8
|
+
"damagedOrExposedElectrics",
|
|
9
|
+
"damageToFlooringOrStaircases",
|
|
10
|
+
"knownAreasInPoorCondition"
|
|
11
|
+
],
|
|
6
12
|
"properties": {
|
|
7
13
|
"wellsDitchesShaft": {
|
|
8
14
|
"ntsRef": "H1.1",
|
|
@@ -45,8 +51,7 @@
|
|
|
45
51
|
}
|
|
46
52
|
}
|
|
47
53
|
}
|
|
48
|
-
]
|
|
49
|
-
"type": "object"
|
|
54
|
+
]
|
|
50
55
|
},
|
|
51
56
|
"damagedOrExposedElectrics": {
|
|
52
57
|
"ntsRef": "H1.2",
|
|
@@ -89,8 +94,7 @@
|
|
|
89
94
|
}
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
|
-
]
|
|
93
|
-
"type": "object"
|
|
97
|
+
]
|
|
94
98
|
},
|
|
95
99
|
"damageToFlooringOrStaircases": {
|
|
96
100
|
"ntsRef": "H1.3",
|
|
@@ -133,8 +137,7 @@
|
|
|
133
137
|
}
|
|
134
138
|
}
|
|
135
139
|
}
|
|
136
|
-
]
|
|
137
|
-
"type": "object"
|
|
140
|
+
]
|
|
138
141
|
},
|
|
139
142
|
"knownAreasInPoorCondition": {
|
|
140
143
|
"ntsRef": "H1.4",
|
|
@@ -177,16 +180,10 @@
|
|
|
177
180
|
}
|
|
178
181
|
}
|
|
179
182
|
}
|
|
180
|
-
]
|
|
181
|
-
"type": "object"
|
|
183
|
+
]
|
|
182
184
|
}
|
|
183
185
|
},
|
|
184
|
-
"
|
|
185
|
-
"wellsDitchesShaft",
|
|
186
|
-
"damagedOrExposedElectrics",
|
|
187
|
-
"damageToFlooringOrStaircases",
|
|
188
|
-
"knownAreasInPoorCondition"
|
|
189
|
-
]
|
|
186
|
+
"type": "object"
|
|
190
187
|
}
|
|
191
188
|
}
|
|
192
189
|
}
|
|
@@ -3,12 +3,36 @@
|
|
|
3
3
|
"propertyPack": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"guaranteesWarrantiesAndIndemnityInsurances": {
|
|
6
|
+
"ntsRef": "W1",
|
|
7
|
+
"required": [
|
|
8
|
+
"hasValidGuaranteesOrWarranties"
|
|
9
|
+
],
|
|
10
|
+
"discriminator": {
|
|
11
|
+
"propertyName": "hasValidGuaranteesOrWarranties"
|
|
12
|
+
},
|
|
13
|
+
"properties": {
|
|
14
|
+
"hasValidGuaranteesOrWarranties": {
|
|
15
|
+
"ntsRef": "W1.0",
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
6
19
|
"oneOf": [
|
|
7
|
-
|
|
20
|
+
{
|
|
21
|
+
"properties": {
|
|
22
|
+
"hasValidGuaranteesOrWarranties": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"No"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
8
29
|
{
|
|
9
30
|
"properties": {
|
|
10
31
|
"newHomeWarranty": {
|
|
11
32
|
"ntsRef": "W1.1",
|
|
33
|
+
"required": [
|
|
34
|
+
"yesNo"
|
|
35
|
+
],
|
|
12
36
|
"discriminator": {
|
|
13
37
|
"propertyName": "yesNo"
|
|
14
38
|
},
|
|
@@ -31,11 +55,13 @@
|
|
|
31
55
|
}
|
|
32
56
|
}
|
|
33
57
|
}
|
|
34
|
-
]
|
|
35
|
-
"type": "object"
|
|
58
|
+
]
|
|
36
59
|
},
|
|
37
60
|
"roofingWork": {
|
|
38
61
|
"ntsRef": "W1.2",
|
|
62
|
+
"required": [
|
|
63
|
+
"yesNo"
|
|
64
|
+
],
|
|
39
65
|
"discriminator": {
|
|
40
66
|
"propertyName": "yesNo"
|
|
41
67
|
},
|
|
@@ -58,11 +84,13 @@
|
|
|
58
84
|
}
|
|
59
85
|
}
|
|
60
86
|
}
|
|
61
|
-
]
|
|
62
|
-
"type": "object"
|
|
87
|
+
]
|
|
63
88
|
},
|
|
64
89
|
"dampProofingTreatment": {
|
|
65
90
|
"ntsRef": "W1.3",
|
|
91
|
+
"required": [
|
|
92
|
+
"yesNo"
|
|
93
|
+
],
|
|
66
94
|
"discriminator": {
|
|
67
95
|
"propertyName": "yesNo"
|
|
68
96
|
},
|
|
@@ -85,11 +113,13 @@
|
|
|
85
113
|
}
|
|
86
114
|
}
|
|
87
115
|
}
|
|
88
|
-
]
|
|
89
|
-
"type": "object"
|
|
116
|
+
]
|
|
90
117
|
},
|
|
91
118
|
"centralHeatingAndorPlumbing": {
|
|
92
119
|
"ntsRef": "W1.4",
|
|
120
|
+
"required": [
|
|
121
|
+
"yesNo"
|
|
122
|
+
],
|
|
93
123
|
"discriminator": {
|
|
94
124
|
"propertyName": "yesNo"
|
|
95
125
|
},
|
|
@@ -112,11 +142,13 @@
|
|
|
112
142
|
}
|
|
113
143
|
}
|
|
114
144
|
}
|
|
115
|
-
]
|
|
116
|
-
"type": "object"
|
|
145
|
+
]
|
|
117
146
|
},
|
|
118
147
|
"electricalRepairOrInstallation": {
|
|
119
148
|
"ntsRef": "W1.5",
|
|
149
|
+
"required": [
|
|
150
|
+
"yesNo"
|
|
151
|
+
],
|
|
120
152
|
"discriminator": {
|
|
121
153
|
"propertyName": "yesNo"
|
|
122
154
|
},
|
|
@@ -139,11 +171,13 @@
|
|
|
139
171
|
}
|
|
140
172
|
}
|
|
141
173
|
}
|
|
142
|
-
]
|
|
143
|
-
"type": "object"
|
|
174
|
+
]
|
|
144
175
|
},
|
|
145
176
|
"subsidenceWork": {
|
|
146
177
|
"ntsRef": "W1.6",
|
|
178
|
+
"required": [
|
|
179
|
+
"yesNo"
|
|
180
|
+
],
|
|
147
181
|
"discriminator": {
|
|
148
182
|
"propertyName": "yesNo"
|
|
149
183
|
},
|
|
@@ -166,11 +200,13 @@
|
|
|
166
200
|
}
|
|
167
201
|
}
|
|
168
202
|
}
|
|
169
|
-
]
|
|
170
|
-
"type": "object"
|
|
203
|
+
]
|
|
171
204
|
},
|
|
172
205
|
"otherGuarantees": {
|
|
173
206
|
"ntsRef": "W1.7",
|
|
207
|
+
"required": [
|
|
208
|
+
"yesNo"
|
|
209
|
+
],
|
|
174
210
|
"discriminator": {
|
|
175
211
|
"propertyName": "yesNo"
|
|
176
212
|
},
|
|
@@ -193,12 +229,17 @@
|
|
|
193
229
|
}
|
|
194
230
|
}
|
|
195
231
|
}
|
|
196
|
-
]
|
|
197
|
-
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
"hasValidGuaranteesOrWarranties": {
|
|
235
|
+
"enum": [
|
|
236
|
+
"Yes"
|
|
237
|
+
]
|
|
198
238
|
}
|
|
199
239
|
}
|
|
200
240
|
}
|
|
201
|
-
]
|
|
241
|
+
],
|
|
242
|
+
"type": "object"
|
|
202
243
|
}
|
|
203
244
|
}
|
|
204
245
|
}
|