{
  "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-dense",
          "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": "dense"
          },
          "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",
            "propertyResolver": {
              "asset": {
                "switch": {
                  "value": {
                    "field": "ID"
                  },
                  "cases": [
                    {
                      "when": "R001",
                      "return": "__EC_RECIPE_523x770_TEST_20_12x2"
                    },
                    {
                      "when": "R003",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x2"
                    },
                    {
                      "when": "R005",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x4"
                    },
                    {
                      "when": "R007",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x2"
                    },
                    {
                      "when": "R009",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x4"
                    },
                    {
                      "when": "R010",
                      "return": "__EC_RECIPE_523x770_TEST_20_12x2"
                    },
                    {
                      "when": "R012",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x2"
                    },
                    {
                      "when": "R014",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x4"
                    },
                    {
                      "when": "R016",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x2"
                    },
                    {
                      "when": "R018",
                      "return": "__EC_RECIPE_523x770_TEST_20_8x4"
                    }
                  ],
                  "default": "__EC_RECIPE_523x770_TEST_20_4x2"
                }
              }
            }
          },
          "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"
              }
            }
          ]
        }
      ]
    }
  ]
}
