From 28ebc6afb520cfe20d1e93b061ebbc5a8d2e326c Mon Sep 17 00:00:00 2001 From: VsevolodX <79542055+VsevolodX@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:11:42 -0700 Subject: [PATCH] update: adjust schema --- schema/system/iframe_message.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/schema/system/iframe_message.json b/schema/system/iframe_message.json index f56c93400..67b0c7275 100644 --- a/schema/system/iframe_message.json +++ b/schema/system/iframe_message.json @@ -17,6 +17,14 @@ "description": "The content of the message.", "type": "object", "properties": { + "action" : { + "description": "The action to be performed upon receiving the message.", + "type": "string", + "enum": [ + "set-data", + "get-data" + ] + }, "data": { "description": "The data to be sent.", "type": [ @@ -26,10 +34,6 @@ "boolean" ] }, - "requestData": { - "description": "Flag to indicate if the message is a request for data.", - "type": "boolean" - }, "variableName": { "description": "The name of the variable for data to be stored in.", "type": "string"