diff --git a/schemas/get-birth-certificate.json b/schemas/get-birth-certificate.json index fce381b..f898d54 100644 --- a/schemas/get-birth-certificate.json +++ b/schemas/get-birth-certificate.json @@ -108,13 +108,13 @@ "name": "email", "type": "email", "label": "Email address", - "required": false + "required": true }, { "name": "telephoneNumber", "type": "string", "label": "Telephone number", - "required": false + "required": true } ] }, diff --git a/schemas/get-death-certificate.json b/schemas/get-death-certificate.json index 0bd4be0..7c2dc85 100644 --- a/schemas/get-death-certificate.json +++ b/schemas/get-death-certificate.json @@ -123,7 +123,7 @@ ] }, { - "name": "relationship", + "name": "relationshipToPerson", "type": "string", "label": "Tell us your relationship with the deceased", "required": true, @@ -132,7 +132,16 @@ } }, { - "name": "reasonForRequest", + "name": "relationshipOtherDescription", + "type": "string", + "label": "Please describe your relationship", + "required": false, + "validations": { + "max": 100 + } + }, + { + "name": "reasonForCertificate", "type": "string", "label": "Tell us about why you need this certificate", "required": true, diff --git a/src/email/templates/death-certificate.hbs b/src/email/templates/death-certificate.hbs index 435fefb..93b8cf1 100644 --- a/src/email/templates/death-certificate.hbs +++ b/src/email/templates/death-certificate.hbs @@ -28,7 +28,7 @@ Application Submitted: {{processedAt}}
Relationship to Deceased: - {{relationship}} + {{relationshipToPerson}}