@pdtf/schemas 3.5.1-4 → 3.5.1-6

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.5.1-4",
3
+ "version": "3.5.1-6",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -129,7 +129,7 @@
129
129
  "title": "Address 2",
130
130
  "type": "string"
131
131
  },
132
- "line 3": {
132
+ "line3": {
133
133
  "title": "Address 3",
134
134
  "type": "string"
135
135
  },
@@ -9953,9 +9953,7 @@
9953
9953
  "baspi4Ref": "A1.8.2",
9954
9954
  "baspi5Ref": "A1.8.2",
9955
9955
  "ta7Ref": "11.1",
9956
- "title": "Are you aware of any building safety issues?",
9957
- "baspi4Title": "Are you aware of any remediation required to the property due to building safety?",
9958
- "baspi5Title": "Are you aware of any remediation required to the property due to building safety?",
9956
+ "title": "Are you aware of any remediation required to the property due to building safety?",
9959
9957
  "ta7Title": "Have any remediation works on the building been proposed or carried out?",
9960
9958
  "description": "For example issues related to unsafe cladding, integrity of building materials used in construction (e.g. asbestos), risk of collapse (e.g. damaged roofs or structural failures), at-risk wooden decking for external structures (including balconies), lack of emergency lighting where required or insufficient fire/smoke alarm systems",
9961
9959
  "type": "object",
@@ -10011,9 +10009,7 @@
10011
10009
  "ntsl2Ref": "C1.2",
10012
10010
  "baspi4Ref": "A1.8.2.2",
10013
10011
  "baspi5Ref": "A1.8.2.2",
10014
- "ta7Ref": "11.1.2",
10015
10012
  "title": "What are the defects or hazards?",
10016
- "ta7Title": "Please provide details of the remediation works proposed and evidence of any carried out.",
10017
10013
  "type": "string",
10018
10014
  "minLength": 1
10019
10015
  },
@@ -10024,7 +10020,6 @@
10024
10020
  "ntsl2Ref": "C1.3",
10025
10021
  "baspi4Ref": "A1.8.2.2",
10026
10022
  "baspi5Ref": "A1.8.2.2",
10027
- "ta7Ref": "11.1.2",
10028
10023
  "title": "What work has already been done?",
10029
10024
  "type": "string",
10030
10025
  "minLength": 1
@@ -10036,7 +10031,6 @@
10036
10031
  "ntsl2Ref": "C1.4",
10037
10032
  "baspi4Ref": "A1.8.2.2",
10038
10033
  "baspi5Ref": "A1.8.2.2",
10039
- "ta7Ref": "11.1.2",
10040
10034
  "title": "What work is required to be done?",
10041
10035
  "type": "string",
10042
10036
  "minLength": 1
@@ -10048,7 +10042,6 @@
10048
10042
  "ntsl2Ref": "C1.5",
10049
10043
  "baspi4Ref": "A1.8.2.2",
10050
10044
  "baspi5Ref": "A1.8.2.2",
10051
- "ta7Ref": "11.1.2",
10052
10045
  "title": "What will the potential cost be?",
10053
10046
  "type": "string",
10054
10047
  "minLength": 1
@@ -10060,7 +10053,6 @@
10060
10053
  "ntsl2Ref": "C1.6",
10061
10054
  "baspi4Ref": "A1.8.2.2",
10062
10055
  "baspi5Ref": "A1.8.2.2",
10063
- "ta7Ref": "11.1.2",
10064
10056
  "title": "Will the work impact the ability to reside at the property?",
10065
10057
  "type": "string",
10066
10058
  "minLength": 1
@@ -10070,7 +10062,7 @@
10070
10062
  "baspi5Ref": "A1.8.2.3",
10071
10063
  "ta7Ref": "11.1.3",
10072
10064
  "title": "Attachments",
10073
- "description": "Please attach evidence in support of the above",
10065
+ "ta7Title": "Please attach details of the remediation works proposed and evidence of any carried out.",
10074
10066
  "type": "string",
10075
10067
  "enum": ["Attached", "To follow"]
10076
10068
  }
@@ -10097,7 +10089,8 @@
10097
10089
  "workToBeDone",
10098
10090
  "potentialCost",
10099
10091
  "abilityToResideAtProperty"
10100
- ]
10092
+ ],
10093
+ "ta7Required": ["attachments"]
10101
10094
  }
10102
10095
  ]
10103
10096
  },
@@ -39800,6 +39793,9 @@
39800
39793
  },
39801
39794
  "externalIds": {
39802
39795
  "type": "object"
39796
+ },
39797
+ "isDeleted": {
39798
+ "type": "boolean"
39803
39799
  }
