feat(blockTools): add menus to block schema

This commit is contained in:
Gervwyk 2020-11-17 14:08:20 +02:00
parent 95faa66b0b
commit 412f08a04d

View File

@ -1,19 +1,13 @@
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"type"
],
"required": ["id", "type"],
"properties": {
"id": {
"type": "string"
},
"required": {
"type": [
"boolean",
"object"
]
"type": ["boolean", "object"]
},
"type": {
"type": "string"
@ -33,6 +27,12 @@
"actions": {
"type": "object"
},
"menus": {
"type": "array",
"items": {
"type": "object"
}
},
"areas": {
"type": "object",
"patternProperties": {
@ -50,4 +50,4 @@
}
}
}
}
}