@pdtf/schemas 3.2.0-2 → 3.2.0-4

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.
@@ -41,6 +41,18 @@
41
41
  "title": "Name",
42
42
  "type": "object",
43
43
  "properties": {
44
+ "title": {
45
+ "title": "Title or honorific",
46
+ "type": "string",
47
+ "enum": [
48
+ "Mr",
49
+ "Mrs",
50
+ "Miss",
51
+ "Ms",
52
+ "Mx",
53
+ "Dr"
54
+ ]
55
+ },
44
56
  "firstName": {
45
57
  "title": "First name",
46
58
  "type": "string",
@@ -55,6 +67,10 @@
55
67
  "type": "string",
56
68
  "minLength": 1
57
69
  },
70
+ "maidenName": {
71
+ "title": "Middle name(s)",
72
+ "type": "string"
73
+ },
58
74
  "preferredName": {
59
75
  "title": "Preferred name / known as",
60
76
  "type": "string"
@@ -79,6 +95,24 @@
79
95
  "title": "Address",
80
96
  "type": "object",
81
97
  "properties": {
98
+ "buildingNumber": {
99
+ "title": "Building number",
100
+ "type": "string",
101
+ "minLength": 1
102
+ },
103
+ "buildingName": {
104
+ "title": "Building name",
105
+ "type": "string"
106
+ },
107
+ "subBuilding": {
108
+ "title": "Sub building name",
109
+ "type": "string"
110
+ },
111
+ "street": {
112
+ "title": "Street",
113
+ "type": "string",
114
+ "minLength": 1
115
+ },
82
116
  "line1": {
83
117
  "title": "Address 1",
84
118
  "type": "string",
@@ -101,6 +135,16 @@
101
135
  "type": "string",
102
136
  "minLength": 1
103
137
  },
138
+ "homeNation": {
139
+ "title": "Home nation",
140
+ "type": "string",
141
+ "enum": [
142
+ "England",
143
+ "Wales",
144
+ "Scotland",
145
+ "Northern Ireland"
146
+ ]
147
+ },
104
148
  "countryCode": {
105
149
  "title": "Country code",
106
150
  "description": "ISO 3166-1 alpha-3 country code",
@@ -138,73 +182,103 @@
138
182
  },
139
183
  "externalIds": {
140
184
  "type": "object"
141
- },
142
- "sellersCapacity": {
143
- "title": "Capacity in which the Seller sells",
144
- "type": "object",
185
+ }
186
+ },
187
+ "oneOf": [
188
+ {
145
189
  "properties": {
146
- "capacity": {
147
- "type": "string",
148
- "title": "",
190
+ "role": {
149
191
  "enum": [
150
- "Legal Owner",
151
- "Personal Representative for a Deceased Owner",
152
- "Under Power of Attorney",
153
- "Mortgagee in Possession",
154
- "Other"
192
+ "Buyer",
193
+ "Seller's Conveyancer",
194
+ "Prospective Buyer",
195
+ "Buyer's Conveyancer",
196
+ "Estate Agent",
197
+ "Buyer's Agent",
198
+ "Surveyor",
199
+ "Mortgage Broker",
200
+ "Lender",
201
+ "Landlord",
202
+ "Tenant"
155
203
  ]
156
204
  }
157
- },
158
- "oneOf": [
159
- {
160
- "properties": {
161
- "capacity": {
162
- "enum": [
163
- "Legal Owner",
164
- "Mortgagee in Possession"
165
- ]
166
- },
167
- "sellersCapacityDetails": {
168
- "title": "Please provide details if applicable",
169
- "description": "(for example if the sellers names do not match the legal owners on the title deed due to change of name on marriage)",
170
- "type": "string"
171
- },
172
- "attachments": {
173
- "title": "Attachments",
174
- "type": "string",
175
- "enum": [
176
- "Attached",
177
- "To follow"
178
- ]
179
- }
180
- }
205
+ }
206
+ },
207
+ {
208
+ "properties": {
209
+ "role": {
210
+ "enum": [
211
+ "Seller"
212
+ ]
181
213
  },
182
- {
214
+ "sellersCapacity": {
215
+ "title": "Capacity in which the Seller sells",
216
+ "type": "object",
183
217
  "properties": {
184
218
  "capacity": {
219
+ "type": "string",
220
+ "title": "",
185
221
  "enum": [
222
+ "Legal Owner",
186
223
  "Personal Representative for a Deceased Owner",
187
224
  "Under Power of Attorney",
225
+ "Mortgagee in Possession",
188
226
  "Other"
189
227
  ]
228
+ }
229
+ },
230
+ "oneOf": [
231
+ {
232
+ "properties": {
233
+ "capacity": {
234
+ "enum": [
235
+ "Legal Owner",
236
+ "Mortgagee in Possession"
237
+ ]
238
+ },
239
+ "sellersCapacityDetails": {
240
+ "title": "Please provide details if applicable",
241
+ "description": "(for example if the sellers names do not match the legal owners on the title deed due to change of name on marriage)",
242
+ "type": "string"
243
+ },
244
+ "attachments": {
245
+ "title": "Attachments",
246
+ "type": "string",
247
+ "enum": [
248
+ "Attached",
249
+ "To follow"
250
+ ]
251
+ }
252
+ }
190
253
  },
191
- "sellersCapacityDetails": {
192
- "title": "Please provide details and provide any probate, grant of representation or power of attorney ",
193
- "type": "string"
194
- },
195
- "attachments": {
196
- "title": "Attachments",
197
- "type": "string",
198
- "enum": [
199
- "Attached",
200
- "To follow"
201
- ]
254
+ {
255
+ "properties": {
256
+ "capacity": {
257
+ "enum": [
258
+ "Personal Representative for a Deceased Owner",
259
+ "Under Power of Attorney",
260
+ "Other"
261
+ ]
262
+ },
263
+ "sellersCapacityDetails": {
264
+ "title": "Please provide details and provide any probate, grant of representation or power of attorney ",
265
+ "type": "string"
266
+ },
267
+ "attachments": {
268
+ "title": "Attachments",
269
+ "type": "string",
270
+ "enum": [
271
+ "Attached",
272
+ "To follow"
273
+ ]
274
+ }
275
+ }
202
276
  }
203
- }
277
+ ]
204
278
  }
205
- ]
279
+ }
206
280
  }
207
- }
281
+ ]
208
282
  }
209
283
  },
210
284
  "propertyPack": {
@@ -215,6 +289,24 @@
215
289
  "title": "Property Address",
216
290
  "type": "object",
217
291
  "properties": {
292
+ "buildingNumber": {
293
+ "title": "Building number",
294
+ "type": "string",
295
+ "minLength": 1
296
+ },
297
+ "buildingName": {
298
+ "title": "Building name",
299
+ "type": "string"
300
+ },
301
+ "subBuilding": {
302
+ "title": "Sub building name",
303
+ "type": "string"
304
+ },
305
+ "street": {
306
+ "title": "Street",
307
+ "type": "string",
308
+ "minLength": 1
309
+ },
218
310
  "line1": {
219
311
  "title": "Address line 1",
220
312
  "type": "string",
@@ -236,6 +328,23 @@
236
328
  "title": "Postcode",
237
329
  "type": "string",
238
330
  "minLength": 1
331
+ },
332
+ "homeNation": {
333
+ "title": "Home nation",
334
+ "type": "string",
335
+ "enum": [
336
+ "England",
337
+ "Wales",
338
+ "Scotland",
339
+ "Northern Ireland"
340
+ ]
341
+ },
342
+ "countryCode": {
343
+ "title": "Country code",
344
+ "description": "ISO 3166-1 alpha-3 country code",
345
+ "type": "string",
346
+ "minLength": 3,
347
+ "maxLength": 3
239
348
  }
240
349
  }
241
350
  },
@@ -376,6 +485,14 @@
376
485
  "Modern Method of Auction",
377
486
  "Private treaty"
378
487
  ]
