{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/related-trips",
  "title": "Tripzzy Related Trips",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='4' width='8' height='7' rx='1.5' fill='#3EB368'/><rect x='13' y='4' width='8' height='7' rx='1.5' fill='#3EB368' opacity='0.55'/><rect x='3' y='13' width='8' height='7' rx='1.5' fill='#3EB368' opacity='0.55'/><rect x='13' y='13' width='8' height='7' rx='1.5' fill='#3EB368'/></svg>",
  "description": "Display trips related to the current trip with trip cards.",
  "keywords": [
    "tripzzy",
    "trip",
    "related",
    "tour",
    "travel"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "title": {
      "type": "string",
      "default": "Related Trips"
    },
    "showSectionTitle": {
      "type": "boolean",
      "default": true
    },
    "relationTaxonomy": {
      "type": "string",
      "default": "tripzzy_trip_destination"
    },
    "listBy": {
      "type": "string",
      "default": "latest"
    },
    "numberOfItems": {
      "type": "number",
      "default": 3
    },
    "previewTripId": {
      "type": "number",
      "default": 0
    },
    "view_mode": {
      "type": "string",
      "default": "grid"
    },
    "showTitle": {
      "type": "boolean",
      "default": true
    },
    "showPrice": {
      "type": "boolean",
      "default": true
    },
    "showDestination": {
      "type": "boolean",
      "default": true
    },
    "showDuration": {
      "type": "boolean",
      "default": true
    },
    "showButtons": {
      "type": "boolean",
      "default": true
    }
  },
  "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"
}