Readonly schema
schema: {
attributes: {
color: {
type: "optional";
value: {
pattern: RegExp;
type: "regex";
zero: "#000000";
};
};
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";
};
};
};
contents: readonly [{
label: "value";
type: "label";
value: {
type: "required";
value: {
max: number;
min: 0;
type: "int";
};
};
}];
name: "fret";
} = Fret.schema
Type declaration
Readonly attributes: {
color: {
type: "optional";
value: {
pattern: RegExp;
type: "regex";
zero: "#000000";
};
};
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";
};
};
}
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 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 contents: readonly [{
label: "value";
type: "label";
value: {
type: "required";
value: {
max: number;
min: 0;
type: "int";
};
};
}]
Readonly name: "fret"
Static Readonly schema
schema: {
attributes: {
color: {
type: "optional";
value: {
pattern: RegExp;
type: "regex";
zero: "#000000";
};
};
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";
};
};
};
contents: readonly [{
label: "value";
type: "label";
value: {
type: "required";
value: {
max: number;
min: 0;
type: "int";
};
};
}];
name: "fret";
} = ...
Type declaration
Readonly attributes: {
color: {
type: "optional";
value: {
pattern: RegExp;
type: "regex";
zero: "#000000";
};
};
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";
};
};
}
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 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 contents: readonly [{
label: "value";
type: "label";
value: {
type: "required";
value: {
max: number;
min: 0;
type: "int";
};
};
}]
Readonly name: "fret"
The
<fret>elementParent elements:
<frame-note>,<technical>The
<fret>element is used with tablature notation and chord diagrams. Fret numbers start with 0 for an open string and 1 for the first fret.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/fret/