Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add descriptions for both possible variations field types
  • Loading branch information
ockham committed Jul 9, 2024
commit be8a9c2ba3533b080f3bf14cb0834616332d95d3
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