From 34a709e7e0c870f921b3f968af0fc78afe1074c3 Mon Sep 17 00:00:00 2001 From: data-doge Date: Mon, 13 Feb 2023 15:24:52 -0500 Subject: [PATCH] Update loan history schema. To reflect changes made in https://github.com/department-of-veterans-affairs/vets-website/pull/23249 and https://github.com/department-of-veterans-affairs/vets-website/pull/23254 --- dist/26-1880-schema.json | 17 ----------------- src/schemas/26-1880/schema.js | 15 ++------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/dist/26-1880-schema.json b/dist/26-1880-schema.json index 980d611a8..05ff608da 100644 --- a/dist/26-1880-schema.json +++ b/dist/26-1880-schema.json @@ -976,20 +976,6 @@ } } }, - "loanIntent": { - "type": "object", - "properties": { - "intent": { - "type": "string", - "enum": [ - "ONETIMERESTORATION", - "REFI", - "IRRRL", - "INQUIRY" - ] - } - } - }, "loanHistory": { "type": "object", "properties": { @@ -1010,9 +996,6 @@ }, "propertyOwned": { "type": "boolean" - }, - "willRefinance": { - "type": "boolean" } } } diff --git a/src/schemas/26-1880/schema.js b/src/schemas/26-1880/schema.js index a34314652..ec9d5f2ae 100644 --- a/src/schemas/26-1880/schema.js +++ b/src/schemas/26-1880/schema.js @@ -110,16 +110,6 @@ const schema = { }, }, }, - loanIntent: { - type: 'object', - properties: { - intent: { - type: 'string', - enum: ['ONETIMERESTORATION', 'REFI', 'IRRRL', 'INQUIRY'], - // enumNames are jsx, so we will handle those in vets-website - }, - }, - }, loanHistory: { type: 'object', properties: { @@ -141,9 +131,8 @@ const schema = { propertyOwned: { type: 'boolean', }, - willRefinance: { - type: 'boolean', - }, + // `intent` labels are jsx, so they are handled in vets-website. + // See `src/applications/lgy/coe/form/constants.js`. }, }, },