From d6364baab8139a6679e196113e29af8735a62db5 Mon Sep 17 00:00:00 2001 From: Vignesh <125984866+Vignesh-kalyanasundaram@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:40:44 +0530 Subject: [PATCH] EDGPATRON-151 Modifying api contract for Post api of LC User registration (#129) * EDGPATRON-151 Modifying api contract for Post api of LC User registration --- ramls/staging_user.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ramls/staging_user.json b/ramls/staging_user.json index c2041df..207a916 100644 --- a/ramls/staging_user.json +++ b/ramls/staging_user.json @@ -7,13 +7,13 @@ "isEmailVerified": { "description": "A flag to determine if a patron is activated/email verification completed.", "type": "boolean", - "example": true + "default": false }, "status": { "description": "Status of the patron, whether TIER-1 or TIER-2.", "type": "string", "enum": ["TIER-1", "TIER-2"], - "example": "TIER-1" + "default": "TIER-1" }, "generalInfo": { "type": "object", @@ -100,5 +100,7 @@ "maxItems": 3, "uniqueItems": true } - } + }, + "additionalProperties": false, + "required": ["generalInfo", "contactInfo"] }