diff --git a/schemas/json/block.json b/schemas/json/block.json index 0d3fca0b8fd61..ca059291340cc 100644 --- a/schemas/json/block.json +++ b/schemas/json/block.json @@ -594,6 +594,31 @@ "default": false } } + }, + "interactivity": { + "description": "Indicates if the block is using Interactivity API features.", + "oneOf": [ + { + "type": "boolean", + "description": "Indicates whether the block is using the Interactivity API directives.", + "default": false + }, + { + "type": "object", + "properties": { + "clientNavigation": { + "type": "boolean", + "description": "Indicates whether a block is compatible with the Interactivity API client-side navigation.\n\nSet it to true only if the block is not interactive or if it is interactive using the Interactivity API. Set it to false if the block is interactive but uses vanilla JS, jQuery or another JS framework/library other than the Interactivity API.", + "default": false + }, + "interactive": { + "type": "boolean", + "description": "Indicates whether the block is using the Interactivity API directives.", + "default": false + } + } + } + ] } }, "additionalProperties": true @@ -694,31 +719,6 @@ } } ] - }, - "interactivity": { - "description": "Indicates if the block is using Interactivity API features.", - "oneOf": [ - { - "type": "boolean", - "description": "Indicates whether the block is using the Interactivity API directives.", - "default": false - }, - { - "type": "object", - "properties": { - "clientNavigation": { - "type": "boolean", - "description": "Indicates whether a block is compatible with the Interactivity API client-side navigation.\n\nSet it to true only if the block is not interactive or if it is interactive using the Interactivity API. Set it to false if the block is interactive but uses vanilla JS, jQuery or another JS framework/library other than the Interactivity API.", - "default": false - }, - "interactive": { - "type": "boolean", - "description": "Indicates whether the block is using the Interactivity API directives.", - "default": false - } - } - } - ] } } },