{  "schema": "easycatalog-composition-recipe/1",  "id": "mixed-span-grid-facing-page-patterns",  "version": "1.0.0",  "title": "Mixed-span grid - facing-page patterns",  "description": "Places 24 ID-sorted records using one of two mirrored slot patterns. At each continuation area, the plan checks whether the physical page is left- or right-hand and selects the corresponding small-wide or wide-small arrangement. The records retain their order while their positions follow the chosen pattern. This demonstrates page-side-dependent area geometry rather than simply swapping the artwork inside a card. Inspect both sides of a spread to see the difference.",  "compatiblePlanSchemas": [    "easycatalog-composition-plan/1"  ],  "features": [    "formattingRule",    "grid.pattern",    "gridFill",    "overflow.continue",    "repeat.everyArea"  ],  "bindings": [    {      "id": "formattingRule.pageSidePatternTitle",      "kind": "formattingRule",      "description": "Formatting rule used as the page side pattern title",      "exampleValue": "__EC_RECIPE_523x770_TITLE_PAGE_SIDE_PATTERN_GRID",      "occurrences": [        {          "path": "/threads/0/content/0/asset",          "position": "value"        }      ]    },    {      "id": "field.ID",      "kind": "field",      "description": "EasyCatalog field ID",      "exampleValue": "ID",      "occurrences": [        {          "path": "/threads/0/content/1/data/shape/sort/0/field",          "position": "value"        }      ],      "expectedType": "unknown",      "comparison": null,      "tabular": false    },    {      "id": "formattingRule.mixedSpanSmall",      "kind": "formattingRule",      "description": "Formatting rule used as the mixed span small",      "exampleValue": "__EC_RECIPE_523x770_TEST_20_4x2",      "occurrences": [        {          "path": "/threads/0/content/1/placement/patterns/0/slots/0/asset",          "position": "value"        },        {          "path": "/threads/0/content/1/placement/patterns/1/slots/1/asset",          "position": "value"        },        {          "path": "/threads/0/content/1/item/asset",          "position": "value"        }      ]    },    {      "id": "formattingRule.mixedSpanWide",      "kind": "formattingRule",      "description": "Formatting rule used as the mixed span wide",      "exampleValue": "__EC_RECIPE_523x770_TEST_20_8x2",      "occurrences": [        {          "path": "/threads/0/content/1/placement/patterns/0/slots/1/asset",          "position": "value"        },        {          "path": "/threads/0/content/1/placement/patterns/1/slots/0/asset",          "position": "value"        }      ]    }  ],  "planTemplate": {    "schema": "easycatalog-composition-plan/1",    "threads": [      {        "name": "catalog-content",        "gutter": 12,        "crossAxis": "stretch",        "content": [          {            "type": "formattingRule",            "name": "page-side-pattern-title",            "asset": {              "$binding": "formattingRule.pageSidePatternTitle"            },            "horizontalAlignment": "center",            "onEmpty": "error",            "repeat": "every area"          },          {            "type": "gridFill",            "name": "page-side-pattern-products",            "data": {              "source": "selectionRoot",              "result": "self",              "shape": {                "scope": "records",                "sort": [                  {                    "field": {                      "$binding": "field.ID"                    }                  }                ],                "limit": 24              }            },            "grid": {              "columns": 12,              "rows": 12,              "columnGutter": 6,              "rowGutter": 6,              "order": "across then down"            },            "placement": {              "strategy": "pattern",              "pattern": "right-page",              "patternResolver": {                "if": {                  "condition": {                    "equals": [                      {                        "context": "pageSide"                      },                      "left"                    ]                  },                  "then": "left-page",                  "else": "right-page"                }              },              "patterns": [                {                  "name": "left-page",                  "slots": [                    {                      "columns": 4,                      "rows": 2,                      "asset": {                        "$binding": "formattingRule.mixedSpanSmall"                      }                    },                    {                      "columns": 8,                      "rows": 2,                      "asset": {                        "$binding": "formattingRule.mixedSpanWide"                      }                    }                  ]                },                {                  "name": "right-page",                  "slots": [                    {                      "columns": 8,                      "rows": 2,                      "asset": {                        "$binding": "formattingRule.mixedSpanWide"                      }                    },                    {                      "columns": 4,                      "rows": 2,                      "asset": {                        "$binding": "formattingRule.mixedSpanSmall"                      }                    }                  ]                }              ]            },            "span": "auto",            "overflow": "continue",            "onEmpty": "error",            "item": {              "type": "formattingRule",              "name": "page-side-pattern-card",              "asset": {                "$binding": "formattingRule.mixedSpanSmall"              },              "required": true,              "onEmpty": "error"            }          }        ]      }    ]  },  "requirements": {    "units": "points",    "generatedPage": {      "width": 523.275590551,      "height": 769.889763778    },    "adaptGeometryToTargetDocument": true,    "pageObstructions": false  },  "verification": {    "suite": "easycatalog-composition-recipes",    "testNumber": 35,    "success": true,    "placedCount": 26,    "areaCount": 2  }}