{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tripzzy/trip-meta",
  "title": "Tripzzy Trip Meta",
  "category": "tripzzy",
  "icon": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='8' cy='12' r='6' fill='#3EB368'/><circle cx='8' cy='8' r='1.1' fill='#fff'/><path d='M8 10.8v3.7' stroke='#fff' stroke-width='1.8' stroke-linecap='round'/><path d='M15.5 8h5M15.5 12h5M15.5 16h5' stroke='#3EB368' stroke-width='1.8' stroke-linecap='round'/></svg>",
  "description": "Display trip metadata with icons and labels in list, inline or grid layouts. Note: Single trip block.",
  "keywords": [
    "tripzzy",
    "trip",
    "meta",
    "info"
  ],
  "textdomain": "default",
  "attributes": {
    "blockId": {
      "type": "string",
      "default": ""
    },
    "showDestination": {
      "type": "boolean",
      "default": true
    },
    "showType": {
      "type": "boolean",
      "default": true
    },
    "showDifficulty": {
      "type": "boolean",
      "default": true
    },
    "showCode": {
      "type": "boolean",
      "default": true
    },
    "showDuration": {
      "type": "boolean",
      "default": true
    },
    "showGroupSize": {
      "type": "boolean",
      "default": true
    },
    "showIcons": {
      "type": "boolean",
      "default": true
    },
    "showLabels": {
      "type": "boolean",
      "default": true
    },
    "metaLayout": {
      "type": "string",
      "default": "list"
    },
    "gridColumns": {
      "type": "number",
      "default": 3
    },
    "destinationStyle": {
      "type": "string",
      "default": "row"
    },
    "typeStyle": {
      "type": "string",
      "default": "row"
    },
    "difficultyStyle": {
      "type": "string",
      "default": "row"
    },
    "codeStyle": {
      "type": "string",
      "default": "row"
    },
    "durationStyle": {
      "type": "string",
      "default": "row"
    },
    "groupSizeStyle": {
      "type": "string",
      "default": "row"
    },
    "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"
}