Skip to content

Commit

Permalink
Corrected isNewBuild structure and enhanced title of B5.1 (#125)
Browse files Browse the repository at this point in the history
* correct is new build structure

* corrected title by adding idemnity

* indemnity
  • Loading branch information
mir491 authored Nov 28, 2023
1 parent ab89965 commit 975e6b7
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 16 deletions.
12 changes: 8 additions & 4 deletions src/schemas/v2/combined.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,14 @@
},
"isNewBuild": {
"title": "Is the property a New Build?",
"yesNo": {
"type": "string",
"enum": ["Yes", "No"]
"type": "object",
"properties": {
"yesNo": {
"type": "string",
"enum": ["Yes", "No"]
}
}

},
"location": {
"title": "Geographical location",
Expand Down Expand Up @@ -22417,7 +22421,7 @@
"ta6Ref": "5.1",
"rdsRef": "Certificates",
"piqRef": "B5.1",
"title": "Are there any valid guarantees or warranties relating to this property?",
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
"type": "string",
"enum": ["Yes", "No"]
}
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/v2/overlays/baspi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9457,7 +9457,7 @@
"properties": {
"hasValidGuaranteesOrWarranties": {
"baspiRef": "B5.1",
"title": "Are there any valid guarantees or warranties relating to this property?",
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
"enum": [
"Yes",
"No"
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/v2/overlays/piq.json
Original file line number Diff line number Diff line change
Expand Up @@ -3484,7 +3484,7 @@
"properties": {
"hasValidGuaranteesOrWarranties": {
"piqRef": "B5.1",
"title": "Are there any valid guarantees or warranties relating to this property?",
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
"enum": [
"Yes",
"No"
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/v2/overlays/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -3471,7 +3471,7 @@
"properties": {
"hasValidGuaranteesOrWarranties": {
"rdsRef": "Certificates",
"title": "Are there any valid guarantees or warranties relating to this property?",
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
"enum": [
"Yes",
"No"
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/v2/overlays/ta6.json
Original file line number Diff line number Diff line change
Expand Up @@ -5114,7 +5114,7 @@
"properties": {
"hasValidGuaranteesOrWarranties": {
"ta6Ref": "5.1",
"title": "Are there any valid guarantees or warranties relating to this property?",
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
"enum": [
"Yes",
"No"
Expand Down
17 changes: 10 additions & 7 deletions src/schemas/v2/pdtf-transaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,15 @@
},
"isNewBuild": {
"title": "Is the property a New Build?",
"yesNo": {
"type": "string",
"enum": [
"Yes",
"No"
]
"type": "object",
"properties": {
"yesNo": {
"type": "string",
"enum": [
"Yes",
"No"
]
}
}
},
"location": {
Expand Down Expand Up @@ -19586,7 +19589,7 @@
"type": "object",
"properties": {
"hasValidGuaranteesOrWarranties": {
"title": "Are there any valid guarantees or warranties relating to this property?",
"title": "Are there any valid guarantees, warranties or indemnity insurances relating to this property?",
"type": "string",
"enum": [
"Yes",
Expand Down
4 changes: 3 additions & 1 deletion src/schemas/v2/skeleton.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
},
"uprn": {},
"propertyType": {},
"isNewBuild": {},
"isNewBuild": {
"yesNo": {}
},
"location": {
"latitude": {},
"longitude": {},
Expand Down

0 comments on commit 975e6b7

Please sign in to comment.