{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "nemtly/event-calendar",
    "version": "1.0.0",
    "title": "Event Calendar",
    "category": "nemtly-blocks",
    "icon": "calendar-alt",
    "description": "Displays an interactive event calendar with month, week, day, and list views.",
    "keywords": [ "calendar", "events", "booking", "schedule" ],
    "supports": {
        "html": false,
        "align": [ "wide", "full" ],
        "spacing": {
            "margin": true,
            "padding": true
        }
    },
    "attributes": {
        "defaultView": {
            "type": "string",
            "default": ""
        },
        "availableViews": {
            "type": "array",
            "items": { "type": "string" },
            "default": []
        },
        "showToolbar": {
            "type": "boolean",
            "default": true
        },
        "showFilters": {
            "type": "boolean",
            "default": true
        },
        "categories": {
            "type": "array",
            "default": []
        },
        "tags": {
            "type": "array",
            "default": []
        },
        "eventType": {
            "type": "string",
            "default": ""
        },
        "firstDayOfWeek": {
            "type": "integer",
            "default": 0
        },
        "eventsPerCell": {
            "type": "integer",
            "default": 3
        },
        "timeFormat": {
            "type": "string",
            "default": "site_default"
        },
        "showEventTime": {
            "type": "boolean",
            "default": true
        },
        "showBookingBtn": {
            "type": "boolean",
            "default": true
        },
        "showPastEvents": {
            "type": "boolean",
            "default": false
        },
        "colorBy": {
            "type": "string",
            "default": "category"
        },
        "categoryColors": {
            "type": "object",
            "default": {}
        },
        "calendarHeight": {
            "type": "string",
            "default": "auto"
        },
        "calendarHeightPx": {
            "type": "integer",
            "default": 600
        }
    },
    "textdomain": "nemtly-booking",
    "editorScript": "file:./index.js",
    "style": "file:./style-index.css"
}
