From 2cc8d6c96f80a73d3af8d013d0dbdb69329d60a9 Mon Sep 17 00:00:00 2001 From: Dylan Phelan Date: Tue, 5 Oct 2021 15:46:35 -0400 Subject: [PATCH 1/2] updated schema; added titles to each possible to format --- src/helpers/schemas/config.schema.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/helpers/schemas/config.schema.json b/src/helpers/schemas/config.schema.json index 02b80470..ecce3ba6 100644 --- a/src/helpers/schemas/config.schema.json +++ b/src/helpers/schemas/config.schema.json @@ -58,12 +58,14 @@ }, "to": { "title": "To", - "anyOf": [ + "oneOf": [ { + "title": "To, Comma Separated Emails", "type": "string", "format": "comma-separated-emails" }, { + "title": "To, Array of Emails", "type": "array", "items": { "type": "string", From 00a32be3a54e692e28d1f88f9ff12bdae644b7c3 Mon Sep 17 00:00:00 2001 From: Dylan Phelan Date: Thu, 7 Oct 2021 17:05:41 -0400 Subject: [PATCH 2/2] JA1 changes --- src/helpers/schemas/config.schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/schemas/config.schema.json b/src/helpers/schemas/config.schema.json index ecce3ba6..be659c9c 100644 --- a/src/helpers/schemas/config.schema.json +++ b/src/helpers/schemas/config.schema.json @@ -60,12 +60,12 @@ "title": "To", "oneOf": [ { - "title": "To, Comma Separated Emails", + "title": "To (comma separated list of emails)", "type": "string", "format": "comma-separated-emails" }, { - "title": "To, Array of Emails", + "title": "To (list of emails)", "type": "array", "items": { "type": "string",