Skip to content

Commit

Permalink
lots of type updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Sep 29, 2023
1 parent 1fd0757 commit 6556e35
Show file tree
Hide file tree
Showing 11 changed files with 3,527 additions and 2,016 deletions.
21 changes: 21 additions & 0 deletions examples/data/Applicant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,27 @@ export const validApplicant: Schema['data']['applicant'] = {
siteContact: {
role: 'applicant',
},
// interest: 'owner.co',
// ownership: {
// certificate: 'a',
// owners: [
// {
// name: 'Owner 1',
// address: {
// line1: '123 Main Street',
// town: 'Anywhere',
// postcode: 'SE5 0HU'
// },
// noticeGiven: true,
// noticeDate: '2023-10-01',
// },
// {
// name: 'Owner 2',
// address: 'Same as Owner 1',
// noticeGiven: false,
// },
// ],
// },
};

export const validAgent: Schema['data']['applicant'] = {
Expand Down
14 changes: 14 additions & 0 deletions examples/data/Property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ export const validProperty: Schema['data']['property'] = {
value: 'residential.HMO.parent',
description: 'HMO Parent',
},
boundary: {
site: 'GeoJSON TBD',
area: {
squareMetres: 10000,
hectares: 1,
},
},
constraints: {
planning: [
{
Expand All @@ -36,4 +43,11 @@ export const validProperty: Schema['data']['property'] = {
},
],
},
titleNumber: {
known: 'Yes',
number: '123',
},
EPC: {
known: 'The property does not have one',
},
};
14 changes: 14 additions & 0 deletions examples/validExampleAgent.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@
"value": "residential.HMO.parent",
"description": "HMO Parent"
},
"boundary": {
"site": "GeoJSON TBD",
"area": {
"squareMetres": 10000,
"hectares": 1
}
},
"constraints": {
"planning": [
{
Expand All @@ -113,6 +120,13 @@
]
}
]
},
"titleNumber": {
"known": "Yes",
"number": "123"
},
"EPC": {
"known": "The property does not have one"
}
},
"proposal": {
Expand Down
14 changes: 14 additions & 0 deletions examples/validExampleApplicant.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
"value": "residential.HMO.parent",
"description": "HMO Parent"
},
"boundary": {
"site": "GeoJSON TBD",
"area": {
"squareMetres": 10000,
"hectares": 1
}
},
"constraints": {
"planning": [
{
Expand All @@ -87,6 +94,13 @@
]
}
]
},
"titleNumber": {
"known": "Yes",
"number": "123"
},
"EPC": {
"known": "The property does not have one"
}
},
"proposal": {
Expand Down
Loading

0 comments on commit 6556e35

Please sign in to comment.