Skip to content

Commit

Permalink
update data.applicant
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Oct 26, 2023
1 parent af70822 commit 7fd0464
Show file tree
Hide file tree
Showing 11 changed files with 277 additions and 229 deletions.
34 changes: 14 additions & 20 deletions examples/data/ldcE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,13 @@ export const validLDCE: Schema = {
},
applicant: {
type: 'individual',
contact: {
name: {
first: 'Roald',
last: 'Dahl',
},
email: '[email protected]',
phone: {
primary: 'Not provided by agent',
},
company: {},
name: {
first: 'Roald',
last: 'Dahl',
},
email: '[email protected]',
phone: {
primary: 'Not provided by agent',
},
address: {
sameAsSiteAddress: true,
Expand Down Expand Up @@ -72,16 +69,13 @@ export const validLDCE: Schema = {
],
},
agent: {
contact: {
name: {
first: 'F',
last: 'Fox',
},
email: '[email protected]',
phone: {
primary: '0234 567 8910',
},
company: {},
name: {
first: 'F',
last: 'Fox',
},
email: '[email protected]',
phone: {
primary: '0234 567 8910',
},
address: {
line1: 'The Tree',
Expand Down
17 changes: 7 additions & 10 deletions examples/data/ldcP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ export const validLDCP: Schema = {
},
applicant: {
type: 'individual',
contact: {
name: {
first: 'Enid',
last: 'Blyton',
},
email: '[email protected]',
phone: {
primary: '05555 555 555',
},
company: {},
name: {
first: 'Enid',
last: 'Blyton',
},
email: '[email protected]',
phone: {
primary: '05555 555 555',
},
address: {
sameAsSiteAddress: true,
Expand Down
34 changes: 14 additions & 20 deletions examples/data/planningPermission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,13 @@ export const validPlanningPermission: Schema = {
},
applicant: {
type: 'individual',
contact: {
name: {
first: 'David',
last: 'Bowie',
},
email: '[email protected]',
phone: {
primary: 'Not provided by agent',
},
company: {},
name: {
first: 'David',
last: 'Bowie',
},
email: '[email protected]',
phone: {
primary: 'Not provided by agent',
},
address: {
sameAsSiteAddress: true,
Expand All @@ -57,16 +54,13 @@ export const validPlanningPermission: Schema = {
certificate: 'a',
},
agent: {
contact: {
name: {
first: 'Ziggy',
last: 'Stardust',
},
email: '[email protected]',
phone: {
primary: '01100 0110 0011',
},
company: {},
name: {
first: 'Ziggy',
last: 'Stardust',
},
email: '[email protected]',
phone: {
primary: '01100 0110 0011',
},
address: {
line1: '40 Stansfield Road',
Expand Down
22 changes: 10 additions & 12 deletions examples/data/priorApproval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,16 @@ export const validPriorApproval: Schema = {
},
applicant: {
type: 'company',
contact: {
name: {
first: 'William',
last: 'Shakespeare',
},
email: '[email protected]',
phone: {
primary: '2830407283',
},
company: {
name: "Lord Chamberlain's Men",
},
name: {
first: 'William',
last: 'Shakespeare',
},
email: '[email protected]',
phone: {
primary: '2830407283',
},
company: {
name: "Lord Chamberlain's Men",
},
address: {
sameAsSiteAddress: true,
Expand Down
34 changes: 14 additions & 20 deletions examples/validLawfulDevelopmentCertificateExisting.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@
},
"applicant": {
"type": "individual",
"contact": {
"name": {
"first": "Roald",
"last": "Dahl"
},
"email": "[email protected]",
"phone": {
"primary": "Not provided by agent"
},
"company": {}
"name": {
"first": "Roald",
"last": "Dahl"
},
"email": "[email protected]",
"phone": {
"primary": "Not provided by agent"
},
"address": {
"sameAsSiteAddress": true
Expand Down Expand Up @@ -70,16 +67,13 @@
]
},
"agent": {
"contact": {
"name": {
"first": "F",
"last": "Fox"
},
"email": "[email protected]",
"phone": {
"primary": "0234 567 8910"
},
"company": {}
"name": {
"first": "F",
"last": "Fox"
},
"email": "[email protected]",
"phone": {
"primary": "0234 567 8910"
},
"address": {
"line1": "The Tree",
Expand Down
17 changes: 7 additions & 10 deletions examples/validLawfulDevelopmentCertificateProposed.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@
},
"applicant": {
"type": "individual",
"contact": {
"name": {
"first": "Enid",
"last": "Blyton"
},
"email": "[email protected]",
"phone": {
"primary": "05555 555 555"
},
"company": {}
"name": {
"first": "Enid",
"last": "Blyton"
},
"email": "[email protected]",
"phone": {
"primary": "05555 555 555"
},
"address": {
"sameAsSiteAddress": true
Expand Down
34 changes: 14 additions & 20 deletions examples/validPlanningPermission.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@
},
"applicant": {
"type": "individual",
"contact": {
"name": {
"first": "David",
"last": "Bowie"
},
"email": "[email protected]",
"phone": {
"primary": "Not provided by agent"
},
"company": {}
"name": {
"first": "David",
"last": "Bowie"
},
"email": "[email protected]",
"phone": {
"primary": "Not provided by agent"
},
"address": {
"sameAsSiteAddress": true
Expand All @@ -55,16 +52,13 @@
"certificate": "a"
},
"agent": {
"contact": {
"name": {
"first": "Ziggy",
"last": "Stardust"
},
"email": "[email protected]",
"phone": {
"primary": "01100 0110 0011"
},
"company": {}
"name": {
"first": "Ziggy",
"last": "Stardust"
},
"email": "[email protected]",
"phone": {
"primary": "01100 0110 0011"
},
"address": {
"line1": "40 Stansfield Road",
Expand Down
22 changes: 10 additions & 12 deletions examples/validPriorApproval.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,16 @@
},
"applicant": {
"type": "company",
"contact": {
"name": {
"first": "William",
"last": "Shakespeare"
},
"email": "[email protected]",
"phone": {
"primary": "2830407283"
},
"company": {
"name": "Lord Chamberlain's Men"
}
"name": {
"first": "William",
"last": "Shakespeare"
},
"email": "[email protected]",
"phone": {
"primary": "2830407283"
},
"company": {
"name": "Lord Chamberlain's Men"
},
"address": {
"sameAsSiteAddress": true
Expand Down
Loading

0 comments on commit 7fd0464

Please sign in to comment.