@viritura/score-engine 0.1.1-next.24 → 0.1.1-next.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1989,9 +1989,9 @@ function interpolateBeatAnchors(bounds, beat, endX) {
1989
1989
 
1990
1990
  // packages/score-engine/src/buildInfo.ts
1991
1991
  init_define_import_meta_env();
1992
- var PACKAGE_VERSION = "0.1.1-next.24", BUNDLE_WORKER_FILE = "score-engine.worker.js";
1992
+ var PACKAGE_VERSION = "0.1.1-next.27", BUNDLE_WORKER_FILE = "score-engine.worker.js";
1993
1993
  function buildCommit() {
1994
- return "0a44c7ee06cb22a1bfa67a02b5b6b374e815c6b9";
1994
+ return "d8a389281839ea20c0cf0bd2b087c1fc253b43f5";
1995
1995
  }
1996
1996
  function bundledAssetBase() {
1997
1997
  let moduleUrl = import.meta.url;
@@ -6678,10 +6678,364 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
6678
6678
  return evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), validate21(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors), errors = vErrors.length), validate20.errors = vErrors, errors === 0;
6679
6679
  }
6680
6680
  validate20.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6681
- var schema319 = { type: "object", description: "Viritura vendor extensions on the MNX document root (the `_x.viritura` dict on the top-level score object).", properties: { metadata: { $ref: "#/$defs/score-metadata", description: "Score-level bibliographic metadata." }, textStyles: { $ref: "#/$defs/text-styles", description: "Per-document text style overrides." }, placement: { $ref: "#/$defs/placement", description: "Per-document placement (clearance) overrides keyed by dependent kind." }, timeSignatures: { $ref: "#/$defs/time-signature-styles", description: "Per-document time signature engraving styles for scores and parts." }, chordSymbolStyle: { $ref: "#/$defs/chord-symbol-style", description: "Score-wide chord-symbol engraving style." }, instrumentChangeStyle: { type: "object", additionalProperties: !1, properties: { showChangeLabel: { type: "boolean", default: !0 }, showAdvanceReminder: { type: "boolean", default: !0 } }, description: "Score-wide change-label visibility defaults. Per-instance hidden false explicitly shows; hidden true hides; absent inherits." }, soundProfile: { $ref: "#/$defs/sound-profile-assignment", description: "Per-part playback sound assignments keyed by stable MNX part ID." }, videoSync: { $ref: "#/$defs/video-sync", description: "Score-to-picture synchronization settings." }, lyricWorkflow: { $ref: "#/$defs/lyric-workflow", description: "Original lyric source text and stable token anchors for distribution and repair." } }, additionalProperties: !1 }, schema320 = { type: "object", description: "Score-level bibliographic metadata. Stored at `_x.viritura.metadata` on the score root. The engine consumes `title`/`subtitle`/`composer`/`arranger`/`copyright`; the remaining fields are preserved verbatim from MusicXML import (`work-title`, `movement-title`, etc.) for round-tripping.", properties: { title: { type: "string", description: "Display title (typically movement title, falling back to work title)." }, subtitle: { type: "string", description: "Work subtitle." }, composer: { type: "string", description: "Composer credit." }, lyricist: { type: "string", description: "Lyricist credit." }, arranger: { type: "string", description: "Arranger credit." }, copyright: { type: "string", description: "Copyright notice." }, workTitle: { type: "string", description: "MusicXML `work-title`." }, workNumber: { type: "string", description: "MusicXML `work-number`." }, movementTitle: { type: "string", description: "MusicXML `movement-title`." }, movementNumber: { type: "string", description: "MusicXML `movement-number`." } }, additionalProperties: !1 }, schema353 = { type: "object", description: "Score-wide chord-symbol engraving choices.", properties: { rootCase: { type: "string", enum: ["uppercase", "lowercaseMinor"] }, majorSeventh: { type: "string", enum: ["triangle", "maj", "M"] }, minor: { type: "string", enum: ["m", "min", "minus", "none"] }, diminished: { type: "string", enum: ["symbol", "dim"] }, halfDiminished: { type: "string", enum: ["symbol", "minorFlatFive"] }, augmented: { type: "string", enum: ["plus", "aug"] }, extensions: { type: "string", enum: ["superscript", "baseline"] } }, additionalProperties: !1 }, func1 = Object.prototype.hasOwnProperty, schema321 = { type: "object", description: "Per-document text style overrides keyed by role. Each entry is a partial override merged over the engine's built-in stylesheet at layout time. Stored at `_x.viritura.textStyles` on the score root.", properties: { title: { $ref: "#/$defs/text-style" }, subtitle: { $ref: "#/$defs/text-style" }, composer: { $ref: "#/$defs/text-style" }, arranger: { $ref: "#/$defs/text-style" }, staffLabel: { $ref: "#/$defs/text-style" }, pageNumber: { $ref: "#/$defs/text-style" }, tempo: { $ref: "#/$defs/text-style" }, pedalText: { $ref: "#/$defs/text-style" }, copyright: { $ref: "#/$defs/text-style" } }, additionalProperties: !1 };
6682
- var schema323 = { type: "string", enum: ["serif", "sans-serif", "monospace"], description: "Generic font family for a text style. Maps to a curated typeface (serif\u2248Times, sans-serif\u2248Helvetica, monospace\u2248Courier)." }, schema324 = { type: "string", enum: ["left", "center", "right"], description: "Horizontal alignment of a text style relative to its anchor." }, pattern38 = new RegExp("^#[0-9a-fA-F]{6}$", "u");
6683
- function validate347(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6684
- let vErrors = null, errors = 0, evaluated0 = validate347.evaluated;
6681
+ function validate344(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6682
+ let vErrors = null, errors = 0, evaluated0 = validate344.evaluated;
6683
+ if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), validate22(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors), errors = vErrors.length), data && typeof data == "object" && !Array.isArray(data)) {
6684
+ if (data.duration === void 0) {
6685
+ let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "duration" }, message: "must have required property 'duration'" };
6686
+ vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6687
+ }
6688
+ if (data.duration !== void 0 && (validate82(data.duration, { instancePath: instancePath + "/duration", parentData: data, parentDataProperty: "duration", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors), errors = vErrors.length)), data.fermata !== void 0 && (validate55(data.fermata, { instancePath: instancePath + "/fermata", parentData: data, parentDataProperty: "fermata", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate55.errors : vErrors.concat(validate55.errors), errors = vErrors.length)), data.kitNotes !== void 0) {
6689
+ let data2 = data.kitNotes;
6690
+ if (Array.isArray(data2)) {
6691
+ let len0 = data2.length;
6692
+ for (let i0 = 0; i0 < len0; i0++)
6693
+ validate188(data2[i0], { instancePath: instancePath + "/kitNotes/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate188.errors : vErrors.concat(validate188.errors), errors = vErrors.length);
6694
+ } else {
6695
+ let err1 = { instancePath: instancePath + "/kitNotes", schemaPath: "#/properties/kitNotes/type", keyword: "type", params: { type: "array" }, message: "must be array" };
6696
+ vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
6697
+ }
6698
+ }
6699
+ if (data.lyrics !== void 0 && (validate199(data.lyrics, { instancePath: instancePath + "/lyrics", parentData: data, parentDataProperty: "lyrics", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate199.errors : vErrors.concat(validate199.errors), errors = vErrors.length)), data.markings !== void 0 && (validate210(data.markings, { instancePath: instancePath + "/markings", parentData: data, parentDataProperty: "markings", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate210.errors : vErrors.concat(validate210.errors), errors = vErrors.length)), data.notes !== void 0) {
6700
+ let data6 = data.notes;
6701
+ if (Array.isArray(data6)) {
6702
+ let len1 = data6.length;
6703
+ for (let i1 = 0; i1 < len1; i1++)
6704
+ validate250(data6[i1], { instancePath: instancePath + "/notes/" + i1, parentData: data6, parentDataProperty: i1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate250.errors : vErrors.concat(validate250.errors), errors = vErrors.length);
6705
+ } else {
6706
+ let err2 = { instancePath: instancePath + "/notes", schemaPath: "#/properties/notes/type", keyword: "type", params: { type: "array" }, message: "must be array" };
6707
+ vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
6708
+ }
6709
+ }
6710
+ if (data.rest !== void 0 && (validate276(data.rest, { instancePath: instancePath + "/rest", parentData: data, parentDataProperty: "rest", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate276.errors : vErrors.concat(validate276.errors), errors = vErrors.length)), data.slurs !== void 0) {
6711
+ let data9 = data.slurs;
6712
+ if (Array.isArray(data9)) {
6713
+ let len2 = data9.length;
6714
+ for (let i2 = 0; i2 < len2; i2++)
6715
+ validate279(data9[i2], { instancePath: instancePath + "/slurs/" + i2, parentData: data9, parentDataProperty: i2, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate279.errors : vErrors.concat(validate279.errors), errors = vErrors.length);
6716
+ } else {
6717
+ let err3 = { instancePath: instancePath + "/slurs", schemaPath: "#/properties/slurs/type", keyword: "type", params: { type: "array" }, message: "must be array" };
6718
+ vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
6719
+ }
6720
+ }
6721
+ if (data.staff !== void 0) {
6722
+ let data11 = data.staff;
6723
+ if (!(typeof data11 == "number" && !(data11 % 1) && !isNaN(data11))) {
6724
+ let err4 = { instancePath: instancePath + "/staff", schemaPath: "#/$defs/staff-number/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
6725
+ vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
6726
+ }
6727
+ if (typeof data11 == "number" && (data11 < 1 || isNaN(data11))) {
6728
+ let err5 = { instancePath: instancePath + "/staff", schemaPath: "#/$defs/staff-number/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
6729
+ vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
6730
+ }
6731
+ }
6732
+ if (data.stemDirection !== void 0) {
6733
+ let data12 = data.stemDirection;
6734
+ if (typeof data12 != "string") {
6735
+ let err6 = { instancePath: instancePath + "/stemDirection", schemaPath: "#/$defs/stem-direction/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6736
+ vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
6737
+ }
6738
+ if (!(data12 === "up" || data12 === "down")) {
6739
+ let err7 = { instancePath: instancePath + "/stemDirection", schemaPath: "#/$defs/stem-direction/enum", keyword: "enum", params: { allowedValues: schema109.enum }, message: "must be equal to one of the allowed values" };
6740
+ vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
6741
+ }
6742
+ }
6743
+ if (data.type !== void 0) {
6744
+ let data13 = data.type;
6745
+ if (typeof data13 != "string") {
6746
+ let err8 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6747
+ vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
6748
+ }
6749
+ if (data13 !== "event") {
6750
+ let err9 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "event" }, message: "must be equal to constant" };
6751
+ vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
6752
+ }
6753
+ }
6754
+ for (let key0 in data)
6755
+ if (key0 !== "duration" && key0 !== "fermata" && key0 !== "kitNotes" && key0 !== "lyrics" && key0 !== "markings" && key0 !== "notes" && key0 !== "rest" && key0 !== "slurs" && key0 !== "staff" && key0 !== "stemDirection" && key0 !== "type" && key0 !== "_c" && key0 !== "_x" && key0 !== "id") {
6756
+ let err10 = { instancePath, schemaPath: "#/unevaluatedProperties", keyword: "unevaluatedProperties", params: { unevaluatedProperty: key0 }, message: "must NOT have unevaluated properties" };
6757
+ vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
6758
+ }
6759
+ } else {
6760
+ let err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
6761
+ vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
6762
+ }
6763
+ return validate344.errors = vErrors, errors === 0;
6764
+ }
6765
+ validate344.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6766
+ function validate354(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6767
+ let vErrors = null, errors = 0, evaluated0 = validate354.evaluated;
6768
+ if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), validate22(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors), errors = vErrors.length), data && typeof data == "object" && !Array.isArray(data)) {
6769
+ if (data.content === void 0) {
6770
+ let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "content" }, message: "must have required property 'content'" };
6771
+ vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6772
+ }
6773
+ if (data.type === void 0) {
6774
+ let err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
6775
+ vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
6776
+ }
6777
+ if (data.color !== void 0 && typeof data.color != "string") {
6778
+ let err2 = { instancePath: instancePath + "/color", schemaPath: "#/$defs/color/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6779
+ vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
6780
+ }
6781
+ if (data.content !== void 0) {
6782
+ let data1 = data.content;
6783
+ if (Array.isArray(data1)) {
6784
+ let len0 = data1.length;
6785
+ for (let i0 = 0; i0 < len0; i0++)
6786
+ validate184(data1[i0], { instancePath: instancePath + "/content/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate184.errors : vErrors.concat(validate184.errors), errors = vErrors.length);
6787
+ } else {
6788
+ let err3 = { instancePath: instancePath + "/content", schemaPath: "#/properties/content/type", keyword: "type", params: { type: "array" }, message: "must be array" };
6789
+ vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
6790
+ }
6791
+ }
6792
+ if (data.graceType !== void 0) {
6793
+ let data3 = data.graceType;
6794
+ if (typeof data3 != "string") {
6795
+ let err4 = { instancePath: instancePath + "/graceType", schemaPath: "#/$defs/grace-type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6796
+ vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
6797
+ }
6798
+ if (!(data3 === "makeTime" || data3 === "stealFollowing" || data3 === "stealPrevious")) {
6799
+ let err5 = { instancePath: instancePath + "/graceType", schemaPath: "#/$defs/grace-type/enum", keyword: "enum", params: { allowedValues: schema274.enum }, message: "must be equal to one of the allowed values" };
6800
+ vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
6801
+ }
6802
+ }
6803
+ if (data.slash !== void 0 && typeof data.slash != "boolean") {
6804
+ let err6 = { instancePath: instancePath + "/slash", schemaPath: "#/properties/slash/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
6805
+ vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
6806
+ }
6807
+ if (data.type !== void 0) {
6808
+ let data5 = data.type;
6809
+ if (typeof data5 != "string") {
6810
+ let err7 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6811
+ vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
6812
+ }
6813
+ if (data5 !== "grace") {
6814
+ let err8 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "grace" }, message: "must be equal to constant" };
6815
+ vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
6816
+ }
6817
+ }
6818
+ for (let key0 in data)
6819
+ if (key0 !== "color" && key0 !== "content" && key0 !== "graceType" && key0 !== "slash" && key0 !== "type" && key0 !== "_c" && key0 !== "_x" && key0 !== "id") {
6820
+ let err9 = { instancePath, schemaPath: "#/unevaluatedProperties", keyword: "unevaluatedProperties", params: { unevaluatedProperty: key0 }, message: "must NOT have unevaluated properties" };
6821
+ vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
6822
+ }
6823
+ } else {
6824
+ let err10 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
6825
+ vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
6826
+ }
6827
+ return validate354.errors = vErrors, errors === 0;
6828
+ }
6829
+ validate354.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6830
+ function validate357(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6831
+ let vErrors = null, errors = 0, evaluated0 = validate357.evaluated;
6832
+ if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), validate22(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors), errors = vErrors.length), data && typeof data == "object" && !Array.isArray(data)) {
6833
+ if (data.content === void 0) {
6834
+ let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "content" }, message: "must have required property 'content'" };
6835
+ vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6836
+ }
6837
+ if (data.inner === void 0) {
6838
+ let err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "inner" }, message: "must have required property 'inner'" };
6839
+ vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
6840
+ }
6841
+ if (data.outer === void 0) {
6842
+ let err2 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "outer" }, message: "must have required property 'outer'" };
6843
+ vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
6844
+ }
6845
+ if (data.type === void 0) {
6846
+ let err3 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
6847
+ vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
6848
+ }
6849
+ if (data.bracket !== void 0) {
6850
+ let data0 = data.bracket;
6851
+ if (typeof data0 != "string") {
6852
+ let err4 = { instancePath: instancePath + "/bracket", schemaPath: "#/$defs/yes-no-auto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6853
+ vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
6854
+ }
6855
+ if (!(data0 === "yes" || data0 === "no" || data0 === "auto")) {
6856
+ let err5 = { instancePath: instancePath + "/bracket", schemaPath: "#/$defs/yes-no-auto/enum", keyword: "enum", params: { allowedValues: schema188.enum }, message: "must be equal to one of the allowed values" };
6857
+ vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
6858
+ }
6859
+ }
6860
+ if (data.content !== void 0 && (validate183(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate183.errors : vErrors.concat(validate183.errors), errors = vErrors.length)), data.inner !== void 0 && (validate289(data.inner, { instancePath: instancePath + "/inner", parentData: data, parentDataProperty: "inner", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate289.errors : vErrors.concat(validate289.errors), errors = vErrors.length)), data.outer !== void 0 && (validate289(data.outer, { instancePath: instancePath + "/outer", parentData: data, parentDataProperty: "outer", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate289.errors : vErrors.concat(validate289.errors), errors = vErrors.length)), data.placement !== void 0) {
6861
+ let data4 = data.placement;
6862
+ if (typeof data4 != "string") {
6863
+ let err6 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/placement/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6864
+ vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
6865
+ }
6866
+ if (!(data4 === "above" || data4 === "below" || data4 === "auto")) {
6867
+ let err7 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/placement/enum", keyword: "enum", params: { allowedValues: schema65.enum }, message: "must be equal to one of the allowed values" };
6868
+ vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
6869
+ }
6870
+ }
6871
+ if (data.showNumber !== void 0) {
6872
+ let data5 = data.showNumber;
6873
+ if (typeof data5 != "string") {
6874
+ let err8 = { instancePath: instancePath + "/showNumber", schemaPath: "#/$defs/tuplet-display-setting/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6875
+ vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
6876
+ }
6877
+ if (!(data5 === "noNumber" || data5 === "inner" || data5 === "both")) {
6878
+ let err9 = { instancePath: instancePath + "/showNumber", schemaPath: "#/$defs/tuplet-display-setting/enum", keyword: "enum", params: { allowedValues: schema280.enum }, message: "must be equal to one of the allowed values" };
6879
+ vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
6880
+ }
6881
+ }
6882
+ if (data.showValue !== void 0) {
6883
+ let data6 = data.showValue;
6884
+ if (typeof data6 != "string") {
6885
+ let err10 = { instancePath: instancePath + "/showValue", schemaPath: "#/$defs/tuplet-display-setting/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6886
+ vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
6887
+ }
6888
+ if (!(data6 === "noNumber" || data6 === "inner" || data6 === "both")) {
6889
+ let err11 = { instancePath: instancePath + "/showValue", schemaPath: "#/$defs/tuplet-display-setting/enum", keyword: "enum", params: { allowedValues: schema280.enum }, message: "must be equal to one of the allowed values" };
6890
+ vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
6891
+ }
6892
+ }
6893
+ if (data.staff !== void 0) {
6894
+ let data7 = data.staff;
6895
+ if (!(typeof data7 == "number" && !(data7 % 1) && !isNaN(data7))) {
6896
+ let err12 = { instancePath: instancePath + "/staff", schemaPath: "#/$defs/staff-number/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
6897
+ vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
6898
+ }
6899
+ if (typeof data7 == "number" && (data7 < 1 || isNaN(data7))) {
6900
+ let err13 = { instancePath: instancePath + "/staff", schemaPath: "#/$defs/staff-number/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
6901
+ vErrors === null ? vErrors = [err13] : vErrors.push(err13), errors++;
6902
+ }
6903
+ }
6904
+ if (data.type !== void 0) {
6905
+ let data8 = data.type;
6906
+ if (typeof data8 != "string") {
6907
+ let err14 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6908
+ vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
6909
+ }
6910
+ if (data8 !== "tuplet") {
6911
+ let err15 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "tuplet" }, message: "must be equal to constant" };
6912
+ vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
6913
+ }
6914
+ }
6915
+ for (let key0 in data)
6916
+ if (key0 !== "bracket" && key0 !== "content" && key0 !== "inner" && key0 !== "outer" && key0 !== "placement" && key0 !== "showNumber" && key0 !== "showValue" && key0 !== "staff" && key0 !== "type" && key0 !== "_c" && key0 !== "_x" && key0 !== "id") {
6917
+ let err16 = { instancePath, schemaPath: "#/unevaluatedProperties", keyword: "unevaluatedProperties", params: { unevaluatedProperty: key0 }, message: "must NOT have unevaluated properties" };
6918
+ vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
6919
+ }
6920
+ } else {
6921
+ let err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
6922
+ vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
6923
+ }
6924
+ return validate357.errors = vErrors, errors === 0;
6925
+ }
6926
+ validate357.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6927
+ function validate362(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6928
+ let vErrors = null, errors = 0, evaluated0 = validate362.evaluated;
6929
+ if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), validate22(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors), errors = vErrors.length), data && typeof data == "object" && !Array.isArray(data)) {
6930
+ if (data.duration === void 0) {
6931
+ let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "duration" }, message: "must have required property 'duration'" };
6932
+ vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6933
+ }
6934
+ if (data.type === void 0) {
6935
+ let err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
6936
+ vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
6937
+ }
6938
+ if (data.duration !== void 0 && (validate48(data.duration, { instancePath: instancePath + "/duration", parentData: data, parentDataProperty: "duration", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate48.errors : vErrors.concat(validate48.errors), errors = vErrors.length)), data.type !== void 0) {
6939
+ let data1 = data.type;
6940
+ if (typeof data1 != "string") {
6941
+ let err2 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
6942
+ vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
6943
+ }
6944
+ if (data1 !== "space") {
6945
+ let err3 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "space" }, message: "must be equal to constant" };
6946
+ vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
6947
+ }
6948
+ }
6949
+ for (let key0 in data)
6950
+ if (key0 !== "duration" && key0 !== "type" && key0 !== "_c" && key0 !== "_x" && key0 !== "id") {
6951
+ let err4 = { instancePath, schemaPath: "#/unevaluatedProperties", keyword: "unevaluatedProperties", params: { unevaluatedProperty: key0 }, message: "must NOT have unevaluated properties" };
6952
+ vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
6953
+ }
6954
+ } else {
6955
+ let err5 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
6956
+ vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
6957
+ }
6958
+ return validate362.errors = vErrors, errors === 0;
6959
+ }
6960
+ validate362.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6961
+ function validate365(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6962
+ let vErrors = null, errors = 0, evaluated0 = validate365.evaluated;
6963
+ if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), validate22(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors), errors = vErrors.length), data && typeof data == "object" && !Array.isArray(data)) {
6964
+ if (data.content === void 0) {
6965
+ let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "content" }, message: "must have required property 'content'" };
6966
+ vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6967
+ }
6968
+ if (data.marks === void 0) {
6969
+ let err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "marks" }, message: "must have required property 'marks'" };
6970
+ vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
6971
+ }
6972
+ if (data.outer === void 0) {
6973
+ let err2 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "outer" }, message: "must have required property 'outer'" };
6974
+ vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
6975
+ }
6976
+ if (data.type === void 0) {
6977
+ let err3 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
6978
+ vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
6979
+ }
6980
+ if (data.content !== void 0) {
6981
+ let data0 = data.content;
6982
+ if (Array.isArray(data0)) {
6983
+ let len0 = data0.length;
6984
+ for (let i0 = 0; i0 < len0; i0++)
6985
+ validate184(data0[i0], { instancePath: instancePath + "/content/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate184.errors : vErrors.concat(validate184.errors), errors = vErrors.length);
6986
+ } else {
6987
+ let err4 = { instancePath: instancePath + "/content", schemaPath: "#/properties/content/type", keyword: "type", params: { type: "array" }, message: "must be array" };
6988
+ vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
6989
+ }
6990
+ }
6991
+ if (data.individualDuration !== void 0 && (validate82(data.individualDuration, { instancePath: instancePath + "/individualDuration", parentData: data, parentDataProperty: "individualDuration", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors), errors = vErrors.length)), data.marks !== void 0) {
6992
+ let data3 = data.marks;
6993
+ if (!(typeof data3 == "number" && !(data3 % 1) && !isNaN(data3))) {
6994
+ let err5 = { instancePath: instancePath + "/marks", schemaPath: "#/$defs/positive-integer/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
6995
+ vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
6996
+ }
6997
+ if (typeof data3 == "number" && (data3 < 1 || isNaN(data3))) {
6998
+ let err6 = { instancePath: instancePath + "/marks", schemaPath: "#/$defs/positive-integer/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
6999
+ vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
7000
+ }
7001
+ if (typeof data3 == "number") {
7002
+ if (data3 > 8 || isNaN(data3)) {
7003
+ let err7 = { instancePath: instancePath + "/marks", schemaPath: "#/properties/marks/maximum", keyword: "maximum", params: { comparison: "<=", limit: 8 }, message: "must be <= 8" };
7004
+ vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
7005
+ }
7006
+ if (data3 < 1 || isNaN(data3)) {
7007
+ let err8 = { instancePath: instancePath + "/marks", schemaPath: "#/properties/marks/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
7008
+ vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
7009
+ }
7010
+ }
7011
+ }
7012
+ if (data.outer !== void 0 && (validate289(data.outer, { instancePath: instancePath + "/outer", parentData: data, parentDataProperty: "outer", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate289.errors : vErrors.concat(validate289.errors), errors = vErrors.length)), data.type !== void 0) {
7013
+ let data5 = data.type;
7014
+ if (typeof data5 != "string") {
7015
+ let err9 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/type", keyword: "type", params: { type: "string" }, message: "must be string" };
7016
+ vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
7017
+ }
7018
+ if (data5 !== "tremolo") {
7019
+ let err10 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "tremolo" }, message: "must be equal to constant" };
7020
+ vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
7021
+ }
7022
+ }
7023
+ for (let key0 in data)
7024
+ if (key0 !== "content" && key0 !== "individualDuration" && key0 !== "marks" && key0 !== "outer" && key0 !== "type" && key0 !== "_c" && key0 !== "_x" && key0 !== "id") {
7025
+ let err11 = { instancePath, schemaPath: "#/unevaluatedProperties", keyword: "unevaluatedProperties", params: { unevaluatedProperty: key0 }, message: "must NOT have unevaluated properties" };
7026
+ vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
7027
+ }
7028
+ } else {
7029
+ let err12 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
7030
+ vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
7031
+ }
7032
+ return validate365.errors = vErrors, errors === 0;
7033
+ }
7034
+ validate365.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
7035
+ var schema334 = { type: "object", description: "Viritura vendor extensions on the MNX document root (the `_x.viritura` dict on the top-level score object).", properties: { metadata: { $ref: "#/$defs/score-metadata", description: "Score-level bibliographic metadata." }, textStyles: { $ref: "#/$defs/text-styles", description: "Per-document text style overrides." }, placement: { $ref: "#/$defs/placement", description: "Per-document placement (clearance) overrides keyed by dependent kind." }, timeSignatures: { $ref: "#/$defs/time-signature-styles", description: "Per-document time signature engraving styles for scores and parts." }, chordSymbolStyle: { $ref: "#/$defs/chord-symbol-style", description: "Score-wide chord-symbol engraving style." }, instrumentChangeStyle: { type: "object", additionalProperties: !1, properties: { showChangeLabel: { type: "boolean", default: !0 }, showAdvanceReminder: { type: "boolean", default: !0 } }, description: "Score-wide change-label visibility defaults. Per-instance hidden false explicitly shows; hidden true hides; absent inherits." }, soundProfile: { $ref: "#/$defs/sound-profile-assignment", description: "Per-part playback sound assignments keyed by stable MNX part ID." }, videoSync: { $ref: "#/$defs/video-sync", description: "Score-to-picture synchronization settings." }, lyricWorkflow: { $ref: "#/$defs/lyric-workflow", description: "Original lyric source text and stable token anchors for distribution and repair." } }, additionalProperties: !1 }, schema335 = { type: "object", description: "Score-level bibliographic metadata. Stored at `_x.viritura.metadata` on the score root. The engine consumes `title`/`subtitle`/`composer`/`arranger`/`copyright`; the remaining fields are preserved verbatim from MusicXML import (`work-title`, `movement-title`, etc.) for round-tripping.", properties: { title: { type: "string", description: "Display title (typically movement title, falling back to work title)." }, subtitle: { type: "string", description: "Work subtitle." }, composer: { type: "string", description: "Composer credit." }, lyricist: { type: "string", description: "Lyricist credit." }, arranger: { type: "string", description: "Arranger credit." }, copyright: { type: "string", description: "Copyright notice." }, workTitle: { type: "string", description: "MusicXML `work-title`." }, workNumber: { type: "string", description: "MusicXML `work-number`." }, movementTitle: { type: "string", description: "MusicXML `movement-title`." }, movementNumber: { type: "string", description: "MusicXML `movement-number`." } }, additionalProperties: !1 }, schema368 = { type: "object", description: "Score-wide chord-symbol engraving choices.", properties: { rootCase: { type: "string", enum: ["uppercase", "lowercaseMinor"] }, majorSeventh: { type: "string", enum: ["triangle", "maj", "M"] }, minor: { type: "string", enum: ["m", "min", "minus", "none"] }, diminished: { type: "string", enum: ["symbol", "dim"] }, halfDiminished: { type: "string", enum: ["symbol", "minorFlatFive"] }, augmented: { type: "string", enum: ["plus", "aug"] }, extensions: { type: "string", enum: ["superscript", "baseline"] } }, additionalProperties: !1 }, func1 = Object.prototype.hasOwnProperty, schema336 = { type: "object", description: "Per-document text style overrides keyed by role. Each entry is a partial override merged over the engine's built-in stylesheet at layout time. Stored at `_x.viritura.textStyles` on the score root.", properties: { title: { $ref: "#/$defs/text-style" }, subtitle: { $ref: "#/$defs/text-style" }, composer: { $ref: "#/$defs/text-style" }, arranger: { $ref: "#/$defs/text-style" }, staffLabel: { $ref: "#/$defs/text-style" }, pageNumber: { $ref: "#/$defs/text-style" }, tempo: { $ref: "#/$defs/text-style" }, pedalText: { $ref: "#/$defs/text-style" }, copyright: { $ref: "#/$defs/text-style" } }, additionalProperties: !1 };
7036
+ var schema338 = { type: "string", enum: ["serif", "sans-serif", "monospace"], description: "Generic font family for a text style. Maps to a curated typeface (serif\u2248Times, sans-serif\u2248Helvetica, monospace\u2248Courier)." }, schema339 = { type: "string", enum: ["left", "center", "right"], description: "Horizontal alignment of a text style relative to its anchor." }, pattern38 = new RegExp("^#[0-9a-fA-F]{6}$", "u");
7037
+ function validate373(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7038
+ let vErrors = null, errors = 0, evaluated0 = validate373.evaluated;
6685
7039
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
6686
7040
  for (let key0 in data)
6687
7041
  if (!(key0 === "size" || key0 === "family" || key0 === "bold" || key0 === "italic" || key0 === "color" || key0 === "align")) {
@@ -6707,7 +7061,7 @@ function validate347(data, { instancePath = "", parentData, parentDataProperty,
6707
7061
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
6708
7062
  }
6709
7063
  if (!(data1 === "serif" || data1 === "sans-serif" || data1 === "monospace")) {
6710
- let err4 = { instancePath: instancePath + "/family", schemaPath: "#/$defs/font-family/enum", keyword: "enum", params: { allowedValues: schema323.enum }, message: "must be equal to one of the allowed values" };
7064
+ let err4 = { instancePath: instancePath + "/family", schemaPath: "#/$defs/font-family/enum", keyword: "enum", params: { allowedValues: schema338.enum }, message: "must be equal to one of the allowed values" };
6711
7065
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
6712
7066
  }
6713
7067
  }
@@ -6738,7 +7092,7 @@ function validate347(data, { instancePath = "", parentData, parentDataProperty,
6738
7092
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
6739
7093
  }
6740
7094
  if (!(data5 === "left" || data5 === "center" || data5 === "right")) {
6741
- let err10 = { instancePath: instancePath + "/align", schemaPath: "#/$defs/text-alignment/enum", keyword: "enum", params: { allowedValues: schema324.enum }, message: "must be equal to one of the allowed values" };
7095
+ let err10 = { instancePath: instancePath + "/align", schemaPath: "#/$defs/text-alignment/enum", keyword: "enum", params: { allowedValues: schema339.enum }, message: "must be equal to one of the allowed values" };
6742
7096
  vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
6743
7097
  }
6744
7098
  }
@@ -6746,31 +7100,31 @@ function validate347(data, { instancePath = "", parentData, parentDataProperty,
6746
7100
  let err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
6747
7101
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
6748
7102
  }
6749
- return validate347.errors = vErrors, errors === 0;
7103
+ return validate373.errors = vErrors, errors === 0;
6750
7104
  }
6751
- validate347.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6752
- function validate346(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6753
- let vErrors = null, errors = 0, evaluated0 = validate346.evaluated;
7105
+ validate373.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
7106
+ function validate372(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7107
+ let vErrors = null, errors = 0, evaluated0 = validate372.evaluated;
6754
7108
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
6755
7109
  for (let key0 in data)
6756
- if (!func1.call(schema321.properties, key0)) {
7110
+ if (!func1.call(schema336.properties, key0)) {
6757
7111
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
6758
7112
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6759
7113
  }
6760
- data.title !== void 0 && (validate347(data.title, { instancePath: instancePath + "/title", parentData: data, parentDataProperty: "title", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.subtitle !== void 0 && (validate347(data.subtitle, { instancePath: instancePath + "/subtitle", parentData: data, parentDataProperty: "subtitle", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.composer !== void 0 && (validate347(data.composer, { instancePath: instancePath + "/composer", parentData: data, parentDataProperty: "composer", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.arranger !== void 0 && (validate347(data.arranger, { instancePath: instancePath + "/arranger", parentData: data, parentDataProperty: "arranger", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.staffLabel !== void 0 && (validate347(data.staffLabel, { instancePath: instancePath + "/staffLabel", parentData: data, parentDataProperty: "staffLabel", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.pageNumber !== void 0 && (validate347(data.pageNumber, { instancePath: instancePath + "/pageNumber", parentData: data, parentDataProperty: "pageNumber", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.tempo !== void 0 && (validate347(data.tempo, { instancePath: instancePath + "/tempo", parentData: data, parentDataProperty: "tempo", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.pedalText !== void 0 && (validate347(data.pedalText, { instancePath: instancePath + "/pedalText", parentData: data, parentDataProperty: "pedalText", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length)), data.copyright !== void 0 && (validate347(data.copyright, { instancePath: instancePath + "/copyright", parentData: data, parentDataProperty: "copyright", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate347.errors : vErrors.concat(validate347.errors), errors = vErrors.length));
7114
+ data.title !== void 0 && (validate373(data.title, { instancePath: instancePath + "/title", parentData: data, parentDataProperty: "title", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.subtitle !== void 0 && (validate373(data.subtitle, { instancePath: instancePath + "/subtitle", parentData: data, parentDataProperty: "subtitle", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.composer !== void 0 && (validate373(data.composer, { instancePath: instancePath + "/composer", parentData: data, parentDataProperty: "composer", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.arranger !== void 0 && (validate373(data.arranger, { instancePath: instancePath + "/arranger", parentData: data, parentDataProperty: "arranger", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.staffLabel !== void 0 && (validate373(data.staffLabel, { instancePath: instancePath + "/staffLabel", parentData: data, parentDataProperty: "staffLabel", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.pageNumber !== void 0 && (validate373(data.pageNumber, { instancePath: instancePath + "/pageNumber", parentData: data, parentDataProperty: "pageNumber", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.tempo !== void 0 && (validate373(data.tempo, { instancePath: instancePath + "/tempo", parentData: data, parentDataProperty: "tempo", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.pedalText !== void 0 && (validate373(data.pedalText, { instancePath: instancePath + "/pedalText", parentData: data, parentDataProperty: "pedalText", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length)), data.copyright !== void 0 && (validate373(data.copyright, { instancePath: instancePath + "/copyright", parentData: data, parentDataProperty: "copyright", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate373.errors : vErrors.concat(validate373.errors), errors = vErrors.length));
6761
7115
  } else {
6762
7116
  let err1 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
6763
7117
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
6764
7118
  }
6765
- return validate346.errors = vErrors, errors === 0;
7119
+ return validate372.errors = vErrors, errors === 0;
6766
7120
  }
6767
- validate346.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
6768
- var schema325 = { type: "object", description: "Per-document placement overrides keyed by dependent kind. Each entry is a partial `placement-metrics` override merged over the engine's built-in defaults at layout time. Stored at `_x.viritura.placement` on the score root.", properties: { dynamic: { $ref: "#/$defs/placement-metrics" }, expression: { $ref: "#/$defs/placement-metrics" }, fermata: { $ref: "#/$defs/placement-metrics" }, articulation: { $ref: "#/$defs/placement-metrics" }, lyric: { $ref: "#/$defs/placement-metrics" }, ornament: { $ref: "#/$defs/placement-metrics" }, trill: { $ref: "#/$defs/placement-metrics" }, breathMark: { $ref: "#/$defs/placement-metrics" }, caesura: { $ref: "#/$defs/placement-metrics" }, tempo: { $ref: "#/$defs/placement-metrics" }, rehearsalMark: { $ref: "#/$defs/placement-metrics" }, measureNumber: { $ref: "#/$defs/placement-metrics" }, chordSymbol: { $ref: "#/$defs/placement-metrics" }, segno: { $ref: "#/$defs/placement-metrics" }, coda: { $ref: "#/$defs/placement-metrics" }, fine: { $ref: "#/$defs/placement-metrics" }, jump: { $ref: "#/$defs/placement-metrics" } }, additionalProperties: !1 };
6769
- function validate358(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
6770
- let vErrors = null, errors = 0, evaluated0 = validate358.evaluated;
7121
+ validate372.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
7122
+ var schema340 = { type: "object", description: "Per-document placement overrides keyed by dependent kind. Each entry is a partial `placement-metrics` override merged over the engine's built-in defaults at layout time. Stored at `_x.viritura.placement` on the score root.", properties: { dynamic: { $ref: "#/$defs/placement-metrics" }, expression: { $ref: "#/$defs/placement-metrics" }, fermata: { $ref: "#/$defs/placement-metrics" }, articulation: { $ref: "#/$defs/placement-metrics" }, lyric: { $ref: "#/$defs/placement-metrics" }, ornament: { $ref: "#/$defs/placement-metrics" }, trill: { $ref: "#/$defs/placement-metrics" }, breathMark: { $ref: "#/$defs/placement-metrics" }, caesura: { $ref: "#/$defs/placement-metrics" }, tempo: { $ref: "#/$defs/placement-metrics" }, rehearsalMark: { $ref: "#/$defs/placement-metrics" }, measureNumber: { $ref: "#/$defs/placement-metrics" }, chordSymbol: { $ref: "#/$defs/placement-metrics" }, segno: { $ref: "#/$defs/placement-metrics" }, coda: { $ref: "#/$defs/placement-metrics" }, fine: { $ref: "#/$defs/placement-metrics" }, jump: { $ref: "#/$defs/placement-metrics" } }, additionalProperties: !1 };
7123
+ function validate384(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7124
+ let vErrors = null, errors = 0, evaluated0 = validate384.evaluated;
6771
7125
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
6772
7126
  for (let key0 in data)
6773
- if (!func1.call(schema325.properties, key0)) {
7127
+ if (!func1.call(schema340.properties, key0)) {
6774
7128
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
6775
7129
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
6776
7130
  }
@@ -7781,13 +8135,13 @@ function validate358(data, { instancePath = "", parentData, parentDataProperty,
7781
8135
  let err171 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
7782
8136
  vErrors === null ? vErrors = [err171] : vErrors.push(err171), errors++;
7783
8137
  }
7784
- return validate358.errors = vErrors, errors === 0;
8138
+ return validate384.errors = vErrors, errors === 0;
7785
8139
  }
7786
- validate358.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
7787
- var schema352 = { type: "string", enum: ["normal", "large", "narrow", "aboveStaff", "spanning", "singleNumber", "noteValue"], description: "Legacy combined preset accepted for backward compatibility. New documents serialize a time-signature-settings object." };
7788
- var schema346 = { type: "string", enum: ["standard", "narrow", "outsideStaff", "singleNumber", "noteValue"], description: "The glyph treatment only. `outsideStaff` uses the music font's tall, tightly condensed digits designed to be enlarged outside a staff. Position, distribution, and size are configured independently." }, schema347 = { type: "string", enum: ["perStaff", "perGroup"], description: "Whether a meter is engraved once on every staff or once for each staff group." }, schema348 = { type: "string", enum: ["include", "exclude"], description: "For per-group distribution, whether a brace group (grand staff) receives one shared meter (`include`) or one meter on each constituent staff (`exclude`)." }, schema349 = { type: "string", enum: ["center", "top", "bottom", "above"], description: "Vertical alignment relative to the target staff or staff group. `above` is independent of distribution." }, schema350 = { type: "string", enum: ["open", "hidden"], description: "Whether MNX `display: senzaMisura` engraves the open-meter glyph or remains unprinted." }, schema351 = { type: "string", enum: ["standard", "additive", "annotation"], description: "How a meter's beat grouping is presented, independent of its semantic beatStructure. `standard` shows an ordinary numeric (or symbolic) meter. `additive` writes the numerator as its beat groups joined by `+` (e.g. `2+3+2` over `8`). `annotation` engraves the ordinary meter plus a generated grouping annotation (e.g. `2+3+2+2`) above it." };
7789
- function validate362(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7790
- let vErrors = null, errors = 0, evaluated0 = validate362.evaluated;
8140
+ validate384.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8141
+ var schema367 = { type: "string", enum: ["normal", "large", "narrow", "aboveStaff", "spanning", "singleNumber", "noteValue"], description: "Legacy combined preset accepted for backward compatibility. New documents serialize a time-signature-settings object." };
8142
+ var schema361 = { type: "string", enum: ["standard", "narrow", "outsideStaff", "singleNumber", "noteValue"], description: "The glyph treatment only. `outsideStaff` uses the music font's tall, tightly condensed digits designed to be enlarged outside a staff. Position, distribution, and size are configured independently." }, schema362 = { type: "string", enum: ["perStaff", "perGroup"], description: "Whether a meter is engraved once on every staff or once for each staff group." }, schema363 = { type: "string", enum: ["include", "exclude"], description: "For per-group distribution, whether a brace group (grand staff) receives one shared meter (`include`) or one meter on each constituent staff (`exclude`)." }, schema364 = { type: "string", enum: ["center", "top", "bottom", "above"], description: "Vertical alignment relative to the target staff or staff group. `above` is independent of distribution." }, schema365 = { type: "string", enum: ["open", "hidden"], description: "Whether MNX `display: senzaMisura` engraves the open-meter glyph or remains unprinted." }, schema366 = { type: "string", enum: ["standard", "additive", "annotation"], description: "How a meter's beat grouping is presented, independent of its semantic beatStructure. `standard` shows an ordinary numeric (or symbolic) meter. `additive` writes the numerator as its beat groups joined by `+` (e.g. `2+3+2` over `8`). `annotation` engraves the ordinary meter plus a generated grouping annotation (e.g. `2+3+2+2`) above it." };
8143
+ function validate388(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8144
+ let vErrors = null, errors = 0, evaluated0 = validate388.evaluated;
7791
8145
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
7792
8146
  for (let key0 in data)
7793
8147
  if (!(key0 === "renderStyle" || key0 === "distribution" || key0 === "grandStaff" || key0 === "position" || key0 === "scale" || key0 === "senzaMisura" || key0 === "nonDefaultGroupingDisplay")) {
@@ -7801,7 +8155,7 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7801
8155
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
7802
8156
  }
7803
8157
  if (!(data0 === "standard" || data0 === "narrow" || data0 === "outsideStaff" || data0 === "singleNumber" || data0 === "noteValue")) {
7804
- let err2 = { instancePath: instancePath + "/renderStyle", schemaPath: "#/$defs/time-signature-render-style/enum", keyword: "enum", params: { allowedValues: schema346.enum }, message: "must be equal to one of the allowed values" };
8158
+ let err2 = { instancePath: instancePath + "/renderStyle", schemaPath: "#/$defs/time-signature-render-style/enum", keyword: "enum", params: { allowedValues: schema361.enum }, message: "must be equal to one of the allowed values" };
7805
8159
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
7806
8160
  }
7807
8161
  }
@@ -7812,7 +8166,7 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7812
8166
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
7813
8167
  }
7814
8168
  if (!(data1 === "perStaff" || data1 === "perGroup")) {
7815
- let err4 = { instancePath: instancePath + "/distribution", schemaPath: "#/$defs/time-signature-distribution/enum", keyword: "enum", params: { allowedValues: schema347.enum }, message: "must be equal to one of the allowed values" };
8169
+ let err4 = { instancePath: instancePath + "/distribution", schemaPath: "#/$defs/time-signature-distribution/enum", keyword: "enum", params: { allowedValues: schema362.enum }, message: "must be equal to one of the allowed values" };
7816
8170
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
7817
8171
  }
7818
8172
  }
@@ -7823,7 +8177,7 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7823
8177
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
7824
8178
  }
7825
8179
  if (!(data2 === "include" || data2 === "exclude")) {
7826
- let err6 = { instancePath: instancePath + "/grandStaff", schemaPath: "#/$defs/time-signature-grand-staff/enum", keyword: "enum", params: { allowedValues: schema348.enum }, message: "must be equal to one of the allowed values" };
8180
+ let err6 = { instancePath: instancePath + "/grandStaff", schemaPath: "#/$defs/time-signature-grand-staff/enum", keyword: "enum", params: { allowedValues: schema363.enum }, message: "must be equal to one of the allowed values" };
7827
8181
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
7828
8182
  }
7829
8183
  }
@@ -7834,7 +8188,7 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7834
8188
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
7835
8189
  }
7836
8190
  if (!(data3 === "center" || data3 === "top" || data3 === "bottom" || data3 === "above")) {
7837
- let err8 = { instancePath: instancePath + "/position", schemaPath: "#/$defs/time-signature-position/enum", keyword: "enum", params: { allowedValues: schema349.enum }, message: "must be equal to one of the allowed values" };
8191
+ let err8 = { instancePath: instancePath + "/position", schemaPath: "#/$defs/time-signature-position/enum", keyword: "enum", params: { allowedValues: schema364.enum }, message: "must be equal to one of the allowed values" };
7838
8192
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
7839
8193
  }
7840
8194
  }
@@ -7861,7 +8215,7 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7861
8215
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
7862
8216
  }
7863
8217
  if (!(data5 === "open" || data5 === "hidden")) {
7864
- let err13 = { instancePath: instancePath + "/senzaMisura", schemaPath: "#/$defs/senza-misura-display/enum", keyword: "enum", params: { allowedValues: schema350.enum }, message: "must be equal to one of the allowed values" };
8218
+ let err13 = { instancePath: instancePath + "/senzaMisura", schemaPath: "#/$defs/senza-misura-display/enum", keyword: "enum", params: { allowedValues: schema365.enum }, message: "must be equal to one of the allowed values" };
7865
8219
  vErrors === null ? vErrors = [err13] : vErrors.push(err13), errors++;
7866
8220
  }
7867
8221
  }
@@ -7872,7 +8226,7 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7872
8226
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
7873
8227
  }
7874
8228
  if (!(data6 === "standard" || data6 === "additive" || data6 === "annotation")) {
7875
- let err15 = { instancePath: instancePath + "/nonDefaultGroupingDisplay", schemaPath: "#/$defs/grouping-display/enum", keyword: "enum", params: { allowedValues: schema351.enum }, message: "must be equal to one of the allowed values" };
8229
+ let err15 = { instancePath: instancePath + "/nonDefaultGroupingDisplay", schemaPath: "#/$defs/grouping-display/enum", keyword: "enum", params: { allowedValues: schema366.enum }, message: "must be equal to one of the allowed values" };
7876
8230
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
7877
8231
  }
7878
8232
  }
@@ -7880,14 +8234,14 @@ function validate362(data, { instancePath = "", parentData, parentDataProperty,
7880
8234
  let err16 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
7881
8235
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
7882
8236
  }
7883
- return validate362.errors = vErrors, errors === 0;
8237
+ return validate388.errors = vErrors, errors === 0;
7884
8238
  }
7885
- validate362.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
7886
- function validate361(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7887
- let vErrors = null, errors = 0, evaluated0 = validate361.evaluated;
8239
+ validate388.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8240
+ function validate387(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8241
+ let vErrors = null, errors = 0, evaluated0 = validate387.evaluated;
7888
8242
  evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0);
7889
8243
  let _errs0 = errors, valid0 = !1, passing0 = null, _errs1 = errors;
7890
- validate362(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate362.errors : vErrors.concat(validate362.errors), errors = vErrors.length);
8244
+ validate388(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate388.errors : vErrors.concat(validate388.errors), errors = vErrors.length);
7891
8245
  var _valid0 = _errs1 === errors;
7892
8246
  if (_valid0) {
7893
8247
  valid0 = !0, passing0 = 0;
@@ -7899,7 +8253,7 @@ function validate361(data, { instancePath = "", parentData, parentDataProperty,
7899
8253
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
7900
8254
  }
7901
8255
  if (!(data === "normal" || data === "large" || data === "narrow" || data === "aboveStaff" || data === "spanning" || data === "singleNumber" || data === "noteValue")) {
7902
- let err1 = { instancePath, schemaPath: "#/$defs/time-signature-legacy-style/enum", keyword: "enum", params: { allowedValues: schema352.enum }, message: "must be equal to one of the allowed values" };
8256
+ let err1 = { instancePath, schemaPath: "#/$defs/time-signature-legacy-style/enum", keyword: "enum", params: { allowedValues: schema367.enum }, message: "must be equal to one of the allowed values" };
7903
8257
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
7904
8258
  }
7905
8259
  var _valid0 = _errs2 === errors;
@@ -7909,28 +8263,28 @@ function validate361(data, { instancePath = "", parentData, parentDataProperty,
7909
8263
  let err2 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
7910
8264
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
7911
8265
  }
7912
- return validate361.errors = vErrors, evaluated0.props = props0, errors === 0;
8266
+ return validate387.errors = vErrors, evaluated0.props = props0, errors === 0;
7913
8267
  }
7914
- validate361.evaluated = { dynamicProps: !0, dynamicItems: !1 };
7915
- function validate360(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7916
- let vErrors = null, errors = 0, evaluated0 = validate360.evaluated;
8268
+ validate387.evaluated = { dynamicProps: !0, dynamicItems: !1 };
8269
+ function validate386(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8270
+ let vErrors = null, errors = 0, evaluated0 = validate386.evaluated;
7917
8271
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
7918
8272
  for (let key0 in data)
7919
8273
  if (!(key0 === "score" || key0 === "parts")) {
7920
8274
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
7921
8275
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
7922
8276
  }
7923
- data.score !== void 0 && (validate361(data.score, { instancePath: instancePath + "/score", parentData: data, parentDataProperty: "score", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate361.errors : vErrors.concat(validate361.errors), errors = vErrors.length)), data.parts !== void 0 && (validate361(data.parts, { instancePath: instancePath + "/parts", parentData: data, parentDataProperty: "parts", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate361.errors : vErrors.concat(validate361.errors), errors = vErrors.length));
8277
+ data.score !== void 0 && (validate387(data.score, { instancePath: instancePath + "/score", parentData: data, parentDataProperty: "score", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate387.errors : vErrors.concat(validate387.errors), errors = vErrors.length)), data.parts !== void 0 && (validate387(data.parts, { instancePath: instancePath + "/parts", parentData: data, parentDataProperty: "parts", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate387.errors : vErrors.concat(validate387.errors), errors = vErrors.length));
7924
8278
  } else {
7925
8279
  let err1 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
7926
8280
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
7927
8281
  }
7928
- return validate360.errors = vErrors, errors === 0;
8282
+ return validate386.errors = vErrors, errors === 0;
7929
8283
  }
7930
- validate360.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8284
+ validate386.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
7931
8285
  var func5 = typeof import_ucs2length.default == "function" ? import_ucs2length.default : import_ucs2length.default.default;
7932
- function validate367(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
7933
- let vErrors = null, errors = 0, evaluated0 = validate367.evaluated;
8286
+ function validate393(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8287
+ let vErrors = null, errors = 0, evaluated0 = validate393.evaluated;
7934
8288
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
7935
8289
  if (data.profileId === void 0) {
7936
8290
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "profileId" }, message: "must have required property 'profileId'" };
@@ -8036,13 +8390,13 @@ function validate367(data, { instancePath = "", parentData, parentDataProperty,
8036
8390
  let err18 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8037
8391
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
8038
8392
  }
8039
- return validate367.errors = vErrors, errors === 0;
8393
+ return validate393.errors = vErrors, errors === 0;
8040
8394
  }
8041
- validate367.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8042
- var schema356 = { type: "object", description: "Score-to-picture synchronization settings for film/TV scoring. Stored at `_x.viritura.videoSync` on the score root. MNX has no concept of picture, so the whole feature lives in one versioned vendor object rather than scattering unrelated extensions.", required: ["version", "pictureOffsetSeconds"], properties: { version: { type: "integer", minimum: 1, description: "Schema version of this payload." }, media: { $ref: "#/$defs/video-media-identity", description: "Attached picture identity. Absent when settings exist but no media is attached." }, pictureOffsetSeconds: { type: "number", description: "Media time (seconds) corresponding to score time zero. 120 means the score starts two minutes into the picture. Negative values place the score before the first frame." }, pictureAudioEnabled: { type: "boolean", description: "Whether the picture's production audio is audible. Defaults to false so attaching a video never doubles up against score playback." }, startTimecodeSeconds: { type: "number", description: "Display-only offset applied to the picture timecode readout, for deliveries that start at e.g. 01:00:00:00. Never affects the media time Viritura seeks to." }, frameRate: { type: "string", enum: ["23.976", "24", "25", "29.97", "29.97df", "30", "50", "59.94", "59.94df", "60"], description: "Frame rate of the delivery, as an identifier rather than a decimal, because NTSC rates are rational (23.976 is exactly 24000/1001) and because drop-frame is a labelling convention rather than a distinct speed. Browsers expose neither the file's true rate nor its drop-frame flag, so this is declared by the user." }, hitPoints: { type: "array", description: "Spotted moments in the picture, in no guaranteed order. Kept alongside the picture identity because they describe the film rather than the score, and so must survive any amount of rewriting of the music.", items: { $ref: "#/$defs/hit-point" } } }, additionalProperties: !1 };
8395
+ validate393.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8396
+ var schema371 = { type: "object", description: "Score-to-picture synchronization settings for film/TV scoring. Stored at `_x.viritura.videoSync` on the score root. MNX has no concept of picture, so the whole feature lives in one versioned vendor object rather than scattering unrelated extensions.", required: ["version", "pictureOffsetSeconds"], properties: { version: { type: "integer", minimum: 1, description: "Schema version of this payload." }, media: { $ref: "#/$defs/video-media-identity", description: "Attached picture identity. Absent when settings exist but no media is attached." }, pictureOffsetSeconds: { type: "number", description: "Media time (seconds) corresponding to score time zero. 120 means the score starts two minutes into the picture. Negative values place the score before the first frame." }, pictureAudioEnabled: { type: "boolean", description: "Whether the picture's production audio is audible. Defaults to false so attaching a video never doubles up against score playback." }, startTimecodeSeconds: { type: "number", description: "Display-only offset applied to the picture timecode readout, for deliveries that start at e.g. 01:00:00:00. Never affects the media time Viritura seeks to." }, frameRate: { type: "string", enum: ["23.976", "24", "25", "29.97", "29.97df", "30", "50", "59.94", "59.94df", "60"], description: "Frame rate of the delivery, as an identifier rather than a decimal, because NTSC rates are rational (23.976 is exactly 24000/1001) and because drop-frame is a labelling convention rather than a distinct speed. Browsers expose neither the file's true rate nor its drop-frame flag, so this is declared by the user." }, hitPoints: { type: "array", description: "Spotted moments in the picture, in no guaranteed order. Kept alongside the picture identity because they describe the film rather than the score, and so must survive any amount of rewriting of the music.", items: { $ref: "#/$defs/hit-point" } } }, additionalProperties: !1 };
8043
8397
  var pattern39 = new RegExp("^sha256:[0-9a-f]{64}$", "u");
8044
- function validate369(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8045
- let vErrors = null, errors = 0, evaluated0 = validate369.evaluated;
8398
+ function validate395(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8399
+ let vErrors = null, errors = 0, evaluated0 = validate395.evaluated;
8046
8400
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
8047
8401
  if (data.version === void 0) {
8048
8402
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "version" }, message: "must have required property 'version'" };
@@ -8152,7 +8506,7 @@ function validate369(data, { instancePath = "", parentData, parentDataProperty,
8152
8506
  vErrors === null ? vErrors = [err19] : vErrors.push(err19), errors++;
8153
8507
  }
8154
8508
  if (!(data9 === "23.976" || data9 === "24" || data9 === "25" || data9 === "29.97" || data9 === "29.97df" || data9 === "30" || data9 === "50" || data9 === "59.94" || data9 === "59.94df" || data9 === "60")) {
8155
- let err20 = { instancePath: instancePath + "/frameRate", schemaPath: "#/properties/frameRate/enum", keyword: "enum", params: { allowedValues: schema356.properties.frameRate.enum }, message: "must be equal to one of the allowed values" };
8509
+ let err20 = { instancePath: instancePath + "/frameRate", schemaPath: "#/properties/frameRate/enum", keyword: "enum", params: { allowedValues: schema371.properties.frameRate.enum }, message: "must be equal to one of the allowed values" };
8156
8510
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
8157
8511
  }
8158
8512
  }
@@ -8222,12 +8576,12 @@ function validate369(data, { instancePath = "", parentData, parentDataProperty,
8222
8576
  let err32 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8223
8577
  vErrors === null ? vErrors = [err32] : vErrors.push(err32), errors++;
8224
8578
  }
8225
- return validate369.errors = vErrors, errors === 0;
8579
+ return validate395.errors = vErrors, errors === 0;
8226
8580
  }
8227
- validate369.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8228
- var schema361 = { type: "object", description: "A stable token from a paste-and-distribute lyric source.", required: ["id"], properties: { id: { type: "string", minLength: 1, description: "Stable identity used by reflow and collaborative repair." }, text: { type: "string", description: "Authored syllable text. Omitted for an explicit melisma skip." }, type: { type: "string", enum: ["start", "middle", "end", "whole"], description: "MNX syllabic role for a visible token." }, skip: { type: "boolean", const: !0, description: "Marks an explicit underscore in the original source." }, eventId: { type: "string", minLength: 1, description: "Stable MNX event ID currently anchoring this token; absent when detached." }, partId: { type: "string", minLength: 1, description: "Part ID at the time the token was assigned." }, sequenceIndex: { type: "integer", minimum: 0, description: "Voice index at the time the token was assigned." } }, additionalProperties: !1 };
8229
- function validate372(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8230
- let vErrors = null, errors = 0, evaluated0 = validate372.evaluated;
8581
+ validate395.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8582
+ var schema376 = { type: "object", description: "A stable token from a paste-and-distribute lyric source.", required: ["id"], properties: { id: { type: "string", minLength: 1, description: "Stable identity used by reflow and collaborative repair." }, text: { type: "string", description: "Authored syllable text. Omitted for an explicit melisma skip." }, type: { type: "string", enum: ["start", "middle", "end", "whole"], description: "MNX syllabic role for a visible token." }, skip: { type: "boolean", const: !0, description: "Marks an explicit underscore in the original source." }, eventId: { type: "string", minLength: 1, description: "Stable MNX event ID currently anchoring this token; absent when detached." }, partId: { type: "string", minLength: 1, description: "Part ID at the time the token was assigned." }, sequenceIndex: { type: "integer", minimum: 0, description: "Voice index at the time the token was assigned." } }, additionalProperties: !1 };
8583
+ function validate398(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8584
+ let vErrors = null, errors = 0, evaluated0 = validate398.evaluated;
8231
8585
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
8232
8586
  if (data.id === void 0) {
8233
8587
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -8329,7 +8683,7 @@ function validate372(data, { instancePath = "", parentData, parentDataProperty,
8329
8683
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
8330
8684
  }
8331
8685
  if (!(data8 === "start" || data8 === "middle" || data8 === "end" || data8 === "whole")) {
8332
- let err18 = { instancePath: instancePath + "/tokens/" + i0 + "/type", schemaPath: "#/$defs/lyric-workflow-token/properties/type/enum", keyword: "enum", params: { allowedValues: schema361.properties.type.enum }, message: "must be equal to one of the allowed values" };
8686
+ let err18 = { instancePath: instancePath + "/tokens/" + i0 + "/type", schemaPath: "#/$defs/lyric-workflow-token/properties/type/enum", keyword: "enum", params: { allowedValues: schema376.properties.type.enum }, message: "must be equal to one of the allowed values" };
8333
8687
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
8334
8688
  }
8335
8689
  }
@@ -8393,11 +8747,11 @@ function validate372(data, { instancePath = "", parentData, parentDataProperty,
8393
8747
  let err29 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8394
8748
  vErrors === null ? vErrors = [err29] : vErrors.push(err29), errors++;
8395
8749
  }
8396
- return validate372.errors = vErrors, errors === 0;
8750
+ return validate398.errors = vErrors, errors === 0;
8397
8751
  }
8398
- validate372.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8399
- function validate371(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8400
- let vErrors = null, errors = 0, evaluated0 = validate371.evaluated;
8752
+ validate398.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8753
+ function validate397(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8754
+ let vErrors = null, errors = 0, evaluated0 = validate397.evaluated;
8401
8755
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
8402
8756
  if (data.sources === void 0) {
8403
8757
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "sources" }, message: "must have required property 'sources'" };
@@ -8412,7 +8766,7 @@ function validate371(data, { instancePath = "", parentData, parentDataProperty,
8412
8766
  let data0 = data.sources;
8413
8767
  if (data0 && typeof data0 == "object" && !Array.isArray(data0))
8414
8768
  for (let key1 in data0)
8415
- validate372(data0[key1], { instancePath: instancePath + "/sources/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate372.errors : vErrors.concat(validate372.errors), errors = vErrors.length);
8769
+ validate398(data0[key1], { instancePath: instancePath + "/sources/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate398.errors : vErrors.concat(validate398.errors), errors = vErrors.length);
8416
8770
  else {
8417
8771
  let err2 = { instancePath: instancePath + "/sources", schemaPath: "#/properties/sources/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8418
8772
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
@@ -8422,14 +8776,14 @@ function validate371(data, { instancePath = "", parentData, parentDataProperty,
8422
8776
  let err3 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8423
8777
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
8424
8778
  }
8425
- return validate371.errors = vErrors, errors === 0;
8779
+ return validate397.errors = vErrors, errors === 0;
8426
8780
  }
8427
- validate371.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8428
- function validate345(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8429
- let vErrors = null, errors = 0, evaluated0 = validate345.evaluated;
8781
+ validate397.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8782
+ function validate371(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8783
+ let vErrors = null, errors = 0, evaluated0 = validate371.evaluated;
8430
8784
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
8431
8785
  for (let key0 in data)
8432
- if (!func1.call(schema319.properties, key0)) {
8786
+ if (!func1.call(schema334.properties, key0)) {
8433
8787
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
8434
8788
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
8435
8789
  }
@@ -8437,7 +8791,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8437
8791
  let data0 = data.metadata;
8438
8792
  if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
8439
8793
  for (let key1 in data0)
8440
- if (!func1.call(schema320.properties, key1)) {
8794
+ if (!func1.call(schema335.properties, key1)) {
8441
8795
  let err1 = { instancePath: instancePath + "/metadata", schemaPath: "#/$defs/score-metadata/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
8442
8796
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
8443
8797
  }
@@ -8486,7 +8840,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8486
8840
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
8487
8841
  }
8488
8842
  }
8489
- if (data.textStyles !== void 0 && (validate346(data.textStyles, { instancePath: instancePath + "/textStyles", parentData: data, parentDataProperty: "textStyles", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate346.errors : vErrors.concat(validate346.errors), errors = vErrors.length)), data.placement !== void 0 && (validate358(data.placement, { instancePath: instancePath + "/placement", parentData: data, parentDataProperty: "placement", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate358.errors : vErrors.concat(validate358.errors), errors = vErrors.length)), data.timeSignatures !== void 0 && (validate360(data.timeSignatures, { instancePath: instancePath + "/timeSignatures", parentData: data, parentDataProperty: "timeSignatures", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate360.errors : vErrors.concat(validate360.errors), errors = vErrors.length)), data.chordSymbolStyle !== void 0) {
8843
+ if (data.textStyles !== void 0 && (validate372(data.textStyles, { instancePath: instancePath + "/textStyles", parentData: data, parentDataProperty: "textStyles", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate372.errors : vErrors.concat(validate372.errors), errors = vErrors.length)), data.placement !== void 0 && (validate384(data.placement, { instancePath: instancePath + "/placement", parentData: data, parentDataProperty: "placement", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate384.errors : vErrors.concat(validate384.errors), errors = vErrors.length)), data.timeSignatures !== void 0 && (validate386(data.timeSignatures, { instancePath: instancePath + "/timeSignatures", parentData: data, parentDataProperty: "timeSignatures", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate386.errors : vErrors.concat(validate386.errors), errors = vErrors.length)), data.chordSymbolStyle !== void 0) {
8490
8844
  let data14 = data.chordSymbolStyle;
8491
8845
  if (data14 && typeof data14 == "object" && !Array.isArray(data14)) {
8492
8846
  for (let key2 in data14)
@@ -8501,7 +8855,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8501
8855
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
8502
8856
  }
8503
8857
  if (!(data15 === "uppercase" || data15 === "lowercaseMinor")) {
8504
- let err15 = { instancePath: instancePath + "/chordSymbolStyle/rootCase", schemaPath: "#/$defs/chord-symbol-style/properties/rootCase/enum", keyword: "enum", params: { allowedValues: schema353.properties.rootCase.enum }, message: "must be equal to one of the allowed values" };
8858
+ let err15 = { instancePath: instancePath + "/chordSymbolStyle/rootCase", schemaPath: "#/$defs/chord-symbol-style/properties/rootCase/enum", keyword: "enum", params: { allowedValues: schema368.properties.rootCase.enum }, message: "must be equal to one of the allowed values" };
8505
8859
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
8506
8860
  }
8507
8861
  }
@@ -8512,7 +8866,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8512
8866
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
8513
8867
  }
8514
8868
  if (!(data16 === "triangle" || data16 === "maj" || data16 === "M")) {
8515
- let err17 = { instancePath: instancePath + "/chordSymbolStyle/majorSeventh", schemaPath: "#/$defs/chord-symbol-style/properties/majorSeventh/enum", keyword: "enum", params: { allowedValues: schema353.properties.majorSeventh.enum }, message: "must be equal to one of the allowed values" };
8869
+ let err17 = { instancePath: instancePath + "/chordSymbolStyle/majorSeventh", schemaPath: "#/$defs/chord-symbol-style/properties/majorSeventh/enum", keyword: "enum", params: { allowedValues: schema368.properties.majorSeventh.enum }, message: "must be equal to one of the allowed values" };
8516
8870
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
8517
8871
  }
8518
8872
  }
@@ -8523,7 +8877,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8523
8877
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
8524
8878
  }
8525
8879
  if (!(data17 === "m" || data17 === "min" || data17 === "minus" || data17 === "none")) {
8526
- let err19 = { instancePath: instancePath + "/chordSymbolStyle/minor", schemaPath: "#/$defs/chord-symbol-style/properties/minor/enum", keyword: "enum", params: { allowedValues: schema353.properties.minor.enum }, message: "must be equal to one of the allowed values" };
8880
+ let err19 = { instancePath: instancePath + "/chordSymbolStyle/minor", schemaPath: "#/$defs/chord-symbol-style/properties/minor/enum", keyword: "enum", params: { allowedValues: schema368.properties.minor.enum }, message: "must be equal to one of the allowed values" };
8527
8881
  vErrors === null ? vErrors = [err19] : vErrors.push(err19), errors++;
8528
8882
  }
8529
8883
  }
@@ -8534,7 +8888,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8534
8888
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
8535
8889
  }
8536
8890
  if (!(data18 === "symbol" || data18 === "dim")) {
8537
- let err21 = { instancePath: instancePath + "/chordSymbolStyle/diminished", schemaPath: "#/$defs/chord-symbol-style/properties/diminished/enum", keyword: "enum", params: { allowedValues: schema353.properties.diminished.enum }, message: "must be equal to one of the allowed values" };
8891
+ let err21 = { instancePath: instancePath + "/chordSymbolStyle/diminished", schemaPath: "#/$defs/chord-symbol-style/properties/diminished/enum", keyword: "enum", params: { allowedValues: schema368.properties.diminished.enum }, message: "must be equal to one of the allowed values" };
8538
8892
  vErrors === null ? vErrors = [err21] : vErrors.push(err21), errors++;
8539
8893
  }
8540
8894
  }
@@ -8545,7 +8899,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8545
8899
  vErrors === null ? vErrors = [err22] : vErrors.push(err22), errors++;
8546
8900
  }
8547
8901
  if (!(data19 === "symbol" || data19 === "minorFlatFive")) {
8548
- let err23 = { instancePath: instancePath + "/chordSymbolStyle/halfDiminished", schemaPath: "#/$defs/chord-symbol-style/properties/halfDiminished/enum", keyword: "enum", params: { allowedValues: schema353.properties.halfDiminished.enum }, message: "must be equal to one of the allowed values" };
8902
+ let err23 = { instancePath: instancePath + "/chordSymbolStyle/halfDiminished", schemaPath: "#/$defs/chord-symbol-style/properties/halfDiminished/enum", keyword: "enum", params: { allowedValues: schema368.properties.halfDiminished.enum }, message: "must be equal to one of the allowed values" };
8549
8903
  vErrors === null ? vErrors = [err23] : vErrors.push(err23), errors++;
8550
8904
  }
8551
8905
  }
@@ -8556,7 +8910,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8556
8910
  vErrors === null ? vErrors = [err24] : vErrors.push(err24), errors++;
8557
8911
  }
8558
8912
  if (!(data20 === "plus" || data20 === "aug")) {
8559
- let err25 = { instancePath: instancePath + "/chordSymbolStyle/augmented", schemaPath: "#/$defs/chord-symbol-style/properties/augmented/enum", keyword: "enum", params: { allowedValues: schema353.properties.augmented.enum }, message: "must be equal to one of the allowed values" };
8913
+ let err25 = { instancePath: instancePath + "/chordSymbolStyle/augmented", schemaPath: "#/$defs/chord-symbol-style/properties/augmented/enum", keyword: "enum", params: { allowedValues: schema368.properties.augmented.enum }, message: "must be equal to one of the allowed values" };
8560
8914
  vErrors === null ? vErrors = [err25] : vErrors.push(err25), errors++;
8561
8915
  }
8562
8916
  }
@@ -8567,7 +8921,7 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8567
8921
  vErrors === null ? vErrors = [err26] : vErrors.push(err26), errors++;
8568
8922
  }
8569
8923
  if (!(data21 === "superscript" || data21 === "baseline")) {
8570
- let err27 = { instancePath: instancePath + "/chordSymbolStyle/extensions", schemaPath: "#/$defs/chord-symbol-style/properties/extensions/enum", keyword: "enum", params: { allowedValues: schema353.properties.extensions.enum }, message: "must be equal to one of the allowed values" };
8924
+ let err27 = { instancePath: instancePath + "/chordSymbolStyle/extensions", schemaPath: "#/$defs/chord-symbol-style/properties/extensions/enum", keyword: "enum", params: { allowedValues: schema368.properties.extensions.enum }, message: "must be equal to one of the allowed values" };
8571
8925
  vErrors === null ? vErrors = [err27] : vErrors.push(err27), errors++;
8572
8926
  }
8573
8927
  }
@@ -8597,18 +8951,18 @@ function validate345(data, { instancePath = "", parentData, parentDataProperty,
8597
8951
  vErrors === null ? vErrors = [err32] : vErrors.push(err32), errors++;
8598
8952
  }
8599
8953
  }
8600
- data.soundProfile !== void 0 && (validate367(data.soundProfile, { instancePath: instancePath + "/soundProfile", parentData: data, parentDataProperty: "soundProfile", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate367.errors : vErrors.concat(validate367.errors), errors = vErrors.length)), data.videoSync !== void 0 && (validate369(data.videoSync, { instancePath: instancePath + "/videoSync", parentData: data, parentDataProperty: "videoSync", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate369.errors : vErrors.concat(validate369.errors), errors = vErrors.length)), data.lyricWorkflow !== void 0 && (validate371(data.lyricWorkflow, { instancePath: instancePath + "/lyricWorkflow", parentData: data, parentDataProperty: "lyricWorkflow", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate371.errors : vErrors.concat(validate371.errors), errors = vErrors.length));
8954
+ data.soundProfile !== void 0 && (validate393(data.soundProfile, { instancePath: instancePath + "/soundProfile", parentData: data, parentDataProperty: "soundProfile", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate393.errors : vErrors.concat(validate393.errors), errors = vErrors.length)), data.videoSync !== void 0 && (validate395(data.videoSync, { instancePath: instancePath + "/videoSync", parentData: data, parentDataProperty: "videoSync", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate395.errors : vErrors.concat(validate395.errors), errors = vErrors.length)), data.lyricWorkflow !== void 0 && (validate397(data.lyricWorkflow, { instancePath: instancePath + "/lyricWorkflow", parentData: data, parentDataProperty: "lyricWorkflow", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate397.errors : vErrors.concat(validate397.errors), errors = vErrors.length));
8601
8955
  } else {
8602
8956
  let err33 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8603
8957
  vErrors === null ? vErrors = [err33] : vErrors.push(err33), errors++;
8604
8958
  }
8605
- return validate345.errors = vErrors, errors === 0;
8959
+ return validate371.errors = vErrors, errors === 0;
8606
8960
  }
8607
- validate345.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8608
- var schema363 = { type: "object", description: "A rehearsal mark displayed above the staff (e.g. 'A', 'B', '1'). Typically rendered in a box or circle.", required: ["text"], properties: { text: { $ref: "#/$defs/text-content" }, style: { type: "string", enum: ["boxed", "circled", "plain"], description: "Display style. Default: 'boxed'." }, manualOffset: { $ref: "#/$defs/sp-delta", description: "Manual [dx, dy] offset in spatia (sp); +x right, +y up." }, avoidCollisions: { type: "boolean", description: "Whether automatic collision avoidance may re-flow this mark. Default/unset: true." } }, additionalProperties: !1 };
8609
- var schema366 = { type: "object", description: "Inline text formatting. Omitted fields inherit the owning text role's style.", properties: { font: { type: "string", enum: ["serif", "sans-serif", "monospace"] }, size: { type: "number", exclusiveMinimum: 0, maximum: 12, description: "Relative size as a multiple of the owning text role's resolved size (the CSS 'em' equivalent), not an absolute point size. Distinct from text-style.size, which counts staff spaces for a whole role." }, weight: { oneOf: [{ type: "string", enum: ["normal", "bold"] }, { type: "number", minimum: 1, maximum: 1e3 }] }, fontStyle: { type: "string", enum: ["normal", "italic", "oblique"] }, decorations: { type: "array", description: "Line decorations applied together. A set rather than a single value, because both MusicXML and Finale treat underline, overline and strikethrough as independent.", items: { type: "string", enum: ["underline", "overline", "strikethrough"] }, uniqueItems: !0, minItems: 1 }, enclosure: { type: "string", enum: ["box", "circle"] }, color: { type: "string", pattern: "^#[0-9a-fA-F]{6}$" } }, additionalProperties: !1 };
8610
- function validate378(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8611
- let vErrors = null, errors = 0, evaluated0 = validate378.evaluated;
8961
+ validate371.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8962
+ var schema378 = { type: "object", description: "A rehearsal mark displayed above the staff (e.g. 'A', 'B', '1'). Typically rendered in a box or circle.", required: ["text"], properties: { text: { $ref: "#/$defs/text-content" }, style: { type: "string", enum: ["boxed", "circled", "plain"], description: "Display style. Default: 'boxed'." }, manualOffset: { $ref: "#/$defs/sp-delta", description: "Manual [dx, dy] offset in spatia (sp); +x right, +y up." }, avoidCollisions: { type: "boolean", description: "Whether automatic collision avoidance may re-flow this mark. Default/unset: true." } }, additionalProperties: !1 };
8963
+ var schema381 = { type: "object", description: "Inline text formatting. Omitted fields inherit the owning text role's style.", properties: { font: { type: "string", enum: ["serif", "sans-serif", "monospace"] }, size: { type: "number", exclusiveMinimum: 0, maximum: 12, description: "Relative size as a multiple of the owning text role's resolved size (the CSS 'em' equivalent), not an absolute point size. Distinct from text-style.size, which counts staff spaces for a whole role." }, weight: { oneOf: [{ type: "string", enum: ["normal", "bold"] }, { type: "number", minimum: 1, maximum: 1e3 }] }, fontStyle: { type: "string", enum: ["normal", "italic", "oblique"] }, decorations: { type: "array", description: "Line decorations applied together. A set rather than a single value, because both MusicXML and Finale treat underline, overline and strikethrough as independent.", items: { type: "string", enum: ["underline", "overline", "strikethrough"] }, uniqueItems: !0, minItems: 1 }, enclosure: { type: "string", enum: ["box", "circle"] }, color: { type: "string", pattern: "^#[0-9a-fA-F]{6}$" } }, additionalProperties: !1 };
8964
+ function validate404(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8965
+ let vErrors = null, errors = 0, evaluated0 = validate404.evaluated;
8612
8966
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
8613
8967
  if (data.text === void 0) {
8614
8968
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "text" }, message: "must have required property 'text'" };
@@ -8638,7 +8992,7 @@ function validate378(data, { instancePath = "", parentData, parentDataProperty,
8638
8992
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
8639
8993
  }
8640
8994
  if (!(data2 === "serif" || data2 === "sans-serif" || data2 === "monospace")) {
8641
- let err5 = { instancePath: instancePath + "/style/font", schemaPath: "#/$defs/text-run-style/properties/font/enum", keyword: "enum", params: { allowedValues: schema366.properties.font.enum }, message: "must be equal to one of the allowed values" };
8995
+ let err5 = { instancePath: instancePath + "/style/font", schemaPath: "#/$defs/text-run-style/properties/font/enum", keyword: "enum", params: { allowedValues: schema381.properties.font.enum }, message: "must be equal to one of the allowed values" };
8642
8996
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
8643
8997
  }
8644
8998
  }
@@ -8665,7 +9019,7 @@ function validate378(data, { instancePath = "", parentData, parentDataProperty,
8665
9019
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
8666
9020
  }
8667
9021
  if (!(data4 === "normal" || data4 === "bold")) {
8668
- let err10 = { instancePath: instancePath + "/style/weight", schemaPath: "#/$defs/text-run-style/properties/weight/oneOf/0/enum", keyword: "enum", params: { allowedValues: schema366.properties.weight.oneOf[0].enum }, message: "must be equal to one of the allowed values" };
9022
+ let err10 = { instancePath: instancePath + "/style/weight", schemaPath: "#/$defs/text-run-style/properties/weight/oneOf/0/enum", keyword: "enum", params: { allowedValues: schema381.properties.weight.oneOf[0].enum }, message: "must be equal to one of the allowed values" };
8669
9023
  vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
8670
9024
  }
8671
9025
  var _valid0 = _errs14 === errors;
@@ -8699,7 +9053,7 @@ function validate378(data, { instancePath = "", parentData, parentDataProperty,
8699
9053
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
8700
9054
  }
8701
9055
  if (!(data5 === "normal" || data5 === "italic" || data5 === "oblique")) {
8702
- let err16 = { instancePath: instancePath + "/style/fontStyle", schemaPath: "#/$defs/text-run-style/properties/fontStyle/enum", keyword: "enum", params: { allowedValues: schema366.properties.fontStyle.enum }, message: "must be equal to one of the allowed values" };
9056
+ let err16 = { instancePath: instancePath + "/style/fontStyle", schemaPath: "#/$defs/text-run-style/properties/fontStyle/enum", keyword: "enum", params: { allowedValues: schema381.properties.fontStyle.enum }, message: "must be equal to one of the allowed values" };
8703
9057
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
8704
9058
  }
8705
9059
  }
@@ -8718,7 +9072,7 @@ function validate378(data, { instancePath = "", parentData, parentDataProperty,
8718
9072
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
8719
9073
  }
8720
9074
  if (!(data7 === "underline" || data7 === "overline" || data7 === "strikethrough")) {
8721
- let err19 = { instancePath: instancePath + "/style/decorations/" + i0, schemaPath: "#/$defs/text-run-style/properties/decorations/items/enum", keyword: "enum", params: { allowedValues: schema366.properties.decorations.items.enum }, message: "must be equal to one of the allowed values" };
9075
+ let err19 = { instancePath: instancePath + "/style/decorations/" + i0, schemaPath: "#/$defs/text-run-style/properties/decorations/items/enum", keyword: "enum", params: { allowedValues: schema381.properties.decorations.items.enum }, message: "must be equal to one of the allowed values" };
8722
9076
  vErrors === null ? vErrors = [err19] : vErrors.push(err19), errors++;
8723
9077
  }
8724
9078
  }
@@ -8750,7 +9104,7 @@ function validate378(data, { instancePath = "", parentData, parentDataProperty,
8750
9104
  vErrors === null ? vErrors = [err22] : vErrors.push(err22), errors++;
8751
9105
  }
8752
9106
  if (!(data8 === "box" || data8 === "circle")) {
8753
- let err23 = { instancePath: instancePath + "/style/enclosure", schemaPath: "#/$defs/text-run-style/properties/enclosure/enum", keyword: "enum", params: { allowedValues: schema366.properties.enclosure.enum }, message: "must be equal to one of the allowed values" };
9107
+ let err23 = { instancePath: instancePath + "/style/enclosure", schemaPath: "#/$defs/text-run-style/properties/enclosure/enum", keyword: "enum", params: { allowedValues: schema381.properties.enclosure.enum }, message: "must be equal to one of the allowed values" };
8754
9108
  vErrors === null ? vErrors = [err23] : vErrors.push(err23), errors++;
8755
9109
  }
8756
9110
  }
@@ -8775,11 +9129,11 @@ function validate378(data, { instancePath = "", parentData, parentDataProperty,
8775
9129
  let err27 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8776
9130
  vErrors === null ? vErrors = [err27] : vErrors.push(err27), errors++;
8777
9131
  }
8778
- return validate378.errors = vErrors, errors === 0;
9132
+ return validate404.errors = vErrors, errors === 0;
8779
9133
  }
8780
- validate378.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
8781
- function validate380(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8782
- let vErrors = null, errors = 0, evaluated0 = validate380.evaluated;
9134
+ validate404.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9135
+ function validate406(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9136
+ let vErrors = null, errors = 0, evaluated0 = validate406.evaluated;
8783
9137
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
8784
9138
  if (data.glyphs === void 0) {
8785
9139
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "glyphs" }, message: "must have required property 'glyphs'" };
@@ -8830,7 +9184,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
8830
9184
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
8831
9185
  }
8832
9186
  if (!(data3 === "serif" || data3 === "sans-serif" || data3 === "monospace")) {
8833
- let err8 = { instancePath: instancePath + "/style/font", schemaPath: "#/$defs/text-run-style/properties/font/enum", keyword: "enum", params: { allowedValues: schema366.properties.font.enum }, message: "must be equal to one of the allowed values" };
9187
+ let err8 = { instancePath: instancePath + "/style/font", schemaPath: "#/$defs/text-run-style/properties/font/enum", keyword: "enum", params: { allowedValues: schema381.properties.font.enum }, message: "must be equal to one of the allowed values" };
8834
9188
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
8835
9189
  }
8836
9190
  }
@@ -8857,7 +9211,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
8857
9211
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
8858
9212
  }
8859
9213
  if (!(data5 === "normal" || data5 === "bold")) {
8860
- let err13 = { instancePath: instancePath + "/style/weight", schemaPath: "#/$defs/text-run-style/properties/weight/oneOf/0/enum", keyword: "enum", params: { allowedValues: schema366.properties.weight.oneOf[0].enum }, message: "must be equal to one of the allowed values" };
9214
+ let err13 = { instancePath: instancePath + "/style/weight", schemaPath: "#/$defs/text-run-style/properties/weight/oneOf/0/enum", keyword: "enum", params: { allowedValues: schema381.properties.weight.oneOf[0].enum }, message: "must be equal to one of the allowed values" };
8861
9215
  vErrors === null ? vErrors = [err13] : vErrors.push(err13), errors++;
8862
9216
  }
8863
9217
  var _valid0 = _errs16 === errors;
@@ -8891,7 +9245,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
8891
9245
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
8892
9246
  }
8893
9247
  if (!(data6 === "normal" || data6 === "italic" || data6 === "oblique")) {
8894
- let err19 = { instancePath: instancePath + "/style/fontStyle", schemaPath: "#/$defs/text-run-style/properties/fontStyle/enum", keyword: "enum", params: { allowedValues: schema366.properties.fontStyle.enum }, message: "must be equal to one of the allowed values" };
9248
+ let err19 = { instancePath: instancePath + "/style/fontStyle", schemaPath: "#/$defs/text-run-style/properties/fontStyle/enum", keyword: "enum", params: { allowedValues: schema381.properties.fontStyle.enum }, message: "must be equal to one of the allowed values" };
8895
9249
  vErrors === null ? vErrors = [err19] : vErrors.push(err19), errors++;
8896
9250
  }
8897
9251
  }
@@ -8910,7 +9264,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
8910
9264
  vErrors === null ? vErrors = [err21] : vErrors.push(err21), errors++;
8911
9265
  }
8912
9266
  if (!(data8 === "underline" || data8 === "overline" || data8 === "strikethrough")) {
8913
- let err22 = { instancePath: instancePath + "/style/decorations/" + i1, schemaPath: "#/$defs/text-run-style/properties/decorations/items/enum", keyword: "enum", params: { allowedValues: schema366.properties.decorations.items.enum }, message: "must be equal to one of the allowed values" };
9267
+ let err22 = { instancePath: instancePath + "/style/decorations/" + i1, schemaPath: "#/$defs/text-run-style/properties/decorations/items/enum", keyword: "enum", params: { allowedValues: schema381.properties.decorations.items.enum }, message: "must be equal to one of the allowed values" };
8914
9268
  vErrors === null ? vErrors = [err22] : vErrors.push(err22), errors++;
8915
9269
  }
8916
9270
  }
@@ -8942,7 +9296,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
8942
9296
  vErrors === null ? vErrors = [err25] : vErrors.push(err25), errors++;
8943
9297
  }
8944
9298
  if (!(data9 === "box" || data9 === "circle")) {
8945
- let err26 = { instancePath: instancePath + "/style/enclosure", schemaPath: "#/$defs/text-run-style/properties/enclosure/enum", keyword: "enum", params: { allowedValues: schema366.properties.enclosure.enum }, message: "must be equal to one of the allowed values" };
9299
+ let err26 = { instancePath: instancePath + "/style/enclosure", schemaPath: "#/$defs/text-run-style/properties/enclosure/enum", keyword: "enum", params: { allowedValues: schema381.properties.enclosure.enum }, message: "must be equal to one of the allowed values" };
8946
9300
  vErrors === null ? vErrors = [err26] : vErrors.push(err26), errors++;
8947
9301
  }
8948
9302
  }
@@ -8978,7 +9332,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
8978
9332
  vErrors === null ? vErrors = [err31] : vErrors.push(err31), errors++;
8979
9333
  }
8980
9334
  if (!(data12 === "serif" || data12 === "sans-serif" || data12 === "monospace")) {
8981
- let err32 = { instancePath: instancePath + "/smuflStyle/font", schemaPath: "#/$defs/text-run-style/properties/font/enum", keyword: "enum", params: { allowedValues: schema366.properties.font.enum }, message: "must be equal to one of the allowed values" };
9335
+ let err32 = { instancePath: instancePath + "/smuflStyle/font", schemaPath: "#/$defs/text-run-style/properties/font/enum", keyword: "enum", params: { allowedValues: schema381.properties.font.enum }, message: "must be equal to one of the allowed values" };
8982
9336
  vErrors === null ? vErrors = [err32] : vErrors.push(err32), errors++;
8983
9337
  }
8984
9338
  }
@@ -9005,7 +9359,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
9005
9359
  vErrors === null ? vErrors = [err36] : vErrors.push(err36), errors++;
9006
9360
  }
9007
9361
  if (!(data14 === "normal" || data14 === "bold")) {
9008
- let err37 = { instancePath: instancePath + "/smuflStyle/weight", schemaPath: "#/$defs/text-run-style/properties/weight/oneOf/0/enum", keyword: "enum", params: { allowedValues: schema366.properties.weight.oneOf[0].enum }, message: "must be equal to one of the allowed values" };
9362
+ let err37 = { instancePath: instancePath + "/smuflStyle/weight", schemaPath: "#/$defs/text-run-style/properties/weight/oneOf/0/enum", keyword: "enum", params: { allowedValues: schema381.properties.weight.oneOf[0].enum }, message: "must be equal to one of the allowed values" };
9009
9363
  vErrors === null ? vErrors = [err37] : vErrors.push(err37), errors++;
9010
9364
  }
9011
9365
  var _valid1 = _errs40 === errors;
@@ -9039,7 +9393,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
9039
9393
  vErrors === null ? vErrors = [err42] : vErrors.push(err42), errors++;
9040
9394
  }
9041
9395
  if (!(data15 === "normal" || data15 === "italic" || data15 === "oblique")) {
9042
- let err43 = { instancePath: instancePath + "/smuflStyle/fontStyle", schemaPath: "#/$defs/text-run-style/properties/fontStyle/enum", keyword: "enum", params: { allowedValues: schema366.properties.fontStyle.enum }, message: "must be equal to one of the allowed values" };
9396
+ let err43 = { instancePath: instancePath + "/smuflStyle/fontStyle", schemaPath: "#/$defs/text-run-style/properties/fontStyle/enum", keyword: "enum", params: { allowedValues: schema381.properties.fontStyle.enum }, message: "must be equal to one of the allowed values" };
9043
9397
  vErrors === null ? vErrors = [err43] : vErrors.push(err43), errors++;
9044
9398
  }
9045
9399
  }
@@ -9058,7 +9412,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
9058
9412
  vErrors === null ? vErrors = [err45] : vErrors.push(err45), errors++;
9059
9413
  }
9060
9414
  if (!(data17 === "underline" || data17 === "overline" || data17 === "strikethrough")) {
9061
- let err46 = { instancePath: instancePath + "/smuflStyle/decorations/" + i3, schemaPath: "#/$defs/text-run-style/properties/decorations/items/enum", keyword: "enum", params: { allowedValues: schema366.properties.decorations.items.enum }, message: "must be equal to one of the allowed values" };
9415
+ let err46 = { instancePath: instancePath + "/smuflStyle/decorations/" + i3, schemaPath: "#/$defs/text-run-style/properties/decorations/items/enum", keyword: "enum", params: { allowedValues: schema381.properties.decorations.items.enum }, message: "must be equal to one of the allowed values" };
9062
9416
  vErrors === null ? vErrors = [err46] : vErrors.push(err46), errors++;
9063
9417
  }
9064
9418
  }
@@ -9090,7 +9444,7 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
9090
9444
  vErrors === null ? vErrors = [err49] : vErrors.push(err49), errors++;
9091
9445
  }
9092
9446
  if (!(data18 === "box" || data18 === "circle")) {
9093
- let err50 = { instancePath: instancePath + "/smuflStyle/enclosure", schemaPath: "#/$defs/text-run-style/properties/enclosure/enum", keyword: "enum", params: { allowedValues: schema366.properties.enclosure.enum }, message: "must be equal to one of the allowed values" };
9447
+ let err50 = { instancePath: instancePath + "/smuflStyle/enclosure", schemaPath: "#/$defs/text-run-style/properties/enclosure/enum", keyword: "enum", params: { allowedValues: schema381.properties.enclosure.enum }, message: "must be equal to one of the allowed values" };
9094
9448
  vErrors === null ? vErrors = [err50] : vErrors.push(err50), errors++;
9095
9449
  }
9096
9450
  }
@@ -9115,23 +9469,23 @@ function validate380(data, { instancePath = "", parentData, parentDataProperty,
9115
9469
  let err54 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9116
9470
  vErrors === null ? vErrors = [err54] : vErrors.push(err54), errors++;
9117
9471
  }
9118
- return validate380.errors = vErrors, errors === 0;
9472
+ return validate406.errors = vErrors, errors === 0;
9119
9473
  }
9120
- validate380.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9121
- function validate377(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9122
- let vErrors = null, errors = 0, evaluated0 = validate377.evaluated;
9474
+ validate406.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9475
+ function validate403(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9476
+ let vErrors = null, errors = 0, evaluated0 = validate403.evaluated;
9123
9477
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), Array.isArray(data)) {
9124
9478
  let len0 = data.length;
9125
9479
  for (let i0 = 0; i0 < len0; i0++) {
9126
9480
  let data0 = data[i0], _errs2 = errors, valid2 = !1, passing0 = null, _errs3 = errors;
9127
- validate378(data0, { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate378.errors : vErrors.concat(validate378.errors), errors = vErrors.length);
9481
+ validate404(data0, { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate404.errors : vErrors.concat(validate404.errors), errors = vErrors.length);
9128
9482
  var _valid0 = _errs3 === errors;
9129
9483
  if (_valid0) {
9130
9484
  valid2 = !0, passing0 = 0;
9131
9485
  var props0 = !0;
9132
9486
  }
9133
9487
  let _errs4 = errors;
9134
- validate380(data0, { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate380.errors : vErrors.concat(validate380.errors), errors = vErrors.length);
9488
+ validate406(data0, { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate406.errors : vErrors.concat(validate406.errors), errors = vErrors.length);
9135
9489
  var _valid0 = _errs4 === errors;
9136
9490
  if (_valid0 && valid2 ? (valid2 = !1, passing0 = [passing0, 1]) : _valid0 && (valid2 = !0, passing0 = 1, props0 !== !0 && (props0 = !0)), valid2)
9137
9491
  errors = _errs2, vErrors !== null && (_errs2 ? vErrors.length = _errs2 : vErrors = null);
@@ -9144,11 +9498,11 @@ function validate377(data, { instancePath = "", parentData, parentDataProperty,
9144
9498
  let err1 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9145
9499
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
9146
9500
  }
9147
- return validate377.errors = vErrors, errors === 0;
9501
+ return validate403.errors = vErrors, errors === 0;
9148
9502
  }
9149
- validate377.evaluated = { items: !0, dynamicProps: !1, dynamicItems: !1 };
9150
- function validate376(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9151
- let vErrors = null, errors = 0, evaluated0 = validate376.evaluated;
9503
+ validate403.evaluated = { items: !0, dynamicProps: !1, dynamicItems: !1 };
9504
+ function validate402(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9505
+ let vErrors = null, errors = 0, evaluated0 = validate402.evaluated;
9152
9506
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9153
9507
  if (data.text === void 0) {
9154
9508
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "text" }, message: "must have required property 'text'" };
@@ -9159,14 +9513,14 @@ function validate376(data, { instancePath = "", parentData, parentDataProperty,
9159
9513
  let err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9160
9514
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
9161
9515
  }
9162
- if (data.text !== void 0 && (validate377(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.style !== void 0) {
9516
+ if (data.text !== void 0 && (validate403(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.style !== void 0) {
9163
9517
  let data1 = data.style;
9164
9518
  if (typeof data1 != "string") {
9165
9519
  let err2 = { instancePath: instancePath + "/style", schemaPath: "#/properties/style/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9166
9520
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
9167
9521
  }
9168
9522
  if (!(data1 === "boxed" || data1 === "circled" || data1 === "plain")) {
9169
- let err3 = { instancePath: instancePath + "/style", schemaPath: "#/properties/style/enum", keyword: "enum", params: { allowedValues: schema363.properties.style.enum }, message: "must be equal to one of the allowed values" };
9523
+ let err3 = { instancePath: instancePath + "/style", schemaPath: "#/properties/style/enum", keyword: "enum", params: { allowedValues: schema378.properties.style.enum }, message: "must be equal to one of the allowed values" };
9170
9524
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
9171
9525
  }
9172
9526
  }
@@ -9200,12 +9554,12 @@ function validate376(data, { instancePath = "", parentData, parentDataProperty,
9200
9554
  let err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9201
9555
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
9202
9556
  }
9203
- return validate376.errors = vErrors, errors === 0;
9557
+ return validate402.errors = vErrors, errors === 0;
9204
9558
  }
9205
- validate376.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9206
- var schema372 = { type: "object", description: "Authored display text owned by one navigation marker. The owning marker remains authoritative for playback and navigation.", required: ["content", "placement"], properties: { content: { $ref: "#/$defs/text-content", description: "Ordered authored text and SMuFL glyph runs." }, placement: { type: "string", enum: ["before", "after", "replace"], description: "Whether authored content precedes, follows, or replaces the marker's generated glyph or label." } }, additionalProperties: !1 };
9207
- function validate385(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9208
- let vErrors = null, errors = 0, evaluated0 = validate385.evaluated;
9559
+ validate402.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9560
+ var schema387 = { type: "object", description: "Authored display text owned by one navigation marker. The owning marker remains authoritative for playback and navigation.", required: ["content", "placement"], properties: { content: { $ref: "#/$defs/text-content", description: "Ordered authored text and SMuFL glyph runs." }, placement: { type: "string", enum: ["before", "after", "replace"], description: "Whether authored content precedes, follows, or replaces the marker's generated glyph or label." } }, additionalProperties: !1 };
9561
+ function validate411(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9562
+ let vErrors = null, errors = 0, evaluated0 = validate411.evaluated;
9209
9563
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9210
9564
  if (data.content === void 0) {
9211
9565
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "content" }, message: "must have required property 'content'" };
@@ -9220,14 +9574,14 @@ function validate385(data, { instancePath = "", parentData, parentDataProperty,
9220
9574
  let err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9221
9575
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
9222
9576
  }
9223
- if (data.content !== void 0 && (validate377(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.placement !== void 0) {
9577
+ if (data.content !== void 0 && (validate403(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.placement !== void 0) {
9224
9578
  let data1 = data.placement;
9225
9579
  if (typeof data1 != "string") {
9226
9580
  let err3 = { instancePath: instancePath + "/placement", schemaPath: "#/properties/placement/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9227
9581
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
9228
9582
  }
9229
9583
  if (!(data1 === "before" || data1 === "after" || data1 === "replace")) {
9230
- let err4 = { instancePath: instancePath + "/placement", schemaPath: "#/properties/placement/enum", keyword: "enum", params: { allowedValues: schema372.properties.placement.enum }, message: "must be equal to one of the allowed values" };
9584
+ let err4 = { instancePath: instancePath + "/placement", schemaPath: "#/properties/placement/enum", keyword: "enum", params: { allowedValues: schema387.properties.placement.enum }, message: "must be equal to one of the allowed values" };
9231
9585
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
9232
9586
  }
9233
9587
  }
@@ -9235,11 +9589,11 @@ function validate385(data, { instancePath = "", parentData, parentDataProperty,
9235
9589
  let err5 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9236
9590
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
9237
9591
  }
9238
- return validate385.errors = vErrors, errors === 0;
9592
+ return validate411.errors = vErrors, errors === 0;
9239
9593
  }
9240
- validate385.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9241
- function validate384(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9242
- let vErrors = null, errors = 0, evaluated0 = validate384.evaluated;
9594
+ validate411.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9595
+ function validate410(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9596
+ let vErrors = null, errors = 0, evaluated0 = validate410.evaluated;
9243
9597
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9244
9598
  if (Object.keys(data).length < 1) {
9245
9599
  let err0 = { instancePath, schemaPath: "#/minProperties", keyword: "minProperties", params: { limit: 1 }, message: "must NOT have fewer than 1 properties" };
@@ -9250,18 +9604,18 @@ function validate384(data, { instancePath = "", parentData, parentDataProperty,
9250
9604
  let err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9251
9605
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
9252
9606
  }
9253
- data.segno !== void 0 && (validate385(data.segno, { instancePath: instancePath + "/segno", parentData: data, parentDataProperty: "segno", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate385.errors : vErrors.concat(validate385.errors), errors = vErrors.length)), data.coda !== void 0 && (validate385(data.coda, { instancePath: instancePath + "/coda", parentData: data, parentDataProperty: "coda", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate385.errors : vErrors.concat(validate385.errors), errors = vErrors.length)), data.fine !== void 0 && (validate385(data.fine, { instancePath: instancePath + "/fine", parentData: data, parentDataProperty: "fine", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate385.errors : vErrors.concat(validate385.errors), errors = vErrors.length)), data.jump !== void 0 && (validate385(data.jump, { instancePath: instancePath + "/jump", parentData: data, parentDataProperty: "jump", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate385.errors : vErrors.concat(validate385.errors), errors = vErrors.length));
9607
+ data.segno !== void 0 && (validate411(data.segno, { instancePath: instancePath + "/segno", parentData: data, parentDataProperty: "segno", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate411.errors : vErrors.concat(validate411.errors), errors = vErrors.length)), data.coda !== void 0 && (validate411(data.coda, { instancePath: instancePath + "/coda", parentData: data, parentDataProperty: "coda", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate411.errors : vErrors.concat(validate411.errors), errors = vErrors.length)), data.fine !== void 0 && (validate411(data.fine, { instancePath: instancePath + "/fine", parentData: data, parentDataProperty: "fine", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate411.errors : vErrors.concat(validate411.errors), errors = vErrors.length)), data.jump !== void 0 && (validate411(data.jump, { instancePath: instancePath + "/jump", parentData: data, parentDataProperty: "jump", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate411.errors : vErrors.concat(validate411.errors), errors = vErrors.length));
9254
9608
  } else {
9255
9609
  let err2 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9256
9610
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
9257
9611
  }
9258
- return validate384.errors = vErrors, errors === 0;
9612
+ return validate410.errors = vErrors, errors === 0;
9259
9613
  }
9260
- validate384.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9261
- var schema374 = { type: "object", description: "Optional shared frame presentation on staff text. No width means natural width; a staff-space width enables word wrapping. Height is automatic.", properties: { width: { type: "object", required: ["unit", "value"], properties: { unit: { const: "staffSpaces" }, value: { type: "number", exclusiveMinimum: 0 } }, additionalProperties: !1 }, horizontalAlignment: { type: "string", enum: ["left", "center", "right"] }, paragraphJustification: { type: "string", enum: ["left", "center", "right", "justify"] }, padding: { type: "number", minimum: 0 }, border: { type: "string", enum: ["none", "solid"] }, eraseBackground: { type: "boolean", description: "Erase underlying ink within the frame using the surface background. Omitted or false preserves underlying ink; no color is stored." } }, additionalProperties: !1 };
9262
- var schema376 = { type: "string", enum: ["below", "above"], description: "Placement of a text expression relative to the staff. Default: 'below'." };
9263
- function validate392(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9264
- let vErrors = null, errors = 0, evaluated0 = validate392.evaluated;
9614
+ validate410.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9615
+ var schema389 = { type: "object", description: "Optional shared frame presentation on staff text. No width means natural width; a staff-space width enables word wrapping. Height is automatic.", properties: { width: { type: "object", required: ["unit", "value"], properties: { unit: { const: "staffSpaces" }, value: { type: "number", exclusiveMinimum: 0 } }, additionalProperties: !1 }, horizontalAlignment: { type: "string", enum: ["left", "center", "right"] }, paragraphJustification: { type: "string", enum: ["left", "center", "right", "justify"] }, padding: { type: "number", minimum: 0 }, border: { type: "string", enum: ["none", "solid"] }, eraseBackground: { type: "boolean", description: "Erase underlying ink within the frame using the surface background. Omitted or false preserves underlying ink; no color is stored." } }, additionalProperties: !1 };
9616
+ var schema391 = { type: "string", enum: ["below", "above"], description: "Placement of a text expression relative to the staff. Default: 'below'." };
9617
+ function validate418(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9618
+ let vErrors = null, errors = 0, evaluated0 = validate418.evaluated;
9265
9619
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9266
9620
  if (data.id === void 0) {
9267
9621
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -9292,7 +9646,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
9292
9646
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
9293
9647
  }
9294
9648
  }
9295
- if (data.text !== void 0 && (validate377(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.frame !== void 0) {
9649
+ if (data.text !== void 0 && (validate403(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.frame !== void 0) {
9296
9650
  let data2 = data.frame;
9297
9651
  if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
9298
9652
  for (let key1 in data2)
@@ -9344,7 +9698,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
9344
9698
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
9345
9699
  }
9346
9700
  if (!(data6 === "left" || data6 === "center" || data6 === "right")) {
9347
- let err15 = { instancePath: instancePath + "/frame/horizontalAlignment", schemaPath: "#/$defs/staff-text-frame-presentation/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema374.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
9701
+ let err15 = { instancePath: instancePath + "/frame/horizontalAlignment", schemaPath: "#/$defs/staff-text-frame-presentation/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema389.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
9348
9702
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
9349
9703
  }
9350
9704
  }
@@ -9355,7 +9709,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
9355
9709
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
9356
9710
  }
9357
9711
  if (!(data7 === "left" || data7 === "center" || data7 === "right" || data7 === "justify")) {
9358
- let err17 = { instancePath: instancePath + "/frame/paragraphJustification", schemaPath: "#/$defs/staff-text-frame-presentation/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema374.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
9712
+ let err17 = { instancePath: instancePath + "/frame/paragraphJustification", schemaPath: "#/$defs/staff-text-frame-presentation/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema389.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
9359
9713
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
9360
9714
  }
9361
9715
  }
@@ -9378,7 +9732,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
9378
9732
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
9379
9733
  }
9380
9734
  if (!(data9 === "none" || data9 === "solid")) {
9381
- let err21 = { instancePath: instancePath + "/frame/border", schemaPath: "#/$defs/staff-text-frame-presentation/properties/border/enum", keyword: "enum", params: { allowedValues: schema374.properties.border.enum }, message: "must be equal to one of the allowed values" };
9735
+ let err21 = { instancePath: instancePath + "/frame/border", schemaPath: "#/$defs/staff-text-frame-presentation/properties/border/enum", keyword: "enum", params: { allowedValues: schema389.properties.border.enum }, message: "must be equal to one of the allowed values" };
9382
9736
  vErrors === null ? vErrors = [err21] : vErrors.push(err21), errors++;
9383
9737
  }
9384
9738
  }
@@ -9467,7 +9821,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
9467
9821
  vErrors === null ? vErrors = [err35] : vErrors.push(err35), errors++;
9468
9822
  }
9469
9823
  if (!(data17 === "below" || data17 === "above")) {
9470
- let err36 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema376.enum }, message: "must be equal to one of the allowed values" };
9824
+ let err36 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema391.enum }, message: "must be equal to one of the allowed values" };
9471
9825
  vErrors === null ? vErrors = [err36] : vErrors.push(err36), errors++;
9472
9826
  }
9473
9827
  }
@@ -9501,12 +9855,12 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
9501
9855
  let err42 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9502
9856
  vErrors === null ? vErrors = [err42] : vErrors.push(err42), errors++;
9503
9857
  }
9504
- return validate392.errors = vErrors, errors === 0;
9858
+ return validate418.errors = vErrors, errors === 0;
9505
9859
  }
9506
- validate392.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9507
- var schema378 = { type: "object", description: "A gradual tempo change (ritardando / accelerando) playback curve. MNX has no gradual-tempo field, so Viritura models the playback ramp as a vendor extension on the global measure where it begins. The tempo ramps linearly in BPM from the tempo active at `position` (or `startBpm` if given) to `endBpm` at `end`. This is playback data only; the printed 'rit.'/'accel.' text is an ordinary text-expression.", required: ["position", "end", "endBpm"], properties: { position: { $ref: "#/$defs/rhythmic-position", description: "Start position within this measure." }, end: { $ref: "#/$defs/measure-rhythmic-position", description: "End position (may reference a later measure)." }, endBpm: { type: "number", exclusiveMinimum: 0, description: "Quarter-note BPM reached at the end of the ramp." }, startBpm: { type: "number", exclusiveMinimum: 0, description: "Optional start BPM (quarter-note). Defaults to the tempo active at `position`." }, kind: { type: "string", enum: ["rit", "accel"], description: "Optional classification. Cosmetic only; the BPM direction determines the audible behavior." } }, additionalProperties: !1 };
9508
- function validate396(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9509
- let vErrors = null, errors = 0, evaluated0 = validate396.evaluated;
9860
+ validate418.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9861
+ var schema393 = { type: "object", description: "A gradual tempo change (ritardando / accelerando) playback curve. MNX has no gradual-tempo field, so Viritura models the playback ramp as a vendor extension on the global measure where it begins. The tempo ramps linearly in BPM from the tempo active at `position` (or `startBpm` if given) to `endBpm` at `end`. This is playback data only; the printed 'rit.'/'accel.' text is an ordinary text-expression.", required: ["position", "end", "endBpm"], properties: { position: { $ref: "#/$defs/rhythmic-position", description: "Start position within this measure." }, end: { $ref: "#/$defs/measure-rhythmic-position", description: "End position (may reference a later measure)." }, endBpm: { type: "number", exclusiveMinimum: 0, description: "Quarter-note BPM reached at the end of the ramp." }, startBpm: { type: "number", exclusiveMinimum: 0, description: "Optional start BPM (quarter-note). Defaults to the tempo active at `position`." }, kind: { type: "string", enum: ["rit", "accel"], description: "Optional classification. Cosmetic only; the BPM direction determines the audible behavior." } }, additionalProperties: !1 };
9862
+ function validate422(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9863
+ let vErrors = null, errors = 0, evaluated0 = validate422.evaluated;
9510
9864
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9511
9865
  if (data.measure === void 0) {
9512
9866
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "measure" }, message: "must have required property 'measure'" };
@@ -9570,11 +9924,11 @@ function validate396(data, { instancePath = "", parentData, parentDataProperty,
9570
9924
  let err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9571
9925
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
9572
9926
  }
9573
- return validate396.errors = vErrors, errors === 0;
9927
+ return validate422.errors = vErrors, errors === 0;
9574
9928
  }
9575
- validate396.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9576
- function validate395(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9577
- let vErrors = null, errors = 0, evaluated0 = validate395.evaluated;
9929
+ validate422.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9930
+ function validate421(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9931
+ let vErrors = null, errors = 0, evaluated0 = validate421.evaluated;
9578
9932
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9579
9933
  if (data.position === void 0) {
9580
9934
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "position" }, message: "must have required property 'position'" };
@@ -9634,7 +9988,7 @@ function validate395(data, { instancePath = "", parentData, parentDataProperty,
9634
9988
  vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
9635
9989
  }
9636
9990
  }
9637
- if (data.end !== void 0 && (validate396(data.end, { instancePath: instancePath + "/end", parentData: data, parentDataProperty: "end", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate396.errors : vErrors.concat(validate396.errors), errors = vErrors.length)), data.endBpm !== void 0) {
9991
+ if (data.end !== void 0 && (validate422(data.end, { instancePath: instancePath + "/end", parentData: data, parentDataProperty: "end", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate422.errors : vErrors.concat(validate422.errors), errors = vErrors.length)), data.endBpm !== void 0) {
9638
9992
  let data4 = data.endBpm;
9639
9993
  if (typeof data4 == "number") {
9640
9994
  if (data4 <= 0 || isNaN(data4)) {
@@ -9665,7 +10019,7 @@ function validate395(data, { instancePath = "", parentData, parentDataProperty,
9665
10019
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
9666
10020
  }
9667
10021
  if (!(data6 === "rit" || data6 === "accel")) {
9668
- let err16 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema378.properties.kind.enum }, message: "must be equal to one of the allowed values" };
10022
+ let err16 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema393.properties.kind.enum }, message: "must be equal to one of the allowed values" };
9669
10023
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
9670
10024
  }
9671
10025
  }
@@ -9673,12 +10027,12 @@ function validate395(data, { instancePath = "", parentData, parentDataProperty,
9673
10027
  let err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9674
10028
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
9675
10029
  }
9676
- return validate395.errors = vErrors, errors === 0;
10030
+ return validate421.errors = vErrors, errors === 0;
9677
10031
  }
9678
- validate395.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9679
- var schema382 = { type: "object", description: "A score-wide harmony event on a global measure. Either a structured root or authored rawText is required; rawText may preserve malformed or unrecognized symbols and no-chord (NC) declarations without inventing a root.", $comment: "The parser enforces root or rawText. The code generators cannot represent the anyOf required-property constraint while preserving both fields.", required: ["position"], properties: { position: { $ref: "#/$defs/rhythmic-position", description: "Rhythmic position within the measure." }, root: { $ref: "#/$defs/chord-root", description: "Structured root note, optional for raw authored symbols and no-chord declarations. When present, it must agree semantically with rawText." }, rawText: { type: "string", description: "Original authored chord text, preserved verbatim even when structured fields are available. Rootless text preserves malformed or unrecognized symbols and NC. The semantic resolver checks agreement with any structured fields." }, quality: { $ref: "#/$defs/chord-quality" }, kindText: { type: "string", description: "Authored quality spelling retained alongside the normalized quality." }, bass: { $ref: "#/$defs/chord-root", description: "Bass note for slash chords (e.g. the 'E' in 'C/E')." }, extension: { type: "integer", enum: [6, 7, 9, 11, 13], description: "Chord extension (6th, 7th, 9th, 11th, 13th)." }, textOverride: { type: "string", description: "Visual override of the computed display text, not a semantic replacement. The semantic resolver rejects parseable contradictions or unsupported non-equivalent overrides." } }, additionalProperties: !1 }, schema384 = { type: "object", description: "Root or bass note of a chord symbol.", required: ["step"], properties: { step: { type: "string", enum: ["A", "B", "C", "D", "E", "F", "G"], description: "Note letter name." }, alter: { type: "integer", description: "Chromatic alteration in semitones (-1 = flat, 1 = sharp)." } }, additionalProperties: !1 }, schema385 = { type: "string", enum: ["major", "minor", "dominant", "diminished", "augmented", "half-diminished", "minor-major", "power", "suspended2", "suspended4", "other"], description: "Harmonic quality of a chord symbol." };
9680
- function validate399(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9681
- let vErrors = null, errors = 0, evaluated0 = validate399.evaluated;
10032
+ validate421.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10033
+ var schema397 = { type: "object", description: "A score-wide harmony event on a global measure. Either a structured root or authored rawText is required; rawText may preserve malformed or unrecognized symbols and no-chord (NC) declarations without inventing a root.", $comment: "The parser enforces root or rawText. The code generators cannot represent the anyOf required-property constraint while preserving both fields.", required: ["position"], properties: { position: { $ref: "#/$defs/rhythmic-position", description: "Rhythmic position within the measure." }, root: { $ref: "#/$defs/chord-root", description: "Structured root note, optional for raw authored symbols and no-chord declarations. When present, it must agree semantically with rawText." }, rawText: { type: "string", description: "Original authored chord text, preserved verbatim even when structured fields are available. Rootless text preserves malformed or unrecognized symbols and NC. The semantic resolver checks agreement with any structured fields." }, quality: { $ref: "#/$defs/chord-quality" }, kindText: { type: "string", description: "Authored quality spelling retained alongside the normalized quality." }, bass: { $ref: "#/$defs/chord-root", description: "Bass note for slash chords (e.g. the 'E' in 'C/E')." }, extension: { type: "integer", enum: [6, 7, 9, 11, 13], description: "Chord extension (6th, 7th, 9th, 11th, 13th)." }, textOverride: { type: "string", description: "Visual override of the computed display text, not a semantic replacement. The semantic resolver rejects parseable contradictions or unsupported non-equivalent overrides." } }, additionalProperties: !1 }, schema399 = { type: "object", description: "Root or bass note of a chord symbol.", required: ["step"], properties: { step: { type: "string", enum: ["A", "B", "C", "D", "E", "F", "G"], description: "Note letter name." }, alter: { type: "integer", description: "Chromatic alteration in semitones (-1 = flat, 1 = sharp)." } }, additionalProperties: !1 }, schema400 = { type: "string", enum: ["major", "minor", "dominant", "diminished", "augmented", "half-diminished", "minor-major", "power", "suspended2", "suspended4", "other"], description: "Harmonic quality of a chord symbol." };
10034
+ function validate425(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10035
+ let vErrors = null, errors = 0, evaluated0 = validate425.evaluated;
9682
10036
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9683
10037
  if (data.position === void 0) {
9684
10038
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "position" }, message: "must have required property 'position'" };
@@ -9749,7 +10103,7 @@ function validate399(data, { instancePath = "", parentData, parentDataProperty,
9749
10103
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
9750
10104
  }
9751
10105
  if (!(data4 === "A" || data4 === "B" || data4 === "C" || data4 === "D" || data4 === "E" || data4 === "F" || data4 === "G")) {
9752
- let err12 = { instancePath: instancePath + "/root/step", schemaPath: "#/$defs/chord-root/properties/step/enum", keyword: "enum", params: { allowedValues: schema384.properties.step.enum }, message: "must be equal to one of the allowed values" };
10106
+ let err12 = { instancePath: instancePath + "/root/step", schemaPath: "#/$defs/chord-root/properties/step/enum", keyword: "enum", params: { allowedValues: schema399.properties.step.enum }, message: "must be equal to one of the allowed values" };
9753
10107
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
9754
10108
  }
9755
10109
  }
@@ -9776,7 +10130,7 @@ function validate399(data, { instancePath = "", parentData, parentDataProperty,
9776
10130
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
9777
10131
  }
9778
10132
  if (!(data7 === "major" || data7 === "minor" || data7 === "dominant" || data7 === "diminished" || data7 === "augmented" || data7 === "half-diminished" || data7 === "minor-major" || data7 === "power" || data7 === "suspended2" || data7 === "suspended4" || data7 === "other")) {
9779
- let err17 = { instancePath: instancePath + "/quality", schemaPath: "#/$defs/chord-quality/enum", keyword: "enum", params: { allowedValues: schema385.enum }, message: "must be equal to one of the allowed values" };
10133
+ let err17 = { instancePath: instancePath + "/quality", schemaPath: "#/$defs/chord-quality/enum", keyword: "enum", params: { allowedValues: schema400.enum }, message: "must be equal to one of the allowed values" };
9780
10134
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
9781
10135
  }
9782
10136
  }
@@ -9803,7 +10157,7 @@ function validate399(data, { instancePath = "", parentData, parentDataProperty,
9803
10157
  vErrors === null ? vErrors = [err21] : vErrors.push(err21), errors++;
9804
10158
  }
9805
10159
  if (!(data10 === "A" || data10 === "B" || data10 === "C" || data10 === "D" || data10 === "E" || data10 === "F" || data10 === "G")) {
9806
- let err22 = { instancePath: instancePath + "/bass/step", schemaPath: "#/$defs/chord-root/properties/step/enum", keyword: "enum", params: { allowedValues: schema384.properties.step.enum }, message: "must be equal to one of the allowed values" };
10160
+ let err22 = { instancePath: instancePath + "/bass/step", schemaPath: "#/$defs/chord-root/properties/step/enum", keyword: "enum", params: { allowedValues: schema399.properties.step.enum }, message: "must be equal to one of the allowed values" };
9807
10161
  vErrors === null ? vErrors = [err22] : vErrors.push(err22), errors++;
9808
10162
  }
9809
10163
  }
@@ -9826,7 +10180,7 @@ function validate399(data, { instancePath = "", parentData, parentDataProperty,
9826
10180
  vErrors === null ? vErrors = [err25] : vErrors.push(err25), errors++;
9827
10181
  }
9828
10182
  if (!(data12 === 6 || data12 === 7 || data12 === 9 || data12 === 11 || data12 === 13)) {
9829
- let err26 = { instancePath: instancePath + "/extension", schemaPath: "#/properties/extension/enum", keyword: "enum", params: { allowedValues: schema382.properties.extension.enum }, message: "must be equal to one of the allowed values" };
10183
+ let err26 = { instancePath: instancePath + "/extension", schemaPath: "#/properties/extension/enum", keyword: "enum", params: { allowedValues: schema397.properties.extension.enum }, message: "must be equal to one of the allowed values" };
9830
10184
  vErrors === null ? vErrors = [err26] : vErrors.push(err26), errors++;
9831
10185
  }
9832
10186
  }
@@ -9838,34 +10192,34 @@ function validate399(data, { instancePath = "", parentData, parentDataProperty,
9838
10192
  let err28 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9839
10193
  vErrors === null ? vErrors = [err28] : vErrors.push(err28), errors++;
9840
10194
  }
9841
- return validate399.errors = vErrors, errors === 0;
10195
+ return validate425.errors = vErrors, errors === 0;
9842
10196
  }
9843
- validate399.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9844
- function validate375(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9845
- let vErrors = null, errors = 0, evaluated0 = validate375.evaluated;
10197
+ validate425.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10198
+ function validate401(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10199
+ let vErrors = null, errors = 0, evaluated0 = validate401.evaluated;
9846
10200
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9847
10201
  for (let key0 in data)
9848
10202
  if (!(key0 === "rehearsalMark" || key0 === "markerText" || key0 === "systemText" || key0 === "gradualTempo" || key0 === "chordSymbols" || key0 === "senzaMisura")) {
9849
10203
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9850
10204
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
9851
10205
  }
9852
- if (data.rehearsalMark !== void 0 && (validate376(data.rehearsalMark, { instancePath: instancePath + "/rehearsalMark", parentData: data, parentDataProperty: "rehearsalMark", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate376.errors : vErrors.concat(validate376.errors), errors = vErrors.length)), data.markerText !== void 0 && (validate384(data.markerText, { instancePath: instancePath + "/markerText", parentData: data, parentDataProperty: "markerText", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate384.errors : vErrors.concat(validate384.errors), errors = vErrors.length)), data.systemText !== void 0) {
10206
+ if (data.rehearsalMark !== void 0 && (validate402(data.rehearsalMark, { instancePath: instancePath + "/rehearsalMark", parentData: data, parentDataProperty: "rehearsalMark", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate402.errors : vErrors.concat(validate402.errors), errors = vErrors.length)), data.markerText !== void 0 && (validate410(data.markerText, { instancePath: instancePath + "/markerText", parentData: data, parentDataProperty: "markerText", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate410.errors : vErrors.concat(validate410.errors), errors = vErrors.length)), data.systemText !== void 0) {
9853
10207
  let data2 = data.systemText;
9854
10208
  if (Array.isArray(data2)) {
9855
10209
  let len0 = data2.length;
9856
10210
  for (let i0 = 0; i0 < len0; i0++)
9857
- validate392(data2[i0], { instancePath: instancePath + "/systemText/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate392.errors : vErrors.concat(validate392.errors), errors = vErrors.length);
10211
+ validate418(data2[i0], { instancePath: instancePath + "/systemText/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate418.errors : vErrors.concat(validate418.errors), errors = vErrors.length);
9858
10212
  } else {
9859
10213
  let err1 = { instancePath: instancePath + "/systemText", schemaPath: "#/properties/systemText/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9860
10214
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
9861
10215
  }
9862
10216
  }
9863
- if (data.gradualTempo !== void 0 && (validate395(data.gradualTempo, { instancePath: instancePath + "/gradualTempo", parentData: data, parentDataProperty: "gradualTempo", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate395.errors : vErrors.concat(validate395.errors), errors = vErrors.length)), data.chordSymbols !== void 0) {
10217
+ if (data.gradualTempo !== void 0 && (validate421(data.gradualTempo, { instancePath: instancePath + "/gradualTempo", parentData: data, parentDataProperty: "gradualTempo", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate421.errors : vErrors.concat(validate421.errors), errors = vErrors.length)), data.chordSymbols !== void 0) {
9864
10218
  let data5 = data.chordSymbols;
9865
10219
  if (Array.isArray(data5)) {
9866
10220
  let len1 = data5.length;
9867
10221
  for (let i1 = 0; i1 < len1; i1++)
9868
- validate399(data5[i1], { instancePath: instancePath + "/chordSymbols/" + i1, parentData: data5, parentDataProperty: i1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate399.errors : vErrors.concat(validate399.errors), errors = vErrors.length);
10222
+ validate425(data5[i1], { instancePath: instancePath + "/chordSymbols/" + i1, parentData: data5, parentDataProperty: i1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate425.errors : vErrors.concat(validate425.errors), errors = vErrors.length);
9869
10223
  } else {
9870
10224
  let err2 = { instancePath: instancePath + "/chordSymbols", schemaPath: "#/properties/chordSymbols/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9871
10225
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
@@ -9886,11 +10240,11 @@ function validate375(data, { instancePath = "", parentData, parentDataProperty,
9886
10240
  let err5 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9887
10241
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
9888
10242
  }
9889
- return validate375.errors = vErrors, errors === 0;
10243
+ return validate401.errors = vErrors, errors === 0;
9890
10244
  }
9891
- validate375.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9892
- function validate401(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9893
- let vErrors = null, errors = 0, evaluated0 = validate401.evaluated;
10245
+ validate401.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10246
+ function validate427(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10247
+ let vErrors = null, errors = 0, evaluated0 = validate427.evaluated;
9894
10248
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9895
10249
  for (let key0 in data)
9896
10250
  if (!(key0 === "beatStructure" || key0 === "groupingDisplay" || key0 === "display")) {
@@ -9928,7 +10282,7 @@ function validate401(data, { instancePath = "", parentData, parentDataProperty,
9928
10282
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
9929
10283
  }
9930
10284
  if (!(data2 === "standard" || data2 === "additive" || data2 === "annotation")) {
9931
- let err6 = { instancePath: instancePath + "/groupingDisplay", schemaPath: "#/$defs/grouping-display/enum", keyword: "enum", params: { allowedValues: schema351.enum }, message: "must be equal to one of the allowed values" };
10285
+ let err6 = { instancePath: instancePath + "/groupingDisplay", schemaPath: "#/$defs/grouping-display/enum", keyword: "enum", params: { allowedValues: schema366.enum }, message: "must be equal to one of the allowed values" };
9932
10286
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
9933
10287
  }
9934
10288
  }
@@ -9947,11 +10301,11 @@ function validate401(data, { instancePath = "", parentData, parentDataProperty,
9947
10301
  let err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9948
10302
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
9949
10303
  }
9950
- return validate401.errors = vErrors, errors === 0;
10304
+ return validate427.errors = vErrors, errors === 0;
9951
10305
  }
9952
- validate401.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9953
- function validate402(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9954
- let vErrors = null, errors = 0, evaluated0 = validate402.evaluated;
10306
+ validate427.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10307
+ function validate428(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10308
+ let vErrors = null, errors = 0, evaluated0 = validate428.evaluated;
9955
10309
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9956
10310
  for (let key0 in data)
9957
10311
  if (key0 !== "atonal") {
@@ -9973,18 +10327,18 @@ function validate402(data, { instancePath = "", parentData, parentDataProperty,
9973
10327
  let err3 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9974
10328
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
9975
10329
  }
9976
- return validate402.errors = vErrors, errors === 0;
10330
+ return validate428.errors = vErrors, errors === 0;
9977
10331
  }
9978
- validate402.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
9979
- function validate403(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9980
- let vErrors = null, errors = 0, evaluated0 = validate403.evaluated;
10332
+ validate428.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10333
+ function validate429(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10334
+ let vErrors = null, errors = 0, evaluated0 = validate429.evaluated;
9981
10335
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
9982
10336
  for (let key0 in data)
9983
10337
  if (!(key0 === "text" || key0 === "showMetronomeMark" || key0 === "showText" || key0 === "manualOffset" || key0 === "avoidCollisions")) {
9984
10338
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9985
10339
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
9986
10340
  }
9987
- if (data.text !== void 0 && (validate377(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.showMetronomeMark !== void 0 && typeof data.showMetronomeMark != "boolean") {
10341
+ if (data.text !== void 0 && (validate403(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.showMetronomeMark !== void 0 && typeof data.showMetronomeMark != "boolean") {
9988
10342
  let err1 = { instancePath: instancePath + "/showMetronomeMark", schemaPath: "#/properties/showMetronomeMark/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
9989
10343
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
9990
10344
  }
@@ -10022,12 +10376,12 @@ function validate403(data, { instancePath = "", parentData, parentDataProperty,
10022
10376
  let err8 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10023
10377
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
10024
10378
  }
10025
- return validate403.errors = vErrors, errors === 0;
10379
+ return validate429.errors = vErrors, errors === 0;
10026
10380
  }
10027
- validate403.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10028
- var schema392 = { type: "object", description: "Viritura vendor extensions on an MNX part object (the `_x.viritura` dict on a part). Carries instrument identity so the editor and audio engine can resolve a part to a stable instrument without fuzzy name matching, plus its spatial-audio stage placement.", properties: { instrumentId: { type: "string", description: "MusicXML standard sound ID identifying the part's instrument (e.g. 'wind.flutes.flute', 'wind.reed.clarinet.bflat'). With `instruments`, this is the initial instrument's ID." }, instruments: { type: "object", description: "Provisional: instruments this part can switch between, keyed by a document-local key referenced by `initialInstrument` and part-measure `instrumentChanges`.", minProperties: 1, additionalProperties: { $ref: "#/$defs/instrument-definition" } }, initialInstrument: { type: "string", minLength: 1, description: "Key into `instruments` for the instrument active at the start of the part. Required when `instruments` is present." }, midiProgram: { type: "integer", minimum: 0, maximum: 127, description: "General-MIDI program (0..127). Used directly by the audio engine." }, family: { type: "string", description: "Instrument family for spatial placement / catalog routing." }, spatial: { $ref: "#/$defs/stage-position", description: "Spatial-audio stage position in concert-hall meters, persisted from Play mode so a user's instrument arrangement survives reload." }, chordSymbolVisibility: { type: "string", enum: ["auto", "show", "hide"], description: "Source-part display policy for the score-wide harmony track. Unset or auto uses automatic placement; show or hide explicitly controls this part. This is not a layout-staff or per-chord switch." } }, additionalProperties: !1 };
10029
- function validate406(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10030
- let vErrors = null, errors = 0, evaluated0 = validate406.evaluated;
10381
+ validate429.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10382
+ var schema407 = { type: "object", description: "Viritura vendor extensions on an MNX part object (the `_x.viritura` dict on a part). Carries instrument identity so the editor and audio engine can resolve a part to a stable instrument without fuzzy name matching, plus its spatial-audio stage placement.", properties: { instrumentId: { type: "string", description: "MusicXML standard sound ID identifying the part's instrument (e.g. 'wind.flutes.flute', 'wind.reed.clarinet.bflat'). With `instruments`, this is the initial instrument's ID." }, instruments: { type: "object", description: "Provisional: instruments this part can switch between, keyed by a document-local key referenced by `initialInstrument` and part-measure `instrumentChanges`.", minProperties: 1, additionalProperties: { $ref: "#/$defs/instrument-definition" } }, initialInstrument: { type: "string", minLength: 1, description: "Key into `instruments` for the instrument active at the start of the part. Required when `instruments` is present." }, midiProgram: { type: "integer", minimum: 0, maximum: 127, description: "General-MIDI program (0..127). Used directly by the audio engine." }, family: { type: "string", description: "Instrument family for spatial placement / catalog routing." }, spatial: { $ref: "#/$defs/stage-position", description: "Spatial-audio stage position in concert-hall meters, persisted from Play mode so a user's instrument arrangement survives reload." }, chordSymbolVisibility: { type: "string", enum: ["auto", "show", "hide"], description: "Source-part display policy for the score-wide harmony track. Unset or auto uses automatic placement; show or hide explicitly controls this part. This is not a layout-staff or per-chord switch." } }, additionalProperties: !1 };
10383
+ function validate432(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10384
+ let vErrors = null, errors = 0, evaluated0 = validate432.evaluated;
10031
10385
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
10032
10386
  if (data.instrumentId === void 0) {
10033
10387
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "instrumentId" }, message: "must have required property 'instrumentId'" };
@@ -10142,11 +10496,11 @@ function validate406(data, { instancePath = "", parentData, parentDataProperty,
10142
10496
  let err20 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10143
10497
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
10144
10498
  }
10145
- return validate406.errors = vErrors, errors === 0;
10499
+ return validate432.errors = vErrors, errors === 0;
10146
10500
  }
10147
- validate406.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10148
- function validate405(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10149
- let vErrors = null, errors = 0, evaluated0 = validate405.evaluated;
10501
+ validate432.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10502
+ function validate431(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10503
+ let vErrors = null, errors = 0, evaluated0 = validate431.evaluated;
10150
10504
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
10151
10505
  for (let key0 in data)
10152
10506
  if (!(key0 === "instrumentId" || key0 === "instruments" || key0 === "initialInstrument" || key0 === "midiProgram" || key0 === "family" || key0 === "spatial" || key0 === "chordSymbolVisibility")) {
@@ -10165,7 +10519,7 @@ function validate405(data, { instancePath = "", parentData, parentDataProperty,
10165
10519
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
10166
10520
  }
10167
10521
  for (let key1 in data1)
10168
- validate406(data1[key1], { instancePath: instancePath + "/instruments/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data1, parentDataProperty: key1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate406.errors : vErrors.concat(validate406.errors), errors = vErrors.length);
10522
+ validate432(data1[key1], { instancePath: instancePath + "/instruments/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data1, parentDataProperty: key1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate432.errors : vErrors.concat(validate432.errors), errors = vErrors.length);
10169
10523
  } else {
10170
10524
  let err3 = { instancePath: instancePath + "/instruments", schemaPath: "#/properties/instruments/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10171
10525
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
@@ -10240,7 +10594,7 @@ function validate405(data, { instancePath = "", parentData, parentDataProperty,
10240
10594
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
10241
10595
  }
10242
10596
  if (!(data9 === "auto" || data9 === "show" || data9 === "hide")) {
10243
- let err17 = { instancePath: instancePath + "/chordSymbolVisibility", schemaPath: "#/properties/chordSymbolVisibility/enum", keyword: "enum", params: { allowedValues: schema392.properties.chordSymbolVisibility.enum }, message: "must be equal to one of the allowed values" };
10597
+ let err17 = { instancePath: instancePath + "/chordSymbolVisibility", schemaPath: "#/properties/chordSymbolVisibility/enum", keyword: "enum", params: { allowedValues: schema407.properties.chordSymbolVisibility.enum }, message: "must be equal to one of the allowed values" };
10244
10598
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
10245
10599
  }
10246
10600
  }
@@ -10248,12 +10602,12 @@ function validate405(data, { instancePath = "", parentData, parentDataProperty,
10248
10602
  let err18 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10249
10603
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
10250
10604
  }
10251
- return validate405.errors = vErrors, errors === 0;
10605
+ return validate431.errors = vErrors, errors === 0;
10252
10606
  }
10253
- validate405.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10254
- var schema397 = { type: "string", enum: ["normal", "x", "circleX", "diamond", "slash", "triangleUp", "triangleDown"], description: "A notehead shape. MNX has no notehead field on note, kit-note or kit-component (W3C MNX issue #249); Viritura tracks it as a vendor extension on the kit-component (per-instrument) and optionally on a pitched note (per-note override)." };
10255
- function validate408(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10256
- let vErrors = null, errors = 0, evaluated0 = validate408.evaluated;
10607
+ validate431.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10608
+ var schema412 = { type: "string", enum: ["normal", "x", "circleX", "diamond", "slash", "triangleUp", "triangleDown"], description: "A notehead shape. MNX has no notehead field on note, kit-note or kit-component (W3C MNX issue #249); Viritura tracks it as a vendor extension on the kit-component (per-instrument) and optionally on a pitched note (per-note override)." };
10609
+ function validate434(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10610
+ let vErrors = null, errors = 0, evaluated0 = validate434.evaluated;
10257
10611
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
10258
10612
  for (let key0 in data)
10259
10613
  if (!(key0 === "notehead" || key0 === "drumKit")) {
@@ -10267,7 +10621,7 @@ function validate408(data, { instancePath = "", parentData, parentDataProperty,
10267
10621
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
10268
10622
  }
10269
10623
  if (!(data0 === "normal" || data0 === "x" || data0 === "circleX" || data0 === "diamond" || data0 === "slash" || data0 === "triangleUp" || data0 === "triangleDown")) {
10270
- let err2 = { instancePath: instancePath + "/notehead", schemaPath: "#/$defs/notehead-shape/enum", keyword: "enum", params: { allowedValues: schema397.enum }, message: "must be equal to one of the allowed values" };
10624
+ let err2 = { instancePath: instancePath + "/notehead", schemaPath: "#/$defs/notehead-shape/enum", keyword: "enum", params: { allowedValues: schema412.enum }, message: "must be equal to one of the allowed values" };
10271
10625
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
10272
10626
  }
10273
10627
  }
@@ -10292,13 +10646,13 @@ function validate408(data, { instancePath = "", parentData, parentDataProperty,
10292
10646
  let err6 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10293
10647
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
10294
10648
  }
10295
- return validate408.errors = vErrors, errors === 0;
10649
+ return validate434.errors = vErrors, errors === 0;
10296
10650
  }
10297
- validate408.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10298
- var schema398 = { type: "object", description: "Viritura vendor extensions on a part measure object.", properties: { pedals: { type: "array", items: { $ref: "#/$defs/pedal" }, description: "Piano pedal markings." }, expressions: { type: "array", items: { $ref: "#/$defs/text-expression" }, description: "Text expressions and performance directions." }, condensingOverride: { type: "string", enum: ["unison", "solo1", "solo2", "amalgamate", "divisi"], description: "User-specified condensing mode override for this measure." }, groupingDisplayOverrides: { type: "array", items: { $ref: "#/$defs/staff-grouping-display-override" }, description: "Per-staff grouping-display occurrence overrides, presentation-only and taking precedence over the time signature's own occurrence override and the document house style." }, staffMeters: { type: "array", items: { $ref: "#/$defs/staff-meter-change" }, description: "Per-staff synchronous local meter changes/resets, effective from this measure onward until changed or reset. Each staff either follows the global meter (the default, no entry needed) or a declared staff-local meter that still shares the global barline grid (`sharedDuration` or `fitMeasure` synchronization). Non-aligning/independent polymeter is out of scope." }, instrumentChanges: { type: "array", items: { $ref: "#/$defs/instrument-change" }, description: "Provisional mid-part instrument and/or transposition changes, effective from their position onward until the next change. Positions within one measure must be unique." } }, additionalProperties: !1 };
10299
- var schema400 = { type: "string", enum: ["sustain", "sostenuto", "una-corda"], description: "Piano pedal type." }, schema402 = { type: "string", enum: ["text", "bracket"], description: "Pedal marking display style. 'text' shows Ped/*, 'bracket' shows a horizontal line with hooks." };
10300
- function validate410(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10301
- let vErrors = null, errors = 0, evaluated0 = validate410.evaluated;
10651
+ validate434.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10652
+ var schema413 = { type: "object", description: "Viritura vendor extensions on a part measure object.", properties: { pedals: { type: "array", items: { $ref: "#/$defs/pedal" }, description: "Piano pedal markings." }, expressions: { type: "array", items: { $ref: "#/$defs/text-expression" }, description: "Text expressions and performance directions." }, condensingOverride: { type: "string", enum: ["unison", "solo1", "solo2", "amalgamate", "divisi"], description: "User-specified condensing mode override for this measure." }, groupingDisplayOverrides: { type: "array", items: { $ref: "#/$defs/staff-grouping-display-override" }, description: "Per-staff grouping-display occurrence overrides, presentation-only and taking precedence over the time signature's own occurrence override and the document house style." }, staffMeters: { type: "array", items: { $ref: "#/$defs/staff-meter-change" }, description: "Per-staff synchronous local meter changes/resets, effective from this measure onward until changed or reset. Each staff either follows the global meter (the default, no entry needed) or a declared staff-local meter that still shares the global barline grid (`sharedDuration` or `fitMeasure` synchronization). Non-aligning/independent polymeter is out of scope." }, instrumentChanges: { type: "array", items: { $ref: "#/$defs/instrument-change" }, description: "Provisional mid-part instrument and/or transposition changes, effective from their position onward until the next change. Positions within one measure must be unique." } }, additionalProperties: !1 };
10653
+ var schema415 = { type: "string", enum: ["sustain", "sostenuto", "una-corda"], description: "Piano pedal type." }, schema417 = { type: "string", enum: ["text", "bracket"], description: "Pedal marking display style. 'text' shows Ped/*, 'bracket' shows a horizontal line with hooks." };
10654
+ function validate436(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10655
+ let vErrors = null, errors = 0, evaluated0 = validate436.evaluated;
10302
10656
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
10303
10657
  if (data.type === void 0) {
10304
10658
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
@@ -10324,7 +10678,7 @@ function validate410(data, { instancePath = "", parentData, parentDataProperty,
10324
10678
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
10325
10679
  }
10326
10680
  if (!(data0 === "sustain" || data0 === "sostenuto" || data0 === "una-corda")) {
10327
- let err5 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/pedal-type/enum", keyword: "enum", params: { allowedValues: schema400.enum }, message: "must be equal to one of the allowed values" };
10681
+ let err5 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/pedal-type/enum", keyword: "enum", params: { allowedValues: schema415.enum }, message: "must be equal to one of the allowed values" };
10328
10682
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
10329
10683
  }
10330
10684
  }
@@ -10369,14 +10723,14 @@ function validate410(data, { instancePath = "", parentData, parentDataProperty,
10369
10723
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
10370
10724
  }
10371
10725
  }
10372
- if (data.end !== void 0 && (validate396(data.end, { instancePath: instancePath + "/end", parentData: data, parentDataProperty: "end", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate396.errors : vErrors.concat(validate396.errors), errors = vErrors.length)), data.style !== void 0) {
10726
+ if (data.end !== void 0 && (validate422(data.end, { instancePath: instancePath + "/end", parentData: data, parentDataProperty: "end", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate422.errors : vErrors.concat(validate422.errors), errors = vErrors.length)), data.style !== void 0) {
10373
10727
  let data5 = data.style;
10374
10728
  if (typeof data5 != "string") {
10375
10729
  let err13 = { instancePath: instancePath + "/style", schemaPath: "#/$defs/pedal-line-style/type", keyword: "type", params: { type: "string" }, message: "must be string" };
10376
10730
  vErrors === null ? vErrors = [err13] : vErrors.push(err13), errors++;
10377
10731
  }
10378
10732
  if (!(data5 === "text" || data5 === "bracket")) {
10379
- let err14 = { instancePath: instancePath + "/style", schemaPath: "#/$defs/pedal-line-style/enum", keyword: "enum", params: { allowedValues: schema402.enum }, message: "must be equal to one of the allowed values" };
10733
+ let err14 = { instancePath: instancePath + "/style", schemaPath: "#/$defs/pedal-line-style/enum", keyword: "enum", params: { allowedValues: schema417.enum }, message: "must be equal to one of the allowed values" };
10380
10734
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
10381
10735
  }
10382
10736
  }
@@ -10399,13 +10753,13 @@ function validate410(data, { instancePath = "", parentData, parentDataProperty,
10399
10753
  let err18 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10400
10754
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
10401
10755
  }
10402
- return validate410.errors = vErrors, errors === 0;
10756
+ return validate436.errors = vErrors, errors === 0;
10403
10757
  }
10404
- validate410.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10405
- var schema403 = { type: "object", description: "A text expression or direction at a rhythmic position (e.g. 'dolce', 'rit.', 'a tempo'). Rendered in italic serif font.", required: ["text", "position"], properties: { text: { $ref: "#/$defs/text-content" }, frame: { $ref: "#/$defs/staff-text-frame-presentation" }, pagePosition: { $ref: "#/$defs/text-frame-page-position" }, position: { $ref: "#/$defs/rhythmic-position", description: "Rhythmic position within the measure." }, placement: { $ref: "#/$defs/expression-placement" }, staff: { type: "integer", minimum: 1, description: "Staff number (1-based)." }, voice: { type: "string", description: "Voice name." }, manualOffset: { $ref: "#/$defs/sp-delta", description: "Manual [dx, dy] offset in spatia (sp), applied after automatic placement." }, avoidCollisions: { type: "boolean", description: "Whether automatic collision avoidance may re-flow this expression outward to clear other directions. Default (and when unset): true. Set false when the user manually places the expression (e.g. by dragging) so it stays exactly where put and others flow around it." } }, additionalProperties: !1 };
10406
- var schema407 = { type: "object", required: ["anchor", "offset"], properties: { anchor: { type: "string", enum: ["top", "right", "bottom", "left", "top-left", "top-right", "bottom-right", "bottom-left"] }, offset: { type: "object", required: ["x", "y"], properties: { x: { type: "number", description: "Horizontal offset in staff spaces; positive moves right." }, y: { type: "number", description: "Vertical offset in staff spaces; positive moves down." } }, additionalProperties: !1 } }, additionalProperties: !1 };
10407
- function validate415(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10408
- let vErrors = null, errors = 0, evaluated0 = validate415.evaluated;
10758
+ validate436.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10759
+ var schema418 = { type: "object", description: "A text expression or direction at a rhythmic position (e.g. 'dolce', 'rit.', 'a tempo'). Rendered in italic serif font.", required: ["text", "position"], properties: { text: { $ref: "#/$defs/text-content" }, frame: { $ref: "#/$defs/staff-text-frame-presentation" }, pagePosition: { $ref: "#/$defs/text-frame-page-position" }, position: { $ref: "#/$defs/rhythmic-position", description: "Rhythmic position within the measure." }, placement: { $ref: "#/$defs/expression-placement" }, staff: { type: "integer", minimum: 1, description: "Staff number (1-based)." }, voice: { type: "string", description: "Voice name." }, manualOffset: { $ref: "#/$defs/sp-delta", description: "Manual [dx, dy] offset in spatia (sp), applied after automatic placement." }, avoidCollisions: { type: "boolean", description: "Whether automatic collision avoidance may re-flow this expression outward to clear other directions. Default (and when unset): true. Set false when the user manually places the expression (e.g. by dragging) so it stays exactly where put and others flow around it." } }, additionalProperties: !1 };
10760
+ var schema422 = { type: "object", required: ["anchor", "offset"], properties: { anchor: { type: "string", enum: ["top", "right", "bottom", "left", "top-left", "top-right", "bottom-right", "bottom-left"] }, offset: { type: "object", required: ["x", "y"], properties: { x: { type: "number", description: "Horizontal offset in staff spaces; positive moves right." }, y: { type: "number", description: "Vertical offset in staff spaces; positive moves down." } }, additionalProperties: !1 } }, additionalProperties: !1 };
10761
+ function validate441(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10762
+ let vErrors = null, errors = 0, evaluated0 = validate441.evaluated;
10409
10763
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
10410
10764
  if (data.id === void 0) {
10411
10765
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -10615,7 +10969,7 @@ function validate415(data, { instancePath = "", parentData, parentDataProperty,
10615
10969
  vErrors === null ? vErrors = [err37] : vErrors.push(err37), errors++;
10616
10970
  }
10617
10971
  if (!(data11 === "top" || data11 === "right" || data11 === "bottom" || data11 === "left" || data11 === "top-left" || data11 === "top-right" || data11 === "bottom-right" || data11 === "bottom-left")) {
10618
- let err38 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema407.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
10972
+ let err38 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema422.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
10619
10973
  vErrors === null ? vErrors = [err38] : vErrors.push(err38), errors++;
10620
10974
  }
10621
10975
  }
@@ -10786,11 +11140,11 @@ function validate415(data, { instancePath = "", parentData, parentDataProperty,
10786
11140
  let err69 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
10787
11141
  vErrors === null ? vErrors = [err69] : vErrors.push(err69), errors++;
10788
11142
  }
10789
- return validate415.errors = vErrors, errors === 0;
11143
+ return validate441.errors = vErrors, errors === 0;
10790
11144
  }
10791
- validate415.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
10792
- function validate413(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10793
- let vErrors = null, errors = 0, evaluated0 = validate413.evaluated;
11145
+ validate441.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11146
+ function validate439(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11147
+ let vErrors = null, errors = 0, evaluated0 = validate439.evaluated;
10794
11148
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
10795
11149
  if (data.text === void 0) {
10796
11150
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "text" }, message: "must have required property 'text'" };
@@ -10801,11 +11155,11 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
10801
11155
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
10802
11156
  }
10803
11157
  for (let key0 in data)
10804
- if (!func1.call(schema403.properties, key0)) {
11158
+ if (!func1.call(schema418.properties, key0)) {
10805
11159
  let err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
10806
11160
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
10807
11161
  }
10808
- if (data.text !== void 0 && (validate377(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.frame !== void 0) {
11162
+ if (data.text !== void 0 && (validate403(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.frame !== void 0) {
10809
11163
  let data1 = data.frame;
10810
11164
  if (data1 && typeof data1 == "object" && !Array.isArray(data1)) {
10811
11165
  for (let key1 in data1)
@@ -10857,7 +11211,7 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
10857
11211
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
10858
11212
  }
10859
11213
  if (!(data5 === "left" || data5 === "center" || data5 === "right")) {
10860
- let err12 = { instancePath: instancePath + "/frame/horizontalAlignment", schemaPath: "#/$defs/staff-text-frame-presentation/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema374.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
11214
+ let err12 = { instancePath: instancePath + "/frame/horizontalAlignment", schemaPath: "#/$defs/staff-text-frame-presentation/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema389.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
10861
11215
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
10862
11216
  }
10863
11217
  }
@@ -10868,7 +11222,7 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
10868
11222
  vErrors === null ? vErrors = [err13] : vErrors.push(err13), errors++;
10869
11223
  }
10870
11224
  if (!(data6 === "left" || data6 === "center" || data6 === "right" || data6 === "justify")) {
10871
- let err14 = { instancePath: instancePath + "/frame/paragraphJustification", schemaPath: "#/$defs/staff-text-frame-presentation/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema374.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
11225
+ let err14 = { instancePath: instancePath + "/frame/paragraphJustification", schemaPath: "#/$defs/staff-text-frame-presentation/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema389.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
10872
11226
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
10873
11227
  }
10874
11228
  }
@@ -10891,7 +11245,7 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
10891
11245
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
10892
11246
  }
10893
11247
  if (!(data8 === "none" || data8 === "solid")) {
10894
- let err18 = { instancePath: instancePath + "/frame/border", schemaPath: "#/$defs/staff-text-frame-presentation/properties/border/enum", keyword: "enum", params: { allowedValues: schema374.properties.border.enum }, message: "must be equal to one of the allowed values" };
11248
+ let err18 = { instancePath: instancePath + "/frame/border", schemaPath: "#/$defs/staff-text-frame-presentation/properties/border/enum", keyword: "enum", params: { allowedValues: schema389.properties.border.enum }, message: "must be equal to one of the allowed values" };
10895
11249
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
10896
11250
  }
10897
11251
  }
@@ -10904,7 +11258,7 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
10904
11258
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
10905
11259
  }
10906
11260
  }
10907
- if (data.pagePosition !== void 0 && (validate415(data.pagePosition, { instancePath: instancePath + "/pagePosition", parentData: data, parentDataProperty: "pagePosition", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate415.errors : vErrors.concat(validate415.errors), errors = vErrors.length)), data.position !== void 0) {
11261
+ if (data.pagePosition !== void 0 && (validate441(data.pagePosition, { instancePath: instancePath + "/pagePosition", parentData: data, parentDataProperty: "pagePosition", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate441.errors : vErrors.concat(validate441.errors), errors = vErrors.length)), data.position !== void 0) {
10908
11262
  let data11 = data.position;
10909
11263
  if (data11 && typeof data11 == "object" && !Array.isArray(data11)) {
10910
11264
  if (data11.fraction === void 0) {
@@ -10952,7 +11306,7 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
10952
11306
  vErrors === null ? vErrors = [err28] : vErrors.push(err28), errors++;
10953
11307
  }
10954
11308
  if (!(data14 === "below" || data14 === "above")) {
10955
- let err29 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema376.enum }, message: "must be equal to one of the allowed values" };
11309
+ let err29 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema391.enum }, message: "must be equal to one of the allowed values" };
10956
11310
  vErrors === null ? vErrors = [err29] : vErrors.push(err29), errors++;
10957
11311
  }
10958
11312
  }
@@ -11001,11 +11355,11 @@ function validate413(data, { instancePath = "", parentData, parentDataProperty,
11001
11355
  let err38 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11002
11356
  vErrors === null ? vErrors = [err38] : vErrors.push(err38), errors++;
11003
11357
  }
11004
- return validate413.errors = vErrors, errors === 0;
11358
+ return validate439.errors = vErrors, errors === 0;
11005
11359
  }
11006
- validate413.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11007
- function validate418(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11008
- let vErrors = null, errors = 0, evaluated0 = validate418.evaluated;
11360
+ validate439.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11361
+ function validate444(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11362
+ let vErrors = null, errors = 0, evaluated0 = validate444.evaluated;
11009
11363
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11010
11364
  if (data.staff === void 0) {
11011
11365
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "staff" }, message: "must have required property 'staff'" };
@@ -11038,7 +11392,7 @@ function validate418(data, { instancePath = "", parentData, parentDataProperty,
11038
11392
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
11039
11393
  }
11040
11394
  if (!(data1 === "standard" || data1 === "additive" || data1 === "annotation")) {
11041
- let err6 = { instancePath: instancePath + "/groupingDisplay", schemaPath: "#/$defs/grouping-display/enum", keyword: "enum", params: { allowedValues: schema351.enum }, message: "must be equal to one of the allowed values" };
11395
+ let err6 = { instancePath: instancePath + "/groupingDisplay", schemaPath: "#/$defs/grouping-display/enum", keyword: "enum", params: { allowedValues: schema366.enum }, message: "must be equal to one of the allowed values" };
11042
11396
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
11043
11397
  }
11044
11398
  }
@@ -11046,12 +11400,12 @@ function validate418(data, { instancePath = "", parentData, parentDataProperty,
11046
11400
  let err7 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11047
11401
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
11048
11402
  }
11049
- return validate418.errors = vErrors, errors === 0;
11403
+ return validate444.errors = vErrors, errors === 0;
11050
11404
  }
11051
- validate418.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11052
- var schema417 = { type: "object", description: "A staff-local meter distinct from the global (`global.measures[].time`) meter. Semantically identical in shape to a time signature, but never engraved on other staves and never establishes the score's barline duration by itself.", required: ["count", "unit"], properties: { count: { type: "integer", minimum: 1, description: "Numerator (beats per measure) of the staff-local meter." }, unit: { type: "integer", enum: [1, 2, 4, 8, 16, 32, 64, 128], description: "Denominator (beat unit) of the staff-local meter." }, beatStructure: { type: "array", items: { type: "integer", minimum: 1 }, minItems: 1, description: "Ordered beat-group lengths in units of the staff-local meter's denominator. Values must sum to count. When omitted, Viritura resolves the conventional default structure for this count/unit, same as a global time signature." } }, additionalProperties: !1 }, schema418 = { type: "string", enum: ["sharedDuration", "fitMeasure"], description: "How a staff-local meter's measure duration relates to the global measure it shares a barline with. `sharedDuration` requires the staff-local meter's measure duration to equal the global measure's duration exactly, so ordinary written note durations already line up \u2014 no scaling. `fitMeasure` maps one complete staff-local measure onto one complete global measure by a derived exact ratio (e.g. a local 6/8 measure of two dotted-quarter pulses onto a global 2/4 measure of two quarter-note pulses), so the staff's written durations are proportionally scaled for spacing and playback while the notated meter keeps its own conventional note values." };
11053
- function validate421(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11054
- let vErrors = null, errors = 0, evaluated0 = validate421.evaluated;
11405
+ validate444.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11406
+ var schema432 = { type: "object", description: "A staff-local meter distinct from the global (`global.measures[].time`) meter. Semantically identical in shape to a time signature, but never engraved on other staves and never establishes the score's barline duration by itself.", required: ["count", "unit"], properties: { count: { type: "integer", minimum: 1, description: "Numerator (beats per measure) of the staff-local meter." }, unit: { type: "integer", enum: [1, 2, 4, 8, 16, 32, 64, 128], description: "Denominator (beat unit) of the staff-local meter." }, beatStructure: { type: "array", items: { type: "integer", minimum: 1 }, minItems: 1, description: "Ordered beat-group lengths in units of the staff-local meter's denominator. Values must sum to count. When omitted, Viritura resolves the conventional default structure for this count/unit, same as a global time signature." } }, additionalProperties: !1 }, schema433 = { type: "string", enum: ["sharedDuration", "fitMeasure"], description: "How a staff-local meter's measure duration relates to the global measure it shares a barline with. `sharedDuration` requires the staff-local meter's measure duration to equal the global measure's duration exactly, so ordinary written note durations already line up \u2014 no scaling. `fitMeasure` maps one complete staff-local measure onto one complete global measure by a derived exact ratio (e.g. a local 6/8 measure of two dotted-quarter pulses onto a global 2/4 measure of two quarter-note pulses), so the staff's written durations are proportionally scaled for spacing and playback while the notated meter keeps its own conventional note values." };
11407
+ function validate447(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11408
+ let vErrors = null, errors = 0, evaluated0 = validate447.evaluated;
11055
11409
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11056
11410
  if (data.staff === void 0) {
11057
11411
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "staff" }, message: "must have required property 'staff'" };
@@ -11115,7 +11469,7 @@ function validate421(data, { instancePath = "", parentData, parentDataProperty,
11115
11469
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
11116
11470
  }
11117
11471
  if (!(data3 === 1 || data3 === 2 || data3 === 4 || data3 === 8 || data3 === 16 || data3 === 32 || data3 === 64 || data3 === 128)) {
11118
- let err12 = { instancePath: instancePath + "/meter/unit", schemaPath: "#/$defs/staff-meter/properties/unit/enum", keyword: "enum", params: { allowedValues: schema417.properties.unit.enum }, message: "must be equal to one of the allowed values" };
11472
+ let err12 = { instancePath: instancePath + "/meter/unit", schemaPath: "#/$defs/staff-meter/properties/unit/enum", keyword: "enum", params: { allowedValues: schema432.properties.unit.enum }, message: "must be equal to one of the allowed values" };
11119
11473
  vErrors === null ? vErrors = [err12] : vErrors.push(err12), errors++;
11120
11474
  }
11121
11475
  }
@@ -11155,7 +11509,7 @@ function validate421(data, { instancePath = "", parentData, parentDataProperty,
11155
11509
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
11156
11510
  }
11157
11511
  if (!(data6 === "sharedDuration" || data6 === "fitMeasure")) {
11158
- let err19 = { instancePath: instancePath + "/synchronization", schemaPath: "#/$defs/staff-meter-synchronization/enum", keyword: "enum", params: { allowedValues: schema418.enum }, message: "must be equal to one of the allowed values" };
11512
+ let err19 = { instancePath: instancePath + "/synchronization", schemaPath: "#/$defs/staff-meter-synchronization/enum", keyword: "enum", params: { allowedValues: schema433.enum }, message: "must be equal to one of the allowed values" };
11159
11513
  vErrors === null ? vErrors = [err19] : vErrors.push(err19), errors++;
11160
11514
  }
11161
11515
  }
@@ -11163,14 +11517,14 @@ function validate421(data, { instancePath = "", parentData, parentDataProperty,
11163
11517
  let err20 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11164
11518
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
11165
11519
  }
11166
- return validate421.errors = vErrors, errors === 0;
11520
+ return validate447.errors = vErrors, errors === 0;
11167
11521
  }
11168
- validate421.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11169
- function validate420(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11170
- let vErrors = null, errors = 0, evaluated0 = validate420.evaluated;
11522
+ validate447.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11523
+ function validate446(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11524
+ let vErrors = null, errors = 0, evaluated0 = validate446.evaluated;
11171
11525
  evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0);
11172
11526
  let _errs0 = errors, valid0 = !1, passing0 = null, _errs1 = errors;
11173
- validate421(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate421.errors : vErrors.concat(validate421.errors), errors = vErrors.length);
11527
+ validate447(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate447.errors : vErrors.concat(validate447.errors), errors = vErrors.length);
11174
11528
  var _valid0 = _errs1 === errors;
11175
11529
  if (_valid0) {
11176
11530
  valid0 = !0, passing0 = 0;
@@ -11224,11 +11578,11 @@ function validate420(data, { instancePath = "", parentData, parentDataProperty,
11224
11578
  let err8 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
11225
11579
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
11226
11580
  }
11227
- return validate420.errors = vErrors, evaluated0.props = props0, errors === 0;
11581
+ return validate446.errors = vErrors, evaluated0.props = props0, errors === 0;
11228
11582
  }
11229
- validate420.evaluated = { dynamicProps: !0, dynamicItems: !1 };
11230
- function validate424(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11231
- let vErrors = null, errors = 0, evaluated0 = validate424.evaluated;
11583
+ validate446.evaluated = { dynamicProps: !0, dynamicItems: !1 };
11584
+ function validate450(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11585
+ let vErrors = null, errors = 0, evaluated0 = validate450.evaluated;
11232
11586
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11233
11587
  for (let key0 in data)
11234
11588
  if (!(key0 === "position" || key0 === "instrument" || key0 === "transposition" || key0 === "instruction" || key0 === "reminder")) {
@@ -11397,11 +11751,11 @@ function validate424(data, { instancePath = "", parentData, parentDataProperty,
11397
11751
  let err29 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11398
11752
  vErrors === null ? vErrors = [err29] : vErrors.push(err29), errors++;
11399
11753
  }
11400
- return validate424.errors = vErrors, errors === 0;
11754
+ return validate450.errors = vErrors, errors === 0;
11401
11755
  }
11402
- validate424.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11403
- function validate409(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11404
- let vErrors = null, errors = 0, evaluated0 = validate409.evaluated;
11756
+ validate450.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11757
+ function validate435(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11758
+ let vErrors = null, errors = 0, evaluated0 = validate435.evaluated;
11405
11759
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11406
11760
  for (let key0 in data)
11407
11761
  if (!(key0 === "pedals" || key0 === "expressions" || key0 === "condensingOverride" || key0 === "groupingDisplayOverrides" || key0 === "staffMeters" || key0 === "instrumentChanges")) {
@@ -11413,7 +11767,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11413
11767
  if (Array.isArray(data0)) {
11414
11768
  let len0 = data0.length;
11415
11769
  for (let i0 = 0; i0 < len0; i0++)
11416
- validate410(data0[i0], { instancePath: instancePath + "/pedals/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate410.errors : vErrors.concat(validate410.errors), errors = vErrors.length);
11770
+ validate436(data0[i0], { instancePath: instancePath + "/pedals/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate436.errors : vErrors.concat(validate436.errors), errors = vErrors.length);
11417
11771
  } else {
11418
11772
  let err1 = { instancePath: instancePath + "/pedals", schemaPath: "#/properties/pedals/type", keyword: "type", params: { type: "array" }, message: "must be array" };
11419
11773
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
@@ -11424,7 +11778,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11424
11778
  if (Array.isArray(data2)) {
11425
11779
  let len1 = data2.length;
11426
11780
  for (let i1 = 0; i1 < len1; i1++)
11427
- validate413(data2[i1], { instancePath: instancePath + "/expressions/" + i1, parentData: data2, parentDataProperty: i1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate413.errors : vErrors.concat(validate413.errors), errors = vErrors.length);
11781
+ validate439(data2[i1], { instancePath: instancePath + "/expressions/" + i1, parentData: data2, parentDataProperty: i1, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate439.errors : vErrors.concat(validate439.errors), errors = vErrors.length);
11428
11782
  } else {
11429
11783
  let err2 = { instancePath: instancePath + "/expressions", schemaPath: "#/properties/expressions/type", keyword: "type", params: { type: "array" }, message: "must be array" };
11430
11784
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
@@ -11437,7 +11791,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11437
11791
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
11438
11792
  }
11439
11793
  if (!(data4 === "unison" || data4 === "solo1" || data4 === "solo2" || data4 === "amalgamate" || data4 === "divisi")) {
11440
- let err4 = { instancePath: instancePath + "/condensingOverride", schemaPath: "#/properties/condensingOverride/enum", keyword: "enum", params: { allowedValues: schema398.properties.condensingOverride.enum }, message: "must be equal to one of the allowed values" };
11794
+ let err4 = { instancePath: instancePath + "/condensingOverride", schemaPath: "#/properties/condensingOverride/enum", keyword: "enum", params: { allowedValues: schema413.properties.condensingOverride.enum }, message: "must be equal to one of the allowed values" };
11441
11795
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
11442
11796
  }
11443
11797
  }
@@ -11446,7 +11800,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11446
11800
  if (Array.isArray(data5)) {
11447
11801
  let len2 = data5.length;
11448
11802
  for (let i2 = 0; i2 < len2; i2++)
11449
- validate418(data5[i2], { instancePath: instancePath + "/groupingDisplayOverrides/" + i2, parentData: data5, parentDataProperty: i2, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate418.errors : vErrors.concat(validate418.errors), errors = vErrors.length);
11803
+ validate444(data5[i2], { instancePath: instancePath + "/groupingDisplayOverrides/" + i2, parentData: data5, parentDataProperty: i2, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate444.errors : vErrors.concat(validate444.errors), errors = vErrors.length);
11450
11804
  } else {
11451
11805
  let err5 = { instancePath: instancePath + "/groupingDisplayOverrides", schemaPath: "#/properties/groupingDisplayOverrides/type", keyword: "type", params: { type: "array" }, message: "must be array" };
11452
11806
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
@@ -11457,7 +11811,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11457
11811
  if (Array.isArray(data7)) {
11458
11812
  let len3 = data7.length;
11459
11813
  for (let i3 = 0; i3 < len3; i3++)
11460
- validate420(data7[i3], { instancePath: instancePath + "/staffMeters/" + i3, parentData: data7, parentDataProperty: i3, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate420.errors : vErrors.concat(validate420.errors), errors = vErrors.length);
11814
+ validate446(data7[i3], { instancePath: instancePath + "/staffMeters/" + i3, parentData: data7, parentDataProperty: i3, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate446.errors : vErrors.concat(validate446.errors), errors = vErrors.length);
11461
11815
  } else {
11462
11816
  let err6 = { instancePath: instancePath + "/staffMeters", schemaPath: "#/properties/staffMeters/type", keyword: "type", params: { type: "array" }, message: "must be array" };
11463
11817
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
@@ -11468,7 +11822,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11468
11822
  if (Array.isArray(data9)) {
11469
11823
  let len4 = data9.length;
11470
11824
  for (let i4 = 0; i4 < len4; i4++)
11471
- validate424(data9[i4], { instancePath: instancePath + "/instrumentChanges/" + i4, parentData: data9, parentDataProperty: i4, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate424.errors : vErrors.concat(validate424.errors), errors = vErrors.length);
11825
+ validate450(data9[i4], { instancePath: instancePath + "/instrumentChanges/" + i4, parentData: data9, parentDataProperty: i4, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate450.errors : vErrors.concat(validate450.errors), errors = vErrors.length);
11472
11826
  } else {
11473
11827
  let err7 = { instancePath: instancePath + "/instrumentChanges", schemaPath: "#/properties/instrumentChanges/type", keyword: "type", params: { type: "array" }, message: "must be array" };
11474
11828
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
@@ -11478,12 +11832,12 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
11478
11832
  let err8 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11479
11833
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
11480
11834
  }
11481
- return validate409.errors = vErrors, errors === 0;
11835
+ return validate435.errors = vErrors, errors === 0;
11482
11836
  }
11483
- validate409.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11484
- var schema426 = { type: "object", description: "Links measure-local tuplet fragments into one logical tuplet spanning barlines. The same id and ratio must be used by contiguous fragments.", required: ["id", "type"], properties: { id: { type: "string", minLength: 1, description: "Stable identity shared by every fragment of the logical tuplet." }, type: { type: "string", enum: ["start", "continue", "stop"], description: "The fragment's position within the logical tuplet." } }, additionalProperties: !1 };
11485
- function validate426(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11486
- let vErrors = null, errors = 0, evaluated0 = validate426.evaluated;
11837
+ validate435.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11838
+ var schema441 = { type: "object", description: "Links measure-local tuplet fragments into one logical tuplet spanning barlines. The same id and ratio must be used by contiguous fragments.", required: ["id", "type"], properties: { id: { type: "string", minLength: 1, description: "Stable identity shared by every fragment of the logical tuplet." }, type: { type: "string", enum: ["start", "continue", "stop"], description: "The fragment's position within the logical tuplet." } }, additionalProperties: !1 };
11839
+ function validate452(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11840
+ let vErrors = null, errors = 0, evaluated0 = validate452.evaluated;
11487
11841
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11488
11842
  for (let key0 in data)
11489
11843
  if (key0 !== "span") {
@@ -11525,7 +11879,7 @@ function validate426(data, { instancePath = "", parentData, parentDataProperty,
11525
11879
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
11526
11880
  }
11527
11881
  if (!(data2 === "start" || data2 === "continue" || data2 === "stop")) {
11528
- let err7 = { instancePath: instancePath + "/span/type", schemaPath: "#/$defs/tuplet-span/properties/type/enum", keyword: "enum", params: { allowedValues: schema426.properties.type.enum }, message: "must be equal to one of the allowed values" };
11882
+ let err7 = { instancePath: instancePath + "/span/type", schemaPath: "#/$defs/tuplet-span/properties/type/enum", keyword: "enum", params: { allowedValues: schema441.properties.type.enum }, message: "must be equal to one of the allowed values" };
11529
11883
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
11530
11884
  }
11531
11885
  }
@@ -11538,11 +11892,11 @@ function validate426(data, { instancePath = "", parentData, parentDataProperty,
11538
11892
  let err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11539
11893
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
11540
11894
  }
11541
- return validate426.errors = vErrors, errors === 0;
11895
+ return validate452.errors = vErrors, errors === 0;
11542
11896
  }
11543
- validate426.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11544
- function validate427(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11545
- let vErrors = null, errors = 0, evaluated0 = validate427.evaluated;
11897
+ validate452.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11898
+ function validate453(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11899
+ let vErrors = null, errors = 0, evaluated0 = validate453.evaluated;
11546
11900
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11547
11901
  for (let key0 in data)
11548
11902
  if (key0 !== "staffLineRangeRestore") {
@@ -11557,11 +11911,11 @@ function validate427(data, { instancePath = "", parentData, parentDataProperty,
11557
11911
  let err2 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11558
11912
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
11559
11913
  }
11560
- return validate427.errors = vErrors, errors === 0;
11914
+ return validate453.errors = vErrors, errors === 0;
11561
11915
  }
11562
- validate427.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11563
- function validate428(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11564
- let vErrors = null, errors = 0, evaluated0 = validate428.evaluated;
11916
+ validate453.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11917
+ function validate454(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11918
+ let vErrors = null, errors = 0, evaluated0 = validate454.evaluated;
11565
11919
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11566
11920
  for (let key0 in data)
11567
11921
  if (!(key0 === "manualOffset" || key0 === "avoidCollisions")) {
@@ -11598,12 +11952,12 @@ function validate428(data, { instancePath = "", parentData, parentDataProperty,
11598
11952
  let err6 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11599
11953
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
11600
11954
  }
11601
- return validate428.errors = vErrors, errors === 0;
11955
+ return validate454.errors = vErrors, errors === 0;
11602
11956
  }
11603
- validate428.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11604
- var schema432 = { type: "string", enum: ["glissando", "portamento"], description: "Semantic kind of a glissando-family line." }, schema433 = { type: "string", enum: ["straight", "wavy"], description: "Glissando/portamento line style." };
11605
- function validate430(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11606
- let vErrors = null, errors = 0, evaluated0 = validate430.evaluated;
11957
+ validate454.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11958
+ var schema447 = { type: "string", enum: ["glissando", "portamento"], description: "Semantic kind of a glissando-family line." }, schema448 = { type: "string", enum: ["straight", "wavy"], description: "Glissando/portamento line style." };
11959
+ function validate456(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11960
+ let vErrors = null, errors = 0, evaluated0 = validate456.evaluated;
11607
11961
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11608
11962
  if (data.target === void 0) {
11609
11963
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "target" }, message: "must have required property 'target'" };
@@ -11625,7 +11979,7 @@ function validate430(data, { instancePath = "", parentData, parentDataProperty,
11625
11979
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
11626
11980
  }
11627
11981
  if (!(data1 === "glissando" || data1 === "portamento")) {
11628
- let err4 = { instancePath: instancePath + "/kind", schemaPath: "#/$defs/glissando-kind/enum", keyword: "enum", params: { allowedValues: schema432.enum }, message: "must be equal to one of the allowed values" };
11982
+ let err4 = { instancePath: instancePath + "/kind", schemaPath: "#/$defs/glissando-kind/enum", keyword: "enum", params: { allowedValues: schema447.enum }, message: "must be equal to one of the allowed values" };
11629
11983
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
11630
11984
  }
11631
11985
  }
@@ -11636,7 +11990,7 @@ function validate430(data, { instancePath = "", parentData, parentDataProperty,
11636
11990
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
11637
11991
  }
11638
11992
  if (!(data2 === "straight" || data2 === "wavy")) {
11639
- let err6 = { instancePath: instancePath + "/style", schemaPath: "#/$defs/glissando-style/enum", keyword: "enum", params: { allowedValues: schema433.enum }, message: "must be equal to one of the allowed values" };
11993
+ let err6 = { instancePath: instancePath + "/style", schemaPath: "#/$defs/glissando-style/enum", keyword: "enum", params: { allowedValues: schema448.enum }, message: "must be equal to one of the allowed values" };
11640
11994
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
11641
11995
  }
11642
11996
  }
@@ -11652,11 +12006,11 @@ function validate430(data, { instancePath = "", parentData, parentDataProperty,
11652
12006
  let err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11653
12007
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
11654
12008
  }
11655
- return validate430.errors = vErrors, errors === 0;
12009
+ return validate456.errors = vErrors, errors === 0;
11656
12010
  }
11657
- validate430.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11658
- function validate429(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11659
- let vErrors = null, errors = 0, evaluated0 = validate429.evaluated;
12011
+ validate456.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12012
+ function validate455(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12013
+ let vErrors = null, errors = 0, evaluated0 = validate455.evaluated;
11660
12014
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11661
12015
  for (let key0 in data)
11662
12016
  if (key0 !== "glissandos") {
@@ -11668,7 +12022,7 @@ function validate429(data, { instancePath = "", parentData, parentDataProperty,
11668
12022
  if (Array.isArray(data0)) {
11669
12023
  let len0 = data0.length;
11670
12024
  for (let i0 = 0; i0 < len0; i0++)
11671
- validate430(data0[i0], { instancePath: instancePath + "/glissandos/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate430.errors : vErrors.concat(validate430.errors), errors = vErrors.length);
12025
+ validate456(data0[i0], { instancePath: instancePath + "/glissandos/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate456.errors : vErrors.concat(validate456.errors), errors = vErrors.length);
11672
12026
  } else {
11673
12027
  let err1 = { instancePath: instancePath + "/glissandos", schemaPath: "#/properties/glissandos/type", keyword: "type", params: { type: "array" }, message: "must be array" };
11674
12028
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
@@ -11678,13 +12032,13 @@ function validate429(data, { instancePath = "", parentData, parentDataProperty,
11678
12032
  let err2 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11679
12033
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
11680
12034
  }
11681
- return validate429.errors = vErrors, errors === 0;
12035
+ return validate455.errors = vErrors, errors === 0;
11682
12036
  }
11683
- validate429.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11684
- var schema434 = { type: "object", description: "Viritura vendor extensions on an event-markings object.", properties: { staccatissimoWedge: { type: "object", description: "Staccatissimo wedge articulation variant (SMuFL articStaccatissimoWedge).", properties: { placement: { type: "string", enum: ["above", "below", "auto"], description: "Vertical placement relative to the staff." } }, additionalProperties: !1 }, trill: { $ref: "#/$defs/trill" }, ornaments: { type: "array", items: { $ref: "#/$defs/ornament-type" }, description: "Ornament markings (turn, mordent, etc.)." }, fingerings: { type: "array", items: { $ref: "#/$defs/fingering" }, description: "Fingering annotations." }, arpeggio: { $ref: "#/$defs/arpeggio" } }, additionalProperties: !1 }, schema437 = { type: "string", enum: ["turn", "invertedTurn", "mordent", "invertedMordent", "shortTrill", "trillMordent", "delayedTurn", "schleifer"], description: "Ornament type. Each maps to a SMuFL ornament glyph." };
11685
- var schema439 = { type: "object", description: "A rolled-chord (arpeggio) indication on a chord event: a wavy vertical line to the left of the chord. Created on MusicXML `<arpeggiate>` import and authored natively.", properties: { direction: { type: "string", enum: ["up", "down", "auto"], description: "Roll direction. Omitted means the renderer's default (upward) arpeggio." } }, additionalProperties: !1 }, schema435 = { type: "object", description: "A trill marking on a note, optionally followed by a wavy extension line.", properties: { accidental: { type: "integer", enum: [-1, 0, 1], description: "Accidental on the auxiliary note: -1 = flat, 0 = natural, 1 = sharp." }, showSymbol: { type: "boolean", description: "Whether to display the initial trill symbol. Defaults to true; set false for an extension-only line." }, extension: { $ref: "#/$defs/trill-extension" } }, additionalProperties: !1 }, schema436 = { type: "object", description: "A wavy trill-extension line from this event to a target event.", required: ["target"], properties: { target: { type: "string", description: "ID of the event where the trill-extension line ends." }, targetEdge: { type: "string", enum: ["start", "end"], description: "Which rhythmic edge of the target event ends the line. Defaults to 'start'." } }, additionalProperties: !1 };
11686
- function validate433(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11687
- let vErrors = null, errors = 0, evaluated0 = validate433.evaluated;
12037
+ validate455.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12038
+ var schema449 = { type: "object", description: "Viritura vendor extensions on an event-markings object.", properties: { staccatissimoWedge: { type: "object", description: "Staccatissimo wedge articulation variant (SMuFL articStaccatissimoWedge).", properties: { placement: { type: "string", enum: ["above", "below", "auto"], description: "Vertical placement relative to the staff." } }, additionalProperties: !1 }, trill: { $ref: "#/$defs/trill" }, ornaments: { type: "array", items: { $ref: "#/$defs/ornament-type" }, description: "Ornament markings (turn, mordent, etc.)." }, fingerings: { type: "array", items: { $ref: "#/$defs/fingering" }, description: "Fingering annotations." }, arpeggio: { $ref: "#/$defs/arpeggio" } }, additionalProperties: !1 }, schema452 = { type: "string", enum: ["turn", "invertedTurn", "mordent", "invertedMordent", "shortTrill", "trillMordent", "delayedTurn", "schleifer"], description: "Ornament type. Each maps to a SMuFL ornament glyph." };
12039
+ var schema454 = { type: "object", description: "A rolled-chord (arpeggio) indication on a chord event: a wavy vertical line to the left of the chord. Created on MusicXML `<arpeggiate>` import and authored natively.", properties: { direction: { type: "string", enum: ["up", "down", "auto"], description: "Roll direction. Omitted means the renderer's default (upward) arpeggio." } }, additionalProperties: !1 }, schema450 = { type: "object", description: "A trill marking on a note, optionally followed by a wavy extension line.", properties: { accidental: { type: "integer", enum: [-1, 0, 1], description: "Accidental on the auxiliary note: -1 = flat, 0 = natural, 1 = sharp." }, showSymbol: { type: "boolean", description: "Whether to display the initial trill symbol. Defaults to true; set false for an extension-only line." }, extension: { $ref: "#/$defs/trill-extension" } }, additionalProperties: !1 }, schema451 = { type: "object", description: "A wavy trill-extension line from this event to a target event.", required: ["target"], properties: { target: { type: "string", description: "ID of the event where the trill-extension line ends." }, targetEdge: { type: "string", enum: ["start", "end"], description: "Which rhythmic edge of the target event ends the line. Defaults to 'start'." } }, additionalProperties: !1 };
12040
+ function validate459(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12041
+ let vErrors = null, errors = 0, evaluated0 = validate459.evaluated;
11688
12042
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11689
12043
  for (let key0 in data)
11690
12044
  if (!(key0 === "accidental" || key0 === "showSymbol" || key0 === "extension")) {
@@ -11698,7 +12052,7 @@ function validate433(data, { instancePath = "", parentData, parentDataProperty,
11698
12052
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
11699
12053
  }
11700
12054
  if (!(data0 === -1 || data0 === 0 || data0 === 1)) {
11701
- let err2 = { instancePath: instancePath + "/accidental", schemaPath: "#/properties/accidental/enum", keyword: "enum", params: { allowedValues: schema435.properties.accidental.enum }, message: "must be equal to one of the allowed values" };
12055
+ let err2 = { instancePath: instancePath + "/accidental", schemaPath: "#/properties/accidental/enum", keyword: "enum", params: { allowedValues: schema450.properties.accidental.enum }, message: "must be equal to one of the allowed values" };
11702
12056
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
11703
12057
  }
11704
12058
  }
@@ -11729,7 +12083,7 @@ function validate433(data, { instancePath = "", parentData, parentDataProperty,
11729
12083
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
11730
12084
  }
11731
12085
  if (!(data4 === "start" || data4 === "end")) {
11732
- let err8 = { instancePath: instancePath + "/extension/targetEdge", schemaPath: "#/$defs/trill-extension/properties/targetEdge/enum", keyword: "enum", params: { allowedValues: schema436.properties.targetEdge.enum }, message: "must be equal to one of the allowed values" };
12086
+ let err8 = { instancePath: instancePath + "/extension/targetEdge", schemaPath: "#/$defs/trill-extension/properties/targetEdge/enum", keyword: "enum", params: { allowedValues: schema451.properties.targetEdge.enum }, message: "must be equal to one of the allowed values" };
11733
12087
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
11734
12088
  }
11735
12089
  }
@@ -11742,11 +12096,11 @@ function validate433(data, { instancePath = "", parentData, parentDataProperty,
11742
12096
  let err10 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11743
12097
  vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
11744
12098
  }
11745
- return validate433.errors = vErrors, errors === 0;
12099
+ return validate459.errors = vErrors, errors === 0;
11746
12100
  }
11747
- validate433.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11748
- function validate432(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11749
- let vErrors = null, errors = 0, evaluated0 = validate432.evaluated;
12101
+ validate459.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12102
+ function validate458(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12103
+ let vErrors = null, errors = 0, evaluated0 = validate458.evaluated;
11750
12104
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11751
12105
  for (let key0 in data)
11752
12106
  if (!(key0 === "staccatissimoWedge" || key0 === "trill" || key0 === "ornaments" || key0 === "fingerings" || key0 === "arpeggio")) {
@@ -11768,7 +12122,7 @@ function validate432(data, { instancePath = "", parentData, parentDataProperty,
11768
12122
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
11769
12123
  }
11770
12124
  if (!(data1 === "above" || data1 === "below" || data1 === "auto")) {
11771
- let err3 = { instancePath: instancePath + "/staccatissimoWedge/placement", schemaPath: "#/properties/staccatissimoWedge/properties/placement/enum", keyword: "enum", params: { allowedValues: schema434.properties.staccatissimoWedge.properties.placement.enum }, message: "must be equal to one of the allowed values" };
12125
+ let err3 = { instancePath: instancePath + "/staccatissimoWedge/placement", schemaPath: "#/properties/staccatissimoWedge/properties/placement/enum", keyword: "enum", params: { allowedValues: schema449.properties.staccatissimoWedge.properties.placement.enum }, message: "must be equal to one of the allowed values" };
11772
12126
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
11773
12127
  }
11774
12128
  }
@@ -11777,7 +12131,7 @@ function validate432(data, { instancePath = "", parentData, parentDataProperty,
11777
12131
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
11778
12132
  }
11779
12133
  }
11780
- if (data.trill !== void 0 && (validate433(data.trill, { instancePath: instancePath + "/trill", parentData: data, parentDataProperty: "trill", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate433.errors : vErrors.concat(validate433.errors), errors = vErrors.length)), data.ornaments !== void 0) {
12134
+ if (data.trill !== void 0 && (validate459(data.trill, { instancePath: instancePath + "/trill", parentData: data, parentDataProperty: "trill", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate459.errors : vErrors.concat(validate459.errors), errors = vErrors.length)), data.ornaments !== void 0) {
11781
12135
  let data3 = data.ornaments;
11782
12136
  if (Array.isArray(data3)) {
11783
12137
  let len0 = data3.length;
@@ -11788,7 +12142,7 @@ function validate432(data, { instancePath = "", parentData, parentDataProperty,
11788
12142
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
11789
12143
  }
11790
12144
  if (!(data4 === "turn" || data4 === "invertedTurn" || data4 === "mordent" || data4 === "invertedMordent" || data4 === "shortTrill" || data4 === "trillMordent" || data4 === "delayedTurn" || data4 === "schleifer")) {
11791
- let err6 = { instancePath: instancePath + "/ornaments/" + i0, schemaPath: "#/$defs/ornament-type/enum", keyword: "enum", params: { allowedValues: schema437.enum }, message: "must be equal to one of the allowed values" };
12145
+ let err6 = { instancePath: instancePath + "/ornaments/" + i0, schemaPath: "#/$defs/ornament-type/enum", keyword: "enum", params: { allowedValues: schema452.enum }, message: "must be equal to one of the allowed values" };
11792
12146
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
11793
12147
  }
11794
12148
  }
@@ -11855,7 +12209,7 @@ function validate432(data, { instancePath = "", parentData, parentDataProperty,
11855
12209
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
11856
12210
  }
11857
12211
  if (!(data9 === "up" || data9 === "down" || data9 === "auto")) {
11858
- let err17 = { instancePath: instancePath + "/arpeggio/direction", schemaPath: "#/$defs/arpeggio/properties/direction/enum", keyword: "enum", params: { allowedValues: schema439.properties.direction.enum }, message: "must be equal to one of the allowed values" };
12212
+ let err17 = { instancePath: instancePath + "/arpeggio/direction", schemaPath: "#/$defs/arpeggio/properties/direction/enum", keyword: "enum", params: { allowedValues: schema454.properties.direction.enum }, message: "must be equal to one of the allowed values" };
11859
12213
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
11860
12214
  }
11861
12215
  }
@@ -11868,11 +12222,11 @@ function validate432(data, { instancePath = "", parentData, parentDataProperty,
11868
12222
  let err19 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11869
12223
  vErrors === null ? vErrors = [err19] : vErrors.push(err19), errors++;
11870
12224
  }
11871
- return validate432.errors = vErrors, errors === 0;
12225
+ return validate458.errors = vErrors, errors === 0;
11872
12226
  }
11873
- validate432.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11874
- function validate435(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11875
- let vErrors = null, errors = 0, evaluated0 = validate435.evaluated;
12227
+ validate458.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12228
+ function validate461(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12229
+ let vErrors = null, errors = 0, evaluated0 = validate461.evaluated;
11876
12230
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11877
12231
  for (let key0 in data)
11878
12232
  if (key0 !== "notehead") {
@@ -11886,7 +12240,7 @@ function validate435(data, { instancePath = "", parentData, parentDataProperty,
11886
12240
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
11887
12241
  }
11888
12242
  if (!(data0 === "normal" || data0 === "x" || data0 === "circleX" || data0 === "diamond" || data0 === "slash" || data0 === "triangleUp" || data0 === "triangleDown")) {
11889
- let err2 = { instancePath: instancePath + "/notehead", schemaPath: "#/$defs/notehead-shape/enum", keyword: "enum", params: { allowedValues: schema397.enum }, message: "must be equal to one of the allowed values" };
12243
+ let err2 = { instancePath: instancePath + "/notehead", schemaPath: "#/$defs/notehead-shape/enum", keyword: "enum", params: { allowedValues: schema412.enum }, message: "must be equal to one of the allowed values" };
11890
12244
  vErrors === null ? vErrors = [err2] : vErrors.push(err2), errors++;
11891
12245
  }
11892
12246
  }
@@ -11894,11 +12248,11 @@ function validate435(data, { instancePath = "", parentData, parentDataProperty,
11894
12248
  let err3 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11895
12249
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
11896
12250
  }
11897
- return validate435.errors = vErrors, errors === 0;
12251
+ return validate461.errors = vErrors, errors === 0;
11898
12252
  }
11899
- validate435.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
11900
- function validate437(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11901
- let vErrors = null, errors = 0, evaluated0 = validate437.evaluated;
12253
+ validate461.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12254
+ function validate463(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12255
+ let vErrors = null, errors = 0, evaluated0 = validate463.evaluated;
11902
12256
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
11903
12257
  for (let key0 in data)
11904
12258
  if (!(key0 === "p0" || key0 === "p1" || key0 === "p2" || key0 === "p3")) {
@@ -11997,27 +12351,27 @@ function validate437(data, { instancePath = "", parentData, parentDataProperty,
11997
12351
  let err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
11998
12352
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
11999
12353
  }
12000
- return validate437.errors = vErrors, errors === 0;
12354
+ return validate463.errors = vErrors, errors === 0;
12001
12355
  }
12002
- validate437.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12003
- function validate436(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12004
- let vErrors = null, errors = 0, evaluated0 = validate436.evaluated;
12356
+ validate463.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12357
+ function validate462(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12358
+ let vErrors = null, errors = 0, evaluated0 = validate462.evaluated;
12005
12359
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12006
12360
  for (let key0 in data)
12007
12361
  if (key0 !== "shape") {
12008
12362
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
12009
12363
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
12010
12364
  }
12011
- data.shape !== void 0 && (validate437(data.shape, { instancePath: instancePath + "/shape", parentData: data, parentDataProperty: "shape", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate437.errors : vErrors.concat(validate437.errors), errors = vErrors.length));
12365
+ data.shape !== void 0 && (validate463(data.shape, { instancePath: instancePath + "/shape", parentData: data, parentDataProperty: "shape", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate463.errors : vErrors.concat(validate463.errors), errors = vErrors.length));
12012
12366
  } else {
12013
12367
  let err1 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12014
12368
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
12015
12369
  }
12016
- return validate436.errors = vErrors, errors === 0;
12370
+ return validate462.errors = vErrors, errors === 0;
12017
12371
  }
12018
- validate436.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12019
- function validate439(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12020
- let vErrors = null, errors = 0, evaluated0 = validate439.evaluated;
12372
+ validate462.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12373
+ function validate465(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12374
+ let vErrors = null, errors = 0, evaluated0 = validate465.evaluated;
12021
12375
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12022
12376
  for (let key0 in data)
12023
12377
  if (key0 !== "derived") {
@@ -12039,11 +12393,11 @@ function validate439(data, { instancePath = "", parentData, parentDataProperty,
12039
12393
  let err3 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12040
12394
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
12041
12395
  }
12042
- return validate439.errors = vErrors, errors === 0;
12396
+ return validate465.errors = vErrors, errors === 0;
12043
12397
  }
12044
- validate439.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12045
- function validate440(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12046
- let vErrors = null, errors = 0, evaluated0 = validate440.evaluated;
12398
+ validate465.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12399
+ function validate466(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12400
+ let vErrors = null, errors = 0, evaluated0 = validate466.evaluated;
12047
12401
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data))
12048
12402
  for (let key0 in data) {
12049
12403
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
@@ -12053,20 +12407,20 @@ function validate440(data, { instancePath = "", parentData, parentDataProperty,
12053
12407
  let err1 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12054
12408
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
12055
12409
  }
12056
- return validate440.errors = vErrors, errors === 0;
12410
+ return validate466.errors = vErrors, errors === 0;
12057
12411
  }
12058
- validate440.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12059
- var schema467 = { type: "object", description: "A forced system or page start within otherwise automatic score flow.", required: ["measure", "kind"], properties: { measure: { type: "string", minLength: 1 }, kind: { type: "string", enum: ["system", "page"] } }, additionalProperties: !1 }, schema451 = { type: "object", properties: { width: { type: "number", exclusiveMinimum: 0 }, height: { type: "number", exclusiveMinimum: 0 }, orientation: { type: "string", enum: ["portrait", "landscape"] }, margins: { $ref: "#/$defs/page-margins" }, spatiumMm: { type: "number", exclusiveMinimum: 0 }, pageTurns: { $ref: "#/$defs/page-turn-settings" } }, additionalProperties: !1 };
12060
- var schema453 = { type: "object", required: ["enabled"], properties: { enabled: { type: "boolean" }, preset: { type: "string", enum: ["relaxed", "professional"] }, comfortableSecs: { type: "number", minimum: 0 }, vsSecs: { type: "number", minimum: 0 }, minAcceptableSecs: { type: "number", minimum: 0 }, targetFillFraction: { type: "number", minimum: 0, maximum: 1 }, minFillFraction: { type: "number", minimum: 0, maximum: 1 }, verticalJustifyThreshold: { type: "number", minimum: 0, maximum: 1 }, allowPartialPages: { type: "boolean" }, allowIntentionalBlanks: { type: "boolean" }, titlePage: { type: "string", enum: ["auto", "always", "never"] }, firstPageRecto: { type: "boolean" }, emitVsMarks: { type: "boolean" }, defaultBpm: { type: "number", exclusiveMinimum: 0 }, weights: { $ref: "#/$defs/page-turn-weights" } }, additionalProperties: !1 };
12061
- function validate443(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12062
- let vErrors = null, errors = 0, evaluated0 = validate443.evaluated;
12412
+ validate466.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12413
+ var schema482 = { type: "object", description: "A forced system or page start within otherwise automatic score flow.", required: ["measure", "kind"], properties: { measure: { type: "string", minLength: 1 }, kind: { type: "string", enum: ["system", "page"] } }, additionalProperties: !1 }, schema466 = { type: "object", properties: { width: { type: "number", exclusiveMinimum: 0 }, height: { type: "number", exclusiveMinimum: 0 }, orientation: { type: "string", enum: ["portrait", "landscape"] }, margins: { $ref: "#/$defs/page-margins" }, spatiumMm: { type: "number", exclusiveMinimum: 0 }, pageTurns: { $ref: "#/$defs/page-turn-settings" } }, additionalProperties: !1 };
12414
+ var schema468 = { type: "object", required: ["enabled"], properties: { enabled: { type: "boolean" }, preset: { type: "string", enum: ["relaxed", "professional"] }, comfortableSecs: { type: "number", minimum: 0 }, vsSecs: { type: "number", minimum: 0 }, minAcceptableSecs: { type: "number", minimum: 0 }, targetFillFraction: { type: "number", minimum: 0, maximum: 1 }, minFillFraction: { type: "number", minimum: 0, maximum: 1 }, verticalJustifyThreshold: { type: "number", minimum: 0, maximum: 1 }, allowPartialPages: { type: "boolean" }, allowIntentionalBlanks: { type: "boolean" }, titlePage: { type: "string", enum: ["auto", "always", "never"] }, firstPageRecto: { type: "boolean" }, emitVsMarks: { type: "boolean" }, defaultBpm: { type: "number", exclusiveMinimum: 0 }, weights: { $ref: "#/$defs/page-turn-weights" } }, additionalProperties: !1 };
12415
+ function validate469(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12416
+ let vErrors = null, errors = 0, evaluated0 = validate469.evaluated;
12063
12417
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12064
12418
  if (data.enabled === void 0) {
12065
12419
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "enabled" }, message: "must have required property 'enabled'" };
12066
12420
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
12067
12421
  }
12068
12422
  for (let key0 in data)
12069
- if (!func1.call(schema453.properties, key0)) {
12423
+ if (!func1.call(schema468.properties, key0)) {
12070
12424
  let err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
12071
12425
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
12072
12426
  }
@@ -12081,7 +12435,7 @@ function validate443(data, { instancePath = "", parentData, parentDataProperty,
12081
12435
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
12082
12436
  }
12083
12437
  if (!(data1 === "relaxed" || data1 === "professional")) {
12084
- let err4 = { instancePath: instancePath + "/preset", schemaPath: "#/properties/preset/enum", keyword: "enum", params: { allowedValues: schema453.properties.preset.enum }, message: "must be equal to one of the allowed values" };
12438
+ let err4 = { instancePath: instancePath + "/preset", schemaPath: "#/properties/preset/enum", keyword: "enum", params: { allowedValues: schema468.properties.preset.enum }, message: "must be equal to one of the allowed values" };
12085
12439
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
12086
12440
  }
12087
12441
  }
@@ -12184,7 +12538,7 @@ function validate443(data, { instancePath = "", parentData, parentDataProperty,
12184
12538
  vErrors === null ? vErrors = [err22] : vErrors.push(err22), errors++;
12185
12539
  }
12186
12540
  if (!(data10 === "auto" || data10 === "always" || data10 === "never")) {
12187
- let err23 = { instancePath: instancePath + "/titlePage", schemaPath: "#/properties/titlePage/enum", keyword: "enum", params: { allowedValues: schema453.properties.titlePage.enum }, message: "must be equal to one of the allowed values" };
12541
+ let err23 = { instancePath: instancePath + "/titlePage", schemaPath: "#/properties/titlePage/enum", keyword: "enum", params: { allowedValues: schema468.properties.titlePage.enum }, message: "must be equal to one of the allowed values" };
12188
12542
  vErrors === null ? vErrors = [err23] : vErrors.push(err23), errors++;
12189
12543
  }
12190
12544
  }
@@ -12249,11 +12603,11 @@ function validate443(data, { instancePath = "", parentData, parentDataProperty,
12249
12603
  let err36 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12250
12604
  vErrors === null ? vErrors = [err36] : vErrors.push(err36), errors++;
12251
12605
  }
12252
- return validate443.errors = vErrors, errors === 0;
12606
+ return validate469.errors = vErrors, errors === 0;
12253
12607
  }
12254
- validate443.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12255
- function validate442(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12256
- let vErrors = null, errors = 0, evaluated0 = validate442.evaluated;
12608
+ validate469.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12609
+ function validate468(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12610
+ let vErrors = null, errors = 0, evaluated0 = validate468.evaluated;
12257
12611
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12258
12612
  for (let key0 in data)
12259
12613
  if (!(key0 === "width" || key0 === "height" || key0 === "orientation" || key0 === "margins" || key0 === "spatiumMm" || key0 === "pageTurns")) {
@@ -12291,7 +12645,7 @@ function validate442(data, { instancePath = "", parentData, parentDataProperty,
12291
12645
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
12292
12646
  }
12293
12647
  if (!(data2 === "portrait" || data2 === "landscape")) {
12294
- let err6 = { instancePath: instancePath + "/orientation", schemaPath: "#/properties/orientation/enum", keyword: "enum", params: { allowedValues: schema451.properties.orientation.enum }, message: "must be equal to one of the allowed values" };
12648
+ let err6 = { instancePath: instancePath + "/orientation", schemaPath: "#/properties/orientation/enum", keyword: "enum", params: { allowedValues: schema466.properties.orientation.enum }, message: "must be equal to one of the allowed values" };
12295
12649
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
12296
12650
  }
12297
12651
  }
@@ -12384,17 +12738,17 @@ function validate442(data, { instancePath = "", parentData, parentDataProperty,
12384
12738
  vErrors === null ? vErrors = [err22] : vErrors.push(err22), errors++;
12385
12739
  }
12386
12740
  }
12387
- data.pageTurns !== void 0 && (validate443(data.pageTurns, { instancePath: instancePath + "/pageTurns", parentData: data, parentDataProperty: "pageTurns", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate443.errors : vErrors.concat(validate443.errors), errors = vErrors.length));
12741
+ data.pageTurns !== void 0 && (validate469(data.pageTurns, { instancePath: instancePath + "/pageTurns", parentData: data, parentDataProperty: "pageTurns", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate469.errors : vErrors.concat(validate469.errors), errors = vErrors.length));
12388
12742
  } else {
12389
12743
  let err23 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12390
12744
  vErrors === null ? vErrors = [err23] : vErrors.push(err23), errors++;
12391
12745
  }
12392
- return validate442.errors = vErrors, errors === 0;
12746
+ return validate468.errors = vErrors, errors === 0;
12393
12747
  }
12394
- validate442.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12395
- var schema456 = { type: "string", enum: ["full", "short", "hidden"] };
12396
- function validate446(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12397
- let vErrors = null, errors = 0, evaluated0 = validate446.evaluated;
12748
+ validate468.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12749
+ var schema471 = { type: "string", enum: ["full", "short", "hidden"] };
12750
+ function validate472(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12751
+ let vErrors = null, errors = 0, evaluated0 = validate472.evaluated;
12398
12752
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12399
12753
  if (data.firstSystem === void 0) {
12400
12754
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "firstSystem" }, message: "must have required property 'firstSystem'" };
@@ -12416,7 +12770,7 @@ function validate446(data, { instancePath = "", parentData, parentDataProperty,
12416
12770
  vErrors === null ? vErrors = [err3] : vErrors.push(err3), errors++;
12417
12771
  }
12418
12772
  if (!(data0 === "full" || data0 === "short" || data0 === "hidden")) {
12419
- let err4 = { instancePath: instancePath + "/firstSystem", schemaPath: "#/$defs/instrument-name-display-policy/enum", keyword: "enum", params: { allowedValues: schema456.enum }, message: "must be equal to one of the allowed values" };
12773
+ let err4 = { instancePath: instancePath + "/firstSystem", schemaPath: "#/$defs/instrument-name-display-policy/enum", keyword: "enum", params: { allowedValues: schema471.enum }, message: "must be equal to one of the allowed values" };
12420
12774
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
12421
12775
  }
12422
12776
  }
@@ -12427,7 +12781,7 @@ function validate446(data, { instancePath = "", parentData, parentDataProperty,
12427
12781
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
12428
12782
  }
12429
12783
  if (!(data1 === "full" || data1 === "short" || data1 === "hidden")) {
12430
- let err6 = { instancePath: instancePath + "/subsequentSystems", schemaPath: "#/$defs/instrument-name-display-policy/enum", keyword: "enum", params: { allowedValues: schema456.enum }, message: "must be equal to one of the allowed values" };
12784
+ let err6 = { instancePath: instancePath + "/subsequentSystems", schemaPath: "#/$defs/instrument-name-display-policy/enum", keyword: "enum", params: { allowedValues: schema471.enum }, message: "must be equal to one of the allowed values" };
12431
12785
  vErrors === null ? vErrors = [err6] : vErrors.push(err6), errors++;
12432
12786
  }
12433
12787
  }
@@ -12435,12 +12789,12 @@ function validate446(data, { instancePath = "", parentData, parentDataProperty,
12435
12789
  let err7 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12436
12790
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
12437
12791
  }
12438
- return validate446.errors = vErrors, errors === 0;
12792
+ return validate472.errors = vErrors, errors === 0;
12439
12793
  }
12440
- validate446.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12441
- var schema458 = { type: "object", required: ["id", "locator", "placement", "width", "content"], properties: { id: { type: "string", minLength: 1 }, locator: { $ref: "#/$defs/text-frame-locator" }, placement: { $ref: "#/$defs/text-frame-placement" }, width: { $ref: "#/$defs/text-frame-width" }, content: { $ref: "#/$defs/text-content" }, horizontalAlignment: { type: "string", enum: ["left", "center", "right"], description: "Horizontal alignment of the frame at its page anchor, independent of paragraph justification." }, paragraphJustification: { type: "string", enum: ["left", "center", "right", "justify"], description: "Paragraph line justification within the frame, independent of frame alignment." }, padding: { type: "number", minimum: 0, description: "Optional inset on all sides in staff spaces." }, border: { type: "string", enum: ["none", "solid"], description: "Optional frame border style." }, eraseBackground: { type: "boolean", description: "Erase underlying ink within the frame using the surface background. Omitted or false preserves underlying ink; no color is stored." }, sourceReference: { $ref: "#/$defs/text-frame-source-reference" }, staffAttachment: { $ref: "#/$defs/text-frame-staff-attachment" } }, additionalProperties: !1 };
12442
- function validate450(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12443
- let vErrors = null, errors = 0, evaluated0 = validate450.evaluated;
12794
+ validate472.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12795
+ var schema473 = { type: "object", required: ["id", "locator", "placement", "width", "content"], properties: { id: { type: "string", minLength: 1 }, locator: { $ref: "#/$defs/text-frame-locator" }, placement: { $ref: "#/$defs/text-frame-placement" }, width: { $ref: "#/$defs/text-frame-width" }, content: { $ref: "#/$defs/text-content" }, horizontalAlignment: { type: "string", enum: ["left", "center", "right"], description: "Horizontal alignment of the frame at its page anchor, independent of paragraph justification." }, paragraphJustification: { type: "string", enum: ["left", "center", "right", "justify"], description: "Paragraph line justification within the frame, independent of frame alignment." }, padding: { type: "number", minimum: 0, description: "Optional inset on all sides in staff spaces." }, border: { type: "string", enum: ["none", "solid"], description: "Optional frame border style." }, eraseBackground: { type: "boolean", description: "Erase underlying ink within the frame using the surface background. Omitted or false preserves underlying ink; no color is stored." }, sourceReference: { $ref: "#/$defs/text-frame-source-reference" }, staffAttachment: { $ref: "#/$defs/text-frame-staff-attachment" } }, additionalProperties: !1 };
12796
+ function validate476(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12797
+ let vErrors = null, errors = 0, evaluated0 = validate476.evaluated;
12444
12798
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12445
12799
  if (data.partId === void 0) {
12446
12800
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "partId" }, message: "must have required property 'partId'" };
@@ -12543,7 +12897,7 @@ function validate450(data, { instancePath = "", parentData, parentDataProperty,
12543
12897
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
12544
12898
  }
12545
12899
  if (!(data6 === "below" || data6 === "above")) {
12546
- let err18 = { instancePath: instancePath + "/expression/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema376.enum }, message: "must be equal to one of the allowed values" };
12900
+ let err18 = { instancePath: instancePath + "/expression/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema391.enum }, message: "must be equal to one of the allowed values" };
12547
12901
  vErrors === null ? vErrors = [err18] : vErrors.push(err18), errors++;
12548
12902
  }
12549
12903
  }
@@ -12634,11 +12988,11 @@ function validate450(data, { instancePath = "", parentData, parentDataProperty,
12634
12988
  let err35 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
12635
12989
  vErrors === null ? vErrors = [err35] : vErrors.push(err35), errors++;
12636
12990
  }
12637
- return validate450.errors = vErrors, errors === 0;
12991
+ return validate476.errors = vErrors, errors === 0;
12638
12992
  }
12639
- validate450.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12640
- function validate448(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12641
- let vErrors = null, errors = 0, evaluated0 = validate448.evaluated;
12993
+ validate476.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
12994
+ function validate474(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12995
+ let vErrors = null, errors = 0, evaluated0 = validate474.evaluated;
12642
12996
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
12643
12997
  if (data.id === void 0) {
12644
12998
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -12661,7 +13015,7 @@ function validate448(data, { instancePath = "", parentData, parentDataProperty,
12661
13015
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
12662
13016
  }
12663
13017
  for (let key0 in data)
12664
- if (!func1.call(schema458.properties, key0)) {
13018
+ if (!func1.call(schema473.properties, key0)) {
12665
13019
  let err5 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
12666
13020
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
12667
13021
  }
@@ -12841,7 +13195,7 @@ function validate448(data, { instancePath = "", parentData, parentDataProperty,
12841
13195
  vErrors === null ? vErrors = [err36] : vErrors.push(err36), errors++;
12842
13196
  }
12843
13197
  if (!(data10 === "top" || data10 === "right" || data10 === "bottom" || data10 === "left" || data10 === "top-left" || data10 === "top-right" || data10 === "bottom-right" || data10 === "bottom-left")) {
12844
- let err37 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema407.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
13198
+ let err37 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema422.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
12845
13199
  vErrors === null ? vErrors = [err37] : vErrors.push(err37), errors++;
12846
13200
  }
12847
13201
  }
@@ -12967,14 +13321,14 @@ function validate448(data, { instancePath = "", parentData, parentDataProperty,
12967
13321
  vErrors === null ? vErrors = [err60] : vErrors.push(err60), errors++;
12968
13322
  }
12969
13323
  }
12970
- if (data.content !== void 0 && (validate377(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.horizontalAlignment !== void 0) {
13324
+ if (data.content !== void 0 && (validate403(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.horizontalAlignment !== void 0) {
12971
13325
  let data20 = data.horizontalAlignment;
12972
13326
  if (typeof data20 != "string") {
12973
13327
  let err61 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/type", keyword: "type", params: { type: "string" }, message: "must be string" };
12974
13328
  vErrors === null ? vErrors = [err61] : vErrors.push(err61), errors++;
12975
13329
  }
12976
13330
  if (!(data20 === "left" || data20 === "center" || data20 === "right")) {
12977
- let err62 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema458.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
13331
+ let err62 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema473.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
12978
13332
  vErrors === null ? vErrors = [err62] : vErrors.push(err62), errors++;
12979
13333
  }
12980
13334
  }
@@ -12985,7 +13339,7 @@ function validate448(data, { instancePath = "", parentData, parentDataProperty,
12985
13339
  vErrors === null ? vErrors = [err63] : vErrors.push(err63), errors++;
12986
13340
  }
12987
13341
  if (!(data21 === "left" || data21 === "center" || data21 === "right" || data21 === "justify")) {
12988
- let err64 = { instancePath: instancePath + "/paragraphJustification", schemaPath: "#/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema458.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
13342
+ let err64 = { instancePath: instancePath + "/paragraphJustification", schemaPath: "#/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema473.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
12989
13343
  vErrors === null ? vErrors = [err64] : vErrors.push(err64), errors++;
12990
13344
  }
12991
13345
  }
@@ -13008,7 +13362,7 @@ function validate448(data, { instancePath = "", parentData, parentDataProperty,
13008
13362
  vErrors === null ? vErrors = [err67] : vErrors.push(err67), errors++;
13009
13363
  }
13010
13364
  if (!(data23 === "none" || data23 === "solid")) {
13011
- let err68 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema458.properties.border.enum }, message: "must be equal to one of the allowed values" };
13365
+ let err68 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema473.properties.border.enum }, message: "must be equal to one of the allowed values" };
13012
13366
  vErrors === null ? vErrors = [err68] : vErrors.push(err68), errors++;
13013
13367
  }
13014
13368
  }
@@ -13057,28 +13411,28 @@ function validate448(data, { instancePath = "", parentData, parentDataProperty,
13057
13411
  vErrors === null ? vErrors = [err76] : vErrors.push(err76), errors++;
13058
13412
  }
13059
13413
  }
13060
- data.staffAttachment !== void 0 && (validate450(data.staffAttachment, { instancePath: instancePath + "/staffAttachment", parentData: data, parentDataProperty: "staffAttachment", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate450.errors : vErrors.concat(validate450.errors), errors = vErrors.length));
13414
+ data.staffAttachment !== void 0 && (validate476(data.staffAttachment, { instancePath: instancePath + "/staffAttachment", parentData: data, parentDataProperty: "staffAttachment", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate476.errors : vErrors.concat(validate476.errors), errors = vErrors.length));
13061
13415
  } else {
13062
13416
  let err77 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13063
13417
  vErrors === null ? vErrors = [err77] : vErrors.push(err77), errors++;
13064
13418
  }
13065
- return validate448.errors = vErrors, errors === 0;
13419
+ return validate474.errors = vErrors, errors === 0;
13066
13420
  }
13067
- validate448.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13068
- function validate441(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13069
- let vErrors = null, errors = 0, evaluated0 = validate441.evaluated;
13421
+ validate474.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13422
+ function validate467(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13423
+ let vErrors = null, errors = 0, evaluated0 = validate467.evaluated;
13070
13424
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
13071
13425
  for (let key0 in data)
13072
13426
  if (!(key0 === "pageSetup" || key0 === "instrumentNameDisplay" || key0 === "textFrames" || key0 === "layoutBreaks")) {
13073
13427
  let err0 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
13074
13428
  vErrors === null ? vErrors = [err0] : vErrors.push(err0), errors++;
13075
13429
  }
13076
- if (data.pageSetup !== void 0 && (validate442(data.pageSetup, { instancePath: instancePath + "/pageSetup", parentData: data, parentDataProperty: "pageSetup", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate442.errors : vErrors.concat(validate442.errors), errors = vErrors.length)), data.instrumentNameDisplay !== void 0 && (validate446(data.instrumentNameDisplay, { instancePath: instancePath + "/instrumentNameDisplay", parentData: data, parentDataProperty: "instrumentNameDisplay", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate446.errors : vErrors.concat(validate446.errors), errors = vErrors.length)), data.textFrames !== void 0) {
13430
+ if (data.pageSetup !== void 0 && (validate468(data.pageSetup, { instancePath: instancePath + "/pageSetup", parentData: data, parentDataProperty: "pageSetup", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate468.errors : vErrors.concat(validate468.errors), errors = vErrors.length)), data.instrumentNameDisplay !== void 0 && (validate472(data.instrumentNameDisplay, { instancePath: instancePath + "/instrumentNameDisplay", parentData: data, parentDataProperty: "instrumentNameDisplay", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate472.errors : vErrors.concat(validate472.errors), errors = vErrors.length)), data.textFrames !== void 0) {
13077
13431
  let data2 = data.textFrames;
13078
13432
  if (Array.isArray(data2)) {
13079
13433
  let len0 = data2.length;
13080
13434
  for (let i0 = 0; i0 < len0; i0++)
13081
- validate448(data2[i0], { instancePath: instancePath + "/textFrames/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate448.errors : vErrors.concat(validate448.errors), errors = vErrors.length);
13435
+ validate474(data2[i0], { instancePath: instancePath + "/textFrames/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate474.errors : vErrors.concat(validate474.errors), errors = vErrors.length);
13082
13436
  } else {
13083
13437
  let err1 = { instancePath: instancePath + "/textFrames", schemaPath: "#/properties/textFrames/type", keyword: "type", params: { type: "array" }, message: "must be array" };
13084
13438
  vErrors === null ? vErrors = [err1] : vErrors.push(err1), errors++;
@@ -13123,7 +13477,7 @@ function validate441(data, { instancePath = "", parentData, parentDataProperty,
13123
13477
  vErrors === null ? vErrors = [err7] : vErrors.push(err7), errors++;
13124
13478
  }
13125
13479
  if (!(data7 === "system" || data7 === "page")) {
13126
- let err8 = { instancePath: instancePath + "/layoutBreaks/" + i1 + "/kind", schemaPath: "#/$defs/layout-break/properties/kind/enum", keyword: "enum", params: { allowedValues: schema467.properties.kind.enum }, message: "must be equal to one of the allowed values" };
13480
+ let err8 = { instancePath: instancePath + "/layoutBreaks/" + i1 + "/kind", schemaPath: "#/$defs/layout-break/properties/kind/enum", keyword: "enum", params: { allowedValues: schema482.properties.kind.enum }, message: "must be equal to one of the allowed values" };
13127
13481
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
13128
13482
  }
13129
13483
  }
@@ -13141,12 +13495,12 @@ function validate441(data, { instancePath = "", parentData, parentDataProperty,
13141
13495
  let err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13142
13496
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
13143
13497
  }
13144
- return validate441.errors = vErrors, errors === 0;
13498
+ return validate467.errors = vErrors, errors === 0;
13145
13499
  }
13146
- validate441.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13147
- var textFrame = validate453;
13148
- function validate453(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13149
- let vErrors = null, errors = 0, evaluated0 = validate453.evaluated;
13500
+ validate467.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13501
+ var textFrame = validate479;
13502
+ function validate479(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13503
+ let vErrors = null, errors = 0, evaluated0 = validate479.evaluated;
13150
13504
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
13151
13505
  if (data.id === void 0) {
13152
13506
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -13169,7 +13523,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
13169
13523
  vErrors === null ? vErrors = [err4] : vErrors.push(err4), errors++;
13170
13524
  }
13171
13525
  for (let key0 in data)
13172
- if (!func1.call(schema458.properties, key0)) {
13526
+ if (!func1.call(schema473.properties, key0)) {
13173
13527
  let err5 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
13174
13528
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
13175
13529
  }
@@ -13349,7 +13703,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
13349
13703
  vErrors === null ? vErrors = [err36] : vErrors.push(err36), errors++;
13350
13704
  }
13351
13705
  if (!(data10 === "top" || data10 === "right" || data10 === "bottom" || data10 === "left" || data10 === "top-left" || data10 === "top-right" || data10 === "bottom-right" || data10 === "bottom-left")) {
13352
- let err37 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema407.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
13706
+ let err37 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema422.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
13353
13707
  vErrors === null ? vErrors = [err37] : vErrors.push(err37), errors++;
13354
13708
  }
13355
13709
  }
@@ -13475,14 +13829,14 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
13475
13829
  vErrors === null ? vErrors = [err60] : vErrors.push(err60), errors++;
13476
13830
  }
13477
13831
  }
13478
- if (data.content !== void 0 && (validate377(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.horizontalAlignment !== void 0) {
13832
+ if (data.content !== void 0 && (validate403(data.content, { instancePath: instancePath + "/content", parentData: data, parentDataProperty: "content", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.horizontalAlignment !== void 0) {
13479
13833
  let data20 = data.horizontalAlignment;
13480
13834
  if (typeof data20 != "string") {
13481
13835
  let err61 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/type", keyword: "type", params: { type: "string" }, message: "must be string" };
13482
13836
  vErrors === null ? vErrors = [err61] : vErrors.push(err61), errors++;
13483
13837
  }
13484
13838
  if (!(data20 === "left" || data20 === "center" || data20 === "right")) {
13485
- let err62 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema458.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
13839
+ let err62 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema473.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
13486
13840
  vErrors === null ? vErrors = [err62] : vErrors.push(err62), errors++;
13487
13841
  }
13488
13842
  }
@@ -13493,7 +13847,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
13493
13847
  vErrors === null ? vErrors = [err63] : vErrors.push(err63), errors++;
13494
13848
  }
13495
13849
  if (!(data21 === "left" || data21 === "center" || data21 === "right" || data21 === "justify")) {
13496
- let err64 = { instancePath: instancePath + "/paragraphJustification", schemaPath: "#/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema458.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
13850
+ let err64 = { instancePath: instancePath + "/paragraphJustification", schemaPath: "#/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema473.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
13497
13851
  vErrors === null ? vErrors = [err64] : vErrors.push(err64), errors++;
13498
13852
  }
13499
13853
  }
@@ -13516,7 +13870,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
13516
13870
  vErrors === null ? vErrors = [err67] : vErrors.push(err67), errors++;
13517
13871
  }
13518
13872
  if (!(data23 === "none" || data23 === "solid")) {
13519
- let err68 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema458.properties.border.enum }, message: "must be equal to one of the allowed values" };
13873
+ let err68 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema473.properties.border.enum }, message: "must be equal to one of the allowed values" };
13520
13874
  vErrors === null ? vErrors = [err68] : vErrors.push(err68), errors++;
13521
13875
  }
13522
13876
  }
@@ -13565,17 +13919,17 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
13565
13919
  vErrors === null ? vErrors = [err76] : vErrors.push(err76), errors++;
13566
13920
  }
13567
13921
  }
13568
- data.staffAttachment !== void 0 && (validate450(data.staffAttachment, { instancePath: instancePath + "/staffAttachment", parentData: data, parentDataProperty: "staffAttachment", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate450.errors : vErrors.concat(validate450.errors), errors = vErrors.length));
13922
+ data.staffAttachment !== void 0 && (validate476(data.staffAttachment, { instancePath: instancePath + "/staffAttachment", parentData: data, parentDataProperty: "staffAttachment", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate476.errors : vErrors.concat(validate476.errors), errors = vErrors.length));
13569
13923
  } else {
13570
13924
  let err77 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13571
13925
  vErrors === null ? vErrors = [err77] : vErrors.push(err77), errors++;
13572
13926
  }
13573
- return validate453.errors = vErrors, errors === 0;
13927
+ return validate479.errors = vErrors, errors === 0;
13574
13928
  }
13575
- validate453.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13576
- var systemText = validate456;
13577
- function validate456(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13578
- let vErrors = null, errors = 0, evaluated0 = validate456.evaluated;
13929
+ validate479.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13930
+ var systemText = validate482;
13931
+ function validate482(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13932
+ let vErrors = null, errors = 0, evaluated0 = validate482.evaluated;
13579
13933
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
13580
13934
  if (data.id === void 0) {
13581
13935
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -13606,7 +13960,7 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
13606
13960
  vErrors === null ? vErrors = [err5] : vErrors.push(err5), errors++;
13607
13961
  }
13608
13962
  }
13609
- if (data.text !== void 0 && (validate377(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate377.errors : vErrors.concat(validate377.errors), errors = vErrors.length)), data.frame !== void 0) {
13963
+ if (data.text !== void 0 && (validate403(data.text, { instancePath: instancePath + "/text", parentData: data, parentDataProperty: "text", rootData, dynamicAnchors }) || (vErrors = vErrors === null ? validate403.errors : vErrors.concat(validate403.errors), errors = vErrors.length)), data.frame !== void 0) {
13610
13964
  let data2 = data.frame;
13611
13965
  if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
13612
13966
  for (let key1 in data2)
@@ -13658,7 +14012,7 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
13658
14012
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
13659
14013
  }
13660
14014
  if (!(data6 === "left" || data6 === "center" || data6 === "right")) {
13661
- let err15 = { instancePath: instancePath + "/frame/horizontalAlignment", schemaPath: "#/$defs/staff-text-frame-presentation/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema374.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
14015
+ let err15 = { instancePath: instancePath + "/frame/horizontalAlignment", schemaPath: "#/$defs/staff-text-frame-presentation/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema389.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
13662
14016
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
13663
14017
  }
13664
14018
  }
@@ -13669,7 +14023,7 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
13669
14023
  vErrors === null ? vErrors = [err16] : vErrors.push(err16), errors++;
13670
14024
  }
13671
14025
  if (!(data7 === "left" || data7 === "center" || data7 === "right" || data7 === "justify")) {
13672
- let err17 = { instancePath: instancePath + "/frame/paragraphJustification", schemaPath: "#/$defs/staff-text-frame-presentation/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema374.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
14026
+ let err17 = { instancePath: instancePath + "/frame/paragraphJustification", schemaPath: "#/$defs/staff-text-frame-presentation/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema389.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
13673
14027
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
13674
14028
  }
13675
14029
  }
@@ -13692,7 +14046,7 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
13692
14046
  vErrors === null ? vErrors = [err20] : vErrors.push(err20), errors++;
13693
14047
  }
13694
14048
  if (!(data9 === "none" || data9 === "solid")) {
13695
- let err21 = { instancePath: instancePath + "/frame/border", schemaPath: "#/$defs/staff-text-frame-presentation/properties/border/enum", keyword: "enum", params: { allowedValues: schema374.properties.border.enum }, message: "must be equal to one of the allowed values" };
14049
+ let err21 = { instancePath: instancePath + "/frame/border", schemaPath: "#/$defs/staff-text-frame-presentation/properties/border/enum", keyword: "enum", params: { allowedValues: schema389.properties.border.enum }, message: "must be equal to one of the allowed values" };
13696
14050
  vErrors === null ? vErrors = [err21] : vErrors.push(err21), errors++;
13697
14051
  }
13698
14052
  }
@@ -13781,7 +14135,7 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
13781
14135
  vErrors === null ? vErrors = [err35] : vErrors.push(err35), errors++;
13782
14136
  }
13783
14137
  if (!(data17 === "below" || data17 === "above")) {
13784
- let err36 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema376.enum }, message: "must be equal to one of the allowed values" };
14138
+ let err36 = { instancePath: instancePath + "/placement", schemaPath: "#/$defs/expression-placement/enum", keyword: "enum", params: { allowedValues: schema391.enum }, message: "must be equal to one of the allowed values" };
13785
14139
  vErrors === null ? vErrors = [err36] : vErrors.push(err36), errors++;
13786
14140
  }
13787
14141
  }
@@ -13815,12 +14169,12 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
13815
14169
  let err42 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13816
14170
  vErrors === null ? vErrors = [err42] : vErrors.push(err42), errors++;
13817
14171
  }
13818
- return validate456.errors = vErrors, errors === 0;
14172
+ return validate482.errors = vErrors, errors === 0;
13819
14173
  }
13820
- validate456.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13821
- var staffTextFramePresentation = validate458;
13822
- function validate458(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13823
- let vErrors = null, errors = 0, evaluated0 = validate458.evaluated;
14174
+ validate482.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
14175
+ var staffTextFramePresentation = validate484;
14176
+ function validate484(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14177
+ let vErrors = null, errors = 0, evaluated0 = validate484.evaluated;
13824
14178
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
13825
14179
  for (let key0 in data)
13826
14180
  if (!(key0 === "width" || key0 === "horizontalAlignment" || key0 === "paragraphJustification" || key0 === "padding" || key0 === "border" || key0 === "eraseBackground")) {
@@ -13871,7 +14225,7 @@ function validate458(data, { instancePath = "", parentData, parentDataProperty,
13871
14225
  vErrors === null ? vErrors = [err8] : vErrors.push(err8), errors++;
13872
14226
  }
13873
14227
  if (!(data3 === "left" || data3 === "center" || data3 === "right")) {
13874
- let err9 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema374.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
14228
+ let err9 = { instancePath: instancePath + "/horizontalAlignment", schemaPath: "#/properties/horizontalAlignment/enum", keyword: "enum", params: { allowedValues: schema389.properties.horizontalAlignment.enum }, message: "must be equal to one of the allowed values" };
13875
14229
  vErrors === null ? vErrors = [err9] : vErrors.push(err9), errors++;
13876
14230
  }
13877
14231
  }
@@ -13882,7 +14236,7 @@ function validate458(data, { instancePath = "", parentData, parentDataProperty,
13882
14236
  vErrors === null ? vErrors = [err10] : vErrors.push(err10), errors++;
13883
14237
  }
13884
14238
  if (!(data4 === "left" || data4 === "center" || data4 === "right" || data4 === "justify")) {
13885
- let err11 = { instancePath: instancePath + "/paragraphJustification", schemaPath: "#/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema374.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
14239
+ let err11 = { instancePath: instancePath + "/paragraphJustification", schemaPath: "#/properties/paragraphJustification/enum", keyword: "enum", params: { allowedValues: schema389.properties.paragraphJustification.enum }, message: "must be equal to one of the allowed values" };
13886
14240
  vErrors === null ? vErrors = [err11] : vErrors.push(err11), errors++;
13887
14241
  }
13888
14242
  }
@@ -13905,7 +14259,7 @@ function validate458(data, { instancePath = "", parentData, parentDataProperty,
13905
14259
  vErrors === null ? vErrors = [err14] : vErrors.push(err14), errors++;
13906
14260
  }
13907
14261
  if (!(data6 === "none" || data6 === "solid")) {
13908
- let err15 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema374.properties.border.enum }, message: "must be equal to one of the allowed values" };
14262
+ let err15 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema389.properties.border.enum }, message: "must be equal to one of the allowed values" };
13909
14263
  vErrors === null ? vErrors = [err15] : vErrors.push(err15), errors++;
13910
14264
  }
13911
14265
  }
@@ -13917,12 +14271,12 @@ function validate458(data, { instancePath = "", parentData, parentDataProperty,
13917
14271
  let err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13918
14272
  vErrors === null ? vErrors = [err17] : vErrors.push(err17), errors++;
13919
14273
  }
13920
- return validate458.errors = vErrors, errors === 0;
14274
+ return validate484.errors = vErrors, errors === 0;
13921
14275
  }
13922
- validate458.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
13923
- var textFramePagePosition = validate459;
13924
- function validate459(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13925
- let vErrors = null, errors = 0, evaluated0 = validate459.evaluated;
14276
+ validate484.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
14277
+ var textFramePagePosition = validate485;
14278
+ function validate485(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14279
+ let vErrors = null, errors = 0, evaluated0 = validate485.evaluated;
13926
14280
  if (evaluated0.dynamicProps && (evaluated0.props = void 0), evaluated0.dynamicItems && (evaluated0.items = void 0), data && typeof data == "object" && !Array.isArray(data)) {
13927
14281
  if (data.id === void 0) {
13928
14282
  let err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "id" }, message: "must have required property 'id'" };
@@ -14132,7 +14486,7 @@ function validate459(data, { instancePath = "", parentData, parentDataProperty,
14132
14486
  vErrors === null ? vErrors = [err37] : vErrors.push(err37), errors++;
14133
14487
  }
14134
14488
  if (!(data11 === "top" || data11 === "right" || data11 === "bottom" || data11 === "left" || data11 === "top-left" || data11 === "top-right" || data11 === "bottom-right" || data11 === "bottom-left")) {
14135
- let err38 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema407.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
14489
+ let err38 = { instancePath: instancePath + "/placement/anchor", schemaPath: "#/$defs/text-frame-placement/properties/anchor/enum", keyword: "enum", params: { allowedValues: schema422.properties.anchor.enum }, message: "must be equal to one of the allowed values" };
14136
14490
  vErrors === null ? vErrors = [err38] : vErrors.push(err38), errors++;
14137
14491
  }
14138
14492
  }
@@ -14303,9 +14657,9 @@ function validate459(data, { instancePath = "", parentData, parentDataProperty,
14303
14657
  let err69 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
14304
14658
  vErrors === null ? vErrors = [err69] : vErrors.push(err69), errors++;
14305
14659
  }
14306
- return validate459.errors = vErrors, errors === 0;
14660
+ return validate485.errors = vErrors, errors === 0;
14307
14661
  }
14308
- validate459.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
14662
+ validate485.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 };
14309
14663
 
14310
14664
  // packages/format/src/mnx/staffTextFrame.ts
14311
14665
  function parseTextFramePagePosition(raw) {