{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/trip-availability-checker",
  "title": "Tripzzy Trip Availability Checker",
  "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='#3EB368' stroke-width='1.8' stroke-linecap='round'/><path d='m9.5 14.5 2 2 3.5-4' stroke='#fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
  "description": "Display the trip availability checker with duration, pricing, features and booking actions. Note: Single trip block.",
  "keywords": [
    "tripzzy",
    "trip",
    "booking",
    "availability",
    "check",
    "price"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "showDuration": {
      "type": "boolean",
      "default": true
    },
    "showTripCode": {
      "type": "boolean",
      "default": true
    },
    "showPricing": {
      "type": "boolean",
      "default": true
    },
    "showFeatures": {
      "type": "boolean",
      "default": true
    },
    "showCheckAvailabilityBtn": {
      "type": "boolean",
      "default": true
    },
    "showEnquiryBtn": {
      "type": "boolean",
      "default": true
    },
    "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"
}