488
+ },
489
+ "saleAtUndervalue": {
490
+ "title": "Is the property being sold at undervalue?",
491
+ "type": "string",
492
+ "enum": [
493
+ "Yes",
494
+ "No"
495
+ ]
379
496
  }
380
497
  }
381
498
  },
@@ -542,7 +659,7 @@
542
659
  "properties": {
543
660
  "isLocatedOverCommercialPremises": {
544
661
  "type": "string",
545
- "title": "Is the property located over commercial premises?",
662
+ "title": "Is the property located in a building which includes commercial property E.g. shops, offices etc?",
546
663
  "enum": [
547
664
  "Yes",
548
665
  "No"
@@ -618,6 +735,22 @@
618
735
  }
619
736
  }
620
737
  },
738
+ "isHMO": {
739
+ "title": "Is the property a House in Multiple Occupation (HMO)?",
740
+ "type": "string",
741
+ "enum": [
742
+ "Yes",
743
+ "No"
744
+ ]
745
+ },
746
+ "isStudentAccommodation": {
747
+ "title": "Is the property student accommodation?",
748
+ "type": "string",
749
+ "enum": [
750
+ "Yes",
751
+ "No"
752
+ ]
753
+ },
621
754
  "roomDimensions": {
622
755
  "title": "Room dimensions",
623
756
  "type": "object",
@@ -1150,6 +1283,40 @@
1150
1283
  "title": "Ownership",
1151
1284
  "type": "object",
1152
1285
  "properties": {
1286
+ "numberOfSellers": {
1287
+ "title": "How many sellers are involved in the transaction?",
1288
+ "description": "This may differ from the number of legal owners, for example if the property is being sold by executors of a deceased owner",
1289
+ "type": "integer"
1290
+ },
1291
+ "numberOfNonUkResidentSellers": {
1292
+ "title": "How many sellers are involved in the transaction who are resident outside the UK?",
1293
+ "description": "This may differ from the number of legal owners, for example if the property is being sold by executors of a deceased owner",
1294
+ "type": "integer"
1295
+ },
1296
+ "hasHelpToBuyEquityLoan": {
1297
+ "title": "Is the property being sold with a Help to Buy equity loan outstanding?",
1298
+ "type": "string",
1299
+ "enum": [
1300
+ "Yes",
1301
+ "No"
1302
+ ]
1303
+ },
1304
+ "isFirstRegistration": {
1305
+ "title": "Is this the first time the property is to be registered with HMLR?",
1306
+ "type": "string",
1307
+ "enum": [
1308
+ "Yes",
1309
+ "No"
1310
+ ]
1311
+ },
1312
+ "isLimitedCompanySale": {
1313
+ "title": "Is the property being sold by a Limited Company?",
1314
+ "type": "string",
1315
+ "enum": [
1316
+ "Yes",
1317
+ "No"
1318
+ ]
1319
+ },
1153
1320
  "ownershipsToBeTransferred": {
1154
1321
  "title": "Ownerships to be transferred on sale",
1155
1322
  "type": "array",
@@ -5376,6 +5543,14 @@
5376
5543
  "type": "string",
5377
5544
  "minLength": 1
5378
5545
  },
5546
+ "contributionIncludedInServiceCharge": {
5547
+ "title": "Is the annual contribution included in the stated service charge?",
5548
+ "type": "string",
5549
+ "enum": [
5550
+ "Yes",
5551
+ "No"
5552
+ ]
5553
+ },
5379
5554
  "sufficentToCoverSection20Expenditure": {
5380
5555
  "title": "Is the amount expected to be sufficient to cover the known Section 20 expenditure?",
5381
5556
  "type": "object",
@@ -7377,7 +7552,71 @@
7377
7552
  "Not known"
7378
7553
  ]
7379
7554
  }
7380
- }
7555
+ },
7556
+ "oneOf": [
7557
+ {
7558
+ "properties": {
7559
+ "yesNo": {
7560
+ "enum": [
7561
+ "No",
7562
+ "Not known"
7563
+ ]
7564
+ }
7565
+ }
7566
+ },
7567
+ {
7568
+ "properties": {
7569
+ "yesNo": {
7570
+ "enum": [
7571
+ "Yes"
7572
+ ]
7573
+ },
7574
+ "annualCostOfPermit": {
7575
+ "title": "Annual cost of permit (£)",
7576
+ "type": "number"
7577
+ }
7578
+ }
7579
+ }
7580
+ ]
7581
+ },
7582
+ "vehicleTypeRestriction": {
7583
+ "title": "Is there a restriction on the types of vehicle which may be parked?",
7584
+ "type": "object",
7585
+ "properties": {
7586
+ "yesNo": {
7587
+ "type": "string",
7588
+ "title": "",
7589
+ "enum": [
7590
+ "Yes",
7591
+ "No"
7592
+ ]
7593
+ }
7594
+ },
7595
+ "oneOf": [
7596
+ {
7597
+ "properties": {
7598
+ "yesNo": {
7599
+ "enum": [
7600
+ "No"
7601
+ ]
7602
+ }
7603
+ }
7604
+ },
7605
+ {
7606
+ "properties": {
7607
+ "yesNo": {
7608
+ "enum": [
7609
+ "Yes"
7610
+ ]
7611
+ },
7612
+ "details": {
7613
+ "title": "Please provide details of the restriction",
7614
+ "type": "string",
7615
+ "minLength": 1
7616
+ }
7617
+ }
7618
+ }
7619
+ ]
7381
7620
  },
