@pdtf/schemas 3.2.0-1 → 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.2.0-1",
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",
@@ -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"]
@@ -18743,12 +18750,12 @@
18743
18750
  {
18744
18751
  "properties": {
18745
18752
  "heatingType": {
18746
- "enum": ["Community heating system"]
18753
+ "enum": ["Communal heating system"]
18747
18754
  },
18748
18755
  "details": {
18749
18756
  "ntsRef": "B3.4.4",
18750
18757
  "ntslRef": "B3.4.4",
18751
- "title": "Community heating system details",
18758
+ "title": "Communal heating system details",
18752
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.",
18753
18760
  "type": "string",
18754
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
  },
@@ -8175,7 +8182,8 @@
8175
8182
  "F",
8176
8183
  "G",
8177
8184
  "H",
8178
- "I"
8185
+ "I",
8186
+ "Not available"
8179
8187
  ]
8180
8188
  },
8181
8189
  "councilTaxAffectingAlterations": {
@@ -16663,11 +16671,11 @@
16663
16671
  "properties": {
16664
16672
  "heatingType": {
16665
16673
  "enum": [
16666
- "Community heating system"
16674
+ "Communal heating system"
16667
16675
  ]
16668
16676
  },
16669
16677
  "details": {
16670
- "title": "Community heating system details",
16678
+ "title": "Communal heating system details",
16671
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.",
16672
16680
  "type": "string",
16673
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": {},