@pdtf/schemas 3.3.0 → 3.4.0-10
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/index.js +2 -1
- package/package.json +1 -1
- package/src/examples/v3/exampleTransaction.json +2 -2
- package/src/schemas/v3/combined.json +1236 -485
- package/src/schemas/v3/overlays/baspi4.json +1 -6
- package/src/schemas/v3/overlays/baspi5.json +3 -7
- package/src/schemas/v3/overlays/lpe1.json +6 -1
- package/src/schemas/v3/overlays/nts.json +5 -4
- package/src/schemas/v3/overlays/{nts-sef.json → nts2.json} +744 -233
- package/src/schemas/v3/overlays/ntsl.json +4 -2
- package/src/schemas/v3/overlays/ntsl2.json +2144 -0
- package/src/schemas/v3/overlays/ta10.json +124 -134
- package/src/schemas/v3/overlays/ta6.json +3 -1
- package/src/schemas/v3/pdtf-transaction.json +360 -55
- package/src/schemas/v3/skeleton.json +38 -1
- package/src/tests/v3/transactionSchema.test.js +36 -0
- package/src/utils/extractOverlay.js +2 -1
|
@@ -3172,7 +3172,8 @@
|
|
|
3172
3172
|
],
|
|
3173
3173
|
"properties": {
|
|
3174
3174
|
"hasBeenFlooded": {
|
|
3175
|
-
"ta6Ref": "7.1.1"
|
|
3175
|
+
"ta6Ref": "7.1.1",
|
|
3176
|
+
"title": "Has any part of the property (whether buildings or surrounding garden or land) ever been flooded?"
|
|
3176
3177
|
}
|
|
3177
3178
|
}
|
|
3178
3179
|
}
|
|
@@ -4422,6 +4423,7 @@
|
|
|
4422
4423
|
"required": [
|
|
4423
4424
|
"yesNo"
|
|
4424
4425
|
],
|
|
4426
|
+
"title": "Is this sale dependent on the seller completing the purchase of another property on the same day?",
|
|
4425
4427
|
"properties": {
|
|
4426
4428
|
"yesNo": {
|
|
4427
4429
|
"ta6Ref": "14.1.1"
|
|
@@ -183,8 +183,14 @@
|
|
|
183
183
|
"externalIds": {
|
|
184
184
|
"type": "object"
|
|
185
185
|
},
|
|
186
|
-
"
|
|
187
|
-
"type": "
|
|
186
|
+
"participantStatus": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"enum": [
|
|
189
|
+
"Proposed",
|
|
190
|
+
"Invited",
|
|
191
|
+
"Active",
|
|
192
|
+
"Removed"
|
|
193
|
+
]
|
|
188
194
|
}
|
|
189
195
|
},
|
|
190
196
|
"oneOf": [
|
|
@@ -632,7 +638,8 @@
|
|
|
632
638
|
"propertyType": {
|
|
633
639
|
"enum": [
|
|
634
640
|
"House",
|
|
635
|
-
"Bungalow"
|
|
641
|
+
"Bungalow",
|
|
642
|
+
"Park home"
|
|
636
643
|
]
|
|
637
644
|
}
|
|
638
645
|
}
|
|
@@ -875,10 +882,19 @@
|
|
|
875
882
|
"type": "integer"
|
|
876
883
|
},
|
|
877
884
|
"outsideAreas": {
|
|
878
|
-
"title": "
|
|
885
|
+
"title": "What outside areas are there?",
|
|
879
886
|
"type": "array",
|
|
880
887
|
"items": {
|
|
881
|
-
"type": "string"
|
|
888
|
+
"type": "string",
|
|
889
|
+
"enum": [
|
|
890
|
+
"None",
|
|
891
|
+
"Front garden",
|
|
892
|
+
"Rear garden",
|
|
893
|
+
"Side garden",
|
|
894
|
+
"Balcony",
|
|
895
|
+
"Roof garden",
|
|
896
|
+
"Communal garden"
|
|
897
|
+
]
|
|
882
898
|
}
|
|
883
899
|
}
|
|
884
900
|
}
|
|
@@ -1347,6 +1363,7 @@
|
|
|
1347
1363
|
"ownershipType": {
|
|
1348
1364
|
"title": "What type of ownership is the property?",
|
|
1349
1365
|
"description": "A Managed Freehold is any freehold where there are shared amenities, the maintenance of which you pay for through an estate rentcharge, service charge, informal or formal contribution. Choose Leasehold if your property is under a Shared Ownership arrangement.",
|
|
1366
|
+
"nts2Description": "",
|
|
1350
1367
|
"type": "string",
|
|
1351
1368
|
"enum": [
|
|
1352
1369
|
"Freehold",
|
|
@@ -1365,6 +1382,49 @@
|
|
|
1365
1382
|
"Freehold"
|
|
1366
1383
|
]
|
|
1367
1384
|
},
|
|
1385
|
+
"estateRentcharges": {
|
|
1386
|
+
"title": "Are there any estate rentcharges, management charges or service charges payable?",
|
|
1387
|
+
"type": "object",
|
|
1388
|
+
"properties": {
|
|
1389
|
+
"yesNo": {
|
|
1390
|
+
"type": "string",
|
|
1391
|
+
"title": "",
|
|
1392
|
+
"enum": [
|
|
1393
|
+
"Yes",
|
|
1394
|
+
"No"
|
|
1395
|
+
]
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
"oneOf": [
|
|
1399
|
+
{
|
|
1400
|
+
"properties": {
|
|
1401
|
+
"yesNo": {
|
|
1402
|
+
"enum": [
|
|
1403
|
+
"No"
|
|
1404
|
+
]
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"properties": {
|
|
1410
|
+
"yesNo": {
|
|
1411
|
+
"enum": [
|
|
1412
|
+
"Yes"
|
|
1413
|
+
]
|
|
1414
|
+
},
|
|
1415
|
+
"details": {
|
|
1416
|
+
"title": "Details",
|
|
1417
|
+
"type": "string",
|
|
1418
|
+
"minLength": 1
|
|
1419
|
+
},
|
|
1420
|
+
"amount": {
|
|
1421
|
+
"title": "Amount payable annually",
|
|
1422
|
+
"type": "number"
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
]
|
|
1427
|
+
},
|
|
1368
1428
|
"wholeFreeholdForSale": {
|
|
1369
1429
|
"title": "Is the entire freehold being sold?",
|
|
1370
1430
|
"type": "object",
|
|
@@ -3399,7 +3459,7 @@
|
|
|
3399
3459
|
},
|
|
3400
3460
|
"sharedOwnershipPercentage": {
|
|
3401
3461
|
"title": "Shared ownership percentage",
|
|
3402
|
-
"type": "
|
|
3462
|
+
"type": "number",
|
|
3403
3463
|
"minimum": 5,
|
|
3404
3464
|
"exclusiveMaximum": 100
|
|
3405
3465
|
},
|
|
@@ -7854,7 +7914,7 @@
|
|
|
7854
7914
|
"type": "object",
|
|
7855
7915
|
"properties": {
|
|
7856
7916
|
"isStandardForm": {
|
|
7857
|
-
"title": "Is the property built in a standard form of construction?",
|
|
7917
|
+
"title": "Is the property built in a fully standard form of construction?",
|
|
7858
7918
|
"description": "Standard construction is brick and/or block with timber-supported roof comprising a tile or slate cover. Examples of non-standard features which might affect a buyer are are thatched roofs, prefabricated buildings or timber-framed windows.",
|
|
7859
7919
|
"type": "object",
|
|
7860
7920
|
"properties": {
|
|
@@ -7874,6 +7934,17 @@
|
|
|
7874
7934
|
"enum": [
|
|
7875
7935
|
"Yes"
|
|
7876
7936
|
]
|
|
7937
|
+
},
|
|
7938
|
+
"constructionType": {
|
|
7939
|
+
"title": "What is the main construction type?",
|
|
7940
|
+
"type": "string",
|
|
7941
|
+
"enum": [
|
|
7942
|
+
"Brick and block",
|
|
7943
|
+
"Steel frame",
|
|
7944
|
+
"Timber frame",
|
|
7945
|
+
"Insulated concrete framework",
|
|
7946
|
+
"Structural insulated panel (SIP)"
|
|
7947
|
+
]
|
|
7877
7948
|
}
|
|
7878
7949
|
}
|
|
7879
7950
|
},
|
|
@@ -11115,6 +11186,10 @@
|
|
|
11115
11186
|
"Included",
|
|
11116
11187
|
"Excluded"
|
|
11117
11188
|
]
|
|
11189
|
+
},
|
|
11190
|
+
"comments": {
|
|
11191
|
+
"title": "Comments",
|
|
11192
|
+
"type": "string"
|
|
11118
11193
|
}
|
|
11119
11194
|
},
|
|
11120
11195
|
"oneOf": [
|
|
@@ -11947,6 +12022,10 @@
|
|
|
11947
12022
|
"Included",
|
|
11948
12023
|
"Excluded"
|
|
11949
12024
|
]
|
|
12025
|
+
},
|
|
12026
|
+
"comments": {
|
|
12027
|
+
"title": "Comments",
|
|
12028
|
+
"type": "string"
|
|
11950
12029
|
}
|
|
11951
12030
|
},
|
|
11952
12031
|
"oneOf": [
|
|
@@ -11968,27 +12047,7 @@
|
|
|
11968
12047
|
"Freestanding"
|
|
11969
12048
|
]
|
|
11970
12049
|
}
|
|
11971
|
-
}
|
|
11972
|
-
"oneOf": [
|
|
11973
|
-
{
|
|
11974
|
-
"properties": {
|
|
11975
|
-
"fittedOrFreestanding": {
|
|
11976
|
-
"enum": [
|
|
11977
|
-
"Fitted"
|
|
11978
|
-
]
|
|
11979
|
-
}
|
|
11980
|
-
}
|
|
11981
|
-
},
|
|
11982
|
-
{
|
|
11983
|
-
"properties": {
|
|
11984
|
-
"fittedOrFreestanding": {
|
|
11985
|
-
"enum": [
|
|
11986
|
-
"Freestanding"
|
|
11987
|
-
]
|
|
11988
|
-
}
|
|
11989
|
-
}
|
|
11990
|
-
}
|
|
11991
|
-
]
|
|
12050
|
+
}
|
|
11992
12051
|
}
|
|
11993
12052
|
}
|
|
11994
12053
|
},
|
|
@@ -12014,27 +12073,7 @@
|
|
|
12014
12073
|
"Freestanding"
|
|
12015
12074
|
]
|
|
12016
12075
|
}
|
|
12017
|
-
}
|
|
12018
|
-
"oneOf": [
|
|
12019
|
-
{
|
|
12020
|
-
"properties": {
|
|
12021
|
-
"fittedOrFreestanding": {
|
|
12022
|
-
"enum": [
|
|
12023
|
-
"Fitted"
|
|
12024
|
-
]
|
|
12025
|
-
}
|
|
12026
|
-
}
|
|
12027
|
-
},
|
|
12028
|
-
{
|
|
12029
|
-
"properties": {
|
|
12030
|
-
"fittedOrFreestanding": {
|
|
12031
|
-
"enum": [
|
|
12032
|
-
"Freestanding"
|
|
12033
|
-
]
|
|
12034
|
-
}
|
|
12035
|
-
}
|
|
12036
|
-
}
|
|
12037
|
-
]
|
|
12076
|
+
}
|
|
12038
12077
|
}
|
|
12039
12078
|
}
|
|
12040
12079
|
},
|
|
@@ -13199,6 +13238,10 @@
|
|
|
13199
13238
|
"enum": [
|
|
13200
13239
|
"Included"
|
|
13201
13240
|
]
|
|
13241
|
+
},
|
|
13242
|
+
"comments": {
|
|
13243
|
+
"title": "Comments",
|
|
13244
|
+
"type": "string"
|
|
13202
13245
|
}
|
|
13203
13246
|
}
|
|
13204
13247
|
},
|
|
@@ -13212,6 +13255,10 @@
|
|
|
13212
13255
|
"price": {
|
|
13213
13256
|
"title": "Price",
|
|
13214
13257
|
"type": "number"
|
|
13258
|
+
},
|
|
13259
|
+
"comments": {
|
|
13260
|
+
"title": "Comments",
|
|
13261
|
+
"type": "string"
|
|
13215
13262
|
}
|
|
13216
13263
|
}
|
|
13217
13264
|
}
|
|
@@ -13920,6 +13967,10 @@
|
|
|
13920
13967
|
"enum": [
|
|
13921
13968
|
"Included"
|
|
13922
13969
|
]
|
|
13970
|
+
},
|
|
13971
|
+
"comments": {
|
|
13972
|
+
"title": "Comments",
|
|
13973
|
+
"type": "string"
|
|
13923
13974
|
}
|
|
13924
13975
|
}
|
|
13925
13976
|
},
|
|
@@ -13933,6 +13984,10 @@
|
|
|
13933
13984
|
"price": {
|
|
13934
13985
|
"title": "Price",
|
|
13935
13986
|
"type": "number"
|
|
13987
|
+
},
|
|
13988
|
+
"comments": {
|
|
13989
|
+
"title": "Comments",
|
|
13990
|
+
"type": "string"
|
|
13936
13991
|
}
|
|
13937
13992
|
}
|
|
13938
13993
|
}
|
|
@@ -14280,6 +14335,10 @@
|
|
|
14280
14335
|
"enum": [
|
|
14281
14336
|
"Included"
|
|
14282
14337
|
]
|
|
14338
|
+
},
|
|
14339
|
+
"comments": {
|
|
14340
|
+
"title": "Comments",
|
|
14341
|
+
"type": "string"
|
|
14283
14342
|
}
|
|
14284
14343
|
}
|
|
14285
14344
|
},
|
|
@@ -14293,6 +14352,10 @@
|
|
|
14293
14352
|
"price": {
|
|
14294
14353
|
"title": "Price",
|
|
14295
14354
|
"type": "number"
|
|
14355
|
+
},
|
|
14356
|
+
"comments": {
|
|
14357
|
+
"title": "Comments",
|
|
14358
|
+
"type": "string"
|
|
14296
14359
|
}
|
|
14297
14360
|
}
|
|
14298
14361
|
}
|
|
@@ -14859,6 +14922,10 @@
|
|
|
14859
14922
|
"enum": [
|
|
14860
14923
|
"Included"
|
|
14861
14924
|
]
|
|
14925
|
+
},
|
|
14926
|
+
"comments": {
|
|
14927
|
+
"title": "Comments",
|
|
14928
|
+
"type": "string"
|
|
14862
14929
|
}
|
|
14863
14930
|
}
|
|
14864
14931
|
},
|
|
@@ -14872,6 +14939,10 @@
|
|
|
14872
14939
|
"price": {
|
|
14873
14940
|
"title": "Price",
|
|
14874
14941
|
"type": "number"
|
|
14942
|
+
},
|
|
14943
|
+
"comments": {
|
|
14944
|
+
"title": "Comments",
|
|
14945
|
+
"type": "string"
|
|
14875
14946
|
}
|
|
14876
14947
|
}
|
|
14877
14948
|
}
|
|
@@ -15230,6 +15301,10 @@
|
|
|
15230
15301
|
"enum": [
|
|
15231
15302
|
"Included"
|
|
15232
15303
|
]
|
|
15304
|
+
},
|
|
15305
|
+
"comments": {
|
|
15306
|
+
"title": "Comments",
|
|
15307
|
+
"type": "string"
|
|
15233
15308
|
}
|
|
15234
15309
|
}
|
|
15235
15310
|
},
|
|
@@ -15243,6 +15318,10 @@
|
|
|
15243
15318
|
"price": {
|
|
15244
15319
|
"title": "Price",
|
|
15245
15320
|
"type": "number"
|
|
15321
|
+
},
|
|
15322
|
+
"comments": {
|
|
15323
|
+
"title": "Comments",
|
|
15324
|
+
"type": "string"
|
|
15246
15325
|
}
|
|
15247
15326
|
}
|
|
15248
15327
|
}
|
|
@@ -16966,7 +17045,16 @@
|
|
|
16966
17045
|
"centralHeatingInstalled": {
|
|
16967
17046
|
"title": "When was the heating system installed?",
|
|
16968
17047
|
"type": "string",
|
|
16969
|
-
"
|
|
17048
|
+
"oneOf": [
|
|
17049
|
+
{
|
|
17050
|
+
"format": "date"
|
|
17051
|
+
},
|
|
17052
|
+
{
|
|
17053
|
+
"enum": [
|
|
17054
|
+
"Not known"
|
|
17055
|
+
]
|
|
17056
|
+
}
|
|
17057
|
+
]
|
|
16970
17058
|
},
|
|
16971
17059
|
"boilerInstallationCertificate": {
|
|
16972
17060
|
"title": "Was a gas boiler installed after 1st April 2005, or a solid fuel or oil boiler installed after 1st October 2010?",
|
|
@@ -17013,7 +17101,16 @@
|
|
|
17013
17101
|
"heatingLastServicedDate": {
|
|
17014
17102
|
"title": "When was the heating system last serviced or maintained?",
|
|
17015
17103
|
"type": "string",
|
|
17016
|
-
"
|
|
17104
|
+
"oneOf": [
|
|
17105
|
+
{
|
|
17106
|
+
"format": "date"
|
|
17107
|
+
},
|
|
17108
|
+
{
|
|
17109
|
+
"enum": [
|
|
17110
|
+
"Not known"
|
|
17111
|
+
]
|
|
17112
|
+
}
|
|
17113
|
+
]
|
|
17017
17114
|
},
|
|
17018
17115
|
"heatingLastServicedReport": {
|
|
17019
17116
|
"title": "Please provide a copy of the service or maintenance works report.",
|
|
@@ -17098,6 +17195,7 @@
|
|
|
17098
17195
|
"Solar water",
|
|
17099
17196
|
"Underfloor heating",
|
|
17100
17197
|
"Wood burner",
|
|
17198
|
+
"Aga/Rayburn",
|
|
17101
17199
|
"Open fire",
|
|
17102
17200
|
"Ground source heat pump",
|
|
17103
17201
|
"Air source heat pump",
|
|
@@ -18143,7 +18241,7 @@
|
|
|
18143
18241
|
"properties": {
|
|
18144
18242
|
"riskIndicator": {
|
|
18145
18243
|
"type": "string",
|
|
18146
|
-
"title": "
|
|
18244
|
+
"title": "To your knowledge, is the property at risk of flooding of any type?",
|
|
18147
18245
|
"enum": [
|
|
18148
18246
|
"Yes",
|
|
18149
18247
|
"No"
|
|
@@ -18181,7 +18279,6 @@
|
|
|
18181
18279
|
"summary": {
|
|
18182
18280
|
"type": "string",
|
|
18183
18281
|
"title": "Summary of risk",
|
|
18184
|
-
"ntsTitle:": "Please provide details",
|
|
18185
18282
|
"minLength": 1
|
|
18186
18283
|
},
|
|
18187
18284
|
"recommendations": {
|
|
@@ -18250,7 +18347,7 @@
|
|
|
18250
18347
|
"type": "object",
|
|
18251
18348
|
"properties": {
|
|
18252
18349
|
"hasBeenFlooded": {
|
|
18253
|
-
"title": "Has
|
|
18350
|
+
"title": "Has the property been flooded in the last 5 years?",
|
|
18254
18351
|
"type": "string",
|
|
18255
18352
|
"enum": [
|
|
18256
18353
|
"Yes",
|
|
@@ -18298,6 +18395,45 @@
|
|
|
18298
18395
|
}
|
|
18299
18396
|
}
|
|
18300
18397
|
]
|
|
18398
|
+
},
|
|
18399
|
+
"floodDefences": {
|
|
18400
|
+
"title": "Flood defences",
|
|
18401
|
+
"type": "object",
|
|
18402
|
+
"properties": {
|
|
18403
|
+
"hasFloodDefences": {
|
|
18404
|
+
"title": "Are there any defences to prevent flooding installed at the property?",
|
|
18405
|
+
"type": "string",
|
|
18406
|
+
"enum": [
|
|
18407
|
+
"Yes",
|
|
18408
|
+
"No"
|
|
18409
|
+
]
|
|
18410
|
+
}
|
|
18411
|
+
},
|
|
18412
|
+
"oneOf": [
|
|
18413
|
+
{
|
|
18414
|
+
"properties": {
|
|
18415
|
+
"hasFloodDefences": {
|
|
18416
|
+
"enum": [
|
|
18417
|
+
"No"
|
|
18418
|
+
]
|
|
18419
|
+
}
|
|
18420
|
+
}
|
|
18421
|
+
},
|
|
18422
|
+
{
|
|
18423
|
+
"properties": {
|
|
18424
|
+
"hasFloodDefences": {
|
|
18425
|
+
"enum": [
|
|
18426
|
+
"Yes"
|
|
18427
|
+
]
|
|
18428
|
+
},
|
|
18429
|
+
"details": {
|
|
18430
|
+
"title": "Please provide details",
|
|
18431
|
+
"type": "string",
|
|
18432
|
+
"minLength": 1
|
|
18433
|
+
}
|
|
18434
|
+
}
|
|
18435
|
+
}
|
|
18436
|
+
]
|
|
18301
18437
|
}
|
|
18302
18438
|
}
|
|
18303
18439
|
},
|
|
@@ -19331,7 +19467,7 @@
|
|
|
19331
19467
|
"properties": {
|
|
19332
19468
|
"riskIndicator": {
|
|
19333
19469
|
"type": "string",
|
|
19334
|
-
"title": "Is the property impacted?",
|
|
19470
|
+
"title": "Is the property impacted by coastal erosion?",
|
|
19335
19471
|
"enum": [
|
|
19336
19472
|
"Yes",
|
|
19337
19473
|
"No"
|
|
@@ -34235,6 +34371,175 @@
|
|
|
34235
34371
|
}
|
|
34236
34372
|
}
|
|
34237
34373
|
}
|
|
34374
|
+
},
|
|
34375
|
+
"chain": {
|
|
34376
|
+
"title": "Data Containing the Related Chain",
|
|
34377
|
+
"description": "the data through which the chain for this tranasaction can be built.",
|
|
34378
|
+
"type": "object",
|
|
34379
|
+
"properties": {
|
|
34380
|
+
"onwardPurchase": {
|
|
34381
|
+
"type": "array",
|
|
34382
|
+
"minItems": 1,
|
|
34383
|
+
"items": {
|
|
34384
|
+
"type": "object",
|
|
34385
|
+
"title": "onwards Purchases",
|
|
34386
|
+
"properties": {
|
|
34387
|
+
"transactionId": {
|
|
34388
|
+
"title": "UUID for the onward transaction",
|
|
34389
|
+
"type": "string"
|
|
34390
|
+
},
|
|
34391
|
+
"externalIds": {
|
|
34392
|
+
"type": "object"
|
|
34393
|
+
},
|
|
34394
|
+
"address": {
|
|
34395
|
+
"title": "Address",
|
|
34396
|
+
"type": "object",
|
|
34397
|
+
"properties": {
|
|
34398
|
+
"buildingNumber": {
|
|
34399
|
+
"title": "Building number",
|
|
34400
|
+
"type": "string",
|
|
34401
|
+
"minLength": 1
|
|
34402
|
+
},
|
|
34403
|
+
"buildingName": {
|
|
34404
|
+
"title": "Building name",
|
|
34405
|
+
"type": "string"
|
|
34406
|
+
},
|
|
34407
|
+
"subBuilding": {
|
|
34408
|
+
"title": "Sub building name",
|
|
34409
|
+
"type": "string"
|
|
34410
|
+
},
|
|
34411
|
+
"street": {
|
|
34412
|
+
"title": "Street",
|
|
34413
|
+
"type": "string",
|
|
34414
|
+
"minLength": 1
|
|
34415
|
+
},
|
|
34416
|
+
"line1": {
|
|
34417
|
+
"title": "Address 1",
|
|
34418
|
+
"type": "string",
|
|
34419
|
+
"minLength": 1
|
|
34420
|
+
},
|
|
34421
|
+
"line2": {
|
|
34422
|
+
"title": "Address 2",
|
|
34423
|
+
"type": "string"
|
|
34424
|
+
},
|
|
34425
|
+
"line 3": {
|
|
34426
|
+
"title": "Address 3",
|
|
34427
|
+
"type": "string"
|
|
34428
|
+
},
|
|
34429
|
+
"town": {
|
|
34430
|
+
"title": "Town",
|
|
34431
|
+
"type": "string"
|
|
34432
|
+
},
|
|
34433
|
+
"postcode": {
|
|
34434
|
+
"title": "Postcode",
|
|
34435
|
+
"type": "string",
|
|
34436
|
+
"minLength": 1
|
|
34437
|
+
},
|
|
34438
|
+
"homeNation": {
|
|
34439
|
+
"title": "Home nation",
|
|
34440
|
+
"type": "string",
|
|
34441
|
+
"enum": [
|
|
34442
|
+
"England",
|
|
34443
|
+
"Wales",
|
|
34444
|
+
"Scotland",
|
|
34445
|
+
"Northern Ireland"
|
|
34446
|
+
]
|
|
34447
|
+
}
|
|
34448
|
+
}
|
|
34449
|
+
},
|
|
34450
|
+
"uprn": {
|
|
34451
|
+
"title": "Unique Property Reference Number",
|
|
34452
|
+
"type": "integer"
|
|
34453
|
+
},
|
|
34454
|
+
"sellingAgent": {
|
|
34455
|
+
"title": "Estate Agent selling the property",
|
|
34456
|
+
"type": "string"
|
|
34457
|
+
}
|
|
34458
|
+
}
|
|
34459
|
+
}
|
|
34460
|
+
}
|
|
34461
|
+
},
|
|
34462
|
+
"buyersSale": {
|
|
34463
|
+
"type": "array",
|
|
34464
|
+
"minItems": 1,
|
|
34465
|
+
"items": {
|
|
34466
|
+
"type": "object",
|
|
34467
|
+
"title": "the properties the buyer/buyers are selling to finance the purchase",
|
|
34468
|
+
"properties": {
|
|
34469
|
+
"transactionId": {
|
|
34470
|
+
"title": "UUID for the onward transaction",
|
|
34471
|
+
"type": "string"
|
|
34472
|
+
},
|
|
34473
|
+
"externalIds": {
|
|
34474
|
+
"type": "object"
|
|
34475
|
+
},
|
|
34476
|
+
"address": {
|
|
34477
|
+
"title": "Address",
|
|
34478
|
+
"type": "object",
|
|
34479
|
+
"properties": {
|
|
34480
|
+
"buildingNumber": {
|
|
34481
|
+
"title": "Building number",
|
|
34482
|
+
"type": "string",
|
|
34483
|
+
"minLength": 1
|
|
34484
|
+
},
|
|
34485
|
+
"buildingName": {
|
|
34486
|
+
"title": "Building name",
|
|
34487
|
+
"type": "string"
|
|
34488
|
+
},
|
|
34489
|
+
"subBuilding": {
|
|
34490
|
+
"title": "Sub building name",
|
|
34491
|
+
"type": "string"
|
|
34492
|
+
},
|
|
34493
|
+
"street": {
|
|
34494
|
+
"title": "Street",
|
|
34495
|
+
"type": "string",
|
|
34496
|
+
"minLength": 1
|
|
34497
|
+
},
|
|
34498
|
+
"line1": {
|
|
34499
|
+
"title": "Address 1",
|
|
34500
|
+
"type": "string",
|
|
34501
|
+
"minLength": 1
|
|
34502
|
+
},
|
|
34503
|
+
"line2": {
|
|
34504
|
+
"title": "Address 2",
|
|
34505
|
+
"type": "string"
|
|
34506
|
+
},
|
|
34507
|
+
"line 3": {
|
|
34508
|
+
"title": "Address 3",
|
|
34509
|
+
"type": "string"
|
|
34510
|
+
},
|
|
34511
|
+
"town": {
|
|
34512
|
+
"title": "Town",
|
|
34513
|
+
"type": "string"
|
|
34514
|
+
},
|
|
34515
|
+
"postcode": {
|
|
34516
|
+
"title": "Postcode",
|
|
34517
|
+
"type": "string",
|
|
34518
|
+
"minLength": 1
|
|
34519
|
+
},
|
|
34520
|
+
"homeNation": {
|
|
34521
|
+
"title": "Home nation",
|
|
34522
|
+
"type": "string",
|
|
34523
|
+
"enum": [
|
|
34524
|
+
"England",
|
|
34525
|
+
"Wales",
|
|
34526
|
+
"Scotland",
|
|
34527
|
+
"Northern Ireland"
|
|
34528
|
+
]
|
|
34529
|
+
}
|
|
34530
|
+
}
|
|
34531
|
+
},
|
|
34532
|
+
"uprn": {
|
|
34533
|
+
"title": "Unique Property Reference Number",
|
|
34534
|
+
"type": "integer"
|
|
34535
|
+
},
|
|
34536
|
+
"sellingAgent": {
|
|
34537
|
+
"title": "Estate Agent selling the property",
|
|
34538
|
+
"type": "string"
|
|
34539
|
+
}
|
|
34540
|
+
}
|
|
34541
|
+
}
|
|
34542
|
+
}
|
|
34238
34543
|
}
|
|
34239
34544
|
}
|
|
34240
34545
|
}
|