From 2e9d1ad9ce689b7d1769a5933fe2bee59f329225 Mon Sep 17 00:00:00 2001 From: siarhei-charniak Date: Tue, 16 Jul 2024 14:08:49 +0300 Subject: [PATCH] fix schemas --- schemas/user/user.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schemas/user/user.json b/schemas/user/user.json index e3af535..4a35d66 100644 --- a/schemas/user/user.json +++ b/schemas/user/user.json @@ -86,6 +86,16 @@ "description": "Object that contains custom field", "type": "object", "additionalProperties": true + }, + "preferredEmailCommunication": { + "type": "array", + "items": { + "type": "string", + "enum": ["Support", "Programs", "Services"] + }, + "maxItems": 3, + "uniqueItems": true, + "description": "Preferred email communication types" } }, "additionalProperties": false