Readonly schema schema : { attributes : { id : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "_" ; } ; } ; } ; contents : readonly [ { label : "values" ; type : "label" ; value : { type : "zeroOrMore" ; value : { choices : readonly [ typeof TrillMark , typeof Turn , typeof DelayedTurn , typeof InvertedTurn , typeof DelayedInvertedTurn , typeof VerticalTurn , typeof InvertedVerticalTurn , typeof Shake , typeof WavyLine , typeof Mordent , typeof InvertedMordent , typeof Schleifer , typeof Tremolo , typeof Haydn , typeof OtherOrnament ] ; type : "choices" ; } ; } ; } , { label : "accidental-marks" ; type : "label" ; value : { type : "zeroOrMore" ; value : typeof AccidentalMark ; } ; } ] ; name : "ornaments" ; } = Ornaments.schema Type declaration Readonly attributes : { id : { type : "optional" ; value : { pattern : RegExp ; type : "regex" ; zero : "_" ; } ; } ; } Readonly id : { 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 contents : readonly [ { label : "values" ; type : "label" ; value : { type : "zeroOrMore" ; value : { choices : readonly [ typeof TrillMark , typeof Turn , typeof DelayedTurn , typeof InvertedTurn , typeof DelayedInvertedTurn , typeof VerticalTurn , typeof InvertedVerticalTurn , typeof Shake , typeof WavyLine , typeof Mordent , typeof InvertedMordent , typeof Schleifer , typeof Tremolo , typeof Haydn , typeof OtherOrnament ] ; type : "choices" ; } ; } ; } , { label : "accidental-marks" ; type : "label" ; value : { type : "zeroOrMore" ; value : typeof AccidentalMark ; } ; } ] Readonly name : "ornaments"
The
<ornaments>elementParent element:
<notations>Ornaments can be any of several types, followed optionally by accidentals. The
<accidental-mark>element's content is represented the same as an<accidental>element, but with a different name to reflect the different musical meaning.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/ornaments/