From b2d26ace278e75f32d6b92433bb118b433900c24 Mon Sep 17 00:00:00 2001 From: augustlindemer <118665588+augustlindemer@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:19:57 +0100 Subject: [PATCH 1/2] change applicant ownership tenant to lessee --- types/schemas/application/data/Applicant.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/schemas/application/data/Applicant.ts b/types/schemas/application/data/Applicant.ts index 2d5b6089..19146ae6 100644 --- a/types/schemas/application/data/Applicant.ts +++ b/types/schemas/application/data/Applicant.ts @@ -40,7 +40,7 @@ export interface Ownership { | 'owner' | 'owner.sole' | 'owner.co' - | 'tenant' + | 'lessee' | 'occupier' | 'other'; certificate?: 'a' | 'b' | 'c' | 'd'; @@ -82,7 +82,7 @@ export type Owners = OwnersNoticeGiven | OwnersNoNoticeGiven | OwnersNoticeDate; export interface BaseOwners { name: string; address: Address | string; - interest?: 'owner' | 'tenant' | 'occupier' | 'other'; + interest?: 'owner' | 'lessee' | 'occupier' | 'other'; } // LDC requires `noticeGiven`, and `noNoticeReason` if false From 317bb0600a001689b73fa0e32822a72c4640555c Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 15 Oct 2024 12:51:10 +0200 Subject: [PATCH 2/2] update prototypeApplication too --- schemas/application.json | 8 ++++---- schemas/prototypeApplication.json | 2 +- types/schemas/prototypeApplication/data/Applicant.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schemas/application.json b/schemas/application.json index ca048c05..3be104a8 100644 --- a/schemas/application.json +++ b/schemas/application.json @@ -8359,7 +8359,7 @@ "interest": { "enum": [ "owner", - "tenant", + "lessee", "occupier", "other" ], @@ -8400,7 +8400,7 @@ "interest": { "enum": [ "owner", - "tenant", + "lessee", "occupier", "other" ], @@ -8436,7 +8436,7 @@ "interest": { "enum": [ "owner", - "tenant", + "lessee", "occupier", "other" ], @@ -8494,7 +8494,7 @@ "owner", "owner.sole", "owner.co", - "tenant", + "lessee", "occupier", "other" ], diff --git a/schemas/prototypeApplication.json b/schemas/prototypeApplication.json index 18cd1eef..2a8361ac 100644 --- a/schemas/prototypeApplication.json +++ b/schemas/prototypeApplication.json @@ -4753,7 +4753,7 @@ "OwnershipInterest": { "enum": [ "owner", - "tenant", + "lessee", "occupier", "other" ], diff --git a/types/schemas/prototypeApplication/data/Applicant.ts b/types/schemas/prototypeApplication/data/Applicant.ts index ce91be28..3f629be1 100644 --- a/types/schemas/prototypeApplication/data/Applicant.ts +++ b/types/schemas/prototypeApplication/data/Applicant.ts @@ -67,7 +67,7 @@ export interface ApplicantAddressNotSameSite extends UserAddress { sameAsSiteAddress: false; } -export type OwnershipInterest = 'owner' | 'tenant' | 'occupier' | 'other'; +export type OwnershipInterest = 'owner' | 'lessee' | 'occupier' | 'other'; export interface BaseOwners { name: string;