Skip to content

Commit

Permalink
update: adjust schema
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Mar 14, 2024
1 parent b5e3d62 commit 28ebc6a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions schema/system/iframe_message.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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"
Expand Down

0 comments on commit 28ebc6a

Please sign in to comment.