{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/trip-duration",
  "title": "Tripzzy Trip Duration",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='#3EB368'/><path d='M12 7v5l3.5 2' stroke='#fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
  "description": "Display the trip duration with icon in inline, labeled or pill layouts. Note: Single trip block.",
  "keywords": [
    "tripzzy",
    "trip",
    "duration",
    "days",
    "nights"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "durationLayout": {
      "type": "string",
      "default": "inline"
    },
    "textAlign": {
      "type": "string",
      "default": "left"
    },
    "showIcon": {
      "type": "boolean",
      "default": true
    },
    "showLabel": {
      "type": "boolean",
      "default": true
    },
    "iconData": {
      "type": "object",
      "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",
    "file:./index.css"
  ],
  "style": "file:./style-index.css",
  "render": "file:./render.php"
}