@pdtf/schemas 2.0.0-24 → 2.0.0-26
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/v2/exampleTransaction.json +4 -0
- package/src/schemas/v2/combined.json +42 -36
- package/src/schemas/v2/overlays/baspi.json +19 -10
- package/src/schemas/v2/overlays/rds.json +6 -3
- package/src/schemas/v2/overlays/ta6.json +49 -33
- package/src/schemas/v2/pdtf-transaction.json +12 -6
- package/src/tests/v2/transactionSchema.test.js +43 -2
- package/src/utils/hmlrLLC1.json +275 -0
package/package.json
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
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.",
|
|
7
|
-
"baspiRequired": ["
|
|
8
|
-
"ta6Required": ["
|
|
9
|
-
|
|
7
|
+
"baspiRequired": ["participants", "propertyPack"],
|
|
8
|
+
"ta6Required": ["participants", "propertyPack"],
|
|
10
9
|
"properties": {
|
|
11
10
|
"$schema": {
|
|
12
11
|
"type": "string"
|
|
@@ -126,9 +125,12 @@
|
|
|
126
125
|
}
|
|
127
126
|
},
|
|
128
127
|
"propertyPack": {
|
|
129
|
-
"baspiRef": "
|
|
128
|
+
"baspiRef": "0",
|
|
129
|
+
"ta6Ref": "0",
|
|
130
130
|
"title": "Property Pack",
|
|
131
131
|
"type": "object",
|
|
132
|
+
"baspiRequired": ["materialFacts", "additionalLegalInfo"],
|
|
133
|
+
"ta6Required": ["materialFacts", "additionalLegalInfo"],
|
|
132
134
|
"properties": {
|
|
133
135
|
"materialFacts": {
|
|
134
136
|
"type": "object",
|
|
@@ -162,9 +164,7 @@
|
|
|
162
164
|
"consumerProtectionRegulationsDeclaration"
|
|
163
165
|
],
|
|
164
166
|
"ta6Required": [
|
|
165
|
-
"uprn",
|
|
166
167
|
"address",
|
|
167
|
-
"delayFactors",
|
|
168
168
|
"ownership",
|
|
169
169
|
"parking",
|
|
170
170
|
"listingAndConservation",
|
|
@@ -175,13 +175,13 @@
|
|
|
175
175
|
"alterationsAndChanges",
|
|
176
176
|
"notices",
|
|
177
177
|
"specialistIssues",
|
|
178
|
-
"fixturesAndFittings",
|
|
179
178
|
"waterAndDrainage",
|
|
180
179
|
"connectedUtilities",
|
|
181
180
|
"centralHeating",
|
|
182
181
|
"insurance",
|
|
183
182
|
"rightsAndInformalArrangements",
|
|
184
|
-
"environmentalIssues"
|
|
183
|
+
"environmentalIssues",
|
|
184
|
+
"additionalInformation"
|
|
185
185
|
],
|
|
186
186
|
"properties": {
|
|
187
187
|
"address": {
|
|
@@ -7304,7 +7304,7 @@
|
|
|
7304
7304
|
"ta6Ref": "4.7a1",
|
|
7305
7305
|
"type": "string",
|
|
7306
7306
|
"title": "",
|
|
7307
|
-
"enum": ["Yes", "No"]
|
|
7307
|
+
"enum": ["Yes", "No", "Not known"]
|
|
7308
7308
|
}
|
|
7309
7309
|
},
|
|
7310
7310
|
"baspiRequired": ["yesNo"],
|
|
@@ -7316,7 +7316,7 @@
|
|
|
7316
7316
|
{
|
|
7317
7317
|
"properties": {
|
|
7318
7318
|
"yesNo": {
|
|
7319
|
-
"enum": ["No"]
|
|
7319
|
+
"enum": ["No", "Not known"]
|
|
7320
7320
|
}
|
|
7321
7321
|
}
|
|
7322
7322
|
},
|
|
@@ -7357,7 +7357,7 @@
|
|
|
7357
7357
|
"ta6Ref": "4.7b1",
|
|
7358
7358
|
"type": "string",
|
|
7359
7359
|
"title": "",
|
|
7360
|
-
"enum": ["Yes", "No"]
|
|
7360
|
+
"enum": ["Yes", "No", "Not known"]
|
|
7361
7361
|
}
|
|
7362
7362
|
},
|
|
7363
7363
|
"baspiRequired": ["yesNo"],
|
|
@@ -7368,7 +7368,7 @@
|
|
|
7368
7368
|
{
|
|
7369
7369
|
"properties": {
|
|
7370
7370
|
"yesNo": {
|
|
7371
|
-
"enum": ["No"]
|
|
7371
|
+
"enum": ["No", "Not known"]
|
|
7372
7372
|
}
|
|
7373
7373
|
}
|
|
7374
7374
|
},
|
|
@@ -7410,7 +7410,7 @@
|
|
|
7410
7410
|
"ta6Ref": "4.8.1",
|
|
7411
7411
|
"type": "string",
|
|
7412
7412
|
"title": "",
|
|
7413
|
-
"enum": ["Yes", "No"]
|
|
7413
|
+
"enum": ["Yes", "No", "Not known"]
|
|
7414
7414
|
}
|
|
7415
7415
|
},
|
|
7416
7416
|
"baspiRequired": ["yesNo"],
|
|
@@ -7422,7 +7422,7 @@
|
|
|
7422
7422
|
{
|
|
7423
7423
|
"properties": {
|
|
7424
7424
|
"yesNo": {
|
|
7425
|
-
"enum": ["No"]
|
|
7425
|
+
"enum": ["No", "Not known"]
|
|
7426
7426
|
}
|
|
7427
7427
|
}
|
|
7428
7428
|
},
|
|
@@ -8133,8 +8133,14 @@
|
|
|
8133
8133
|
"ta6Ref": "2",
|
|
8134
8134
|
"title": "Disputes and Complaints",
|
|
8135
8135
|
"type": "object",
|
|
8136
|
-
"baspiRequired": [
|
|
8137
|
-
|
|
8136
|
+
"baspiRequired": [
|
|
8137
|
+
"hasDisputesAndComplaints",
|
|
8138
|
+
"leadingToDisputesAndComplaints"
|
|
8139
|
+
],
|
|
8140
|
+
"ta6Required": [
|
|
8141
|
+
"hasDisputesAndComplaints",
|
|
8142
|
+
"leadingToDisputesAndComplaints"
|
|
8143
|
+
],
|
|
8138
8144
|
"properties": {
|
|
8139
8145
|
"hasDisputesAndComplaints": {
|
|
8140
8146
|
"baspiRef": "A2.1.1",
|
|
@@ -8291,7 +8297,7 @@
|
|
|
8291
8297
|
},
|
|
8292
8298
|
"details": {
|
|
8293
8299
|
"baspiRef": "A3.1.2",
|
|
8294
|
-
"ta6Ref": "4.
|
|
8300
|
+
"ta6Ref": "4.1a2",
|
|
8295
8301
|
"title": "Please give details including dates of all work undertaken",
|
|
8296
8302
|
"type": "string",
|
|
8297
8303
|
"minLength": 1
|
|
@@ -8324,7 +8330,7 @@
|
|
|
8324
8330
|
},
|
|
8325
8331
|
"attachments": {
|
|
8326
8332
|
"baspiRef": "A3.5.1.3",
|
|
8327
|
-
"ta6Ref": "4.
|
|
8333
|
+
"ta6Ref": "4.2a",
|
|
8328
8334
|
"title": "Please provide a copy of the documents",
|
|
8329
8335
|
"type": "string",
|
|
8330
8336
|
"enum": ["Attached", "To follow"]
|
|
@@ -8340,7 +8346,7 @@
|
|
|
8340
8346
|
},
|
|
8341
8347
|
"details": {
|
|
8342
8348
|
"baspiRef": "A3.5.1.2",
|
|
8343
|
-
"ta6Ref": "4.
|
|
8349
|
+
"ta6Ref": "4.2b",
|
|
8344
8350
|
"title": "Please outline the reasons why",
|
|
8345
8351
|
"description": "e.g. the work was exempt from Building Regulations",
|
|
8346
8352
|
"type": "string",
|
|
@@ -8379,7 +8385,7 @@
|
|
|
8379
8385
|
},
|
|
8380
8386
|
"attachments": {
|
|
8381
8387
|
"baspiRef": "A3.5.2.3",
|
|
8382
|
-
"ta6Ref": "4.
|
|
8388
|
+
"ta6Ref": "4.2a",
|
|
8383
8389
|
"title": "Please provide a copy of the documents",
|
|
8384
8390
|
"type": "string",
|
|
8385
8391
|
"enum": ["Attached", "To follow"]
|
|
@@ -8395,7 +8401,7 @@
|
|
|
8395
8401
|
},
|
|
8396
8402
|
"details": {
|
|
8397
8403
|
"baspiRef": "A3.5.2.2",
|
|
8398
|
-
"ta6Ref": "4.
|
|
8404
|
+
"ta6Ref": "4.2b",
|
|
8399
8405
|
"title": "Please outline the reasons why",
|
|
8400
8406
|
"description": "e.g. permitted development rights applied",
|
|
8401
8407
|
"type": "string",
|
|
@@ -8593,7 +8599,7 @@
|
|
|
8593
8599
|
},
|
|
8594
8600
|
"attachments": {
|
|
8595
8601
|
"baspiRef": "A3.5.1.3",
|
|
8596
|
-
"ta6Ref": "4.
|
|
8602
|
+
"ta6Ref": "4.2a",
|
|
8597
8603
|
"title": "Please provide a copy of the documents",
|
|
8598
8604
|
"type": "string",
|
|
8599
8605
|
"enum": ["Attached", "To follow"]
|
|
@@ -8609,7 +8615,7 @@
|
|
|
8609
8615
|
},
|
|
8610
8616
|
"details": {
|
|
8611
8617
|
"baspiRef": "A3.5.1.2",
|
|
8612
|
-
"ta6Ref": "4.
|
|
8618
|
+
"ta6Ref": "4.2b",
|
|
8613
8619
|
"title": "Please outline the reasons why",
|
|
8614
8620
|
"description": "e.g. the work was exempt from Building Regulations",
|
|
8615
8621
|
"type": "string",
|
|
@@ -8649,7 +8655,7 @@
|
|
|
8649
8655
|
},
|
|
8650
8656
|
"attachments": {
|
|
8651
8657
|
"baspiRef": "A3.5.1.3",
|
|
8652
|
-
"ta6Ref": "4.
|
|
8658
|
+
"ta6Ref": "4.2a",
|
|
8653
8659
|
"title": "Please provide a copy of the documents",
|
|
8654
8660
|
"type": "string",
|
|
8655
8661
|
"enum": ["Attached", "To follow"]
|
|
@@ -8665,7 +8671,7 @@
|
|
|
8665
8671
|
},
|
|
8666
8672
|
"details": {
|
|
8667
8673
|
"baspiRef": "A3.5.2.2",
|
|
8668
|
-
"ta6Ref": "4.
|
|
8674
|
+
"ta6Ref": "4.2b",
|
|
8669
8675
|
"title": "Please outline the reasons why",
|
|
8670
8676
|
"description": "e.g. permitted development rights applied",
|
|
8671
8677
|
"type": "string",
|
|
@@ -8863,7 +8869,7 @@
|
|
|
8863
8869
|
},
|
|
8864
8870
|
"attachments": {
|
|
8865
8871
|
"baspiRef": "A3.5.1.3",
|
|
8866
|
-
"ta6Ref": "4.
|
|
8872
|
+
"ta6Ref": "4.2a",
|
|
8867
8873
|
"title": "Please provide a copy of the documents",
|
|
8868
8874
|
"type": "string",
|
|
8869
8875
|
"enum": ["Attached", "To follow"]
|
|
@@ -8879,7 +8885,7 @@
|
|
|
8879
8885
|
},
|
|
8880
8886
|
"details": {
|
|
8881
8887
|
"baspiRef": "A3.5.1.2",
|
|
8882
|
-
"ta6Ref": "4.
|
|
8888
|
+
"ta6Ref": "4.2b",
|
|
8883
8889
|
"title": "Please outline the reasons why",
|
|
8884
8890
|
"description": "e.g. the work was exempt from Building Regulations",
|
|
8885
8891
|
"type": "string",
|
|
@@ -8919,7 +8925,7 @@
|
|
|
8919
8925
|
},
|
|
8920
8926
|
"attachments": {
|
|
8921
8927
|
"baspiRef": "A3.5.2.3",
|
|
8922
|
-
"ta6Ref": "4.
|
|
8928
|
+
"ta6Ref": "4.2a",
|
|
8923
8929
|
"title": "Please provide a copy of the documents",
|
|
8924
8930
|
"type": "string",
|
|
8925
8931
|
"enum": ["Attached", "To follow"]
|
|
@@ -8935,7 +8941,7 @@
|
|
|
8935
8941
|
},
|
|
8936
8942
|
"details": {
|
|
8937
8943
|
"baspiRef": "A3.5.2.2",
|
|
8938
|
-
"ta6Ref": "4.
|
|
8944
|
+
"ta6Ref": "4.2b",
|
|
8939
8945
|
"title": "Please outline the reasons why",
|
|
8940
8946
|
"description": "e.g. permitted development rights applied",
|
|
8941
8947
|
"type": "string",
|
|
@@ -9133,7 +9139,7 @@
|
|
|
9133
9139
|
},
|
|
9134
9140
|
"attachments": {
|
|
9135
9141
|
"baspiRef": "A3.5.1.3",
|
|
9136
|
-
"ta6Ref": "4.
|
|
9142
|
+
"ta6Ref": "4.2a",
|
|
9137
9143
|
"title": "Please provide a copy of the documents",
|
|
9138
9144
|
"type": "string",
|
|
9139
9145
|
"enum": ["Attached", "To follow"]
|
|
@@ -9149,7 +9155,7 @@
|
|
|
9149
9155
|
},
|
|
9150
9156
|
"details": {
|
|
9151
9157
|
"baspiRef": "A3.5.1.2",
|
|
9152
|
-
"ta6Ref": "4.
|
|
9158
|
+
"ta6Ref": "4.2b",
|
|
9153
9159
|
"title": "Please outline the reasons why",
|
|
9154
9160
|
"description": "e.g. the work was exempt from Building Regulations",
|
|
9155
9161
|
"type": "string",
|
|
@@ -9189,7 +9195,7 @@
|
|
|
9189
9195
|
},
|
|
9190
9196
|
"attachments": {
|
|
9191
9197
|
"baspiRef": "A3.5.2.3",
|
|
9192
|
-
"ta6Ref": "4.
|
|
9198
|
+
"ta6Ref": "4.2a",
|
|
9193
9199
|
"title": "Please provide a copy of the documents",
|
|
9194
9200
|
"type": "string",
|
|
9195
9201
|
"enum": ["Attached", "To follow"]
|
|
@@ -9205,7 +9211,7 @@
|
|
|
9205
9211
|
},
|
|
9206
9212
|
"details": {
|
|
9207
9213
|
"baspiRef": "A3.5.2.2",
|
|
9208
|
-
"ta6Ref": "4.
|
|
9214
|
+
"ta6Ref": "4.2b",
|
|
9209
9215
|
"title": "Please outline the reasons why",
|
|
9210
9216
|
"description": "e.g. permitted development rights applied",
|
|
9211
9217
|
"type": "string",
|
|
@@ -9839,6 +9845,7 @@
|
|
|
9839
9845
|
},
|
|
9840
9846
|
"attachments": {
|
|
9841
9847
|
"baspiRef": "A4.6.3",
|
|
9848
|
+
"ta6Ref": "1.6.3",
|
|
9842
9849
|
"title": "Attachments",
|
|
9843
9850
|
"type": "string",
|
|
9844
9851
|
"enum": ["Attached", "To follow"]
|
|
@@ -19624,7 +19631,6 @@
|
|
|
19624
19631
|
"legalBoundaries",
|
|
19625
19632
|
"servicesCrossing",
|
|
19626
19633
|
"energyAndMeters",
|
|
19627
|
-
"smartHomeSystems",
|
|
19628
19634
|
"guaranteesWarrantiesAndIndemnityInsurances",
|
|
19629
19635
|
"occupiers",
|
|
19630
19636
|
"completionAndMoving",
|
|
@@ -20483,7 +20489,7 @@
|
|
|
20483
20489
|
},
|
|
20484
20490
|
"attachments": {
|
|
20485
20491
|
"baspiRef": "4.3.3.3",
|
|
20486
|
-
"ta6Ref": "4.
|
|
20492
|
+
"ta6Ref": "4.6c2",
|
|
20487
20493
|
"title": "Please supply copies of the relevant documents",
|
|
20488
20494
|
"type": "string",
|
|
20489
20495
|
"enum": ["Attached", "To follow"]
|
|
@@ -20875,7 +20881,7 @@
|
|
|
20875
20881
|
"properties": {
|
|
20876
20882
|
"hasValidGuaranteesOrWarranties": {
|
|
20877
20883
|
"baspiRef": "B5.1",
|
|
20878
|
-
"ta6Ref": "5
|
|
20884
|
+
"ta6Ref": "5.1",
|
|
20879
20885
|
"rdsRef": "Certificates",
|
|
20880
20886
|
"title": "Are there any valid guarantees or warranties relating to this property?",
|
|
20881
20887
|
"type": "string",
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"$id": "https://trust.propdata.org.uk/schemas/v2/overlays/baspi.json",
|
|
4
4
|
"required": [
|
|
5
|
-
"transactionId",
|
|
6
|
-
"status",
|
|
7
5
|
"participants",
|
|
8
6
|
"propertyPack"
|
|
9
7
|
],
|
|
@@ -32,8 +30,12 @@
|
|
|
32
30
|
}
|
|
33
31
|
},
|
|
34
32
|
"propertyPack": {
|
|
35
|
-
"baspiRef": "
|
|
33
|
+
"baspiRef": "0",
|
|
36
34
|
"title": "Property Pack",
|
|
35
|
+
"required": [
|
|
36
|
+
"materialFacts",
|
|
37
|
+
"additionalLegalInfo"
|
|
38
|
+
],
|
|
37
39
|
"properties": {
|
|
38
40
|
"materialFacts": {
|
|
39
41
|
"baspiRef": "A",
|
|
@@ -1291,7 +1293,8 @@
|
|
|
1291
1293
|
"properties": {
|
|
1292
1294
|
"yesNo": {
|
|
1293
1295
|
"enum": [
|
|
1294
|
-
"No"
|
|
1296
|
+
"No",
|
|
1297
|
+
"Not known"
|
|
1295
1298
|
]
|
|
1296
1299
|
}
|
|
1297
1300
|
}
|
|
@@ -1330,7 +1333,8 @@
|
|
|
1330
1333
|
"baspiRef": "A1.7.1.1",
|
|
1331
1334
|
"enum": [
|
|
1332
1335
|
"Yes",
|
|
1333
|
-
"No"
|
|
1336
|
+
"No",
|
|
1337
|
+
"Not known"
|
|
1334
1338
|
]
|
|
1335
1339
|
}
|
|
1336
1340
|
}
|
|
@@ -1346,7 +1350,8 @@
|
|
|
1346
1350
|
"properties": {
|
|
1347
1351
|
"yesNo": {
|
|
1348
1352
|
"enum": [
|
|
1349
|
-
"No"
|
|
1353
|
+
"No",
|
|
1354
|
+
"Not known"
|
|
1350
1355
|
]
|
|
1351
1356
|
}
|
|
1352
1357
|
}
|
|
@@ -1385,7 +1390,8 @@
|
|
|
1385
1390
|
"baspiRef": "A1.7.2.1",
|
|
1386
1391
|
"enum": [
|
|
1387
1392
|
"Yes",
|
|
1388
|
-
"No"
|
|
1393
|
+
"No",
|
|
1394
|
+
"Not known"
|
|
1389
1395
|
]
|
|
1390
1396
|
}
|
|
1391
1397
|
}
|
|
@@ -1401,7 +1407,8 @@
|
|
|
1401
1407
|
"properties": {
|
|
1402
1408
|
"yesNo": {
|
|
1403
1409
|
"enum": [
|
|
1404
|
-
"No"
|
|
1410
|
+
"No",
|
|
1411
|
+
"Not known"
|
|
1405
1412
|
]
|
|
1406
1413
|
}
|
|
1407
1414
|
}
|
|
@@ -1486,7 +1493,8 @@
|
|
|
1486
1493
|
"baspiRef": "A1.7.3.1",
|
|
1487
1494
|
"enum": [
|
|
1488
1495
|
"Yes",
|
|
1489
|
-
"No"
|
|
1496
|
+
"No",
|
|
1497
|
+
"Not known"
|
|
1490
1498
|
]
|
|
1491
1499
|
}
|
|
1492
1500
|
}
|
|
@@ -1844,7 +1852,8 @@
|
|
|
1844
1852
|
"baspiRef": "A2",
|
|
1845
1853
|
"title": "Disputes and Complaints",
|
|
1846
1854
|
"required": [
|
|
1847
|
-
"hasDisputesAndComplaints"
|
|
1855
|
+
"hasDisputesAndComplaints",
|
|
1856
|
+
"leadingToDisputesAndComplaints"
|
|
1848
1857
|
],
|
|
1849
1858
|
"properties": {
|
|
1850
1859
|
"hasDisputesAndComplaints": {
|
|
@@ -78,7 +78,8 @@
|
|
|
78
78
|
"properties": {
|
|
79
79
|
"yesNo": {
|
|
80
80
|
"enum": [
|
|
81
|
-
"No"
|
|
81
|
+
"No",
|
|
82
|
+
"Not known"
|
|
82
83
|
]
|
|
83
84
|
}
|
|
84
85
|
}
|
|
@@ -105,7 +106,8 @@
|
|
|
105
106
|
"properties": {
|
|
106
107
|
"yesNo": {
|
|
107
108
|
"enum": [
|
|
108
|
-
"No"
|
|
109
|
+
"No",
|
|
110
|
+
"Not known"
|
|
109
111
|
]
|
|
110
112
|
}
|
|
111
113
|
}
|
|
@@ -132,7 +134,8 @@
|
|
|
132
134
|
"properties": {
|
|
133
135
|
"yesNo": {
|
|
134
136
|
"enum": [
|
|
135
|
-
"No"
|
|
137
|
+
"No",
|
|
138
|
+
"Not known"
|
|
136
139
|
]
|
|
137
140
|
}
|
|
138
141
|
}
|
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"$id": "https://trust.propdata.org.uk/schemas/v2/overlays/ta6.json",
|
|
4
4
|
"required": [
|
|
5
|
-
"transactionId",
|
|
6
|
-
"status",
|
|
7
5
|
"participants",
|
|
8
6
|
"propertyPack"
|
|
9
7
|
],
|
|
10
8
|
"properties": {
|
|
11
9
|
"propertyPack": {
|
|
10
|
+
"ta6Ref": "0",
|
|
11
|
+
"title": "Property Pack",
|
|
12
|
+
"required": [
|
|
13
|
+
"materialFacts",
|
|
14
|
+
"additionalLegalInfo"
|
|
15
|
+
],
|
|
12
16
|
"properties": {
|
|
13
17
|
"materialFacts": {
|
|
14
18
|
"required": [
|
|
15
|
-
"uprn",
|
|
16
19
|
"address",
|
|
17
|
-
"delayFactors",
|
|
18
20
|
"ownership",
|
|
19
21
|
"parking",
|
|
20
22
|
"listingAndConservation",
|
|
@@ -25,13 +27,13 @@
|
|
|
25
27
|
"alterationsAndChanges",
|
|
26
28
|
"notices",
|
|
27
29
|
"specialistIssues",
|
|
28
|
-
"fixturesAndFittings",
|
|
29
30
|
"waterAndDrainage",
|
|
30
31
|
"connectedUtilities",
|
|
31
32
|
"centralHeating",
|
|
32
33
|
"insurance",
|
|
33
34
|
"rightsAndInformalArrangements",
|
|
34
|
-
"environmentalIssues"
|
|
35
|
+
"environmentalIssues",
|
|
36
|
+
"additionalInformation"
|
|
35
37
|
],
|
|
36
38
|
"properties": {
|
|
37
39
|
"address": {
|
|
@@ -183,7 +185,8 @@
|
|
|
183
185
|
"properties": {
|
|
184
186
|
"yesNo": {
|
|
185
187
|
"enum": [
|
|
186
|
-
"No"
|
|
188
|
+
"No",
|
|
189
|
+
"Not known"
|
|
187
190
|
]
|
|
188
191
|
}
|
|
189
192
|
}
|
|
@@ -222,7 +225,8 @@
|
|
|
222
225
|
"ta6Ref": "4.7a1",
|
|
223
226
|
"enum": [
|
|
224
227
|
"Yes",
|
|
225
|
-
"No"
|
|
228
|
+
"No",
|
|
229
|
+
"Not known"
|
|
226
230
|
]
|
|
227
231
|
}
|
|
228
232
|
}
|
|
@@ -238,7 +242,8 @@
|
|
|
238
242
|
"properties": {
|
|
239
243
|
"yesNo": {
|
|
240
244
|
"enum": [
|
|
241
|
-
"No"
|
|
245
|
+
"No",
|
|
246
|
+
"Not known"
|
|
242
247
|
]
|
|
243
248
|
}
|
|
244
249
|
}
|
|
@@ -277,7 +282,8 @@
|
|
|
277
282
|
"ta6Ref": "4.7b1",
|
|
278
283
|
"enum": [
|
|
279
284
|
"Yes",
|
|
280
|
-
"No"
|
|
285
|
+
"No",
|
|
286
|
+
"Not known"
|
|
281
287
|
]
|
|
282
288
|
}
|
|
283
289
|
}
|
|
@@ -293,7 +299,8 @@
|
|
|
293
299
|
"properties": {
|
|
294
300
|
"yesNo": {
|
|
295
301
|
"enum": [
|
|
296
|
-
"No"
|
|
302
|
+
"No",
|
|
303
|
+
"Not known"
|
|
297
304
|
]
|
|
298
305
|
}
|
|
299
306
|
}
|
|
@@ -378,7 +385,8 @@
|
|
|
378
385
|
"ta6Ref": "4.8.1",
|
|
379
386
|
"enum": [
|
|
380
387
|
"Yes",
|
|
381
|
-
"No"
|
|
388
|
+
"No",
|
|
389
|
+
"Not known"
|
|
382
390
|
]
|
|
383
391
|
}
|
|
384
392
|
}
|
|
@@ -488,7 +496,8 @@
|
|
|
488
496
|
"ta6Ref": "2",
|
|
489
497
|
"title": "Disputes and Complaints",
|
|
490
498
|
"required": [
|
|
491
|
-
"hasDisputesAndComplaints"
|
|
499
|
+
"hasDisputesAndComplaints",
|
|
500
|
+
"leadingToDisputesAndComplaints"
|
|
492
501
|
],
|
|
493
502
|
"properties": {
|
|
494
503
|
"hasDisputesAndComplaints": {
|
|
@@ -624,7 +633,7 @@
|
|
|
624
633
|
]
|
|
625
634
|
},
|
|
626
635
|
"details": {
|
|
627
|
-
"ta6Ref": "4.
|
|
636
|
+
"ta6Ref": "4.1a2",
|
|
628
637
|
"title": "Please give details including dates of all work undertaken"
|
|
629
638
|
},
|
|
630
639
|
"buildingRegApproval": {
|
|
@@ -642,7 +651,7 @@
|
|
|
642
651
|
]
|
|
643
652
|
},
|
|
644
653
|
"attachments": {
|
|
645
|
-
"ta6Ref": "4.
|
|
654
|
+
"ta6Ref": "4.2a",
|
|
646
655
|
"title": "Please provide a copy of the documents",
|
|
647
656
|
"enum": [
|
|
648
657
|
"Attached",
|
|
@@ -663,7 +672,7 @@
|
|
|
663
672
|
]
|
|
664
673
|
},
|
|
665
674
|
"details": {
|
|
666
|
-
"ta6Ref": "4.
|
|
675
|
+
"ta6Ref": "4.2b",
|
|
667
676
|
"title": "Please outline the reasons why",
|
|
668
677
|
"description": "e.g. the work was exempt from Building Regulations"
|
|
669
678
|
}
|
|
@@ -702,7 +711,7 @@
|
|
|
702
711
|
]
|
|
703
712
|
},
|
|
704
713
|
"attachments": {
|
|
705
|
-
"ta6Ref": "4.
|
|
714
|
+
"ta6Ref": "4.2a",
|
|
706
715
|
"title": "Please provide a copy of the documents",
|
|
707
716
|
"enum": [
|
|
708
717
|
"Attached",
|
|
@@ -723,7 +732,7 @@
|
|
|
723
732
|
]
|
|
724
733
|
},
|
|
725
734
|
"details": {
|
|
726
|
-
"ta6Ref": "4.
|
|
735
|
+
"ta6Ref": "4.2b",
|
|
727
736
|
"title": "Please outline the reasons why",
|
|
728
737
|
"description": "e.g. permitted development rights applied"
|
|
729
738
|
}
|
|
@@ -809,7 +818,7 @@
|
|
|
809
818
|
]
|
|
810
819
|
},
|
|
811
820
|
"attachments": {
|
|
812
|
-
"ta6Ref": "4.
|
|
821
|
+
"ta6Ref": "4.2a",
|
|
813
822
|
"title": "Please provide a copy of the documents",
|
|
814
823
|
"enum": [
|
|
815
824
|
"Attached",
|
|
@@ -830,7 +839,7 @@
|
|
|
830
839
|
]
|
|
831
840
|
},
|
|
832
841
|
"details": {
|
|
833
|
-
"ta6Ref": "4.
|
|
842
|
+
"ta6Ref": "4.2b",
|
|
834
843
|
"title": "Please outline the reasons why",
|
|
835
844
|
"description": "e.g. the work was exempt from Building Regulations"
|
|
836
845
|
}
|
|
@@ -869,7 +878,7 @@
|
|
|
869
878
|
]
|
|
870
879
|
},
|
|
871
880
|
"attachments": {
|
|
872
|
-
"ta6Ref": "4.
|
|
881
|
+
"ta6Ref": "4.2a",
|
|
873
882
|
"title": "Please provide a copy of the documents",
|
|
874
883
|
"enum": [
|
|
875
884
|
"Attached",
|
|
@@ -890,7 +899,7 @@
|
|
|
890
899
|
]
|
|
891
900
|
},
|
|
892
901
|
"details": {
|
|
893
|
-
"ta6Ref": "4.
|
|
902
|
+
"ta6Ref": "4.2b",
|
|
894
903
|
"title": "Please outline the reasons why",
|
|
895
904
|
"description": "e.g. permitted development rights applied"
|
|
896
905
|
}
|
|
@@ -977,7 +986,7 @@
|
|
|
977
986
|
]
|
|
978
987
|
},
|
|
979
988
|
"attachments": {
|
|
980
|
-
"ta6Ref": "4.
|
|
989
|
+
"ta6Ref": "4.2a",
|
|
981
990
|
"title": "Please provide a copy of the documents",
|
|
982
991
|
"enum": [
|
|
983
992
|
"Attached",
|
|
@@ -998,7 +1007,7 @@
|
|
|
998
1007
|
]
|
|
999
1008
|
},
|
|
1000
1009
|
"details": {
|
|
1001
|
-
"ta6Ref": "4.
|
|
1010
|
+
"ta6Ref": "4.2b",
|
|
1002
1011
|
"title": "Please outline the reasons why",
|
|
1003
1012
|
"description": "e.g. the work was exempt from Building Regulations"
|
|
1004
1013
|
}
|
|
@@ -1037,7 +1046,7 @@
|
|
|
1037
1046
|
]
|
|
1038
1047
|
},
|
|
1039
1048
|
"attachments": {
|
|
1040
|
-
"ta6Ref": "4.
|
|
1049
|
+
"ta6Ref": "4.2a",
|
|
1041
1050
|
"title": "Please provide a copy of the documents",
|
|
1042
1051
|
"enum": [
|
|
1043
1052
|
"Attached",
|
|
@@ -1058,7 +1067,7 @@
|
|
|
1058
1067
|
]
|
|
1059
1068
|
},
|
|
1060
1069
|
"details": {
|
|
1061
|
-
"ta6Ref": "4.
|
|
1070
|
+
"ta6Ref": "4.2b",
|
|
1062
1071
|
"title": "Please outline the reasons why",
|
|
1063
1072
|
"description": "e.g. permitted development rights applied"
|
|
1064
1073
|
}
|
|
@@ -1145,7 +1154,7 @@
|
|
|
1145
1154
|
]
|
|
1146
1155
|
},
|
|
1147
1156
|
"attachments": {
|
|
1148
|
-
"ta6Ref": "4.
|
|
1157
|
+
"ta6Ref": "4.2a",
|
|
1149
1158
|
"title": "Please provide a copy of the documents",
|
|
1150
1159
|
"enum": [
|
|
1151
1160
|
"Attached",
|
|
@@ -1166,7 +1175,7 @@
|
|
|
1166
1175
|
]
|
|
1167
1176
|
},
|
|
1168
1177
|
"details": {
|
|
1169
|
-
"ta6Ref": "4.
|
|
1178
|
+
"ta6Ref": "4.2b",
|
|
1170
1179
|
"title": "Please outline the reasons why",
|
|
1171
1180
|
"description": "e.g. the work was exempt from Building Regulations"
|
|
1172
1181
|
}
|
|
@@ -1205,7 +1214,7 @@
|
|
|
1205
1214
|
]
|
|
1206
1215
|
},
|
|
1207
1216
|
"attachments": {
|
|
1208
|
-
"ta6Ref": "4.
|
|
1217
|
+
"ta6Ref": "4.2a",
|
|
1209
1218
|
"title": "Please provide a copy of the documents",
|
|
1210
1219
|
"enum": [
|
|
1211
1220
|
"Attached",
|
|
@@ -1226,7 +1235,7 @@
|
|
|
1226
1235
|
]
|
|
1227
1236
|
},
|
|
1228
1237
|
"details": {
|
|
1229
|
-
"ta6Ref": "4.
|
|
1238
|
+
"ta6Ref": "4.2b",
|
|
1230
1239
|
"title": "Please outline the reasons why",
|
|
1231
1240
|
"description": "e.g. permitted development rights applied"
|
|
1232
1241
|
}
|
|
@@ -1681,6 +1690,14 @@
|
|
|
1681
1690
|
"details": {
|
|
1682
1691
|
"ta6Ref": "1.6.2",
|
|
1683
1692
|
"title": "Details"
|
|
1693
|
+
},
|
|
1694
|
+
"attachments": {
|
|
1695
|
+
"ta6Ref": "1.6.3",
|
|
1696
|
+
"title": "Attachments",
|
|
1697
|
+
"enum": [
|
|
1698
|
+
"Attached",
|
|
1699
|
+
"To follow"
|
|
1700
|
+
]
|
|
1684
1701
|
}
|
|
1685
1702
|
},
|
|
1686
1703
|
"required": [
|
|
@@ -3774,7 +3791,6 @@
|
|
|
3774
3791
|
"legalBoundaries",
|
|
3775
3792
|
"servicesCrossing",
|
|
3776
3793
|
"energyAndMeters",
|
|
3777
|
-
"smartHomeSystems",
|
|
3778
3794
|
"guaranteesWarrantiesAndIndemnityInsurances",
|
|
3779
3795
|
"occupiers",
|
|
3780
3796
|
"completionAndMoving",
|
|
@@ -4369,7 +4385,7 @@
|
|
|
4369
4385
|
]
|
|
4370
4386
|
},
|
|
4371
4387
|
"attachments": {
|
|
4372
|
-
"ta6Ref": "4.
|
|
4388
|
+
"ta6Ref": "4.6c2",
|
|
4373
4389
|
"title": "Please supply copies of the relevant documents",
|
|
4374
4390
|
"enum": [
|
|
4375
4391
|
"Attached",
|
|
@@ -4987,7 +5003,7 @@
|
|
|
4987
5003
|
],
|
|
4988
5004
|
"properties": {
|
|
4989
5005
|
"hasValidGuaranteesOrWarranties": {
|
|
4990
|
-
"ta6Ref": "5
|
|
5006
|
+
"ta6Ref": "5.1",
|
|
4991
5007
|
"title": "Are there any valid guarantees or warranties relating to this property?",
|
|
4992
5008
|
"enum": [
|
|
4993
5009
|
"Yes",
|
|
@@ -6379,7 +6379,8 @@
|
|
|
6379
6379
|
"title": "",
|
|
6380
6380
|
"enum": [
|
|
6381
6381
|
"Yes",
|
|
6382
|
-
"No"
|
|
6382
|
+
"No",
|
|
6383
|
+
"Not known"
|
|
6383
6384
|
]
|
|
6384
6385
|
}
|
|
6385
6386
|
},
|
|
@@ -6388,7 +6389,8 @@
|
|
|
6388
6389
|
"properties": {
|
|
6389
6390
|
"yesNo": {
|
|
6390
6391
|
"enum": [
|
|
6391
|
-
"No"
|
|
6392
|
+
"No",
|
|
6393
|
+
"Not known"
|
|
6392
6394
|
]
|
|
6393
6395
|
}
|
|
6394
6396
|
}
|
|
@@ -6426,7 +6428,8 @@
|
|
|
6426
6428
|
"title": "",
|
|
6427
6429
|
"enum": [
|
|
6428
6430
|
"Yes",
|
|
6429
|
-
"No"
|
|
6431
|
+
"No",
|
|
6432
|
+
"Not known"
|
|
6430
6433
|
]
|
|
6431
6434
|
}
|
|
6432
6435
|
},
|
|
@@ -6435,7 +6438,8 @@
|
|
|
6435
6438
|
"properties": {
|
|
6436
6439
|
"yesNo": {
|
|
6437
6440
|
"enum": [
|
|
6438
|
-
"No"
|
|
6441
|
+
"No",
|
|
6442
|
+
"Not known"
|
|
6439
6443
|
]
|
|
6440
6444
|
}
|
|
6441
6445
|
}
|
|
@@ -6473,7 +6477,8 @@
|
|
|
6473
6477
|
"title": "",
|
|
6474
6478
|
"enum": [
|
|
6475
6479
|
"Yes",
|
|
6476
|
-
"No"
|
|
6480
|
+
"No",
|
|
6481
|
+
"Not known"
|
|
6477
6482
|
]
|
|
6478
6483
|
}
|
|
6479
6484
|
},
|
|
@@ -6482,7 +6487,8 @@
|
|
|
6482
6487
|
"properties": {
|
|
6483
6488
|
"yesNo": {
|
|
6484
6489
|
"enum": [
|
|
6485
|
-
"No"
|
|
6490
|
+
"No",
|
|
6491
|
+
"Not known"
|
|
6486
6492
|
]
|
|
6487
6493
|
}
|
|
6488
6494
|
}
|
|
@@ -135,7 +135,7 @@ test("correctly gets yet, yet another subschema through a dependency", () => {
|
|
|
135
135
|
"/propertyPack/materialFacts/listingAndConservation/isConservationArea/yesNo"
|
|
136
136
|
);
|
|
137
137
|
expect(subschema.type).toBe("string");
|
|
138
|
-
expect(subschema.enum).toStrictEqual(["Yes", "No"]);
|
|
138
|
+
expect(subschema.enum).toStrictEqual(["Yes", "No", "Not known"]);
|
|
139
139
|
});
|
|
140
140
|
|
|
141
141
|
test("correctly gets yet, yet, yet another subschema through a dependency", () => {
|
|
@@ -202,7 +202,6 @@ test("correctly gets a subschema validator for a TA6 overlay", () => {
|
|
|
202
202
|
test("correctly gets a subschema validator for a TA6 overlay which validates", () => {
|
|
203
203
|
const path =
|
|
204
204
|
"/propertyPack/additionalLegalInfo/guaranteesWarrantiesAndIndemnityInsurances/subsidenceWork";
|
|
205
|
-
const subSchema = getSubschema(path, exampleTransaction.$schema, ["ta6ed4"]);
|
|
206
205
|
const data = { yesNo: "Yes" };
|
|
207
206
|
const validator = getSubschemaValidator(path, exampleTransaction.$schema, [
|
|
208
207
|
"ta6ed4",
|
|
@@ -214,6 +213,48 @@ test("correctly gets a subschema validator for a TA6 overlay which validates", (
|
|
|
214
213
|
);
|
|
215
214
|
});
|
|
216
215
|
|
|
216
|
+
test("correctly gets a subschema validator for a TA6 overlay which validates with non-TA6 field missing", () => {
|
|
217
|
+
const path = "/propertyPack";
|
|
218
|
+
const clonedExampleTransaction = JSON.parse(
|
|
219
|
+
JSON.stringify(exampleTransaction)
|
|
220
|
+
);
|
|
221
|
+
const data = jp.get(exampleTransaction, path);
|
|
222
|
+
data.materialFacts.uprn = undefined;
|
|
223
|
+
const validator = getSubschemaValidator(path, exampleTransaction.$schema, [
|
|
224
|
+
"ta6ed4",
|
|
225
|
+
]);
|
|
226
|
+
let isValid = validator(data);
|
|
227
|
+
expect(isValid).toBe(true);
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
test("correctly gets a subschema validator for a TA6 overlay which validates with non-TA6 section missing", () => {
|
|
231
|
+
const path = "/propertyPack";
|
|
232
|
+
const clonedExampleTransaction = JSON.parse(
|
|
233
|
+
JSON.stringify(exampleTransaction)
|
|
234
|
+
);
|
|
235
|
+
const data = jp.get(clonedExampleTransaction, path);
|
|
236
|
+
data.additionalLegalInfo.smartHomeSystems = undefined;
|
|
237
|
+
const validator = getSubschemaValidator(path, exampleTransaction.$schema, [
|
|
238
|
+
"ta6ed4",
|
|
239
|
+
]);
|
|
240
|
+
let isValid = validator(data);
|
|
241
|
+
expect(isValid).toBe(true);
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
test("correctly gets a subschema validator for a TA6 overlay which fails to validate with BASPI/TA6 section missing", () => {
|
|
245
|
+
const path = "/propertyPack";
|
|
246
|
+
const clonedExampleTransaction = JSON.parse(
|
|
247
|
+
JSON.stringify(exampleTransaction)
|
|
248
|
+
);
|
|
249
|
+
const data = jp.get(clonedExampleTransaction, path);
|
|
250
|
+
data.materialFacts.waterAndDrainage = {};
|
|
251
|
+
const validator = getSubschemaValidator(path, exampleTransaction.$schema, [
|
|
252
|
+
"ta6ed4",
|
|
253
|
+
]);
|
|
254
|
+
let isValid = validator(data);
|
|
255
|
+
expect(isValid).toBe(false);
|
|
256
|
+
});
|
|
257
|
+
|
|
217
258
|
test("correctly gets a subschema validator which validates", () => {
|
|
218
259
|
const path = "/propertyPack/materialFacts/notices";
|
|
219
260
|
const validator = getSubschemaValidator(path);
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0#",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"LocalLandCharge": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"required": [
|
|
11
|
+
"HMLRReference",
|
|
12
|
+
"RegistrationDate",
|
|
13
|
+
"Category",
|
|
14
|
+
"Location",
|
|
15
|
+
"LocationDominantBuilding"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"HMLRReference": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"OriginatingAuthority": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"AuthorityReference": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"CreationDate": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"Value": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "date"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"RegistrationDate": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"Value": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"format": "date"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"Category": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"ChargeSubCategory": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"Law": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"LegalDocument": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"Location": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": ["AddressLine"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"PostcodeZone": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"required": ["Postcode"],
|
|
64
|
+
"properties": {
|
|
65
|
+
"Postcode": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"AddressLine": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"IndexNumeric": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"Value": {
|
|
79
|
+
"type": "number"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"minItems": 0
|
|
84
|
+
},
|
|
85
|
+
"Line": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"minItems": 0
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"LocationDominantBuilding": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"required": ["AddressLine"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"PostcodeZone": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"required": ["Postcode"],
|
|
103
|
+
"properties": {
|
|
104
|
+
"Postcode": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"AddressLine": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"IndexNumeric": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "number"
|
|
116
|
+
},
|
|
117
|
+
"minItems": 0
|
|
118
|
+
},
|
|
119
|
+
"Line": {
|
|
120
|
+
"type": "array",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"minItems": 0
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"Description": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"SourceOfInformation": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"AvailableDocument": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"required": ["Document"],
|
|
141
|
+
"properties": {
|
|
142
|
+
"Document": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"StartDate": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"format": "date"
|
|
148
|
+
},
|
|
149
|
+
"EndDate": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"format": "date"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"minItems": 0
|
|
156
|
+
},
|
|
157
|
+
"InterestInLand": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"ApplicantName": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"ApplicantAddress": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"required": ["AddressLine"],
|
|
166
|
+
"properties": {
|
|
167
|
+
"PostcodeZone": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"required": ["Postcode"],
|
|
170
|
+
"properties": {
|
|
171
|
+
"Postcode": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"AddressLine": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"properties": {
|
|
179
|
+
"IndexNumeric": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"Value": {
|
|
185
|
+
"type": "number"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"minItems": 0
|
|
190
|
+
},
|
|
191
|
+
"Line": {
|
|
192
|
+
"type": "array",
|
|
193
|
+
"items": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"Value": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"minItems": 0
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"ServientLandDevelopment": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"required": ["Height", "CoversAllOrPartOfExtent"],
|
|
210
|
+
"properties": {
|
|
211
|
+
"Height": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"CoversAllOrPartOfExtent": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"Amount": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"InterestRate": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"LandSold": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
},
|
|
228
|
+
"WorksDone": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"AdvancePayment": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"TotalCompensation": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"AgreedOrEstimated": {
|
|
238
|
+
"type": "string"
|
|
239
|
+
},
|
|
240
|
+
"Adjoining": {
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
},
|
|
243
|
+
"OtherData": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"items": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"required": ["DataLabel", "Data"],
|
|
248
|
+
"properties": {
|
|
249
|
+
"DataLabel": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"Data": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"minItems": 0
|
|
258
|
+
},
|
|
259
|
+
"ChargeExtent": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"properties": {
|
|
262
|
+
"Value": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
"format": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"minItems": 0
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|