Readonly schema schema : { attributes : { color : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } ; } ; default-x : { label : "default-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; default-y : { label : "default-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; end-length : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; font-family : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : " " ; } ; } ; font-size : { type : "optional" ; value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } ; } ; font-style : { type : "optional" ; value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } ; } ; font-weight : { type : "optional" ; value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } ; } ; number : { type : "required" ; value : { pattern : RegExp ; type : "regex" ; zero : "" ; } ; } ; print-object : { type : "optional" ; value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } ; } ; relative-x : { label : "relative-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; relative-y : { label : "relative-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; system : { type : "optional" ; value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } ; } ; text-x : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; text-y : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; type : { type : "required" ; value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } ; } ; } ; contents : readonly [ { type : "required" ; value : { type : "string" ; } ; } ] ; name : "ending" ; } = Ending.schema
Type declaration Readonly attributes : { color : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } ; } ; default-x : { label : "default-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; default-y : { label : "default-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; end-length : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; font-family : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : " " ; } ; } ; font-size : { type : "optional" ; value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } ; } ; font-style : { type : "optional" ; value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } ; } ; font-weight : { type : "optional" ; value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } ; } ; number : { type : "required" ; value : { pattern : RegExp ; type : "regex" ; zero : "" ; } ; } ; print-object : { type : "optional" ; value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } ; } ; relative-x : { label : "relative-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; relative-y : { label : "relative-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; system : { type : "optional" ; value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } ; } ; text-x : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; text-y : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; type : { type : "required" ; value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } ; } ; } Readonly color : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } ; } Readonly type : "optional" Readonly value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } Readonly pattern : RegExp Readonly type : "regex" Readonly zero : "#000000" Readonly default- x : { label : "default-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "default-x" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly default- y : { label : "default-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "default-y" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly end- length : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly font- family : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : " " ; } ; } Readonly type : "optional" Readonly value : { pattern : RegExp ; type : "regex" ; zero : " " ; } Readonly pattern : RegExp Readonly type : "regex" Readonly zero : " " Readonly font- size : { type : "optional" ; value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } Readonly choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] Readonly type : "choices" Readonly font- style : { type : "optional" ; value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } Readonly choices : readonly [ "normal" , "italic" ] Readonly type : "choices" Readonly font- weight : { type : "optional" ; value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } Readonly choices : readonly [ "normal" , "bold" ] Readonly type : "choices" Readonly number : { type : "required" ; value : { pattern : RegExp ; type : "regex" ; zero : "" ; } ; } Readonly type : "required" Readonly value : { pattern : RegExp ; type : "regex" ; zero : "" ; } Readonly pattern : RegExp Readonly type : "regex" Readonly zero : "" Readonly print- object : { type : "optional" ; value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } Readonly choices : readonly [ "yes" , "no" ] Readonly type : "choices" Readonly relative- x : { label : "relative-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "relative-x" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly relative- y : { label : "relative-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "relative-y" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly system : { type : "optional" ; value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } Readonly choices : readonly [ "none" , "only-top" , "also-top" ] Readonly type : "choices" Readonly text- x : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly text- y : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly type : { type : "required" ; value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } ; } Readonly type : "required" Readonly value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } Readonly choices : readonly [ "start" , "stop" , "discontinue" ] Readonly type : "choices" Readonly contents : readonly [ { type : "required" ; value : { type : "string" ; } ; } ] Readonly name : "ending" Static Readonly schema schema : { attributes : { color : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } ; } ; default-x : { label : "default-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; default-y : { label : "default-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; end-length : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; font-family : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : " " ; } ; } ; font-size : { type : "optional" ; value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } ; } ; font-style : { type : "optional" ; value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } ; } ; font-weight : { type : "optional" ; value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } ; } ; number : { type : "required" ; value : { pattern : RegExp ; type : "regex" ; zero : "" ; } ; } ; print-object : { type : "optional" ; value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } ; } ; relative-x : { label : "relative-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; relative-y : { label : "relative-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; system : { type : "optional" ; value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } ; } ; text-x : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; text-y : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; type : { type : "required" ; value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } ; } ; } ; contents : readonly [ { type : "required" ; value : { type : "string" ; } ; } ] ; name : "ending" ; } = ...
Type declaration Readonly attributes : { color : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } ; } ; default-x : { label : "default-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; default-y : { label : "default-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; end-length : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; font-family : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : " " ; } ; } ; font-size : { type : "optional" ; value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } ; } ; font-style : { type : "optional" ; value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } ; } ; font-weight : { type : "optional" ; value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } ; } ; number : { type : "required" ; value : { pattern : RegExp ; type : "regex" ; zero : "" ; } ; } ; print-object : { type : "optional" ; value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } ; } ; relative-x : { label : "relative-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; relative-y : { label : "relative-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } ; system : { type : "optional" ; value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } ; } ; text-x : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; text-y : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; type : { type : "required" ; value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } ; } ; } Readonly color : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } ; } Readonly type : "optional" Readonly value : { pattern : RegExp ; type : "regex" ; zero : "#000000" ; } Readonly pattern : RegExp Readonly type : "regex" Readonly zero : "#000000" Readonly default- x : { label : "default-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "default-x" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly default- y : { label : "default-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "default-y" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly end- length : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly font- family : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : " " ; } ; } Readonly type : "optional" Readonly value : { pattern : RegExp ; type : "regex" ; zero : " " ; } Readonly pattern : RegExp Readonly type : "regex" Readonly zero : " " Readonly font- size : { type : "optional" ; value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] ; type : "choices" ; } Readonly choices : readonly [ { choices : readonly [ "xx-small" , "x-small" , "small" , "medium" , "large" , "x-large" , "xx-large" ] ; type : "choices" ; } , { max : number ; min : number ; type : "float" ; } ] Readonly type : "choices" Readonly font- style : { type : "optional" ; value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "normal" , "italic" ] ; type : "choices" ; } Readonly choices : readonly [ "normal" , "italic" ] Readonly type : "choices" Readonly font- weight : { type : "optional" ; value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "normal" , "bold" ] ; type : "choices" ; } Readonly choices : readonly [ "normal" , "bold" ] Readonly type : "choices" Readonly number : { type : "required" ; value : { pattern : RegExp ; type : "regex" ; zero : "" ; } ; } Readonly type : "required" Readonly value : { pattern : RegExp ; type : "regex" ; zero : "" ; } Readonly pattern : RegExp Readonly type : "regex" Readonly zero : "" Readonly print- object : { type : "optional" ; value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "yes" , "no" ] ; type : "choices" ; } Readonly choices : readonly [ "yes" , "no" ] Readonly type : "choices" Readonly relative- x : { label : "relative-x" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "relative-x" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly relative- y : { label : "relative-y" ; type : "label" ; value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } ; } Readonly label : "relative-y" Readonly type : "label" Readonly value : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly system : { type : "optional" ; value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } ; } Readonly type : "optional" Readonly value : { choices : readonly [ "none" , "only-top" , "also-top" ] ; type : "choices" ; } Readonly choices : readonly [ "none" , "only-top" , "also-top" ] Readonly type : "choices" Readonly text- x : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly text- y : { type : "optional" ; value : { max : number ; min : number ; type : "float" ; } ; } Readonly type : "optional" Readonly value : { max : number ; min : number ; type : "float" ; } Readonly max : number Readonly min : number Readonly type : "float" Readonly type : { type : "required" ; value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } ; } Readonly type : "required" Readonly value : { choices : readonly [ "start" , "stop" , "discontinue" ] ; type : "choices" ; } Readonly choices : readonly [ "start" , "stop" , "discontinue" ] Readonly type : "choices" Readonly contents : readonly [ { type : "required" ; value : { type : "string" ; } ; } ] Readonly name : "ending"
The
<ending>elementParent element:
<barline>The
<ending>element represents multiple (e.g. first and second) endings. The element text is used when the text displayed in the ending is different than what appears in the number attribute.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/ending/