Skip to content

Commit

Permalink
update: adjust payload schema
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Mar 13, 2024
1 parent 5605189 commit bdf3516
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion schema/system/jupyterlite_message.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,26 @@
},
"payload": {
"description": "The content of the message",
"type": "object"
"type": "object",
"properties": {
"data": {
"description": "The data to be sent",
"type": [
"object",
"string",
"number",
"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 JupyterLite notebook",
"type": "string"
}
}
}
},
"required": [
Expand Down

0 comments on commit bdf3516

Please sign in to comment.