7382
7621
  "electricVehicleChargingPoint": {
7383
7622
  "title": "Is there an electric vehicle charging point belonging to the property?",
@@ -7392,6 +7631,20 @@
7392
7631
  ]
7393
7632
  }
7394
7633
  }
7634
+ },
7635
+ "locatedInUlez": {
7636
+ "title": "Is the property and/or parking located in an Ultra Low Emission Zone (ULEZ)?",
7637
+ "type": "object",
7638
+ "properties": {
7639
+ "yesNo": {
7640
+ "type": "string",
7641
+ "title": "",
7642
+ "enum": [
7643
+ "Yes",
7644
+ "No"
7645
+ ]
7646
+ }
7647
+ }
7395
7648
  }
7396
7649
  }
7397
7650
  },
@@ -8182,8 +8435,7 @@
8182
8435
  "F",
8183
8436
  "G",
8184
8437
  "H",
8185
- "I",
8186
- "Not available"
8438
+ "I"
8187
8439
  ]
8188
8440
  },
8189
8441
  "councilTaxAffectingAlterations": {
@@ -15275,9 +15527,88 @@
15275
15527
  }
15276
15528
  ]
15277
15529
  },
15530
+ "heatPump": {
15531
+ "title": "Ground or air source heat pump",
15532
+ "type": "object",
15533
+ "properties": {
15534
+ "yesNo": {
15535
+ "type": "string",
15536
+ "title": "",
15537
+ "enum": [
15538
+ "Yes",
15539
+ "To be connected",
15540
+ "No"
15541
+ ]
15542
+ }
15543
+ },
15544
+ "oneOf": [
15545
+ {
15546
+ "properties": {
15547
+ "yesNo": {
15548
+ "enum": [
15549
+ "No"
15550
+ ]
15551
+ }
15552
+ }
15553
+ },
15554
+ {
15555
+ "properties": {
15556
+ "yesNo": {
15557
+ "enum": [
15558
+ "Yes"
15559
+ ]
15560
+ },
15561
+ "details": {
15562
+ "title": "Details",
15563
+ "type": "string"
15564
+ },
15565
+ "supplier": {
15566
+ "title": "Supplier",
15567
+ "type": "string"
15568
+ },
15569
+ "dateInstalled": {
15570
+ "title": "Date installed",
15571
+ "type": "string",
15572
+ "format": "date"
15573
+ },
15574
+ "attachments": {
15575
+ "title": "If after 2013 please provide Building Regulations approval / MCS Certificate or equivalent.",
15576
+ "type": "string",
15577
+ "enum": [
15578
+ "Attached",
15579
+ "To follow",
15580
+ "Not applicable"
15581
+ ]
15582
+ }
15583
+ }
15584
+ },
15585
+ {
15586
+ "properties": {
15587
+ "yesNo": {
15588
+ "enum": [
15589
+ "To be connected"
15590
+ ]
15591
+ },
15592
+ "details": {
15593
+ "title": "Details",
15594
+ "type": "string"
15595
+ },
15596
+ "dateToBeConnected": {
15597
+ "title": "Date to be connected",
15598
+ "type": "string",
15599
+ "format": "date"
15600
+ },
15601
+ "supplier": {
15602
+ "title": "Supplier",
15603
+ "type": "string"
15604
+ }
15605
+ }
15606
+ }
15607
+ ]
15608
+ },
15278
15609
  "otherSources": {
15279
15610
  "title": "Other sources",
15280
- "description": "Other sources include wind turbines, generators and other renewable technologies, for example ground source heat pumps. If you receive Renewable Heat Incentives please provide details and note that you will need to advise Ofgem when you complete the sale",
15611
+ "description": "Other sources include wind turbines, generators and other renewable technologies. If you receive Renewable Heat Incentives please provide details and note that you will need to advise Ofgem when you complete the sale",
15281
15612
  "type": "object",
15282
15613
  "properties": {
15283
15614
  "yesNo": {
@@ -17025,207 +17356,207 @@
17025
17356
  "title": "Insurance",
17026
17357
  "type": "object",
17027
17358
  "properties": {
17028
- "isInsured": {
17029
- "title": "Do you insure the property?",
17030
- "type": "string",
17031
- "enum": [
17032
- "Yes",
17033
- "No"
17034
- ]
17035
- }
17036
- },
17037
- "oneOf": [
17038
- {
17039
- "properties": {
17040
- "isInsured": {
17041
- "enum": [
17042
- "No"
17043
- ]
17044
- },
17045
- "details": {
17046
- "title": "Why not?",
17047
- "type": "string",
17048
- "minLength": 1
17049
- },
17050
- "landlordInsuresIfFlat": {
17051
- "title": "If the property is a flat, does the landlord insure the building?",
17052
- "type": "string",
17053
- "enum": [
17054
- "Yes",
17055
- "No",
17056
- "Not applicable"
17057
- ]
17058
- }
17059
- }
17060
- },
17061
- {
17359
+ "difficultiesObtainingInsurance": {
17360
+ "title": "Have you had any difficulty obtaining competitively priced building insurance due to the structure or location of the property or had insurance refused?",
17361
+ "type": "object",
17062
17362
  "properties": {
17063
- "isInsured": {
17064
- "enum": [
17065
- "Yes"
17066
- ]
17067
- },
17068
- "difficultiesObtainingInsurance": {
17069
- "title": "Have you had any difficulty obtaining competitively priced building insurance due to the structure or location of the property or had insurance refused?",
17363
+ "abnormalRiseInPremiums": {
17364
+ "title": "Subject to abnormal rise in premiums?",
17070
17365
  "type": "object",
17071
17366
  "properties": {
17072
- "abnormalRiseInPremiums": {
17073
- "title": "Subject to abnormal rise in premiums?",
17074
- "type": "object",
17367
+ "yesNo": {
17368
+ "type": "string",
17369
+ "title": "",
17370
+ "enum": [
17371
+ "Yes",
17372
+ "No"
17373
+ ]
17374
+ }
17375
+ },
17376
+ "oneOf": [
17377
+ {
17075
17378
  "properties": {
17076
17379
  "yesNo": {
17077
- "type": "string",
17078
- "title": "",
17079
17380
  "enum": [
17080
- "Yes",
17081
17381
  "No"
17082
17382
  ]
17083
17383
  }
17084
- },
17085
- "oneOf": [
17086
- {
17087
- "properties": {
17088
- "yesNo": {
17089
- "enum": [
17090
- "No"
17091
- ]
17092
- }
17093
- }
17384
+ }
17385
+ },
17386
+ {
17387
+ "properties": {
17388
+ "yesNo": {
17389
+ "enum": [
17390
+ "Yes"
17391
+ ]
17094
17392
  },
17095
- {
17096
- "properties": {
17097
- "yesNo": {
17098
- "enum": [
17099
- "Yes"
17100
- ]
17101
- },
17102
- "details": {
17103
- "title": "Provide details",
17104
- "type": "string",
17105
- "minLength": 1
17106
- }
17107
- }
17393
+ "details": {
17394
+ "title": "Provide details",
17395
+ "type": "string",
17396
+ "minLength": 1
17108
17397
  }
17398
+ }
17399
+ }
17400
+ ]
17401
+ },
17402
+ "subjectToHighExcesses": {
17403
+ "title": "Subject to high excesses?",
17404
+ "type": "object",
17405
+ "properties": {
17406
+ "yesNo": {
17407
+ "type": "string",
17408
+ "title": "",
17409
+ "enum": [
17410
+ "Yes",
17411
+ "No"
17109
17412
  ]
17110
- },
17111
- "subjectToHighExcesses": {
17112
- "title": "Subject to high excesses?",
17113
- "type": "object",
17413
+ }
17414
+ },
17415
+ "oneOf": [
17416
+ {
17114
17417
  "properties": {
17115
17418
  "yesNo": {
17116
- "type": "string",
17117
- "title": "",
17118
17419
  "enum": [
17119
- "Yes",
17120
17420
  "No"
17121
17421
  ]
17122
17422
  }
17123
- },
17124
- "oneOf": [
17125
- {
17126
- "properties": {
17127
- "yesNo": {
17128
- "enum": [
17129
- "No"
17130
- ]
17131
- }
17132
- }
17423
+ }
17424
+ },
17425
+ {
17426
+ "properties": {
17427
+ "yesNo": {
17428
+ "enum": [
17429
+ "Yes"
17430
+ ]
17133
17431
  },
17134
- {
17135
- "properties": {
17136
- "yesNo": {
17137
- "enum": [
17138
- "Yes"
17139
- ]
17140
- },
17141
- "details": {
17142
- "title": "Provide details",
17143
- "type": "string",
17144
- "minLength": 1
17145
- }
17146
- }
17432
+ "details": {
17433
+ "title": "Provide details",
17434
+ "type": "string",
17435
+ "minLength": 1
17147
17436
  }
17437
+ }
17438
+ }
17439
+ ]
17440
+ },
17441
+ "subjectToUnusualConditions": {
17442
+ "title": "Subject to unusual conditions?",
17443
+ "type": "object",
17444
+ "properties": {
17445
+ "yesNo": {
17446
+ "type": "string",
17447
+ "title": "",
17448
+ "enum": [
17449
+ "Yes",
17450
+ "No"
17148
17451
  ]
17149
- },
17150
- "subjectToUnusualConditions": {
17151
- "title": "Subject to unusual conditions?",
17152
- "type": "object",
17452
+ }
17453
+ },
17454
+ "oneOf": [
17455
+ {
17153
17456
  "properties": {
17154
17457
  "yesNo": {
17155
- "type": "string",
17156
- "title": "",
17157
17458
  "enum": [
17158
- "Yes",
17159
17459
  "No"
17160
17460
  ]
17161
17461
  }
17162
- },
17163
- "oneOf": [
17164
- {
17165
- "properties": {
17166
- "yesNo": {
17167
- "enum": [
17168
- "No"
17169
- ]
17170
- }
17171
- }
17462
+ }
17463
+ },
17464
+ {
17465
+ "properties": {
17466
+ "yesNo": {
17467
+ "enum": [
17468
+ "Yes"
17469
+ ]
17172
17470
  },
17173
- {
17174
- "properties": {
17175
- "yesNo": {
17176
- "enum": [
17177
- "Yes"
17178
- ]
17179
- },
17180
- "details": {
17181
- "title": "Provide details",
17182
- "type": "string",
17183
- "minLength": 1
17184
- }
17185
- }
17471
+ "details": {
17472
+ "title": "Provide details",
17473
+ "type": "string",
17474
+ "minLength": 1
17186
17475
  }
17476
+ }
17477
+ }
17478
+ ]
17479
+ },
17480
+ "refused": {
17481
+ "title": "Refused?",
17482
+ "type": "object",
17483
+ "properties": {
17484
+ "yesNo": {
17485
+ "type": "string",
17486
+ "title": "",
17487
+ "enum": [
17488
+ "Yes",
17489
+ "No"
17187
17490
  ]
17188
- },
17189
- "refused": {
17190
- "title": "Refused?",
17191
- "type": "object",
17491
+ }
17492
+ },
17493
+ "oneOf": [
17494
+ {
17192
17495
  "properties": {
17193
17496
  "yesNo": {
17194
- "type": "string",
17195
- "title": "",
17196
17497
  "enum": [
17197
- "Yes",
17198
17498
  "No"
17199
17499
  ]
17200
17500
  }
17201
- },
17202
- "oneOf": [
17203
- {
17204
- "properties": {
17205
- "yesNo": {
17206
- "enum": [
17207
- "No"
17208
- ]
17209
- }
17210
- }
17501
+ }
17502
+ },
17503
+ {
17504
+ "properties": {
17505
+ "yesNo": {
17506
+ "enum": [
17507
+ "Yes"
17508
+ ]
17211
17509
  },
17212
- {
17213
- "properties": {
17214
- "yesNo": {
17215
- "enum": [
17216
- "Yes"
17217
- ]
17218
- },
17219
- "details": {
17220
- "title": "Provide details",
17221
- "type": "string",
17222
- "minLength": 1
17223
- }
17224
- }
17510
+ "details": {
17511
+ "title": "Provide details",
17512
+ "type": "string",
17513
+ "minLength": 1
17225
17514
  }
17226
- ]
17515
+ }
17227
17516
  }
17228
- }
17517
+ ]
17518
+ }
17519
+ }
17520
+ },
17521
+ "isInsured": {
17522
+ "title": "Do you currently insure the property?",
17523
+ "type": "string",
17524
+ "enum": [
17525
+ "Yes",
17526
+ "No"
17527
+ ]
17528
+ }
17529
+ },
17530
+ "oneOf": [
17531
+ {
17532
+ "properties": {
17533
+ "isInsured": {
17534
+ "enum": [
17535
+ "No"
17536
+ ]
17537
+ },
17538
+ "details": {
17539
+ "title": "Why not?",
17540
+ "type": "string",
17541
+ "minLength": 1
17542
+ },
17543
+ "landlordInsuresIfFlat": {
17544
+ "title": "If the property is a flat, does the landlord insure the building?",
17545
+ "type": "string",
17546
+ "enum": [
17547
+ "Yes",
17548
+ "No",
17549
+ "Not applicable"
17550
+ ]
17551
+ }
17552
+ }
17553
+ },
17554
+ {
17555
+ "properties": {
17556
+ "isInsured": {
17557
+ "enum": [
17558
+ "Yes"
17559
+ ]
17229
17560
  },
17230
17561
  "insuranceClaims": {
17231
17562
  "title": "Have you ever made a claim against your building insurance in relation to the property?",
@@ -25685,29 +26016,62 @@
25685
26016
  }
25686
26017
  },
25687
26018
  "propertyAddress": {
25688
- "type": "object",
25689
- "properties": {
25690
- "postcodeZone": {
25691
- "type": "object",
25692
- "properties": {
25693
- "postcode": {
25694
- "type": "string"
26019
+ "oneOf": [
26020
+ {
26021
+ "type": "array",
26022
+ "items": {
26023
+ "type": "object",
26024
+ "properties": {
26025
+ "postcodeZone": {
26026
+ "type": "object",
26027
+ "properties": {
26028
+ "postcode": {
26029
+ "type": "string"
26030
+ }
26031
+ }
26032
+ },
26033
+ "addressLine": {
26034
+ "type": "object",
26035
+ "properties": {
26036
+ "line": {
26037
+ "type": "array",
26038
+ "items": {
26039
+ "type": "string"
26040
+ },
26041
+ "minItems": 0
26042
+ }
26043
+ }
26044
+ }
25695
26045
  }
25696
- }
26046
+ },
26047
+ "minItems": 0
25697
26048
  },
25698
- "addressLine": {
26049
+ {
25699
26050
  "type": "object",
25700
26051
  "properties": {
25701
- "line": {
25702
- "type": "array",
25703
- "items": {
25704
- "type": "string"
25705
- },
25706
- "minItems": 0
26052
+ "postcodeZone": {
26053
+ "type": "object",
26054
+ "properties": {
26055
+ "postcode": {
26056
+ "type": "string"
26057
+ }
26058
+ }
26059
+ },
26060
+ "addressLine": {
26061
+ "type": "object",
26062
+ "properties": {
26063
+ "line": {
26064
+ "type": "array",
26065
+ "items": {
26066
+ "type": "string"
26067
+ },
26068
+ "minItems": 0
26069
+ }
26070
+ }
25707
26071
  }
25708
26072
  }
25709
26073
  }
25710
- }
26074
+ ]
25711
26075
  },
25712
26076
  "title": {
25713
26077
  "type": "object",
@@ -33172,6 +33536,39 @@
33172
33536
  }
33173
33537
  }
33174
33538
  }
33539
+ },
33540
+ "additionalDocuments": {
33541
+ "title": "Additional documents referred to in title register",
33542
+ "type": "array",
33543
+ "items": {
33544
+ "type": "object",
33545
+ "properties": {
33546
+ "documentType": {
33547
+ "title": "Human-readable document type",
33548
+ "type": "string",
33549
+ "minLength": 1
33550
+ },
33551
+ "documentTypeCode": {
33552
+ "title": "HMLR document type code",
33553
+ "type": "string",
33554
+ "minLength": 1
33555
+ },
33556
+ "documentDate": {
33557
+ "title": "Date of original document",
33558
+ "type": "string",
33559
+ "fornat": "date"
33560
+ },
33561
+ "retrievedOn": {
33562
+ "title": "Datetime retrieved from HMLR",
33563
+ "type": "string",
33564
+ "fornat": "date-time"
33565
+ },
33566
+ "filedUnder": {
33567
+ "title": "Related title number",
33568
+ "type": "string"
33569
+ }
33570
+ }
33571
+ }
33175
33572
  }
33176
33573
  }
33177
33574
  }