{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "nemtly/event-countdown",
  "version": "1.0.0",
  "title": "Event Countdown",
  "category": "nemtly-blocks",
  "icon": "clock",
  "description": "Displays a live countdown to the start of an event.",
  "keywords": [
    "countdown",
    "timer",
    "events",
    "booking"
  ],
  "usesContext": [
    "postId",
    "postType",
    "queryId"
  ],
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "typography": {
      "fontSize": true,
      "lineHeight": true
    },
    "color": {
      "text": true,
      "background": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    }
  },
  "attributes": {
    "eventId": {
      "type": "number"
    },
    "style": {
      "type": "string",
      "default": "card",
      "enum": [
        "card",
        "inline",
        "minimal"
      ]
    },
    "showSeconds": {
      "type": "boolean",
      "default": true
    },
    "showLabels": {
      "type": "boolean",
      "default": true
    },
    "endMessage": {
      "type": "string",
      "default": "Event Started!"
    },
    "hideWhenPast": {
      "type": "boolean",
      "default": false
    }
  },
  "textdomain": "nemtly-booking",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./style-index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}