{
  "schema": "easycatalog-composition-plan/1",
  "threads": [
    {
      "name": "catalog-content",
      "gutter": 12,
      "crossAxis": "stretch",
      "content": [
        {
          "type": "formattingRule",
          "name": "mixed-span-title",
          "asset": "__EC_RECIPE_523x770_TITLE_MIXED_SPAN_GRID",
          "horizontalAlignment": "center",
          "onEmpty": "error",
          "repeat": "every area"
        },
        {
          "type": "gridFill",
          "name": "mixed-span-products-pattern",
          "data": {
            "source": "selectionRoot",
            "result": "self",
            "shape": {
              "scope": "records",
              "sort": [
                {
                  "field": "ID"
                }
              ],
              "limit": 24
            }
          },
          "grid": {
            "columns": 12,
            "rows": 12,
            "columnGutter": 6,
            "rowGutter": 6,
            "order": "across then down"
          },
          "placement": {
            "strategy": "pattern",
            "slots": [
              {
                "columns": 4,
                "rows": 2,
                "asset": "__EC_RECIPE_523x770_TEST_20_4x2",
                "assetResolver": {
                  "if": {
                    "condition": {
                      "equals": [
                        {
                          "field": "Category1"
                        },
                        "Kitchen"
                      ]
                    },
                    "then": "__EC_RECIPE_523x770_TEST_20_4x2_ALT"
                  }
                }
              },
              {
                "columns": 8,
                "rows": 2,
                "asset": "__EC_RECIPE_523x770_TEST_20_8x2"
              },
              {
                "columns": 12,
                "rows": 2,
                "asset": "__EC_RECIPE_523x770_TEST_20_12x2"
              }
            ]
          },
          "span": "auto",
          "overflow": "continue",
          "onEmpty": "error",
          "item": {
            "type": "formattingRule",
            "name": "mixed-span-product-card",
            "asset": "__EC_RECIPE_523x770_TEST_20_4x2",
            "required": true,
            "onEmpty": "error"
          },
          "fillers": [
            {
              "span": {
                "columns": 8,
                "rows": 2
              },
              "item": {
                "type": "formattingRule",
                "name": "mixed-span-wide-area-filler",
                "asset": "__EC_RECIPE_523x770_TEST_20_FILLER_RED_8x2"
              }
            },
            {
              "span": {
                "columns": 4,
                "rows": 2
              },
              "item": {
                "type": "formattingRule",
                "name": "mixed-span-small-area-filler",
                "asset": "__EC_RECIPE_523x770_TEST_20_FILLER_RED_4x2"
              }
            }
          ]
        }
      ]
    }
  ]
}
