WordPress · JSON Structure

Wordpress Block Type Structure

A registered WordPress block type

Type: object Properties: 6
CMSContent ManagementOpen SourceWordPress

BlockType is a JSON Structure definition published by WordPress, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name title description category attributes is_dynamic

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-structure/wordpress-block-type-structure.json",
  "name": "BlockType",
  "description": "A registered WordPress block type",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique name identifying the block type",
      "example": "core/paragraph"
    },
    "title": {
      "type": "string",
      "description": "Human-readable block type label",
      "example": "Paragraph"
    },
    "description": {
      "type": "string",
      "description": "Short description for the block type",
      "example": "Start with the basic building block of narrative."
    },
    "category": {
      "type": "string",
      "description": "Block category",
      "example": "text"
    },
    "attributes": {
      "type": "object",
      "description": "Block attributes",
      "additionalProperties": {
        "type": "object"
      }
    },
    "is_dynamic": {
      "type": "boolean",
      "description": "Whether the block is dynamic",
      "example": false
    }
  }
}