{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "pablo-moratinos/speaking-events",
  "version": "0.1.0",
  "title": "Speaking Events",
  "category": "widgets",
  "icon": "microphone",
  "description": "Display speaking events organized by year with collapsible sections",
  "example": {
    "attributes": {
      "events": [
        {
          "id": "1",
          "date": "2024-03-15",
          "venue": "WordCamp Europe",
          "eventName": "WordCamp Europe 2024",
          "presentationTitle": "The Future of Block Development",
          "eventUrl": "https://europe.wordcamp.org/2024/",
          "description": "A comprehensive look at the future of WordPress block development and the Gutenberg project."
        },
        {
          "id": "2",
          "date": "2023-11-20",
          "venue": "Tech Conference Center",
          "eventName": "Web Development Summit",
          "presentationTitle": "Modern WordPress Development Practices",
          "eventUrl": "https://webdevsummit.com",
          "description": "Exploring best practices and modern tools for WordPress development."
        }
      ]
    }
  },
  "attributes": {
    "events": {
      "type": "array",
      "default": [],
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "venue": {
            "type": "string"
          },
          "eventName": {
            "type": "string"
          },
          "presentationTitle": {
            "type": "string"
          },
          "eventUrl": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    },
    "yearBackgroundColor": {
      "type": "string",
      "default": "#f8fafc"
    },
    "yearTextColor": {
      "type": "string",
      "default": "#1e293b"
    },
    "yearBackgroundColorExpanded": {
      "type": "string",
      "default": "#3b82f6"
    },
    "yearTextColorExpanded": {
      "type": "string",
      "default": "#ffffff"
    }
  },
  "supports": {
    "html": false,
    "align": true
  },
  "textdomain": "speaking-events",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "render": "file:./render.php"
}