{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "textdomain": "tour-operator",
  "name": "lsx-tour-operator/tour-related-accommodation",
  "title": "Related Tours",
  "category": "lsx-tour-operator",
  "editorScript": "file:index.js",
  "description": "Displays tours related to this accommodation.",
  "icon": "palmtree",
  "keywords": [
    "tours",
    "accommodation",
    "related",
    "cross-reference"
  ],
  "example": {
    "attributes": {
      "metadata": {
        "name": "Related Tours"
      }
    },
    "innerBlocks": [
      [
        "core/group",
        {
          "align": "wide",
          "layout": {
            "type": "flex",
            "flexWrap": "nowrap"
          }
        },
        [
          [
            "core/separator",
            {
              "style": {
                "layout": {
                  "selfStretch": "fill",
                  "flexSize": null
                }
              }
            }
          ],
          [
            "core/heading",
            {
              "textAlign": "center",
              "content": "Related Tours",
              "level": 2
            }
          ],
          [
            "core/separator",
            {
              "style": {
                "layout": {
                  "selfStretch": "fill",
                  "flexSize": null
                }
              }
            }
          ]
        ]
      ],
      [
        "core/group",
        {
          "align": "wide",
          "layout": {
            "type": "constrained"
          }
        },
        [
          [
            "core/query",
            {
              "metadata": {
                "name": "Related Tours Query - Accommodation"
              },
              "query": {
                "perPage": 6,
                "postType": "tour",
                "order": "asc",
                "orderBy": "title"
              },
              "align": "wide"
            },
            [
              [
                "core/post-template",
                {
                  "className": "lsx-tour-related-accommodation-query",
                  "layout": {
                    "type": "grid",
                    "columnCount": 3
                  }
                },
                [
                  [
                    "core/pattern",
                    {
                      "slug": "lsx-tour-operator/tour-card"
                    }
                  ]
                ]
              ]
            ]
          ]
        ]
      ]
    ]
  }
}