Skip to content

Commit

Permalink
Add descriptions for both possible variations field types
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jul 9, 2024
1 parent 0ea4266 commit be8a9c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -900,10 +900,12 @@
"description": "Block Variations is the API that allows a block to have similar versions of it, but all these versions share some common functionality.",
"oneOf": [
{
"type": "string"
"type": "string",
"description": "The path to a PHP file that returns an array of block variations."
},
{
"type": "array",
"description": "An array of block variations.",
"items": {
"type": "object",
"required": [ "name", "title" ],
Expand Down

0 comments on commit be8a9c2

Please sign in to comment.