{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/trip-infos",
  "title": "Tripzzy Trip Infos",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='4' y='4' width='16' height='16' rx='3' fill='#3EB368'/><path d='M8 9h8M8 12.5h8M8 16h5' stroke='#fff' stroke-width='1.8' stroke-linecap='round'/><circle cx='16.5' cy='16' r='1.4' fill='#fff'/></svg>",
  "description": "Display the trip key facts in list or grid layouts. Note: Single trip block.",
  "keywords": [
    "tripzzy",
    "trip",
    "infos",
    "facts",
    "details"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "showTitle": {
      "type": "boolean",
      "default": true
    },
    "titleText": {
      "type": "string",
      "default": ""
    },
    "infosLayout": {
      "type": "string",
      "default": "list"
    },
    "gridColumns": {
      "type": "number",
      "default": 3
    },
    "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"
}