@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.1.0",
3
+ "version": "3.2.0-2",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -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": { "MoveReady": "123434" }
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": ["Community heating system"]
18753
+ "enum": ["Communal heating system"]
18734
18754
  },
18735
18755
  "details": {
18736
18756
  "ntsRef": "B3.4.4",
18737
18757
  "ntslRef": "B3.4.4",
18738
- "title": "Community heating system details",
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
@@ -4515,7 +4515,7 @@
4515
4515
  "properties": {
4516
4516
  "heatingType": {
4517
4517
  "enum": [
4518
- "Community heating system"
4518
+ "Communal heating system"
4519
4519
  ]
4520
4520
  }
4521
4521
  }
@@ -1598,7 +1598,7 @@
1598
1598
  "properties": {
1599
1599
  "heatingType": {
1600
1600
  "enum": [
1601
- "Community heating system"
1601
+ "Communal heating system"
1602
1602
  ]
1603
1603
  },
1604
1604
  "details": {
@@ -1268,7 +1268,7 @@
1268
1268
  "properties": {
1269
1269
  "heatingType": {
1270
1270
  "enum": [
1271
- "Community heating system"
1271
+ "Communal heating system"
1272
1272
  ]
1273
1273
  },
1274
1274
  "details": {
@@ -1567,7 +1567,7 @@
1567
1567
  "properties": {
1568
1568
  "heatingType": {
1569
1569
  "enum": [
1570
- "Community heating system"
1570
+ "Communal heating system"
1571
1571
  ]
1572
1572
  }
1573
1573
  }
@@ -2264,7 +2264,7 @@
2264
2264
  "properties": {
2265
2265
  "heatingType": {
2266
2266
  "enum": [
2267
- "Community heating system"
2267
+ "Communal heating system"
2268
2268
  ]
2269
2269
  }
2270
2270
  }
@@ -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
- "Community heating system"
16674
+ "Communal heating system"
16654
16675
  ]
16655
16676
  },
16656
16677
  "details": {
16657
- "title": "Community heating system details",
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": {}