From 45ff6dd7e873fec8cc59edb3788d1208c4c86ee8 Mon Sep 17 00:00:00 2001 From: ConnorJeff <122034971+ConnorJeff@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:29:48 -0500 Subject: [PATCH] MBMS-69224 Pre-need and Pre-need-integration SSN schema revisions (#955) * MBMS-69224 Pre-need and Pre-need-integration SSN schema revisions * Did not mean to change this one * MBMS-69224 Updated schema version --- dist/40-10007-INTEGRATION-schema.json | 2 +- dist/40-10007-schema.json | 2 +- package.json | 2 +- src/schemas/40-10007-integration/schema.js | 2 +- src/schemas/40-10007/schema.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/40-10007-INTEGRATION-schema.json b/dist/40-10007-INTEGRATION-schema.json index 06a92b21..2f938cfc 100644 --- a/dist/40-10007-INTEGRATION-schema.json +++ b/dist/40-10007-INTEGRATION-schema.json @@ -291,7 +291,7 @@ }, "ssn": { "type": "string", - "pattern": "^\\d{3}\\d{2}\\d{4}$" + "pattern": "^\\d{3}-?\\d{2}-?\\d{4}$" }, "centralMailVaFile": { "type": "string", diff --git a/dist/40-10007-schema.json b/dist/40-10007-schema.json index 2b11f181..46ad1cc9 100644 --- a/dist/40-10007-schema.json +++ b/dist/40-10007-schema.json @@ -291,7 +291,7 @@ }, "ssn": { "type": "string", - "pattern": "^\\d{3}\\d{2}\\d{4}$" + "pattern": "^\\d{3}-?\\d{2}-?\\d{4}$" }, "centralMailVaFile": { "type": "string", diff --git a/package.json b/package.json index f51ad97e..385436f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vets-json-schema", - "version": "24.5.5", + "version": "24.5.6", "license": "CC0-1.0", "repository": { "type": "git", diff --git a/src/schemas/40-10007-integration/schema.js b/src/schemas/40-10007-integration/schema.js index 16d03f6c..17da0ae1 100644 --- a/src/schemas/40-10007-integration/schema.js +++ b/src/schemas/40-10007-integration/schema.js @@ -186,7 +186,7 @@ definitions.phone.minLength = 10; definitions.phone.maxLength = 20; definitions.phone.pattern = '^(?:\\D*\\d){10,15}\\D*$'; -definitions.ssn.pattern = '^\\d{3}\\d{2}\\d{4}$'; +definitions.ssn.pattern = '^\\d{3}-?\\d{2}-?\\d{4}$'; definitions.ethnicity = { type: 'string', diff --git a/src/schemas/40-10007/schema.js b/src/schemas/40-10007/schema.js index fb9c56e9..b879d682 100644 --- a/src/schemas/40-10007/schema.js +++ b/src/schemas/40-10007/schema.js @@ -185,7 +185,7 @@ definitions.phone.minLength = 10; definitions.phone.maxLength = 20; definitions.phone.pattern = '^(?:\\D*\\d){10,15}\\D*$'; -definitions.ssn.pattern = '^\\d{3}\\d{2}\\d{4}$'; +definitions.ssn.pattern = '^\\d{3}-?\\d{2}-?\\d{4}$'; definitions.race = { type: 'object',