@pdtf/schemas 0.7.6 → 0.9.0
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/.github/workflows/pages.yml +50 -0
- package/CNAME +1 -0
- package/index.js +22 -13
- package/package.json +1 -1
- package/src/examples/exampleTransaction.json +133 -5
- package/src/schemas/{GeoJSON.json → v1/GeoJSON.json} +0 -0
- package/src/schemas/{baspiNotes.html → v1/baspiNotes.html} +0 -0
- package/src/schemas/{energy-performance-certificate.json → v1/energy-performance-certificate.json} +1 -1
- package/src/schemas/{legal-information.json → v1/legal-information.json} +93 -43
- package/src/schemas/{material-facts.json → v1/material-facts.json} +69 -152
- package/src/schemas/{pdtf-transaction-search-results.json → v1/pdtf-transaction-search-results.json} +1 -1
- package/src/schemas/{pdtf-transaction.json → v1/pdtf-transaction.json} +13 -105
- package/src/schemas/{pdtf-verified-claims.json → v1/pdtf-verified-claims.json} +1 -1
- package/src/schemas/v1/searches/drainage-and-water.json +269 -0
- package/src/schemas/v1/searches/local-land-charges.json +69 -0
- package/src/schemas/v1/searches/local-searches-required.json +861 -0
- package/src/schemas/v1/searches.json +243 -0
- package/src/schemas/{title-deed.json → v1/title-deed.json} +1 -1
- package/src/tests/pdtfVerifiedClaims.test.js +1 -1
- package/docs/assets/PDTF Orange.png +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://
|
|
3
|
+
"$id": "https://trust.propdata.org.uk/schemas/v1/material-facts.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Material facts at the point of marketing",
|
|
6
6
|
"description": "BASPI v2.0 Part A - Disclosure of material facts at the point of marketing, supporting mapping to BASPI, Law Society and RICS Data Schema elements.",
|
|
@@ -39,131 +39,13 @@
|
|
|
39
39
|
},
|
|
40
40
|
"address": {
|
|
41
41
|
"baspiRef": "A1.1",
|
|
42
|
+
"lawSocietyRef": "TA6/0",
|
|
42
43
|
"RDSRef": "Property/Address/xal:AddressDetails",
|
|
43
44
|
"title": "Property Address",
|
|
44
45
|
"$ref": "#/$defs/address"
|
|
45
46
|
},
|
|
46
47
|
"propertyType": {
|
|
47
|
-
"type": "string"
|
|
48
|
-
"enum": [
|
|
49
|
-
"Not Specified",
|
|
50
|
-
"Terraced House",
|
|
51
|
-
"End of terrace house",
|
|
52
|
-
"Semi-detached house",
|
|
53
|
-
"Detached house",
|
|
54
|
-
"Mews house",
|
|
55
|
-
"Cluster house",
|
|
56
|
-
"Ground floor flat",
|
|
57
|
-
"Flat",
|
|
58
|
-
"Studio flat",
|
|
59
|
-
"Ground floor maisonette",
|
|
60
|
-
"Maisonette",
|
|
61
|
-
"Bungalow",
|
|
62
|
-
"Terraced bungalow",
|
|
63
|
-
"Semi-detached bungalow",
|
|
64
|
-
"Detached bungalow",
|
|
65
|
-
"Mobile home",
|
|
66
|
-
"Land (Residential)",
|
|
67
|
-
"Link detached house",
|
|
68
|
-
"Town house",
|
|
69
|
-
"Cottage",
|
|
70
|
-
"Chalet",
|
|
71
|
-
"Character Property",
|
|
72
|
-
"House (unspecified)",
|
|
73
|
-
"Villa",
|
|
74
|
-
"Apartment",
|
|
75
|
-
"Penthouse",
|
|
76
|
-
"Finca",
|
|
77
|
-
"Barn Conversion",
|
|
78
|
-
"Serviced apartment",
|
|
79
|
-
"Parking",
|
|
80
|
-
"Sheltered Housing",
|
|
81
|
-
"Retirement property",
|
|
82
|
-
"House share",
|
|
83
|
-
"Flat share",
|
|
84
|
-
"Park home",
|
|
85
|
-
"Garages",
|
|
86
|
-
"Farm House",
|
|
87
|
-
"Equestrian facility",
|
|
88
|
-
"Duplex",
|
|
89
|
-
"Triplex",
|
|
90
|
-
"Longere",
|
|
91
|
-
"Gite",
|
|
92
|
-
"Barn",
|
|
93
|
-
"Trulli",
|
|
94
|
-
"Mill",
|
|
95
|
-
"Ruins",
|
|
96
|
-
"Restaurant",
|
|
97
|
-
"Cafe",
|
|
98
|
-
"Castle",
|
|
99
|
-
"Village House",
|
|
100
|
-
"Cave House",
|
|
101
|
-
"Cortijo",
|
|
102
|
-
"Farm Land",
|
|
103
|
-
"Plot",
|
|
104
|
-
"Country House",
|
|
105
|
-
"Stone House",
|
|
106
|
-
"Caravan",
|
|
107
|
-
"Lodge",
|
|
108
|
-
"Log Cabin",
|
|
109
|
-
"Manor House",
|
|
110
|
-
"Stately Home",
|
|
111
|
-
"Off-Plan",
|
|
112
|
-
"Semi-detached Villa",
|
|
113
|
-
"Detached Villa",
|
|
114
|
-
"Bar/Nightclub",
|
|
115
|
-
"Shop",
|
|
116
|
-
"Riad",
|
|
117
|
-
"House Boat",
|
|
118
|
-
"Hotel Room",
|
|
119
|
-
"Block of Apartments",
|
|
120
|
-
"Private Halls",
|
|
121
|
-
"Office",
|
|
122
|
-
"Business Park",
|
|
123
|
-
"Serviced Office",
|
|
124
|
-
"Retail Property (High Street)",
|
|
125
|
-
"Retail Property (Out of Town)",
|
|
126
|
-
"Convenience Store",
|
|
127
|
-
"Hairdresser/Barber Shop",
|
|
128
|
-
"Hotel",
|
|
129
|
-
"Petrol Station",
|
|
130
|
-
"Post Office",
|
|
131
|
-
"Pub",
|
|
132
|
-
"Workshop & Retail Space",
|
|
133
|
-
"Distribution Warehouse",
|
|
134
|
-
"Factory",
|
|
135
|
-
"Heavy Industrial",
|
|
136
|
-
"Industrial Park",
|
|
137
|
-
"Light Industrial",
|
|
138
|
-
"Storage",
|
|
139
|
-
"Showroom",
|
|
140
|
-
"Warehouse",
|
|
141
|
-
"Land (Commercial)",
|
|
142
|
-
"Commercial Development",
|
|
143
|
-
"Industrial Development",
|
|
144
|
-
"Residential Development",
|
|
145
|
-
"Commercial Property",
|
|
146
|
-
"Data Centre",
|
|
147
|
-
"Farm",
|
|
148
|
-
"Healthcare Facility",
|
|
149
|
-
"Marine Property",
|
|
150
|
-
"Mixed Use",
|
|
151
|
-
"Research & Development Facility",
|
|
152
|
-
"Science Park",
|
|
153
|
-
"Guest House",
|
|
154
|
-
"Hospitality",
|
|
155
|
-
"Leisure Facility",
|
|
156
|
-
"Takeaway",
|
|
157
|
-
"Childcare Facility",
|
|
158
|
-
"Smallholding",
|
|
159
|
-
"Place of Worship",
|
|
160
|
-
"Trade Counter",
|
|
161
|
-
"Coach House",
|
|
162
|
-
"House of Multiple Occupation",
|
|
163
|
-
"Sports facilities",
|
|
164
|
-
"Spa",
|
|
165
|
-
"Campsite & Holiday Village"
|
|
166
|
-
]
|
|
48
|
+
"type": "string"
|
|
167
49
|
},
|
|
168
50
|
"isNewBuild": {
|
|
169
51
|
"type": "boolean"
|
|
@@ -239,10 +121,6 @@
|
|
|
239
121
|
},
|
|
240
122
|
"delayFactors": {
|
|
241
123
|
"baspiRef": "A1.2",
|
|
242
|
-
"RDSMapping": {
|
|
243
|
-
"hasDelayFactors/yesNo": "Metadata/PotentialDelays",
|
|
244
|
-
"hasDelayFactors/details": "Metadata/PotentialDelayDuration"
|
|
245
|
-
},
|
|
246
124
|
"title": "Delay Factors",
|
|
247
125
|
"type": "object",
|
|
248
126
|
"required": ["hasDelayFactors"],
|
|
@@ -325,7 +203,7 @@
|
|
|
325
203
|
"RDSRef": "TenureAgreements/RentPayable/Value",
|
|
326
204
|
"lawSocietyRef": "TA7/1.2",
|
|
327
205
|
"title": "Current annual ground rent (£)",
|
|
328
|
-
"type": "
|
|
206
|
+
"type": "number"
|
|
329
207
|
},
|
|
330
208
|
"rentIncrease": {
|
|
331
209
|
"baspiRef": "A1.4.3",
|
|
@@ -338,7 +216,7 @@
|
|
|
338
216
|
"baspiRef": "A1.5.1",
|
|
339
217
|
"RDSRef": "TenureAgreements/ServiceCharges",
|
|
340
218
|
"title": "Amount of current annual service charge/estate rentcharge/maintenance contribution (£)",
|
|
341
|
-
"type": "
|
|
219
|
+
"type": "number"
|
|
342
220
|
},
|
|
343
221
|
"largeAdditionalExpense": {
|
|
344
222
|
"baspiRef": "A1.5.2",
|
|
@@ -351,7 +229,7 @@
|
|
|
351
229
|
"baspiRef": "A1.5.3",
|
|
352
230
|
"RDSRef": "TenureAgreements/LegalCosts/Actual, TenureAgreements/LegalCosts/Estimated",
|
|
353
231
|
"title": "Additional fees payable on sale (£)",
|
|
354
|
-
"type": "
|
|
232
|
+
"type": "number"
|
|
355
233
|
},
|
|
356
234
|
"freeholderContactDetails": {
|
|
357
235
|
"baspiRef": "A1.5.4",
|
|
@@ -392,13 +270,14 @@
|
|
|
392
270
|
},
|
|
393
271
|
"annualServiceCharge": {
|
|
394
272
|
"baspiRef": "A1.5.1",
|
|
273
|
+
"lawSocietyRef": "TA6/10.1",
|
|
395
274
|
"RDSRef": "TenureAgreements/ServiceCharges",
|
|
396
275
|
"title": "Amount of current annual service charge/estate rentcharge/maintenance contribution (£)",
|
|
397
|
-
"type": "
|
|
398
|
-
"minLength": 1
|
|
276
|
+
"type": "number"
|
|
399
277
|
},
|
|
400
278
|
"largeAdditionalExpense": {
|
|
401
279
|
"baspiRef": "A1.5.2",
|
|
280
|
+
"lawSocietyRef": "TA6/10.1",
|
|
402
281
|
"RDSRef": "TenureAgreements/Repairs,TenureAgreements/ServicesCharges/Breakdown",
|
|
403
282
|
"title": "Have you received notice of any large expense in addition to the annual payment?",
|
|
404
283
|
"$ref": "#/$defs/yesNoDetailIfYes",
|
|
@@ -406,9 +285,10 @@
|
|
|
406
285
|
},
|
|
407
286
|
"additionalFeesOnSale": {
|
|
408
287
|
"baspiRef": "A1.5.3",
|
|
288
|
+
"lawSocietyRef": "TA6/10.1",
|
|
409
289
|
"RDSRef": "TenureAgreements/LegalCosts/Actual, TenureAgreements/LegalCosts/Estimated",
|
|
410
290
|
"title": "Additional fees payable on sale (£)",
|
|
411
|
-
"type": "
|
|
291
|
+
"type": "number"
|
|
412
292
|
},
|
|
413
293
|
"freeholderContactDetails": {
|
|
414
294
|
"baspiRef": "A1.5.4",
|
|
@@ -451,7 +331,7 @@
|
|
|
451
331
|
},
|
|
452
332
|
"sharedOwnershipRent": {
|
|
453
333
|
"title": "Shared ownership rent (£)",
|
|
454
|
-
"type": "
|
|
334
|
+
"type": "number",
|
|
455
335
|
"minimum": 0
|
|
456
336
|
},
|
|
457
337
|
"sharedOwnershipRentFrequency": {
|
|
@@ -475,7 +355,7 @@
|
|
|
475
355
|
"RDSRef": "TenureAgreements/RentPayable/Value",
|
|
476
356
|
"lawSocietyRef": "TA7/1.2",
|
|
477
357
|
"title": "Current annual ground rent (£)",
|
|
478
|
-
"type": "
|
|
358
|
+
"type": "number"
|
|
479
359
|
},
|
|
480
360
|
"rentIncrease": {
|
|
481
361
|
"baspiRef": "A1.4.3",
|
|
@@ -488,7 +368,7 @@
|
|
|
488
368
|
"baspiRef": "A1.5.1",
|
|
489
369
|
"RDSRef": "TenureAgreements/ServiceCharges",
|
|
490
370
|
"title": "Amount of current annual service charge/estate rentcharge/maintenance contribution (£)",
|
|
491
|
-
"type": "
|
|
371
|
+
"type": "number"
|
|
492
372
|
},
|
|
493
373
|
"largeAdditionalExpense": {
|
|
494
374
|
"baspiRef": "A1.5.2",
|
|
@@ -501,7 +381,7 @@
|
|
|
501
381
|
"baspiRef": "A1.5.3",
|
|
502
382
|
"RDSRef": "TenureAgreements/LegalCosts/Actual, TenureAgreements/LegalCosts/Estimated",
|
|
503
383
|
"title": "Additional fees payable on sale or letting (£)",
|
|
504
|
-
"type": "
|
|
384
|
+
"type": "number"
|
|
505
385
|
},
|
|
506
386
|
"freeholderContactDetails": {
|
|
507
387
|
"baspiRef": "A1.5.4",
|
|
@@ -545,12 +425,13 @@
|
|
|
545
425
|
"parking": {
|
|
546
426
|
"baspiRef": "A1.6",
|
|
547
427
|
"RDSRef": "Services/Parking",
|
|
548
|
-
"lawSocietyRef": "TA6/9
|
|
428
|
+
"lawSocietyRef": "TA6/9",
|
|
549
429
|
"title": "Parking",
|
|
550
430
|
"type": "object",
|
|
551
431
|
"required": ["parkingArrangements", "electricVehicleChargingPoint"],
|
|
552
432
|
"properties": {
|
|
553
433
|
"parkingArrangements": {
|
|
434
|
+
"lawSocietyRef": "TA6/9.1",
|
|
554
435
|
"type": "object",
|
|
555
436
|
"title": "Parking arrangements",
|
|
556
437
|
"required": ["parkingArrangementsType"],
|
|
@@ -570,6 +451,11 @@
|
|
|
570
451
|
"None",
|
|
571
452
|
"Other"
|
|
572
453
|
]
|
|
454
|
+
},
|
|
455
|
+
"controlledParking": {
|
|
456
|
+
"lawSocietyRef": "TA6/9.2",
|
|
457
|
+
"title": "Is the property in a controlled parking zone or within a local authority parking scheme?",
|
|
458
|
+
"$ref": "#/$defs/yesNo"
|
|
573
459
|
}
|
|
574
460
|
},
|
|
575
461
|
"dependencies": {
|
|
@@ -645,7 +531,7 @@
|
|
|
645
531
|
"hasTreePreservationOrder": {
|
|
646
532
|
"baspiRef": "A1.7.3",
|
|
647
533
|
"RDSRef": "Property/Flags",
|
|
648
|
-
"lawSocietyRef": "TA6/4.
|
|
534
|
+
"lawSocietyRef": "TA6/4.8",
|
|
649
535
|
"title": "To your knowledge, does a tree preservation order apply to any trees within the boundaries of the property?",
|
|
650
536
|
"type": "object",
|
|
651
537
|
"properties": {
|
|
@@ -680,7 +566,7 @@
|
|
|
680
566
|
},
|
|
681
567
|
"workCarriedOut": {
|
|
682
568
|
"RDSRef": "WorksAlterationsChanges",
|
|
683
|
-
"lawSocietyRef": "TA6/4.
|
|
569
|
+
"lawSocietyRef": "TA6/4.8a",
|
|
684
570
|
"title": "If work has been carried out to any trees which are protected by the order, were the relevant consents obtained? Provide any relevant documentation",
|
|
685
571
|
"type": "string",
|
|
686
572
|
"minLength": 1
|
|
@@ -709,7 +595,6 @@
|
|
|
709
595
|
"hasFlammableExternalWallSystem": {
|
|
710
596
|
"baspiRef": "A2.1",
|
|
711
597
|
"RDSRef": "Tenure/DisputesComplaints,Tenure/LegalClaims",
|
|
712
|
-
"lawSocietyRef": "TA6/2.1",
|
|
713
598
|
"title": "Does the property have potentially flammable external wall system - including cladding and balconies etc?",
|
|
714
599
|
"type": "string",
|
|
715
600
|
"enum": [
|
|
@@ -732,11 +617,20 @@
|
|
|
732
617
|
"title": "Energy Efficiency Rating",
|
|
733
618
|
"description": "What is the energy efficiency rating of the property according to the latest Energy Performance Certificate (EPC)?",
|
|
734
619
|
"type": "string",
|
|
735
|
-
"enum": [
|
|
620
|
+
"enum": [
|
|
621
|
+
"A",
|
|
622
|
+
"B",
|
|
623
|
+
"C",
|
|
624
|
+
"D",
|
|
625
|
+
"E",
|
|
626
|
+
"F",
|
|
627
|
+
"G",
|
|
628
|
+
"Exempt Property",
|
|
629
|
+
"Survey Instructed"
|
|
630
|
+
]
|
|
736
631
|
},
|
|
737
632
|
"hasSprayFoamInstalled": {
|
|
738
633
|
"baspiRef": "A1.8.4",
|
|
739
|
-
"RDSRef": "",
|
|
740
634
|
"title": "Has spray foam insulation been installed at the property?",
|
|
741
635
|
"$ref": "#/$defs/yesNoDetailIfYes",
|
|
742
636
|
"description": "If yes, please give details together with certification from BBA or KIWA and the installation warranty for the work carried out."
|
|
@@ -765,7 +659,7 @@
|
|
|
765
659
|
},
|
|
766
660
|
"councilTaxAnnualCharge": {
|
|
767
661
|
"title": "What is the current annual Council Tax charge? (£)",
|
|
768
|
-
"type": "
|
|
662
|
+
"type": "number"
|
|
769
663
|
}
|
|
770
664
|
}
|
|
771
665
|
},
|
|
@@ -778,7 +672,7 @@
|
|
|
778
672
|
"hasDisputesAndComplaints": {
|
|
779
673
|
"baspiRef": "A2.1",
|
|
780
674
|
"RDSRef": "Tenure/DisputesComplaints,Tenure/LegalClaims",
|
|
781
|
-
"lawSocietyRef": "TA6/2
|
|
675
|
+
"lawSocietyRef": "TA6/2",
|
|
782
676
|
"title": "Have any disputes or complaints occurred, or any actions taken place which might lead to a dispute, regarding this property, a property nearby, or their use? E.g boundary disagreement, noise, trespass etc",
|
|
783
677
|
"$ref": "#/$defs/yesNoDetailIfYes"
|
|
784
678
|
}
|
|
@@ -800,17 +694,24 @@
|
|
|
800
694
|
"baspiRef": "A3.1",
|
|
801
695
|
"RDSRef": "WorksAlterationsChanges",
|
|
802
696
|
"lawSocietyRef": "TA6/4.1a",
|
|
803
|
-
"title": "Have there been any structural alterations, extensions, significant repairs or renewals to the property? (e.g. extensions, loft or garage conversion, removal of internal walls or chimneys
|
|
697
|
+
"title": "Have there been any structural alterations, extensions, significant repairs or renewals to the property? (e.g. extensions, loft or garage conversion, removal of internal walls or chimneys)",
|
|
804
698
|
"$ref": "#/$defs/yesNoDetailConsents",
|
|
805
699
|
"description": "If yes, for each change, please outline the nature of the work and confirm the year the change was completed"
|
|
806
700
|
},
|
|
701
|
+
"changeOfUse": {
|
|
702
|
+
"RDSRef": "WorksAlterationsChanges",
|
|
703
|
+
"lawSocietyRef": "TA6/4.1b",
|
|
704
|
+
"title": "Has there been any change of use (e.g. from an office to a residence?",
|
|
705
|
+
"$ref": "#/$defs/yesNoDetailConsents",
|
|
706
|
+
"description": "If yes, for each change, please outline the nature of the work and confirm the year the change was completed."
|
|
707
|
+
},
|
|
807
708
|
"windowReplacementsSince2002": {
|
|
808
709
|
"baspiRef": "A3.2",
|
|
809
710
|
"RDSRef": "WorksAlterationsChanges",
|
|
810
|
-
"lawSocietyRef": "TA6/4.
|
|
711
|
+
"lawSocietyRef": "TA6/4.1c",
|
|
811
712
|
"title": "Since 1st April 2002 has replacement of any windows, roof windows, roof lights, glazed doors taken place?",
|
|
812
713
|
"$ref": "#/$defs/yesNoDetailConsents",
|
|
813
|
-
"description": "If yes, for each installation, please outline the nature of the work and confirm the year the installation was completed.
|
|
714
|
+
"description": "If yes, for each installation, please outline the nature of the work and confirm the year the installation was completed."
|
|
814
715
|
},
|
|
815
716
|
"hasAddedConservatory": {
|
|
816
717
|
"baspiRef": "A3.3",
|
|
@@ -1070,6 +971,7 @@
|
|
|
1070
971
|
"properties": {
|
|
1071
972
|
"mainsWater": {
|
|
1072
973
|
"baspiRef": "A7.1.10",
|
|
974
|
+
"lawSocietyRef": "TA6/13.3",
|
|
1073
975
|
"RDSRef": "Services/PotableWaterSupply",
|
|
1074
976
|
"title": "Mains water",
|
|
1075
977
|
"$ref": "#/$defs/yesNoConnectedSupplier"
|
|
@@ -1145,7 +1047,7 @@
|
|
|
1145
1047
|
"baspiRef": "A7.2.6",
|
|
1146
1048
|
"RDSRef": "Services/OtherServices/Located,Services/OtherServices/{access=?}",
|
|
1147
1049
|
"lawSocietyRef": "TA6/12.10",
|
|
1148
|
-
"title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else
|
|
1050
|
+
"title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else's land?",
|
|
1149
1051
|
"$ref": "#/$defs/yesNoDetailIfYes",
|
|
1150
1052
|
"description": "If yes, please supply a plan showing the location of the system and how access is obtained."
|
|
1151
1053
|
},
|
|
@@ -1231,6 +1133,8 @@
|
|
|
1231
1133
|
"minLength": 1
|
|
1232
1134
|
},
|
|
1233
1135
|
"maintenanceAgreements": {
|
|
1136
|
+
"baspiRef": "A7.2",
|
|
1137
|
+
"RDSRef": "Services/Certificates,Services/OtherServices/Certificates",
|
|
1234
1138
|
"title": "Do you have any licences, maintenance agreements, contracts or service agreements in relation to this service?",
|
|
1235
1139
|
"$ref": "#/$defs/yesNoDetailIfYes"
|
|
1236
1140
|
}
|
|
@@ -1288,12 +1192,14 @@
|
|
|
1288
1192
|
"properties": {
|
|
1289
1193
|
"electricity": {
|
|
1290
1194
|
"baspiRef": "A7.1.1",
|
|
1195
|
+
"lawSocietyRef": "TA6/13.1",
|
|
1291
1196
|
"RDSRef": "Services/Electricity",
|
|
1292
1197
|
"title": "Electricity",
|
|
1293
1198
|
"$ref": "#/$defs/yesNoConnectedSupplier"
|
|
1294
1199
|
},
|
|
1295
1200
|
"gas": {
|
|
1296
1201
|
"baspiRef": "A7.1.2",
|
|
1202
|
+
"lawSocietyRef": "TA6/13.2",
|
|
1297
1203
|
"RDSRef": "Services/Gas",
|
|
1298
1204
|
"title": "Gas",
|
|
1299
1205
|
"$ref": "#/$defs/yesNoConnectedSupplier"
|
|
@@ -1312,12 +1218,14 @@
|
|
|
1312
1218
|
},
|
|
1313
1219
|
"telephone": {
|
|
1314
1220
|
"baspiRef": "A7.1.5",
|
|
1221
|
+
"lawSocietyRef": "TA6/13.5",
|
|
1315
1222
|
"RDSRef": "Services/Telephone",
|
|
1316
1223
|
"title": "Telephone",
|
|
1317
1224
|
"$ref": "#/$defs/yesNoConnectedSupplier"
|
|
1318
1225
|
},
|
|
1319
1226
|
"cableSatelliteTV": {
|
|
1320
1227
|
"baspiRef": "A7.1.6",
|
|
1228
|
+
"lawSocietyRef": "TA6/13.6",
|
|
1321
1229
|
"RDSRef": "Services/CableSatelliteTV",
|
|
1322
1230
|
"title": "Cable TV or satellite",
|
|
1323
1231
|
"$ref": "#/$defs/yesNoConnectedSupplier"
|
|
@@ -1509,6 +1417,11 @@
|
|
|
1509
1417
|
"properties": {
|
|
1510
1418
|
"isInsured": {
|
|
1511
1419
|
"enum": ["No"]
|
|
1420
|
+
},
|
|
1421
|
+
"details": {
|
|
1422
|
+
"title": "Why not?",
|
|
1423
|
+
"type": "string",
|
|
1424
|
+
"minLength": 1
|
|
1512
1425
|
}
|
|
1513
1426
|
},
|
|
1514
1427
|
"additionalProperties": false
|
|
@@ -1691,7 +1604,7 @@
|
|
|
1691
1604
|
"lawSocietyRef": "TA6/7",
|
|
1692
1605
|
"title": "To your knowledge, has there been any environmental issues that affect the property or garden (for example, these could include air pollution, flooding, radon gas, mining, sink holes, quarrying or fracking etc)?",
|
|
1693
1606
|
"$ref": "#/$defs/yesNoDetailIfYes",
|
|
1694
|
-
"description": "If yes, please provide details. For example the level of air pollution, type of flooding (e.g. coastal, river, surface water, sewer, etc), level of radon, a copy of any radon report, location of fracking and whether any action has been taken to prevent harm."
|
|
1607
|
+
"description": "If yes, please provide details. For example the level of air pollution, type of flooding (e.g. ground water, coastal, river, surface water, sewer, etc), level of radon, a copy of any radon report, location of fracking and whether any action has been taken to prevent harm."
|
|
1695
1608
|
},
|
|
1696
1609
|
"excessiveNoise": {
|
|
1697
1610
|
"baspiRef": "A11.2",
|
|
@@ -1988,10 +1901,16 @@
|
|
|
1988
1901
|
"planningPermission": {
|
|
1989
1902
|
"baspiRef": "A3.4.2",
|
|
1990
1903
|
"RDSRef": "WorksAlterationsChanges/ConsentApproval",
|
|
1991
|
-
"lawSocietyRef": "TA6/4.
|
|
1904
|
+
"lawSocietyRef": "TA6/4.4",
|
|
1992
1905
|
"title": "Was planning permission obtained?",
|
|
1993
1906
|
"$ref": "#/$defs/yesNoNotRequiredDetailIfNo"
|
|
1994
1907
|
},
|
|
1908
|
+
"unresolvedIssues": {
|
|
1909
|
+
"RDSRef": "WorksAlterationsChanges/ConsentApproval",
|
|
1910
|
+
"lawSocietyRef": "TA6/4.5",
|
|
1911
|
+
"title": "Are there any planning or building control issues to resolve?",
|
|
1912
|
+
"$ref": "#/$defs/yesNoNotRequiredDetailIfNo"
|
|
1913
|
+
},
|
|
1995
1914
|
"listedBuildingConsent": {
|
|
1996
1915
|
"baspiRef": "A3.4.3",
|
|
1997
1916
|
"RDSRef": "WorksAlterationsChanges/ConsentApproval",
|
|
@@ -2059,7 +1978,6 @@
|
|
|
2059
1978
|
"type": "object",
|
|
2060
1979
|
"properties": {
|
|
2061
1980
|
"firstName": {
|
|
2062
|
-
"RDSRef": "",
|
|
2063
1981
|
"title": "First name",
|
|
2064
1982
|
"type": "string",
|
|
2065
1983
|
"minLength": 1
|
|
@@ -2078,8 +1996,7 @@
|
|
|
2078
1996
|
"title": "Address",
|
|
2079
1997
|
"$ref": "#/$defs/address"
|
|
2080
1998
|
}
|
|
2081
|
-
}
|
|
2082
|
-
"required": ["firstName", "lastName", "emailAddress", "address"]
|
|
1999
|
+
}
|
|
2083
2000
|
}
|
|
2084
2001
|
}
|
|
2085
2002
|
}
|
package/src/schemas/{pdtf-transaction-search-results.json → v1/pdtf-transaction-search-results.json}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://
|
|
3
|
+
"$id": "https://trust.propdata.org.uk/schemas/v1/minified-pdtf-transaction.json",
|
|
4
4
|
"title": "Property Data Trust Framework Transaction Schema",
|
|
5
5
|
"description": "A schema defining search results containing minimal elements of the PDTF transaction data structure.",
|
|
6
6
|
"type": "array",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://
|
|
3
|
+
"$id": "https://trust.propdata.org.uk/schemas/v1/pdtf-transaction.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Property Data Trust Framework Transaction Schema",
|
|
6
6
|
"description": "A schema defining the PDTF transaction data structure, supporting mapping to BASPI, Law Society and RICS Data Schema elements.",
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
"type": "object",
|
|
108
108
|
"properties": {
|
|
109
109
|
"materialFacts": {
|
|
110
|
-
"$ref": "https://
|
|
110
|
+
"$ref": "https://trust.propdata.org.uk/schemas/v1/material-facts.json"
|
|
111
111
|
},
|
|
112
112
|
"additionalLegalInfo": {
|
|
113
|
-
"$ref": "https://
|
|
113
|
+
"$ref": "https://trust.propdata.org.uk/schemas/v1/legal-information.json"
|
|
114
114
|
},
|
|
115
115
|
"titlesToBeSold": {
|
|
116
116
|
"RDSRef": "",
|
|
@@ -125,6 +125,11 @@
|
|
|
125
125
|
"title": "Title Number",
|
|
126
126
|
"type": "string"
|
|
127
127
|
},
|
|
128
|
+
"titleIncludedInSale": {
|
|
129
|
+
"RDSRef": "",
|
|
130
|
+
"title": "Confirms that this associated title is included in the sale",
|
|
131
|
+
"type": "boolean"
|
|
132
|
+
},
|
|
128
133
|
"titleExtents": {
|
|
129
134
|
"RDSRef": "",
|
|
130
135
|
"title": "Title Extents",
|
|
@@ -136,7 +141,7 @@
|
|
|
136
141
|
},
|
|
137
142
|
"registerExtract": {
|
|
138
143
|
"title": "HMLR Register Extract",
|
|
139
|
-
"$ref": "https://
|
|
144
|
+
"$ref": "https://trust.propdata.org.uk/schemas/v1/title-deed.json"
|
|
140
145
|
}
|
|
141
146
|
}
|
|
142
147
|
}
|
|
@@ -144,98 +149,12 @@
|
|
|
144
149
|
"energyPerformanceCertificate": {
|
|
145
150
|
"RDSRef": "",
|
|
146
151
|
"title": "Energy Performance Certificate",
|
|
147
|
-
"$ref": "https://
|
|
152
|
+
"$ref": "https://trust.propdata.org.uk/schemas/v1/energy-performance-certificate.json"
|
|
148
153
|
},
|
|
149
|
-
"
|
|
154
|
+
"searches": {
|
|
150
155
|
"RDSRef": "",
|
|
151
|
-
"title": "
|
|
152
|
-
"
|
|
153
|
-
"properties": {
|
|
154
|
-
"coalMining": {
|
|
155
|
-
"title": "Coal mining",
|
|
156
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
157
|
-
},
|
|
158
|
-
"flood": {
|
|
159
|
-
"title": "Flood",
|
|
160
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
161
|
-
},
|
|
162
|
-
"miningAndGroundStability": {
|
|
163
|
-
"title": "Mining and ground stability",
|
|
164
|
-
"type": "object",
|
|
165
|
-
"properties": {
|
|
166
|
-
"bathStone": {
|
|
167
|
-
"title": "Bath Stone",
|
|
168
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
169
|
-
},
|
|
170
|
-
"metalliferousTin": {
|
|
171
|
-
"title": "Matalliferous (Tin)",
|
|
172
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
173
|
-
},
|
|
174
|
-
"kaolinAndBallClay": {
|
|
175
|
-
"title": "Kaolin and ball clay",
|
|
176
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
177
|
-
},
|
|
178
|
-
"limestone": {
|
|
179
|
-
"title": "Limestone",
|
|
180
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
181
|
-
},
|
|
182
|
-
"brine": {
|
|
183
|
-
"title": "Brine",
|
|
184
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
185
|
-
},
|
|
186
|
-
"groundStability": {
|
|
187
|
-
"title": "Ground stability",
|
|
188
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
189
|
-
},
|
|
190
|
-
"nonCoalMining": {
|
|
191
|
-
"title": "Non coal mining",
|
|
192
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
193
|
-
},
|
|
194
|
-
"groundMovement": {
|
|
195
|
-
"title": "Ground movement",
|
|
196
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
197
|
-
},
|
|
198
|
-
"mineral": {
|
|
199
|
-
"title": "Mineral",
|
|
200
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"energyAndInfrastructure": {
|
|
205
|
-
"title": "Energy and infrastructure",
|
|
206
|
-
"type": "object",
|
|
207
|
-
"properties": {
|
|
208
|
-
"hs2": {
|
|
209
|
-
"title": "HS2",
|
|
210
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
211
|
-
},
|
|
212
|
-
"crossrail": {
|
|
213
|
-
"title": "Crossrail",
|
|
214
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
215
|
-
},
|
|
216
|
-
"londonUnderground": {
|
|
217
|
-
"title": "London Underground",
|
|
218
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
219
|
-
},
|
|
220
|
-
"energyExploration": {
|
|
221
|
-
"title": "Energy exploration",
|
|
222
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
223
|
-
},
|
|
224
|
-
"windFarms": {
|
|
225
|
-
"title": "Wind farms",
|
|
226
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
227
|
-
},
|
|
228
|
-
"solarFarms": {
|
|
229
|
-
"title": "Solar farms",
|
|
230
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
231
|
-
},
|
|
232
|
-
"renewablePowerPlants": {
|
|
233
|
-
"title": "Renewable power plants",
|
|
234
|
-
"$ref": "#/$defs/riskIndicatorAndSearch"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
156
|
+
"title": "Searches",
|
|
157
|
+
"$ref": "https://trust.propdata.org.uk/schemas/v1/searches.json"
|
|
239
158
|
}
|
|
240
159
|
}
|
|
241
160
|
}
|
|
@@ -268,17 +187,6 @@
|
|
|
268
187
|
}
|
|
269
188
|
},
|
|
270
189
|
"required": ["line1", "postcode"]
|
|
271
|
-
},
|
|
272
|
-
"riskIndicatorAndSearch": {
|
|
273
|
-
"type": "object",
|
|
274
|
-
"properties": {
|
|
275
|
-
"hasRisk": {
|
|
276
|
-
"title": "",
|
|
277
|
-
"type": "string",
|
|
278
|
-
"enum": ["Yes", "No"]
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"required": ["hasRisk"]
|
|
282
190
|
}
|
|
283
191
|
}
|
|
284
192
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://
|
|
3
|
+
"$id": "https://trust.propdata.org.uk/schemas/v1/pdtf-verified-claims.json",
|
|
4
4
|
"definitions": {
|
|
5
5
|
"date_type": {
|
|
6
6
|
"type": "string",
|