Skip to content

Commit

Permalink
Merge pull request #150 from Property-Data-Trust-Framework/149-baspi-…
Browse files Browse the repository at this point in the history
…mapping-fix

baspi mapping fixes
  • Loading branch information
vivek656 authored Jan 25, 2024
2 parents 0e66339 + 0f9aed0 commit 0c99481
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 10 deletions.
12 changes: 10 additions & 2 deletions src/schemas/v2/combined.json
Original file line number Diff line number Diff line change
Expand Up @@ -23808,9 +23808,14 @@
"title": "",
"type": "string",
"enum": ["Attached", "To follow"]
},
"warrantyDate":{
"baspiRef": "B5.1.1.4",
"type" : "string",
"format": "date"
}
},
"baspiRequired": ["details", "attachments"],
"baspiRequired": ["details", "attachments", "warrantyDate"],
"ta6Required": ["attachments"]
}
]
Expand Down Expand Up @@ -24630,12 +24635,15 @@
"ta6Ref": "14.4",
"title": "Please confirm that on completion you will:",
"type": "object",
"required": [
"ta6Required": [
"removeRubbish",
"replaceLightFittings",
"takeReasonableCare",
"leaveKeys"
],
"baspiRequired": [
"removeRubbish"
],
"properties": {
"removeRubbish": {
"baspiRef": "B7.1.1",
Expand Down
9 changes: 8 additions & 1 deletion src/schemas/v2/overlays/baspi.json
Original file line number Diff line number Diff line change
Expand Up @@ -8866,11 +8866,15 @@
"Attached",
"To follow"
]
},
"warrantyDate": {
"baspiRef": "B5.1.1.4"
}
},
"required": [
"details",
"attachments"
"attachments",
"warrantyDate"
]
}
],
Expand Down Expand Up @@ -9698,6 +9702,9 @@
"sellerWillEnsure": {
"baspiRef": "B7.1",
"title": "Please confirm that on completion you will:",
"required": [
"removeRubbish"
],
"properties": {
"removeRubbish": {
"baspiRef": "B7.1.1",
Expand Down
6 changes: 6 additions & 0 deletions src/schemas/v2/overlays/ta6.json
Original file line number Diff line number Diff line change
Expand Up @@ -5334,6 +5334,12 @@
"sellerWillEnsure": {
"ta6Ref": "14.4",
"title": "Please confirm that on completion you will:",
"required": [
"removeRubbish",
"replaceLightFittings",
"takeReasonableCare",
"leaveKeys"
],
"properties": {
"removeRubbish": {
"ta6Ref": "14.4a",
Expand Down
10 changes: 4 additions & 6 deletions src/schemas/v2/pdtf-transaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -21072,6 +21072,10 @@
"Attached",
"To follow"
]
},
"warrantyDate": {
"type": "string",
"format": "date"
}
}
}
Expand Down Expand Up @@ -21745,12 +21749,6 @@
"sellerWillEnsure": {
"title": "Please confirm that on completion you will:",
"type": "object",
"required": [
"removeRubbish",
"replaceLightFittings",
"takeReasonableCare",
"leaveKeys"
],
"properties": {
"removeRubbish": {
"title": "Remove all rubbish and items not included in the sale from the property (including its garden, loft and any sheds or outbuildings) and leave the property in a clean and tidy condition.",
Expand Down
3 changes: 2 additions & 1 deletion src/schemas/v2/skeleton.json
Original file line number Diff line number Diff line change
Expand Up @@ -2580,7 +2580,8 @@
"newHomeWarranty": {
"yesNo": {},
"details": {},
"attachments": {}
"attachments": {},
"warrantyDate": {}
},
"roofingWork": {
"yesNo": {},
Expand Down

0 comments on commit 0c99481

Please sign in to comment.