{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/trip-availability",
  "title": "Tripzzy Trip Availability",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='4' y='5' width='16' height='15' rx='2' fill='#3EB368'/><path d='M8 3v4M16 3v4M4 10h16' stroke='#fff' stroke-width='1.8' stroke-linecap='round'/><circle cx='9' cy='14.5' r='1.1' fill='#fff'/><circle cx='13' cy='14.5' r='1.1' fill='#fff'/><circle cx='17' cy='14.5' r='1.1' fill='#fff'/></svg>",
  "description": "Display the trip departure dates with an optional section title. Note: Single trip block.",
  "keywords": [
    "tripzzy",
    "trip",
    "availability",
    "dates",
    "departure",
    "calendar"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "showTitle": {
      "type": "boolean",
      "default": true
    },
    "titleText": {
      "type": "string",
      "default": ""
    },
    "previewTripId": {
      "type": "number",
      "default": 0
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "className": true,
    "spacing": {
      "padding": true,
      "margin": [
        "top",
        "bottom"
      ]
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": [
    "tripzzy-admin-block-editor"
  ],
  "style": "file:./style-index.css",
  "render": "file:./render.php"
}