MNX example: System layouts | MNX specification

# System layouts

{ "mnx": { "version": 1 }, "global": { "measures": [ { "id": "m1" }, { "id": "m2" }, { "id": "m3" }, { "id": "m4" }, { "id": "m5" }, { "id": "m6" }, { "id": "m7" } ] }, "layouts": [ { "id": "layout1", "content": [ { "type": "group", "barlineStyle": "unified", "content": [ { "type": "group", "content": [ { "type": "staff", "sources": [ { "labelref": "shortName", "part": "fl1", "stem": "up" }, { "labelref": "shortName", "part": "fl2", "stem": "down" } ] }, { "type": "staff", "labelref": "shortName", "sources": [ { "part": "fl3" } ] } ], "label": "Flutes", "symbol": "brace" }, { "type": "staff", "label": "Oboes", "sources": [ { "labelref": "shortName", "part": "ob1", "stem": "up" }, { "labelref": "shortName", "part": "ob2", "stem": "down" } ] } ], "symbol": "bracket" }, { "type": "group", "content": [ { "type": "staff", "sources": [ { "part": "piano", "staff": 1 } ] }, { "type": "staff", "sources": [ { "part": "piano", "staff": 2 } ] } ], "label": "Piano", "symbol": "brace" } ] }, { "id": "layout2", "content": [ { "type": "group", "barlineStyle": "unified", "content": [ { "type": "group", "content": [ { "type": "staff", "labelref": "shortName", "sources": [ { "part": "fl1" } ] }, { "type": "staff", "labelref": "shortName", "sources": [ { "part": "fl2" } ] }, { "type": "staff", "labelref": "shortName", "sources": [ { "part": "fl3" } ] } ], "label": "Fl.", "symbol": "brace" }, { "type": "staff", "label": "Ob.", "sources": [ { "labelref": "shortName", "part": "ob1", "stem": "up" }, { "labelref": "shortName", "part": "ob2", "stem": "down" } ] } ], "symbol": "bracket" }, { "type": "group", "content": [ { "type": "staff", "sources": [ { "part": "piano", "staff": 1 } ] }, { "type": "staff", "sources": [ { "part": "piano", "staff": 2 } ] } ], "label": "Piano", "symbol": "brace" } ] } ], "parts": [ { "id": "fl1", "measures": [], "name": "Flute 1", "shortName": "1" }, { "id": "fl2", "measures": [], "name": "Flute 2", "shortName": "2" }, { "id": "fl3", "measures": [], "name": "Flute 3", "shortName": "3" }, { "id": "ob1", "measures": [], "name": "Oboe 1", "shortName": "1" }, { "id": "ob2", "measures": [], "name": "Oboe 2", "shortName": "2" }, { "id": "piano", "measures": [], "name": "Piano", "staves": 2 } ], "scores": [ { "name": "Full score", "pages": [ { "systems": [ { "layout": "layout1", "measure": "m1" }, { "layout": "layout2", "measure": "m4" } ] } ] } ] }