39804
39800
  }
39805
39801
  }
@@ -18,7 +18,7 @@
18
18
  street
19
19
  line1
20
20
  line2
21
- line 3
21
+ line3
22
22
  town
23
23
  postcode
24
24
  homeNation
@@ -3273,6 +3273,7 @@
3273
3273
  mimeType
3274
3274
  documentType
3275
3275
  externalIds
3276
+ isDeleted
3276
3277
  ]
3277
3278
  surveys[
3278
3279
  outside
@@ -1453,7 +1453,6 @@
1453
1453
  "required": [
1454
1454
  "yesNo"
1455
1455
  ],
1456
- "title": "Are you aware of any remediation required to the property due to building safety?",
1457
1456
  "properties": {
1458
1457
  "yesNo": {
1459
1458
  "baspi4Ref": "A1.8.2.1",
@@ -1601,7 +1601,6 @@
1601
1601
  "required": [
1602
1602
  "yesNo"
1603
1603
  ],
1604
- "title": "Are you aware of any remediation required to the property due to building safety?",
1605
1604
  "properties": {
1606
1605
  "yesNo": {
1607
1606
  "baspi5Ref": "A1.8.2.1",
@@ -1433,26 +1433,14 @@
1433
1433
  "Yes"
1434
1434
  ]
1435
1435
  },
1436
- "details": {
1437
- "ta7Ref": "11.1.2",
1438
- "title": "Please provide details of the remediation works proposed and evidence of any carried out."
1439
- },
1440
- "workAlreadyDone": {
1441
- "ta7Ref": "11.1.2"
1442
- },
1443
- "workToBeDone": {
1444
- "ta7Ref": "11.1.2"
1445
- },
1446
- "potentialCost": {
1447
- "ta7Ref": "11.1.2"
1448
- },
1449
- "abilityToResideAtProperty": {
1450
- "ta7Ref": "11.1.2"
1451
- },
1452
1436
  "attachments": {
1453
- "ta7Ref": "11.1.3"
1437
+ "ta7Ref": "11.1.3",
1438
+ "title": "Please attach details of the remediation works proposed and evidence of any carried out."
1454
1439
  }
1455
- }
1440
+ },
1441
+ "required": [
1442
+ "attachments"
1443
+ ]
1456
1444
  }
1457
1445
  ],
1458
1446
  "required": [
@@ -122,7 +122,7 @@
122
122
  "title": "Address 2",
123
123
  "type": "string"
124
124
  },
125
- "line 3": {
125
+ "line3": {
126
126
  "title": "Address 3",
127
127
  "type": "string"
128
128
  },
@@ -8083,7 +8083,7 @@
8083
8083
  ]
8084
8084
  },
8085
8085
  "buildingSafety": {
8086
- "title": "Are you aware of any building safety issues?",
8086
+ "title": "Are you aware of any remediation required to the property due to building safety?",
8087
8087
  "description": "For example issues related to unsafe cladding, integrity of building materials used in construction (e.g. asbestos), risk of collapse (e.g. damaged roofs or structural failures), at-risk wooden decking for external structures (including balconies), lack of emergency lighting where required or insufficient fire/smoke alarm systems",
8088
8088
  "type": "object",
8089
8089
  "properties": {
@@ -8141,7 +8141,6 @@
8141
8141
  },
8142
8142
  "attachments": {
8143
8143
  "title": "Attachments",
8144
- "description": "Please attach evidence in support of the above",
8145
8144
  "type": "string",
8146
8145
  "enum": [
8147
8146
  "Attached",
@@ -34160,6 +34159,9 @@
34160
34159
  },
34161
34160
  "externalIds": {
34162
34161
  "type": "object"
34162
+ },
34163
+ "isDeleted": {
34164
+ "type": "boolean"
34163
34165
  }
34164
34166
  }
34165
34167
  }
@@ -21,7 +21,7 @@
21
21
  "street": "string",
22
22
  "line1": "string",
23
23
  "line2": "string",
24
- "line 3": "string",
24
+ "line3": "string",
25
25
  "town": "string",
26
26
  "postcode": "string",
27
27
  "homeNation": "string",
@@ -4250,7 +4250,8 @@
4250
4250
  "fileName": "string",
4251
4251
  "mimeType": "string",
4252
4252
  "documentType": "string",
4253
- "externalIds": {}
4253
+ "externalIds": {},
4254
+ "isDeleted": "boolean"
4254
4255
  }
4255
4256
  ],
4256
4257
  "surveys": [