{
  "schema": "easycatalog-composition-plan/1",
  "threads": [
    {
      "name": "catalog-content",
      "gutter": 12,
      "crossAxis": "stretch",
      "content": [
        {
          "type": "textFlow",
          "name": "conditional-multi-table-story",
          "asset": "__EC_RECIPE_523x770_TEXT_FLOW_HOST",
          "autoFitVertically": true,
          "minimumHeight": 72,
          "maximumHeight": 701.889763778,
          "threadable": true,
          "overflow": "continue",
          "sections": [
            {
              "type": "formattingRule",
              "name": "optional-story-introduction",
              "asset": "__EC_RECIPE_523x770_TEXT_FLOW_CONTENTS_MIXED",
              "textFlowInsertion": "contents",
              "data": {
                "source": "selectionRoot",
                "result": "children",
                "shape": {
                  "scope": "records",
                  "limit": 1
                }
              },
              "when": {
                "equals": [
                  {
                    "field": "Enabled"
                  },
                  true
                ]
              },
              "required": false,
              "onEmpty": "omit"
            },
            {
              "type": "table",
              "name": "alphabetical-product-table",
              "asset": "__EC_RECIPE_523x770_TABLE_DIRECTORY_GROW_PRICE64",
              "data": {
                "source": "selectionRoot",
                "result": "self",
                "shape": {
                  "scope": "records",
                  "sort": [
                    {
                      "field": "AlphaSV"
                    }
                  ],
                  "limit": 8
                }
              },
              "table": {
                "mode": "vertical",
                "fields": {
                  "include": [
                    "AlphaSV",
                    "Category3",
                    "Price"
                  ]
                }
              },
              "onEmpty": "error"
            },
            {
              "type": "table",
              "name": "bath-price-table",
              "asset": "__EC_RECIPE_523x770_TABLE_PRICE_LIST_GROW_PRICE64",
              "data": {
                "source": "selectionRoot",
                "result": "self",
                "shape": {
                  "scope": "records",
                  "where": {
                    "field": "Category1",
                    "operator": "equals",
                    "value": "Bath"
                  },
                  "sort": [
                    {
                      "field": "Price"
                    }
                  ],
                  "limit": 6
                }
              },
              "table": {
                "mode": "vertical",
                "fields": {
                  "include": [
                    "ID",
                    "AlphaSV",
                    "Category1",
                    "Category2",
                    "Category3",
                    "Price"
                  ]
                }
              },
              "required": false,
              "onEmpty": "omit"
            }
          ]
        }
      ]
    }
  ]
}
