{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bookster/service-collection",
  "version": "0.1.0",
  "title": "Bookster Service Collection",
  "category": "widgets",
  "keywords": [
    "bookster",
    "booking",
    "service",
    "collection"
  ],
  "icon": "grid",
  "description": "Display service collection.",
  "attributes": {
    "queryId": {
      "type": "string",
      "default": "services-0"
    },
    "displayLayout": {
      "type": "object",
      "default": {
        "layout": "grid",
        "columns": 3
      }
    },
    "perPage": {
      "type": "number",
      "default": 9
    },
    "filterType": {
      "type": "string",
      "default": "default"
    },
    "serviceIds": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "default": []
    },
    "categoryId": {
      "type": "number",
      "default": 0
    }
  },
  "providesContext": {
    "bookster/displayLayout": "displayLayout",
    "bookster/collectionStyle": "style",
    "bookster/queryId": "queryId",
    "bookster/perPage": "perPage",
    "bookster/filterType": "filterType",
    "bookster/serviceIds": "serviceIds",
    "bookster/categoryId": "categoryId"
  },
  "textdomain": "bookster",
  "editorScript": "file:./editor.js",
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false,
    "spacing": {
      "blockGap": {
        "__experimentalDefault": "2em",
        "sides": [
          "horizontal",
          "vertical"
        ]
      },
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "padding": true,
        "blockGap": true
      }
    }
  }
}