diff --git a/schemas/json/block.json b/schemas/json/block.json index 7ac384db798ca5..299327a96a64b8 100644 --- a/schemas/json/block.json +++ b/schemas/json/block.json @@ -798,6 +798,20 @@ } ] }, + "viewScriptModule": { + "description": "Block type frontend script module definition. It will be enqueued only when viewing the content on the front of the site.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, "editorStyle": { "description": "Block type editor style definition. It will only be enqueued in the context of the editor.", "oneOf": [