Schema

Last modified:

To improve development with autocomplete and validation in your IDE, Blockstudio introduces its own schema:

View Blockstudio schema

The Blockstudio schema is an (always up-to-date) copy of the WordPress core block.json schema with an additional blockstudio property that houses all plugin features like field schemas without interfering with potential future core properties

Add to JSON

Simply add a $schema key with a value of https://app.blockstudio.dev/schema to your block.json and your IDE should start to give you hints about Blockstudio specific properties.

block.json

            {
      "$schema": "https://app.blockstudio.dev/schema",
      "name": "blockstudio/native",
      "title": "Native Block",
      "category": "text",
      "icon": "star-filled",
      "description": "Native Blockstudio block.",
      "blockstudio": true
    }

      
Copy
blockstudio schema

🍪 This website uses cookies to ensure you get the best experience on our website.

Accept Decline