MNX specification >
MNX reference >
Objects >
__root__
The __root__ object
Type: Dictionary
Keys:
Name |
Type |
Required? |
Description |
"global" |
global data object
|
Yes |
|
"layouts" |
An array of
system layout objects
|
No |
|
"mnx" |
MNX metadata object
|
Yes |
This required object serves two purposes:
1. It provides a way for consuming applications to quickly test whether a document is intended to be parsed as MNX. Consuming applications should check the top-level object for the presence of an "mnx" key.
2. It provides metadata about the specific MNX implementation used (namely, the version number). |
"parts" |
An array of
part objects
|
Yes |
|
"scores" |
An array of
score objects
|
No |
|
Examples
This object is used in the following examples:
Accidentals, Articulations, Beams, Beams (across barlines), Beams (hooks), Beams (secondary beam breaks), Beams (with inner grace notes), Clef changes, Dotted notes (augmentation dots), Grace note, Grace notes (beamed), Grand staff piano music, Jumps (D.S. al Fine), Jumps (Dal Segno), Key signatures, Lyrics (basic), Lyrics (multi-line), Multimeasure rests, Multiple layouts, Multiple voices, Orchestral layout, Organ layout, Ottavas (8va), Parts, Repeats, Repeats (more than once repeated), Repeats (with alternate endings, advanced), Repeats (with alternate endings, simple), Repeats (with implied start repeat), Rest positions, Slurs, Slurs (for chords), Slurs (incomplete slurs), Slurs (targeting specific notes), Styling elements (basic), Styling via a class (basic), System layouts, Tempo markings, Three-note chord and half rest, Ties, Time signatures, Tremolos (single-note), Tuplets, Two-bar C major scale, “Hello world”