@pdtf/schemas 3.1.0 → 3.2.0-2
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/v3/exampleTransaction.json +5 -4
- package/src/schemas/v3/combined.json +22 -2
- package/src/schemas/v3/overlays/baspi.json +1 -1
- package/src/schemas/v3/overlays/nts.json +1 -1
- package/src/schemas/v3/overlays/ntsl.json +1 -1
- package/src/schemas/v3/overlays/piq.json +1 -1
- package/src/schemas/v3/overlays/ta6.json +1 -1
- package/src/schemas/v3/pdtf-transaction.json +24 -3
- package/src/schemas/v3/skeleton.json +5 -1
package/package.json
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"dateOfBirth": "1975-12-25",
|
|
12
12
|
"phone": "07777 222333",
|
|
13
13
|
"email": "peter@theseller.com",
|
|
14
|
-
"address": { "line1": "47 Park Road", "postcode": "AL3 5AF" },
|
|
14
|
+
"address": { "line1": "47 Park Road", "postcode": "AL3 5AF", "countryCode": "GBR" },
|
|
15
15
|
"role": "Seller",
|
|
16
16
|
"sellersCapacity": { "capacity": "Legal Owner" },
|
|
17
|
-
"externalIds": { "
|
|
17
|
+
"externalIds": { "Moverly": "123434" }
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"role": "Seller's Conveyancer",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"line1": "123 Sweet St",
|
|
24
24
|
"line2": "Test building",
|
|
25
25
|
"town": "London",
|
|
26
|
-
"postcode": "SW1A 1AA"
|
|
26
|
+
"postcode": "SW1A 1AA",
|
|
27
|
+
"countryCode": "GBR"
|
|
27
28
|
},
|
|
28
29
|
"email": "johnny@suemme.co.uk",
|
|
29
30
|
"organisation": "Suemme and Profitt",
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
"town": "HARPENDEN",
|
|
40
41
|
"postcode": "AL3 5AF"
|
|
41
42
|
},
|
|
42
|
-
"localAuthority": { "localAuthorityName": "Neverland Hook" },
|
|
43
|
+
"localAuthority": { "localAuthorityName": "Neverland Hook", "districtCouncil": "Neverland Hook", "countyCouncil": "Neverland County Council" },
|
|
43
44
|
"priceInformation": {
|
|
44
45
|
"price": 1260000,
|
|
45
46
|
"priceQualifier": "Offers in excess of"
|
|
@@ -106,6 +106,13 @@
|
|
|
106
106
|
"title": "Postcode",
|
|
107
107
|
"type": "string",
|
|
108
108
|
"minLength": 1
|
|
109
|
+
},
|
|
110
|
+
"countryCode": {
|
|
111
|
+
"title": "Country code",
|
|
112
|
+
"description": "ISO 3166-1 alpha-3 country code",
|
|
113
|
+
"type": "string",
|
|
114
|
+
"minLength": 3,
|
|
115
|
+
"maxLength": 3
|
|
109
116
|
}
|
|
110
117
|
},
|
|
111
118
|
"baspiRequired": ["line1", "postcode"]
|
|
@@ -451,6 +458,19 @@
|
|
|
451
458
|
"properties": {
|
|
452
459
|
"localAuthorityName": {
|
|
453
460
|
"title": "Local authority name",
|
|
461
|
+
"description": "The name of the local authority responsible for searches and planning (district or unitary as applicable)",
|
|
462
|
+
"type": "string"
|
|
463
|
+
},
|
|
464
|
+
"districtCouncil": {
|
|
465
|
+
"title": "Name of the district council, if not unitary",
|
|
466
|
+
"type": "string"
|
|
467
|
+
},
|
|
468
|
+
"countyCouncil": {
|
|
469
|
+
"title": "Name of the county council, if not unitary",
|
|
470
|
+
"type": "string"
|
|
471
|
+
},
|
|
472
|
+
"unitaryAuthority": {
|
|
473
|
+
"title": "Unitary authority name, if applicable",
|
|
454
474
|
"type": "string"
|
|
455
475
|
},
|
|
456
476
|
"localAuthorityReference": {
|
|
@@ -18730,12 +18750,12 @@
|
|
|
18730
18750
|
{
|
|
18731
18751
|
"properties": {
|
|
18732
18752
|
"heatingType": {
|
|
18733
|
-
"enum": ["
|
|
18753
|
+
"enum": ["Communal heating system"]
|
|
18734
18754
|
},
|
|
18735
18755
|
"details": {
|
|
18736
18756
|
"ntsRef": "B3.4.4",
|
|
18737
18757
|
"ntslRef": "B3.4.4",
|
|
18738
|
-
"title": "
|
|
18758
|
+
"title": "Communal heating system details",
|
|
18739
18759
|
"description": "Please describe how the cost of heating supply is charged, whether you have control over the energy supplier and whether you have any control over the heating.",
|
|
18740
18760
|
"type": "string",
|
|
18741
18761
|
"minLength": 1
|
|
@@ -100,6 +100,13 @@
|
|
|
100
100
|
"title": "Postcode",
|
|
101
101
|
"type": "string",
|
|
102
102
|
"minLength": 1
|
|
103
|
+
},
|
|
104
|
+
"countryCode": {
|
|
105
|
+
"title": "Country code",
|
|
106
|
+
"description": "ISO 3166-1 alpha-3 country code",
|
|
107
|
+
"type": "string",
|
|
108
|
+
"minLength": 3,
|
|
109
|
+
"maxLength": 3
|
|
103
110
|
}
|
|
104
111
|
}
|
|
105
112
|
},
|
|
@@ -310,6 +317,19 @@
|
|
|
310
317
|
"properties": {
|
|
311
318
|
"localAuthorityName": {
|
|
312
319
|
"title": "Local authority name",
|
|
320
|
+
"description": "The name of the local authority responsible for searches and planning (district or unitary as applicable)",
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"districtCouncil": {
|
|
324
|
+
"title": "Name of the district council, if not unitary",
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"countyCouncil": {
|
|
328
|
+
"title": "Name of the county council, if not unitary",
|
|
329
|
+
"type": "string"
|
|
330
|
+
},
|
|
331
|
+
"unitaryAuthority": {
|
|
332
|
+
"title": "Unitary authority name, if applicable",
|
|
313
333
|
"type": "string"
|
|
314
334
|
},
|
|
315
335
|
"localAuthorityReference": {
|
|
@@ -8162,7 +8182,8 @@
|
|
|
8162
8182
|
"F",
|
|
8163
8183
|
"G",
|
|
8164
8184
|
"H",
|
|
8165
|
-
"I"
|
|
8185
|
+
"I",
|
|
8186
|
+
"Not available"
|
|
8166
8187
|
]
|
|
8167
8188
|
},
|
|
8168
8189
|
"councilTaxAffectingAlterations": {
|
|
@@ -16650,11 +16671,11 @@
|
|
|
16650
16671
|
"properties": {
|
|
16651
16672
|
"heatingType": {
|
|
16652
16673
|
"enum": [
|
|
16653
|
-
"
|
|
16674
|
+
"Communal heating system"
|
|
16654
16675
|
]
|
|
16655
16676
|
},
|
|
16656
16677
|
"details": {
|
|
16657
|
-
"title": "
|
|
16678
|
+
"title": "Communal heating system details",
|
|
16658
16679
|
"description": "Please describe how the cost of heating supply is charged, whether you have control over the energy supplier and whether you have any control over the heating.",
|
|
16659
16680
|
"type": "string",
|
|
16660
16681
|
"minLength": 1
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"line2": {},
|
|
18
18
|
"line 3": {},
|
|
19
19
|
"town": {},
|
|
20
|
-
"postcode": {}
|
|
20
|
+
"postcode": {},
|
|
21
|
+
"countryCode": {}
|
|
21
22
|
},
|
|
22
23
|
"organisation": {},
|
|
23
24
|
"organisationReference": {},
|
|
@@ -55,6 +56,9 @@
|
|
|
55
56
|
},
|
|
56
57
|
"localAuthority": {
|
|
57
58
|
"localAuthorityName": {},
|
|
59
|
+
"districtCouncil": {},
|
|
60
|
+
"countyCouncil": {},
|
|
61
|
+
"unitaryAuthority": {},
|
|
58
62
|
"localAuthorityReference": {},
|
|
59
63
|
"councilSearchTurnaroundTimeInWorkingDays": {},
|
|
60
64
|
"regulatedSearchTurnaroundTimeInWorkingDays": {}
|