@tightknitai/slack-block-kit-validator 0.1.7-alpha.1 → 0.1.8

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.
@@ -5,7 +5,11 @@
5
5
 
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
8
+ try {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ } catch (e) {
11
+ throw mod = 0, e;
12
+ }
9
13
  };
10
14
 
11
15
  // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
@@ -8686,71 +8690,867 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
8686
8690
  }
8687
8691
  errors++;
8688
8692
  }
8689
- const len0 = data1.length;
8690
- for (let i0 = 0; i0 < len0; i0++) {
8691
- if (!validate144(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
8692
- vErrors = vErrors === null ? validate144.errors : vErrors.concat(validate144.errors);
8693
- errors = vErrors.length;
8693
+ const len0 = data1.length;
8694
+ for (let i0 = 0; i0 < len0; i0++) {
8695
+ if (!validate144(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
8696
+ vErrors = vErrors === null ? validate144.errors : vErrors.concat(validate144.errors);
8697
+ errors = vErrors.length;
8698
+ }
8699
+ }
8700
+ } else {
8701
+ const err6 = { instancePath: instancePath + "/elements", schemaPath: "#/properties/elements/type", keyword: "type", params: { type: "array" }, message: "must be array" };
8702
+ if (vErrors === null) {
8703
+ vErrors = [err6];
8704
+ } else {
8705
+ vErrors.push(err6);
8706
+ }
8707
+ errors++;
8708
+ }
8709
+ }
8710
+ if (data.block_id !== void 0) {
8711
+ let data3 = data.block_id;
8712
+ if (typeof data3 === "string") {
8713
+ if (func1(data3) > 255) {
8714
+ const err7 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/maxLength", keyword: "maxLength", params: { limit: 255 }, message: "must NOT have more than 255 characters" };
8715
+ if (vErrors === null) {
8716
+ vErrors = [err7];
8717
+ } else {
8718
+ vErrors.push(err7);
8719
+ }
8720
+ errors++;
8721
+ }
8722
+ if (func1(data3) < 1) {
8723
+ const err8 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
8724
+ if (vErrors === null) {
8725
+ vErrors = [err8];
8726
+ } else {
8727
+ vErrors.push(err8);
8728
+ }
8729
+ errors++;
8730
+ }
8731
+ } else {
8732
+ const err9 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/type", keyword: "type", params: { type: "string" }, message: "must be string" };
8733
+ if (vErrors === null) {
8734
+ vErrors = [err9];
8735
+ } else {
8736
+ vErrors.push(err9);
8737
+ }
8738
+ errors++;
8739
+ }
8740
+ }
8741
+ } else {
8742
+ const err10 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8743
+ if (vErrors === null) {
8744
+ vErrors = [err10];
8745
+ } else {
8746
+ vErrors.push(err10);
8747
+ }
8748
+ errors++;
8749
+ }
8750
+ validate143.errors = vErrors;
8751
+ return errors === 0;
8752
+ }
8753
+ validate143.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
8754
+ var schema124 = { "description": "The chart rendered by a data_visualization block. line/bar/area charts use series + axis_config; pie charts use segments.", "oneOf": [{ "description": "Cartesian chart \u2014 line, bar, or area. 1\u20136 series; axis_config required.", "type": "object", "additionalProperties": false, "required": ["type", "series", "axis_config"], "properties": { "type": { "enum": ["line", "bar", "area"] }, "series": { "type": "array", "minItems": 1, "maxItems": 6, "items": { "$ref": "#/$defs/data_visualization_series" } }, "axis_config": { "$ref": "#/$defs/data_visualization_axis_config" } } }, { "description": "Pie chart. 1\u20136 segments.", "type": "object", "additionalProperties": false, "required": ["type", "segments"], "properties": { "type": { "const": "pie" }, "segments": { "type": "array", "minItems": 1, "maxItems": 6, "items": { "$ref": "#/$defs/data_visualization_segment" } } } }] };
8755
+ function validate151(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8756
+ let vErrors = null;
8757
+ let errors = 0;
8758
+ const evaluated0 = validate151.evaluated;
8759
+ if (evaluated0.dynamicProps) {
8760
+ evaluated0.props = void 0;
8761
+ }
8762
+ if (evaluated0.dynamicItems) {
8763
+ evaluated0.items = void 0;
8764
+ }
8765
+ if (data && typeof data == "object" && !Array.isArray(data)) {
8766
+ if (data.name === void 0) {
8767
+ const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "name" }, message: "must have required property 'name'" };
8768
+ if (vErrors === null) {
8769
+ vErrors = [err0];
8770
+ } else {
8771
+ vErrors.push(err0);
8772
+ }
8773
+ errors++;
8774
+ }
8775
+ if (data.data === void 0) {
8776
+ const err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "data" }, message: "must have required property 'data'" };
8777
+ if (vErrors === null) {
8778
+ vErrors = [err1];
8779
+ } else {
8780
+ vErrors.push(err1);
8781
+ }
8782
+ errors++;
8783
+ }
8784
+ for (const key0 in data) {
8785
+ if (!(key0 === "name" || key0 === "data")) {
8786
+ const err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
8787
+ if (vErrors === null) {
8788
+ vErrors = [err2];
8789
+ } else {
8790
+ vErrors.push(err2);
8791
+ }
8792
+ errors++;
8793
+ }
8794
+ }
8795
+ if (data.name !== void 0) {
8796
+ let data0 = data.name;
8797
+ if (typeof data0 === "string") {
8798
+ if (func1(data0) > 20) {
8799
+ const err3 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/maxLength", keyword: "maxLength", params: { limit: 20 }, message: "must NOT have more than 20 characters" };
8800
+ if (vErrors === null) {
8801
+ vErrors = [err3];
8802
+ } else {
8803
+ vErrors.push(err3);
8804
+ }
8805
+ errors++;
8806
+ }
8807
+ if (func1(data0) < 1) {
8808
+ const err4 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
8809
+ if (vErrors === null) {
8810
+ vErrors = [err4];
8811
+ } else {
8812
+ vErrors.push(err4);
8813
+ }
8814
+ errors++;
8815
+ }
8816
+ } else {
8817
+ const err5 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: "string" }, message: "must be string" };
8818
+ if (vErrors === null) {
8819
+ vErrors = [err5];
8820
+ } else {
8821
+ vErrors.push(err5);
8822
+ }
8823
+ errors++;
8824
+ }
8825
+ }
8826
+ if (data.data !== void 0) {
8827
+ let data1 = data.data;
8828
+ if (Array.isArray(data1)) {
8829
+ if (data1.length > 20) {
8830
+ const err6 = { instancePath: instancePath + "/data", schemaPath: "#/properties/data/maxItems", keyword: "maxItems", params: { limit: 20 }, message: "must NOT have more than 20 items" };
8831
+ if (vErrors === null) {
8832
+ vErrors = [err6];
8833
+ } else {
8834
+ vErrors.push(err6);
8835
+ }
8836
+ errors++;
8837
+ }
8838
+ if (data1.length < 1) {
8839
+ const err7 = { instancePath: instancePath + "/data", schemaPath: "#/properties/data/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
8840
+ if (vErrors === null) {
8841
+ vErrors = [err7];
8842
+ } else {
8843
+ vErrors.push(err7);
8844
+ }
8845
+ errors++;
8846
+ }
8847
+ const len0 = data1.length;
8848
+ for (let i0 = 0; i0 < len0; i0++) {
8849
+ let data2 = data1[i0];
8850
+ if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
8851
+ if (data2.label === void 0) {
8852
+ const err8 = { instancePath: instancePath + "/data/" + i0, schemaPath: "#/$defs/data_visualization_data_point/required", keyword: "required", params: { missingProperty: "label" }, message: "must have required property 'label'" };
8853
+ if (vErrors === null) {
8854
+ vErrors = [err8];
8855
+ } else {
8856
+ vErrors.push(err8);
8857
+ }
8858
+ errors++;
8859
+ }
8860
+ if (data2.value === void 0) {
8861
+ const err9 = { instancePath: instancePath + "/data/" + i0, schemaPath: "#/$defs/data_visualization_data_point/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
8862
+ if (vErrors === null) {
8863
+ vErrors = [err9];
8864
+ } else {
8865
+ vErrors.push(err9);
8866
+ }
8867
+ errors++;
8868
+ }
8869
+ for (const key1 in data2) {
8870
+ if (!(key1 === "label" || key1 === "value")) {
8871
+ const err10 = { instancePath: instancePath + "/data/" + i0, schemaPath: "#/$defs/data_visualization_data_point/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
8872
+ if (vErrors === null) {
8873
+ vErrors = [err10];
8874
+ } else {
8875
+ vErrors.push(err10);
8876
+ }
8877
+ errors++;
8878
+ }
8879
+ }
8880
+ if (data2.label !== void 0) {
8881
+ let data3 = data2.label;
8882
+ if (typeof data3 === "string") {
8883
+ if (func1(data3) > 20) {
8884
+ const err11 = { instancePath: instancePath + "/data/" + i0 + "/label", schemaPath: "#/$defs/data_visualization_data_point/properties/label/maxLength", keyword: "maxLength", params: { limit: 20 }, message: "must NOT have more than 20 characters" };
8885
+ if (vErrors === null) {
8886
+ vErrors = [err11];
8887
+ } else {
8888
+ vErrors.push(err11);
8889
+ }
8890
+ errors++;
8891
+ }
8892
+ if (func1(data3) < 1) {
8893
+ const err12 = { instancePath: instancePath + "/data/" + i0 + "/label", schemaPath: "#/$defs/data_visualization_data_point/properties/label/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
8894
+ if (vErrors === null) {
8895
+ vErrors = [err12];
8896
+ } else {
8897
+ vErrors.push(err12);
8898
+ }
8899
+ errors++;
8900
+ }
8901
+ } else {
8902
+ const err13 = { instancePath: instancePath + "/data/" + i0 + "/label", schemaPath: "#/$defs/data_visualization_data_point/properties/label/type", keyword: "type", params: { type: "string" }, message: "must be string" };
8903
+ if (vErrors === null) {
8904
+ vErrors = [err13];
8905
+ } else {
8906
+ vErrors.push(err13);
8907
+ }
8908
+ errors++;
8909
+ }
8910
+ }
8911
+ if (data2.value !== void 0) {
8912
+ if (!(typeof data2.value == "number")) {
8913
+ const err14 = { instancePath: instancePath + "/data/" + i0 + "/value", schemaPath: "#/$defs/data_visualization_data_point/properties/value/type", keyword: "type", params: { type: "number" }, message: "must be number" };
8914
+ if (vErrors === null) {
8915
+ vErrors = [err14];
8916
+ } else {
8917
+ vErrors.push(err14);
8918
+ }
8919
+ errors++;
8920
+ }
8921
+ }
8922
+ } else {
8923
+ const err15 = { instancePath: instancePath + "/data/" + i0, schemaPath: "#/$defs/data_visualization_data_point/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8924
+ if (vErrors === null) {
8925
+ vErrors = [err15];
8926
+ } else {
8927
+ vErrors.push(err15);
8928
+ }
8929
+ errors++;
8930
+ }
8931
+ }
8932
+ } else {
8933
+ const err16 = { instancePath: instancePath + "/data", schemaPath: "#/properties/data/type", keyword: "type", params: { type: "array" }, message: "must be array" };
8934
+ if (vErrors === null) {
8935
+ vErrors = [err16];
8936
+ } else {
8937
+ vErrors.push(err16);
8938
+ }
8939
+ errors++;
8940
+ }
8941
+ }
8942
+ } else {
8943
+ const err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8944
+ if (vErrors === null) {
8945
+ vErrors = [err17];
8946
+ } else {
8947
+ vErrors.push(err17);
8948
+ }
8949
+ errors++;
8950
+ }
8951
+ validate151.errors = vErrors;
8952
+ return errors === 0;
8953
+ }
8954
+ validate151.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
8955
+ function validate150(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8956
+ let vErrors = null;
8957
+ let errors = 0;
8958
+ const evaluated0 = validate150.evaluated;
8959
+ if (evaluated0.dynamicProps) {
8960
+ evaluated0.props = void 0;
8961
+ }
8962
+ if (evaluated0.dynamicItems) {
8963
+ evaluated0.items = void 0;
8964
+ }
8965
+ const _errs0 = errors;
8966
+ let valid0 = false;
8967
+ let passing0 = null;
8968
+ const _errs1 = errors;
8969
+ if (data && typeof data == "object" && !Array.isArray(data)) {
8970
+ if (data.type === void 0) {
8971
+ const err0 = { instancePath, schemaPath: "#/oneOf/0/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
8972
+ if (vErrors === null) {
8973
+ vErrors = [err0];
8974
+ } else {
8975
+ vErrors.push(err0);
8976
+ }
8977
+ errors++;
8978
+ }
8979
+ if (data.series === void 0) {
8980
+ const err1 = { instancePath, schemaPath: "#/oneOf/0/required", keyword: "required", params: { missingProperty: "series" }, message: "must have required property 'series'" };
8981
+ if (vErrors === null) {
8982
+ vErrors = [err1];
8983
+ } else {
8984
+ vErrors.push(err1);
8985
+ }
8986
+ errors++;
8987
+ }
8988
+ if (data.axis_config === void 0) {
8989
+ const err2 = { instancePath, schemaPath: "#/oneOf/0/required", keyword: "required", params: { missingProperty: "axis_config" }, message: "must have required property 'axis_config'" };
8990
+ if (vErrors === null) {
8991
+ vErrors = [err2];
8992
+ } else {
8993
+ vErrors.push(err2);
8994
+ }
8995
+ errors++;
8996
+ }
8997
+ for (const key0 in data) {
8998
+ if (!(key0 === "type" || key0 === "series" || key0 === "axis_config")) {
8999
+ const err3 = { instancePath, schemaPath: "#/oneOf/0/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9000
+ if (vErrors === null) {
9001
+ vErrors = [err3];
9002
+ } else {
9003
+ vErrors.push(err3);
9004
+ }
9005
+ errors++;
9006
+ }
9007
+ }
9008
+ if (data.type !== void 0) {
9009
+ let data0 = data.type;
9010
+ if (!(data0 === "line" || data0 === "bar" || data0 === "area")) {
9011
+ const err4 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/enum", keyword: "enum", params: { allowedValues: schema124.oneOf[0].properties.type.enum }, message: "must be equal to one of the allowed values" };
9012
+ if (vErrors === null) {
9013
+ vErrors = [err4];
9014
+ } else {
9015
+ vErrors.push(err4);
9016
+ }
9017
+ errors++;
9018
+ }
9019
+ }
9020
+ if (data.series !== void 0) {
9021
+ let data1 = data.series;
9022
+ if (Array.isArray(data1)) {
9023
+ if (data1.length > 6) {
9024
+ const err5 = { instancePath: instancePath + "/series", schemaPath: "#/oneOf/0/properties/series/maxItems", keyword: "maxItems", params: { limit: 6 }, message: "must NOT have more than 6 items" };
9025
+ if (vErrors === null) {
9026
+ vErrors = [err5];
9027
+ } else {
9028
+ vErrors.push(err5);
9029
+ }
9030
+ errors++;
9031
+ }
9032
+ if (data1.length < 1) {
9033
+ const err6 = { instancePath: instancePath + "/series", schemaPath: "#/oneOf/0/properties/series/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
9034
+ if (vErrors === null) {
9035
+ vErrors = [err6];
9036
+ } else {
9037
+ vErrors.push(err6);
9038
+ }
9039
+ errors++;
9040
+ }
9041
+ const len0 = data1.length;
9042
+ for (let i0 = 0; i0 < len0; i0++) {
9043
+ if (!validate151(data1[i0], { instancePath: instancePath + "/series/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
9044
+ vErrors = vErrors === null ? validate151.errors : vErrors.concat(validate151.errors);
9045
+ errors = vErrors.length;
9046
+ }
9047
+ }
9048
+ } else {
9049
+ const err7 = { instancePath: instancePath + "/series", schemaPath: "#/oneOf/0/properties/series/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9050
+ if (vErrors === null) {
9051
+ vErrors = [err7];
9052
+ } else {
9053
+ vErrors.push(err7);
9054
+ }
9055
+ errors++;
9056
+ }
9057
+ }
9058
+ if (data.axis_config !== void 0) {
9059
+ let data3 = data.axis_config;
9060
+ if (data3 && typeof data3 == "object" && !Array.isArray(data3)) {
9061
+ if (data3.categories === void 0) {
9062
+ const err8 = { instancePath: instancePath + "/axis_config", schemaPath: "#/$defs/data_visualization_axis_config/required", keyword: "required", params: { missingProperty: "categories" }, message: "must have required property 'categories'" };
9063
+ if (vErrors === null) {
9064
+ vErrors = [err8];
9065
+ } else {
9066
+ vErrors.push(err8);
9067
+ }
9068
+ errors++;
9069
+ }
9070
+ for (const key1 in data3) {
9071
+ if (!(key1 === "categories" || key1 === "x_label" || key1 === "y_label")) {
9072
+ const err9 = { instancePath: instancePath + "/axis_config", schemaPath: "#/$defs/data_visualization_axis_config/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
9073
+ if (vErrors === null) {
9074
+ vErrors = [err9];
9075
+ } else {
9076
+ vErrors.push(err9);
9077
+ }
9078
+ errors++;
9079
+ }
9080
+ }
9081
+ if (data3.categories !== void 0) {
9082
+ let data4 = data3.categories;
9083
+ if (Array.isArray(data4)) {
9084
+ const len1 = data4.length;
9085
+ for (let i1 = 0; i1 < len1; i1++) {
9086
+ let data5 = data4[i1];
9087
+ if (typeof data5 === "string") {
9088
+ if (func1(data5) > 20) {
9089
+ const err10 = { instancePath: instancePath + "/axis_config/categories/" + i1, schemaPath: "#/$defs/data_visualization_axis_config/properties/categories/items/maxLength", keyword: "maxLength", params: { limit: 20 }, message: "must NOT have more than 20 characters" };
9090
+ if (vErrors === null) {
9091
+ vErrors = [err10];
9092
+ } else {
9093
+ vErrors.push(err10);
9094
+ }
9095
+ errors++;
9096
+ }
9097
+ if (func1(data5) < 1) {
9098
+ const err11 = { instancePath: instancePath + "/axis_config/categories/" + i1, schemaPath: "#/$defs/data_visualization_axis_config/properties/categories/items/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
9099
+ if (vErrors === null) {
9100
+ vErrors = [err11];
9101
+ } else {
9102
+ vErrors.push(err11);
9103
+ }
9104
+ errors++;
9105
+ }
9106
+ } else {
9107
+ const err12 = { instancePath: instancePath + "/axis_config/categories/" + i1, schemaPath: "#/$defs/data_visualization_axis_config/properties/categories/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9108
+ if (vErrors === null) {
9109
+ vErrors = [err12];
9110
+ } else {
9111
+ vErrors.push(err12);
9112
+ }
9113
+ errors++;
9114
+ }
9115
+ }
9116
+ } else {
9117
+ const err13 = { instancePath: instancePath + "/axis_config/categories", schemaPath: "#/$defs/data_visualization_axis_config/properties/categories/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9118
+ if (vErrors === null) {
9119
+ vErrors = [err13];
9120
+ } else {
9121
+ vErrors.push(err13);
9122
+ }
9123
+ errors++;
9124
+ }
9125
+ }
9126
+ if (data3.x_label !== void 0) {
9127
+ let data6 = data3.x_label;
9128
+ if (typeof data6 === "string") {
9129
+ if (func1(data6) > 50) {
9130
+ const err14 = { instancePath: instancePath + "/axis_config/x_label", schemaPath: "#/$defs/data_visualization_axis_config/properties/x_label/maxLength", keyword: "maxLength", params: { limit: 50 }, message: "must NOT have more than 50 characters" };
9131
+ if (vErrors === null) {
9132
+ vErrors = [err14];
9133
+ } else {
9134
+ vErrors.push(err14);
9135
+ }
9136
+ errors++;
9137
+ }
9138
+ } else {
9139
+ const err15 = { instancePath: instancePath + "/axis_config/x_label", schemaPath: "#/$defs/data_visualization_axis_config/properties/x_label/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9140
+ if (vErrors === null) {
9141
+ vErrors = [err15];
9142
+ } else {
9143
+ vErrors.push(err15);
9144
+ }
9145
+ errors++;
9146
+ }
9147
+ }
9148
+ if (data3.y_label !== void 0) {
9149
+ let data7 = data3.y_label;
9150
+ if (typeof data7 === "string") {
9151
+ if (func1(data7) > 50) {
9152
+ const err16 = { instancePath: instancePath + "/axis_config/y_label", schemaPath: "#/$defs/data_visualization_axis_config/properties/y_label/maxLength", keyword: "maxLength", params: { limit: 50 }, message: "must NOT have more than 50 characters" };
9153
+ if (vErrors === null) {
9154
+ vErrors = [err16];
9155
+ } else {
9156
+ vErrors.push(err16);
9157
+ }
9158
+ errors++;
9159
+ }
9160
+ } else {
9161
+ const err17 = { instancePath: instancePath + "/axis_config/y_label", schemaPath: "#/$defs/data_visualization_axis_config/properties/y_label/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9162
+ if (vErrors === null) {
9163
+ vErrors = [err17];
9164
+ } else {
9165
+ vErrors.push(err17);
9166
+ }
9167
+ errors++;
9168
+ }
9169
+ }
9170
+ } else {
9171
+ const err18 = { instancePath: instancePath + "/axis_config", schemaPath: "#/$defs/data_visualization_axis_config/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9172
+ if (vErrors === null) {
9173
+ vErrors = [err18];
9174
+ } else {
9175
+ vErrors.push(err18);
9176
+ }
9177
+ errors++;
9178
+ }
9179
+ }
9180
+ } else {
9181
+ const err19 = { instancePath, schemaPath: "#/oneOf/0/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9182
+ if (vErrors === null) {
9183
+ vErrors = [err19];
9184
+ } else {
9185
+ vErrors.push(err19);
9186
+ }
9187
+ errors++;
9188
+ }
9189
+ var _valid0 = _errs1 === errors;
9190
+ if (_valid0) {
9191
+ valid0 = true;
9192
+ passing0 = 0;
9193
+ var props0 = true;
9194
+ }
9195
+ const _errs20 = errors;
9196
+ if (data && typeof data == "object" && !Array.isArray(data)) {
9197
+ if (data.type === void 0) {
9198
+ const err20 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
9199
+ if (vErrors === null) {
9200
+ vErrors = [err20];
9201
+ } else {
9202
+ vErrors.push(err20);
9203
+ }
9204
+ errors++;
9205
+ }
9206
+ if (data.segments === void 0) {
9207
+ const err21 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "segments" }, message: "must have required property 'segments'" };
9208
+ if (vErrors === null) {
9209
+ vErrors = [err21];
9210
+ } else {
9211
+ vErrors.push(err21);
9212
+ }
9213
+ errors++;
9214
+ }
9215
+ for (const key2 in data) {
9216
+ if (!(key2 === "type" || key2 === "segments")) {
9217
+ const err22 = { instancePath, schemaPath: "#/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
9218
+ if (vErrors === null) {
9219
+ vErrors = [err22];
9220
+ } else {
9221
+ vErrors.push(err22);
9222
+ }
9223
+ errors++;
9224
+ }
9225
+ }
9226
+ if (data.type !== void 0) {
9227
+ if ("pie" !== data.type) {
9228
+ const err23 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/const", keyword: "const", params: { allowedValue: "pie" }, message: "must be equal to constant" };
9229
+ if (vErrors === null) {
9230
+ vErrors = [err23];
9231
+ } else {
9232
+ vErrors.push(err23);
9233
+ }
9234
+ errors++;
9235
+ }
9236
+ }
9237
+ if (data.segments !== void 0) {
9238
+ let data9 = data.segments;
9239
+ if (Array.isArray(data9)) {
9240
+ if (data9.length > 6) {
9241
+ const err24 = { instancePath: instancePath + "/segments", schemaPath: "#/oneOf/1/properties/segments/maxItems", keyword: "maxItems", params: { limit: 6 }, message: "must NOT have more than 6 items" };
9242
+ if (vErrors === null) {
9243
+ vErrors = [err24];
9244
+ } else {
9245
+ vErrors.push(err24);
9246
+ }
9247
+ errors++;
9248
+ }
9249
+ if (data9.length < 1) {
9250
+ const err25 = { instancePath: instancePath + "/segments", schemaPath: "#/oneOf/1/properties/segments/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
9251
+ if (vErrors === null) {
9252
+ vErrors = [err25];
9253
+ } else {
9254
+ vErrors.push(err25);
9255
+ }
9256
+ errors++;
9257
+ }
9258
+ const len2 = data9.length;
9259
+ for (let i2 = 0; i2 < len2; i2++) {
9260
+ let data10 = data9[i2];
9261
+ if (data10 && typeof data10 == "object" && !Array.isArray(data10)) {
9262
+ if (data10.label === void 0) {
9263
+ const err26 = { instancePath: instancePath + "/segments/" + i2, schemaPath: "#/$defs/data_visualization_segment/required", keyword: "required", params: { missingProperty: "label" }, message: "must have required property 'label'" };
9264
+ if (vErrors === null) {
9265
+ vErrors = [err26];
9266
+ } else {
9267
+ vErrors.push(err26);
9268
+ }
9269
+ errors++;
9270
+ }
9271
+ if (data10.value === void 0) {
9272
+ const err27 = { instancePath: instancePath + "/segments/" + i2, schemaPath: "#/$defs/data_visualization_segment/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
9273
+ if (vErrors === null) {
9274
+ vErrors = [err27];
9275
+ } else {
9276
+ vErrors.push(err27);
9277
+ }
9278
+ errors++;
9279
+ }
9280
+ for (const key3 in data10) {
9281
+ if (!(key3 === "label" || key3 === "value")) {
9282
+ const err28 = { instancePath: instancePath + "/segments/" + i2, schemaPath: "#/$defs/data_visualization_segment/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" };
9283
+ if (vErrors === null) {
9284
+ vErrors = [err28];
9285
+ } else {
9286
+ vErrors.push(err28);
9287
+ }
9288
+ errors++;
9289
+ }
9290
+ }
9291
+ if (data10.label !== void 0) {
9292
+ let data11 = data10.label;
9293
+ if (typeof data11 === "string") {
9294
+ if (func1(data11) > 20) {
9295
+ const err29 = { instancePath: instancePath + "/segments/" + i2 + "/label", schemaPath: "#/$defs/data_visualization_segment/properties/label/maxLength", keyword: "maxLength", params: { limit: 20 }, message: "must NOT have more than 20 characters" };
9296
+ if (vErrors === null) {
9297
+ vErrors = [err29];
9298
+ } else {
9299
+ vErrors.push(err29);
9300
+ }
9301
+ errors++;
9302
+ }
9303
+ if (func1(data11) < 1) {
9304
+ const err30 = { instancePath: instancePath + "/segments/" + i2 + "/label", schemaPath: "#/$defs/data_visualization_segment/properties/label/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
9305
+ if (vErrors === null) {
9306
+ vErrors = [err30];
9307
+ } else {
9308
+ vErrors.push(err30);
9309
+ }
9310
+ errors++;
9311
+ }
9312
+ } else {
9313
+ const err31 = { instancePath: instancePath + "/segments/" + i2 + "/label", schemaPath: "#/$defs/data_visualization_segment/properties/label/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9314
+ if (vErrors === null) {
9315
+ vErrors = [err31];
9316
+ } else {
9317
+ vErrors.push(err31);
9318
+ }
9319
+ errors++;
9320
+ }
9321
+ }
9322
+ if (data10.value !== void 0) {
9323
+ let data12 = data10.value;
9324
+ if (typeof data12 == "number") {
9325
+ if (data12 <= 0 || isNaN(data12)) {
9326
+ const err32 = { instancePath: instancePath + "/segments/" + i2 + "/value", schemaPath: "#/$defs/data_visualization_segment/properties/value/exclusiveMinimum", keyword: "exclusiveMinimum", params: { comparison: ">", limit: 0 }, message: "must be > 0" };
9327
+ if (vErrors === null) {
9328
+ vErrors = [err32];
9329
+ } else {
9330
+ vErrors.push(err32);
9331
+ }
9332
+ errors++;
9333
+ }
9334
+ } else {
9335
+ const err33 = { instancePath: instancePath + "/segments/" + i2 + "/value", schemaPath: "#/$defs/data_visualization_segment/properties/value/type", keyword: "type", params: { type: "number" }, message: "must be number" };
9336
+ if (vErrors === null) {
9337
+ vErrors = [err33];
9338
+ } else {
9339
+ vErrors.push(err33);
9340
+ }
9341
+ errors++;
9342
+ }
9343
+ }
9344
+ } else {
9345
+ const err34 = { instancePath: instancePath + "/segments/" + i2, schemaPath: "#/$defs/data_visualization_segment/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9346
+ if (vErrors === null) {
9347
+ vErrors = [err34];
9348
+ } else {
9349
+ vErrors.push(err34);
9350
+ }
9351
+ errors++;
9352
+ }
9353
+ }
9354
+ } else {
9355
+ const err35 = { instancePath: instancePath + "/segments", schemaPath: "#/oneOf/1/properties/segments/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9356
+ if (vErrors === null) {
9357
+ vErrors = [err35];
9358
+ } else {
9359
+ vErrors.push(err35);
9360
+ }
9361
+ errors++;
9362
+ }
9363
+ }
9364
+ } else {
9365
+ const err36 = { instancePath, schemaPath: "#/oneOf/1/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9366
+ if (vErrors === null) {
9367
+ vErrors = [err36];
9368
+ } else {
9369
+ vErrors.push(err36);
9370
+ }
9371
+ errors++;
9372
+ }
9373
+ var _valid0 = _errs20 === errors;
9374
+ if (_valid0 && valid0) {
9375
+ valid0 = false;
9376
+ passing0 = [passing0, 1];
9377
+ } else {
9378
+ if (_valid0) {
9379
+ valid0 = true;
9380
+ passing0 = 1;
9381
+ if (props0 !== true) {
9382
+ props0 = true;
9383
+ }
9384
+ }
9385
+ }
9386
+ if (!valid0) {
9387
+ const err37 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
9388
+ if (vErrors === null) {
9389
+ vErrors = [err37];
9390
+ } else {
9391
+ vErrors.push(err37);
9392
+ }
9393
+ errors++;
9394
+ } else {
9395
+ errors = _errs0;
9396
+ if (vErrors !== null) {
9397
+ if (_errs0) {
9398
+ vErrors.length = _errs0;
9399
+ } else {
9400
+ vErrors = null;
9401
+ }
9402
+ }
9403
+ }
9404
+ validate150.errors = vErrors;
9405
+ evaluated0.props = props0;
9406
+ return errors === 0;
9407
+ }
9408
+ validate150.evaluated = { "dynamicProps": true, "dynamicItems": false };
9409
+ function validate149(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9410
+ let vErrors = null;
9411
+ let errors = 0;
9412
+ const evaluated0 = validate149.evaluated;
9413
+ if (evaluated0.dynamicProps) {
9414
+ evaluated0.props = void 0;
9415
+ }
9416
+ if (evaluated0.dynamicItems) {
9417
+ evaluated0.items = void 0;
9418
+ }
9419
+ if (data && typeof data == "object" && !Array.isArray(data)) {
9420
+ if (data.type === void 0) {
9421
+ const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
9422
+ if (vErrors === null) {
9423
+ vErrors = [err0];
9424
+ } else {
9425
+ vErrors.push(err0);
9426
+ }
9427
+ errors++;
9428
+ }
9429
+ if (data.title === void 0) {
9430
+ const err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "title" }, message: "must have required property 'title'" };
9431
+ if (vErrors === null) {
9432
+ vErrors = [err1];
9433
+ } else {
9434
+ vErrors.push(err1);
9435
+ }
9436
+ errors++;
9437
+ }
9438
+ if (data.chart === void 0) {
9439
+ const err2 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "chart" }, message: "must have required property 'chart'" };
9440
+ if (vErrors === null) {
9441
+ vErrors = [err2];
9442
+ } else {
9443
+ vErrors.push(err2);
9444
+ }
9445
+ errors++;
9446
+ }
9447
+ for (const key0 in data) {
9448
+ if (!(key0 === "type" || key0 === "block_id" || key0 === "title" || key0 === "chart")) {
9449
+ const err3 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9450
+ if (vErrors === null) {
9451
+ vErrors = [err3];
9452
+ } else {
9453
+ vErrors.push(err3);
9454
+ }
9455
+ errors++;
9456
+ }
9457
+ }
9458
+ if (data.type !== void 0) {
9459
+ if ("data_visualization" !== data.type) {
9460
+ const err4 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "data_visualization" }, message: "must be equal to constant" };
9461
+ if (vErrors === null) {
9462
+ vErrors = [err4];
9463
+ } else {
9464
+ vErrors.push(err4);
9465
+ }
9466
+ errors++;
9467
+ }
9468
+ }
9469
+ if (data.block_id !== void 0) {
9470
+ let data1 = data.block_id;
9471
+ if (typeof data1 === "string") {
9472
+ if (func1(data1) > 255) {
9473
+ const err5 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/maxLength", keyword: "maxLength", params: { limit: 255 }, message: "must NOT have more than 255 characters" };
9474
+ if (vErrors === null) {
9475
+ vErrors = [err5];
9476
+ } else {
9477
+ vErrors.push(err5);
9478
+ }
9479
+ errors++;
9480
+ }
9481
+ if (func1(data1) < 1) {
9482
+ const err6 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
9483
+ if (vErrors === null) {
9484
+ vErrors = [err6];
9485
+ } else {
9486
+ vErrors.push(err6);
8694
9487
  }
9488
+ errors++;
8695
9489
  }
8696
9490
  } else {
8697
- const err6 = { instancePath: instancePath + "/elements", schemaPath: "#/properties/elements/type", keyword: "type", params: { type: "array" }, message: "must be array" };
9491
+ const err7 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/type", keyword: "type", params: { type: "string" }, message: "must be string" };
8698
9492
  if (vErrors === null) {
8699
- vErrors = [err6];
9493
+ vErrors = [err7];
8700
9494
  } else {
8701
- vErrors.push(err6);
9495
+ vErrors.push(err7);
8702
9496
  }
8703
9497
  errors++;
8704
9498
  }
8705
9499
  }
8706
- if (data.block_id !== void 0) {
8707
- let data3 = data.block_id;
8708
- if (typeof data3 === "string") {
8709
- if (func1(data3) > 255) {
8710
- const err7 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/maxLength", keyword: "maxLength", params: { limit: 255 }, message: "must NOT have more than 255 characters" };
9500
+ if (data.title !== void 0) {
9501
+ let data2 = data.title;
9502
+ if (typeof data2 === "string") {
9503
+ if (func1(data2) > 50) {
9504
+ const err8 = { instancePath: instancePath + "/title", schemaPath: "#/properties/title/maxLength", keyword: "maxLength", params: { limit: 50 }, message: "must NOT have more than 50 characters" };
8711
9505
  if (vErrors === null) {
8712
- vErrors = [err7];
9506
+ vErrors = [err8];
8713
9507
  } else {
8714
- vErrors.push(err7);
9508
+ vErrors.push(err8);
8715
9509
  }
8716
9510
  errors++;
8717
9511
  }
8718
- if (func1(data3) < 1) {
8719
- const err8 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
9512
+ if (func1(data2) < 1) {
9513
+ const err9 = { instancePath: instancePath + "/title", schemaPath: "#/properties/title/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
8720
9514
  if (vErrors === null) {
8721
- vErrors = [err8];
9515
+ vErrors = [err9];
8722
9516
  } else {
8723
- vErrors.push(err8);
9517
+ vErrors.push(err9);
8724
9518
  }
8725
9519
  errors++;
8726
9520
  }
8727
9521
  } else {
8728
- const err9 = { instancePath: instancePath + "/block_id", schemaPath: "#/$defs/block_id/type", keyword: "type", params: { type: "string" }, message: "must be string" };
9522
+ const err10 = { instancePath: instancePath + "/title", schemaPath: "#/properties/title/type", keyword: "type", params: { type: "string" }, message: "must be string" };
8729
9523
  if (vErrors === null) {
8730
- vErrors = [err9];
9524
+ vErrors = [err10];
8731
9525
  } else {
8732
- vErrors.push(err9);
9526
+ vErrors.push(err10);
8733
9527
  }
8734
9528
  errors++;
8735
9529
  }
8736
9530
  }
9531
+ if (data.chart !== void 0) {
9532
+ if (!validate150(data.chart, { instancePath: instancePath + "/chart", parentData: data, parentDataProperty: "chart", rootData, dynamicAnchors })) {
9533
+ vErrors = vErrors === null ? validate150.errors : vErrors.concat(validate150.errors);
9534
+ errors = vErrors.length;
9535
+ }
9536
+ }
8737
9537
  } else {
8738
- const err10 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9538
+ const err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
8739
9539
  if (vErrors === null) {
8740
- vErrors = [err10];
9540
+ vErrors = [err11];
8741
9541
  } else {
8742
- vErrors.push(err10);
9542
+ vErrors.push(err11);
8743
9543
  }
8744
9544
  errors++;
8745
9545
  }
8746
- validate143.errors = vErrors;
9546
+ validate149.errors = vErrors;
8747
9547
  return errors === 0;
8748
9548
  }
8749
- validate143.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
8750
- function validate149(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9549
+ validate149.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
9550
+ function validate155(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8751
9551
  let vErrors = null;
8752
9552
  let errors = 0;
8753
- const evaluated0 = validate149.evaluated;
9553
+ const evaluated0 = validate155.evaluated;
8754
9554
  if (evaluated0.dynamicProps) {
8755
9555
  evaluated0.props = void 0;
8756
9556
  }
@@ -8829,14 +9629,14 @@ function validate149(data, { instancePath = "", parentData, parentDataProperty,
8829
9629
  }
8830
9630
  errors++;
8831
9631
  }
8832
- validate149.errors = vErrors;
9632
+ validate155.errors = vErrors;
8833
9633
  return errors === 0;
8834
9634
  }
8835
- validate149.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
8836
- function validate151(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9635
+ validate155.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
9636
+ function validate157(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8837
9637
  let vErrors = null;
8838
9638
  let errors = 0;
8839
- const evaluated0 = validate151.evaluated;
9639
+ const evaluated0 = validate157.evaluated;
8840
9640
  if (evaluated0.dynamicProps) {
8841
9641
  evaluated0.props = void 0;
8842
9642
  }
@@ -8966,14 +9766,14 @@ function validate151(data, { instancePath = "", parentData, parentDataProperty,
8966
9766
  }
8967
9767
  errors++;
8968
9768
  }
8969
- validate151.errors = vErrors;
9769
+ validate157.errors = vErrors;
8970
9770
  return errors === 0;
8971
9771
  }
8972
- validate151.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
8973
- function validate153(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9772
+ validate157.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
9773
+ function validate159(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
8974
9774
  let vErrors = null;
8975
9775
  let errors = 0;
8976
- const evaluated0 = validate153.evaluated;
9776
+ const evaluated0 = validate159.evaluated;
8977
9777
  if (evaluated0.dynamicProps) {
8978
9778
  evaluated0.props = void 0;
8979
9779
  }
@@ -9000,7 +9800,7 @@ function validate153(data, { instancePath = "", parentData, parentDataProperty,
9000
9800
  errors++;
9001
9801
  }
9002
9802
  for (const key0 in data) {
9003
- if (!(key0 === "type" || key0 === "text" || key0 === "block_id")) {
9803
+ if (!(key0 === "type" || key0 === "text" || key0 === "block_id" || key0 === "level")) {
9004
9804
  const err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9005
9805
  if (vErrors === null) {
9006
9806
  vErrors = [err2];
@@ -9163,23 +9963,55 @@ function validate153(data, { instancePath = "", parentData, parentDataProperty,
9163
9963
  errors++;
9164
9964
  }
9165
9965
  }
9966
+ if (data.level !== void 0) {
9967
+ let data7 = data.level;
9968
+ if (!(typeof data7 == "number" && (!(data7 % 1) && !isNaN(data7)))) {
9969
+ const err17 = { instancePath: instancePath + "/level", schemaPath: "#/properties/level/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
9970
+ if (vErrors === null) {
9971
+ vErrors = [err17];
9972
+ } else {
9973
+ vErrors.push(err17);
9974
+ }
9975
+ errors++;
9976
+ }
9977
+ if (typeof data7 == "number") {
9978
+ if (data7 > 4 || isNaN(data7)) {
9979
+ const err18 = { instancePath: instancePath + "/level", schemaPath: "#/properties/level/maximum", keyword: "maximum", params: { comparison: "<=", limit: 4 }, message: "must be <= 4" };
9980
+ if (vErrors === null) {
9981
+ vErrors = [err18];
9982
+ } else {
9983
+ vErrors.push(err18);
9984
+ }
9985
+ errors++;
9986
+ }
9987
+ if (data7 < 1 || isNaN(data7)) {
9988
+ const err19 = { instancePath: instancePath + "/level", schemaPath: "#/properties/level/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
9989
+ if (vErrors === null) {
9990
+ vErrors = [err19];
9991
+ } else {
9992
+ vErrors.push(err19);
9993
+ }
9994
+ errors++;
9995
+ }
9996
+ }
9997
+ }
9166
9998
  } else {
9167
- const err17 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9999
+ const err20 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
9168
10000
  if (vErrors === null) {
9169
- vErrors = [err17];
10001
+ vErrors = [err20];
9170
10002
  } else {
9171
- vErrors.push(err17);
10003
+ vErrors.push(err20);
9172
10004
  }
9173
10005
  errors++;
9174
10006
  }
9175
- validate153.errors = vErrors;
10007
+ validate159.errors = vErrors;
9176
10008
  return errors === 0;
9177
10009
  }
9178
- validate153.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
9179
- function validate155(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10010
+ validate159.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10011
+ function validate161(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9180
10012
  let vErrors = null;
9181
10013
  let errors = 0;
9182
- const evaluated0 = validate155.evaluated;
10014
+ const evaluated0 = validate161.evaluated;
9183
10015
  if (evaluated0.dynamicProps) {
9184
10016
  evaluated0.props = void 0;
9185
10017
  }
@@ -9760,16 +10592,16 @@ function validate155(data, { instancePath = "", parentData, parentDataProperty,
9760
10592
  }
9761
10593
  errors++;
9762
10594
  }
9763
- validate155.errors = vErrors;
10595
+ validate161.errors = vErrors;
9764
10596
  return errors === 0;
9765
10597
  }
9766
- validate155.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
9767
- var schema136 = { "description": "Must be used inside an input block.", "type": "object", "additionalProperties": false, "required": ["type"], "properties": { "type": { "const": "plain_text_input" }, "action_id": { "$ref": "#/$defs/action_id" }, "initial_value": { "type": "string" }, "multiline": { "type": "boolean" }, "min_length": { "type": "integer", "minimum": 0, "maximum": 3e3 }, "max_length": { "type": "integer", "minimum": 1, "maximum": 3e3 }, "dispatch_action_config": { "$ref": "#/$defs/dispatch_action_config_object" }, "focus_on_load": { "type": "boolean" }, "placeholder": { "$ref": "#/$defs/placeholder_object" } } };
9768
- var schema138 = { "type": "object", "additionalProperties": false, "required": ["trigger_actions_on"], "properties": { "trigger_actions_on": { "type": "array", "minItems": 1, "maxItems": 2, "uniqueItems": true, "items": { "enum": ["on_enter_pressed", "on_character_entered"] } } } };
9769
- function validate159(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10598
+ validate161.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10599
+ var schema143 = { "description": "Must be used inside an input block.", "type": "object", "additionalProperties": false, "required": ["type"], "properties": { "type": { "const": "plain_text_input" }, "action_id": { "$ref": "#/$defs/action_id" }, "initial_value": { "type": "string" }, "multiline": { "type": "boolean" }, "min_length": { "type": "integer", "minimum": 0, "maximum": 3e3 }, "max_length": { "type": "integer", "minimum": 1, "maximum": 3e3 }, "dispatch_action_config": { "$ref": "#/$defs/dispatch_action_config_object" }, "focus_on_load": { "type": "boolean" }, "placeholder": { "$ref": "#/$defs/placeholder_object" } } };
10600
+ var schema145 = { "type": "object", "additionalProperties": false, "required": ["trigger_actions_on"], "properties": { "trigger_actions_on": { "type": "array", "minItems": 1, "maxItems": 2, "uniqueItems": true, "items": { "enum": ["on_enter_pressed", "on_character_entered"] } } } };
10601
+ function validate165(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
9770
10602
  let vErrors = null;
9771
10603
  let errors = 0;
9772
- const evaluated0 = validate159.evaluated;
10604
+ const evaluated0 = validate165.evaluated;
9773
10605
  if (evaluated0.dynamicProps) {
9774
10606
  evaluated0.props = void 0;
9775
10607
  }
@@ -9787,7 +10619,7 @@ function validate159(data, { instancePath = "", parentData, parentDataProperty,
9787
10619
  errors++;
9788
10620
  }
9789
10621
  for (const key0 in data) {
9790
- if (!func81.call(schema136.properties, key0)) {
10622
+ if (!func81.call(schema143.properties, key0)) {
9791
10623
  const err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
9792
10624
  if (vErrors === null) {
9793
10625
  vErrors = [err1];
@@ -9973,7 +10805,7 @@ function validate159(data, { instancePath = "", parentData, parentDataProperty,
9973
10805
  for (let i0 = 0; i0 < len0; i0++) {
9974
10806
  let data8 = data7[i0];
9975
10807
  if (!(data8 === "on_enter_pressed" || data8 === "on_character_entered")) {
9976
- const err18 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema138.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
10808
+ const err18 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema145.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
9977
10809
  if (vErrors === null) {
9978
10810
  vErrors = [err18];
9979
10811
  } else {
@@ -10046,14 +10878,14 @@ function validate159(data, { instancePath = "", parentData, parentDataProperty,
10046
10878
  }
10047
10879
  errors++;
10048
10880
  }
10049
- validate159.errors = vErrors;
10881
+ validate165.errors = vErrors;
10050
10882
  return errors === 0;
10051
10883
  }
10052
- validate159.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10053
- function validate162(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10884
+ validate165.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10885
+ function validate168(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10054
10886
  let vErrors = null;
10055
10887
  let errors = 0;
10056
- const evaluated0 = validate162.evaluated;
10888
+ const evaluated0 = validate168.evaluated;
10057
10889
  if (evaluated0.dynamicProps) {
10058
10890
  evaluated0.props = void 0;
10059
10891
  }
@@ -10182,7 +11014,7 @@ function validate162(data, { instancePath = "", parentData, parentDataProperty,
10182
11014
  for (let i0 = 0; i0 < len0; i0++) {
10183
11015
  let data5 = data4[i0];
10184
11016
  if (!(data5 === "on_enter_pressed" || data5 === "on_character_entered")) {
10185
- const err11 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema138.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
11017
+ const err11 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema145.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
10186
11018
  if (vErrors === null) {
10187
11019
  vErrors = [err11];
10188
11020
  } else {
@@ -10255,14 +11087,14 @@ function validate162(data, { instancePath = "", parentData, parentDataProperty,
10255
11087
  }
10256
11088
  errors++;
10257
11089
  }
10258
- validate162.errors = vErrors;
11090
+ validate168.errors = vErrors;
10259
11091
  return errors === 0;
10260
11092
  }
10261
- validate162.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10262
- function validate165(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11093
+ validate168.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11094
+ function validate171(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10263
11095
  let vErrors = null;
10264
11096
  let errors = 0;
10265
- const evaluated0 = validate165.evaluated;
11097
+ const evaluated0 = validate171.evaluated;
10266
11098
  if (evaluated0.dynamicProps) {
10267
11099
  evaluated0.props = void 0;
10268
11100
  }
@@ -10391,7 +11223,7 @@ function validate165(data, { instancePath = "", parentData, parentDataProperty,
10391
11223
  for (let i0 = 0; i0 < len0; i0++) {
10392
11224
  let data5 = data4[i0];
10393
11225
  if (!(data5 === "on_enter_pressed" || data5 === "on_character_entered")) {
10394
- const err11 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema138.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
11226
+ const err11 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema145.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
10395
11227
  if (vErrors === null) {
10396
11228
  vErrors = [err11];
10397
11229
  } else {
@@ -10464,16 +11296,16 @@ function validate165(data, { instancePath = "", parentData, parentDataProperty,
10464
11296
  }
10465
11297
  errors++;
10466
11298
  }
10467
- validate165.errors = vErrors;
11299
+ validate171.errors = vErrors;
10468
11300
  return errors === 0;
10469
11301
  }
10470
- validate165.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10471
- var schema145 = { "description": "Must be used inside an input block. min_value must not exceed max_value.", "type": "object", "additionalProperties": false, "required": ["type", "is_decimal_allowed"], "properties": { "type": { "const": "number_input" }, "is_decimal_allowed": { "type": "boolean" }, "action_id": { "$ref": "#/$defs/action_id" }, "initial_value": { "type": "string", "pattern": "^-?[0-9]+(\\.[0-9]+)?$" }, "min_value": { "type": "string", "pattern": "^-?[0-9]+(\\.[0-9]+)?$" }, "max_value": { "type": "string", "pattern": "^-?[0-9]+(\\.[0-9]+)?$" }, "dispatch_action_config": { "$ref": "#/$defs/dispatch_action_config_object" }, "focus_on_load": { "type": "boolean" }, "placeholder": { "$ref": "#/$defs/placeholder_object" } } };
11302
+ validate171.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11303
+ var schema152 = { "description": "Must be used inside an input block. min_value must not exceed max_value.", "type": "object", "additionalProperties": false, "required": ["type", "is_decimal_allowed"], "properties": { "type": { "const": "number_input" }, "is_decimal_allowed": { "type": "boolean" }, "action_id": { "$ref": "#/$defs/action_id" }, "initial_value": { "type": "string", "pattern": "^-?[0-9]+(\\.[0-9]+)?$" }, "min_value": { "type": "string", "pattern": "^-?[0-9]+(\\.[0-9]+)?$" }, "max_value": { "type": "string", "pattern": "^-?[0-9]+(\\.[0-9]+)?$" }, "dispatch_action_config": { "$ref": "#/$defs/dispatch_action_config_object" }, "focus_on_load": { "type": "boolean" }, "placeholder": { "$ref": "#/$defs/placeholder_object" } } };
10472
11304
  var pattern11 = new RegExp("^-?[0-9]+(\\.[0-9]+)?$", "u");
10473
- function validate168(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11305
+ function validate174(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10474
11306
  let vErrors = null;
10475
11307
  let errors = 0;
10476
- const evaluated0 = validate168.evaluated;
11308
+ const evaluated0 = validate174.evaluated;
10477
11309
  if (evaluated0.dynamicProps) {
10478
11310
  evaluated0.props = void 0;
10479
11311
  }
@@ -10500,7 +11332,7 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
10500
11332
  errors++;
10501
11333
  }
10502
11334
  for (const key0 in data) {
10503
- if (!func81.call(schema145.properties, key0)) {
11335
+ if (!func81.call(schema152.properties, key0)) {
10504
11336
  const err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
10505
11337
  if (vErrors === null) {
10506
11338
  vErrors = [err2];
@@ -10677,7 +11509,7 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
10677
11509
  for (let i0 = 0; i0 < len0; i0++) {
10678
11510
  let data8 = data7[i0];
10679
11511
  if (!(data8 === "on_enter_pressed" || data8 === "on_character_entered")) {
10680
- const err18 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema138.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
11512
+ const err18 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema145.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
10681
11513
  if (vErrors === null) {
10682
11514
  vErrors = [err18];
10683
11515
  } else {
@@ -10750,14 +11582,14 @@ function validate168(data, { instancePath = "", parentData, parentDataProperty,
10750
11582
  }
10751
11583
  errors++;
10752
11584
  }
10753
- validate168.errors = vErrors;
11585
+ validate174.errors = vErrors;
10754
11586
  return errors === 0;
10755
11587
  }
10756
- validate168.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10757
- function validate191(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11588
+ validate174.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11589
+ function validate197(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10758
11590
  let vErrors = null;
10759
11591
  let errors = 0;
10760
- const evaluated0 = validate191.evaluated;
11592
+ const evaluated0 = validate197.evaluated;
10761
11593
  if (evaluated0.dynamicProps) {
10762
11594
  evaluated0.props = void 0;
10763
11595
  }
@@ -10946,14 +11778,14 @@ function validate191(data, { instancePath = "", parentData, parentDataProperty,
10946
11778
  }
10947
11779
  errors++;
10948
11780
  }
10949
- validate191.errors = vErrors;
11781
+ validate197.errors = vErrors;
10950
11782
  return errors === 0;
10951
11783
  }
10952
- validate191.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
10953
- function validate193(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11784
+ validate197.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11785
+ function validate199(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
10954
11786
  let vErrors = null;
10955
11787
  let errors = 0;
10956
- const evaluated0 = validate193.evaluated;
11788
+ const evaluated0 = validate199.evaluated;
10957
11789
  if (evaluated0.dynamicProps) {
10958
11790
  evaluated0.props = void 0;
10959
11791
  }
@@ -11175,14 +12007,14 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
11175
12007
  }
11176
12008
  errors++;
11177
12009
  }
11178
- validate193.errors = vErrors;
12010
+ validate199.errors = vErrors;
11179
12011
  return errors === 0;
11180
12012
  }
11181
- validate193.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11182
- function validate195(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12013
+ validate199.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12014
+ function validate201(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11183
12015
  let vErrors = null;
11184
12016
  let errors = 0;
11185
- const evaluated0 = validate195.evaluated;
12017
+ const evaluated0 = validate201.evaluated;
11186
12018
  if (evaluated0.dynamicProps) {
11187
12019
  evaluated0.props = void 0;
11188
12020
  }
@@ -11382,15 +12214,15 @@ function validate195(data, { instancePath = "", parentData, parentDataProperty,
11382
12214
  }
11383
12215
  errors++;
11384
12216
  }
11385
- validate195.errors = vErrors;
12217
+ validate201.errors = vErrors;
11386
12218
  return errors === 0;
11387
12219
  }
11388
- validate195.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12220
+ validate201.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11389
12221
  var pattern15 = new RegExp("^S[A-Z0-9]+$", "u");
11390
- function validate197(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12222
+ function validate203(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11391
12223
  let vErrors = null;
11392
12224
  let errors = 0;
11393
- const evaluated0 = validate197.evaluated;
12225
+ const evaluated0 = validate203.evaluated;
11394
12226
  if (evaluated0.dynamicProps) {
11395
12227
  evaluated0.props = void 0;
11396
12228
  }
@@ -11590,15 +12422,15 @@ function validate197(data, { instancePath = "", parentData, parentDataProperty,
11590
12422
  }
11591
12423
  errors++;
11592
12424
  }
11593
- validate197.errors = vErrors;
12425
+ validate203.errors = vErrors;
11594
12426
  return errors === 0;
11595
12427
  }
11596
- validate197.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12428
+ validate203.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11597
12429
  var pattern16 = new RegExp("^T[A-Z0-9]+$", "u");
11598
- function validate199(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12430
+ function validate205(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11599
12431
  let vErrors = null;
11600
12432
  let errors = 0;
11601
- const evaluated0 = validate199.evaluated;
12433
+ const evaluated0 = validate205.evaluated;
11602
12434
  if (evaluated0.dynamicProps) {
11603
12435
  evaluated0.props = void 0;
11604
12436
  }
@@ -11798,14 +12630,14 @@ function validate199(data, { instancePath = "", parentData, parentDataProperty,
11798
12630
  }
11799
12631
  errors++;
11800
12632
  }
11801
- validate199.errors = vErrors;
12633
+ validate205.errors = vErrors;
11802
12634
  return errors === 0;
11803
12635
  }
11804
- validate199.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
11805
- function validate201(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12636
+ validate205.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12637
+ function validate207(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
11806
12638
  let vErrors = null;
11807
12639
  let errors = 0;
11808
- const evaluated0 = validate201.evaluated;
12640
+ const evaluated0 = validate207.evaluated;
11809
12641
  if (evaluated0.dynamicProps) {
11810
12642
  evaluated0.props = void 0;
11811
12643
  }
@@ -12005,14 +12837,14 @@ function validate201(data, { instancePath = "", parentData, parentDataProperty,
12005
12837
  }
12006
12838
  errors++;
12007
12839
  }
12008
- validate201.errors = vErrors;
12840
+ validate207.errors = vErrors;
12009
12841
  return errors === 0;
12010
12842
  }
12011
- validate201.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12012
- function validate203(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12843
+ validate207.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12844
+ function validate209(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12013
12845
  let vErrors = null;
12014
12846
  let errors = 0;
12015
- const evaluated0 = validate203.evaluated;
12847
+ const evaluated0 = validate209.evaluated;
12016
12848
  if (evaluated0.dynamicProps) {
12017
12849
  evaluated0.props = void 0;
12018
12850
  }
@@ -12266,15 +13098,15 @@ function validate203(data, { instancePath = "", parentData, parentDataProperty,
12266
13098
  }
12267
13099
  errors++;
12268
13100
  }
12269
- validate203.errors = vErrors;
13101
+ validate209.errors = vErrors;
12270
13102
  return errors === 0;
12271
13103
  }
12272
- validate203.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12273
- var schema168 = { "type": "object", "additionalProperties": false, "required": ["type", "range"], "properties": { "type": { "const": "broadcast" }, "range": { "enum": ["here", "channel", "everyone"] }, "style": { "$ref": "#/$defs/rich_text_style_object" } } };
12274
- function validate205(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13104
+ validate209.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13105
+ var schema175 = { "type": "object", "additionalProperties": false, "required": ["type", "range"], "properties": { "type": { "const": "broadcast" }, "range": { "enum": ["here", "channel", "everyone"] }, "style": { "$ref": "#/$defs/rich_text_style_object" } } };
13106
+ function validate211(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12275
13107
  let vErrors = null;
12276
13108
  let errors = 0;
12277
- const evaluated0 = validate205.evaluated;
13109
+ const evaluated0 = validate211.evaluated;
12278
13110
  if (evaluated0.dynamicProps) {
12279
13111
  evaluated0.props = void 0;
12280
13112
  }
@@ -12325,7 +13157,7 @@ function validate205(data, { instancePath = "", parentData, parentDataProperty,
12325
13157
  if (data.range !== void 0) {
12326
13158
  let data1 = data.range;
12327
13159
  if (!(data1 === "here" || data1 === "channel" || data1 === "everyone")) {
12328
- const err4 = { instancePath: instancePath + "/range", schemaPath: "#/properties/range/enum", keyword: "enum", params: { allowedValues: schema168.properties.range.enum }, message: "must be equal to one of the allowed values" };
13160
+ const err4 = { instancePath: instancePath + "/range", schemaPath: "#/properties/range/enum", keyword: "enum", params: { allowedValues: schema175.properties.range.enum }, message: "must be equal to one of the allowed values" };
12329
13161
  if (vErrors === null) {
12330
13162
  vErrors = [err4];
12331
13163
  } else {
@@ -12464,15 +13296,15 @@ function validate205(data, { instancePath = "", parentData, parentDataProperty,
12464
13296
  }
12465
13297
  errors++;
12466
13298
  }
12467
- validate205.errors = vErrors;
13299
+ validate211.errors = vErrors;
12468
13300
  return errors === 0;
12469
13301
  }
12470
- validate205.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13302
+ validate211.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12471
13303
  var pattern18 = new RegExp("^#?[0-9a-fA-F]{6}$", "u");
12472
- function validate207(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13304
+ function validate213(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12473
13305
  let vErrors = null;
12474
13306
  let errors = 0;
12475
- const evaluated0 = validate207.evaluated;
13307
+ const evaluated0 = validate213.evaluated;
12476
13308
  if (evaluated0.dynamicProps) {
12477
13309
  evaluated0.props = void 0;
12478
13310
  }
@@ -12672,14 +13504,14 @@ function validate207(data, { instancePath = "", parentData, parentDataProperty,
12672
13504
  }
12673
13505
  errors++;
12674
13506
  }
12675
- validate207.errors = vErrors;
13507
+ validate213.errors = vErrors;
12676
13508
  return errors === 0;
12677
13509
  }
12678
- validate207.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12679
- function validate209(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13510
+ validate213.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13511
+ function validate215(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12680
13512
  let vErrors = null;
12681
13513
  let errors = 0;
12682
- const evaluated0 = validate209.evaluated;
13514
+ const evaluated0 = validate215.evaluated;
12683
13515
  if (evaluated0.dynamicProps) {
12684
13516
  evaluated0.props = void 0;
12685
13517
  }
@@ -12944,14 +13776,14 @@ function validate209(data, { instancePath = "", parentData, parentDataProperty,
12944
13776
  }
12945
13777
  errors++;
12946
13778
  }
12947
- validate209.errors = vErrors;
13779
+ validate215.errors = vErrors;
12948
13780
  return errors === 0;
12949
13781
  }
12950
- validate209.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
12951
- function validate190(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13782
+ validate215.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13783
+ function validate196(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
12952
13784
  let vErrors = null;
12953
13785
  let errors = 0;
12954
- const evaluated0 = validate190.evaluated;
13786
+ const evaluated0 = validate196.evaluated;
12955
13787
  if (evaluated0.dynamicProps) {
12956
13788
  evaluated0.props = void 0;
12957
13789
  }
@@ -12962,8 +13794,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
12962
13794
  let valid0 = false;
12963
13795
  let passing0 = null;
12964
13796
  const _errs1 = errors;
12965
- if (!validate191(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
12966
- vErrors = vErrors === null ? validate191.errors : vErrors.concat(validate191.errors);
13797
+ if (!validate197(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13798
+ vErrors = vErrors === null ? validate197.errors : vErrors.concat(validate197.errors);
12967
13799
  errors = vErrors.length;
12968
13800
  }
12969
13801
  var _valid0 = _errs1 === errors;
@@ -12973,8 +13805,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
12973
13805
  var props0 = true;
12974
13806
  }
12975
13807
  const _errs2 = errors;
12976
- if (!validate193(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
12977
- vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
13808
+ if (!validate199(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13809
+ vErrors = vErrors === null ? validate199.errors : vErrors.concat(validate199.errors);
12978
13810
  errors = vErrors.length;
12979
13811
  }
12980
13812
  var _valid0 = _errs2 === errors;
@@ -12990,8 +13822,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
12990
13822
  }
12991
13823
  }
12992
13824
  const _errs3 = errors;
12993
- if (!validate195(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
12994
- vErrors = vErrors === null ? validate195.errors : vErrors.concat(validate195.errors);
13825
+ if (!validate201(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13826
+ vErrors = vErrors === null ? validate201.errors : vErrors.concat(validate201.errors);
12995
13827
  errors = vErrors.length;
12996
13828
  }
12997
13829
  var _valid0 = _errs3 === errors;
@@ -13007,8 +13839,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13007
13839
  }
13008
13840
  }
13009
13841
  const _errs4 = errors;
13010
- if (!validate197(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13011
- vErrors = vErrors === null ? validate197.errors : vErrors.concat(validate197.errors);
13842
+ if (!validate203(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13843
+ vErrors = vErrors === null ? validate203.errors : vErrors.concat(validate203.errors);
13012
13844
  errors = vErrors.length;
13013
13845
  }
13014
13846
  var _valid0 = _errs4 === errors;
@@ -13024,8 +13856,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13024
13856
  }
13025
13857
  }
13026
13858
  const _errs5 = errors;
13027
- if (!validate199(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13028
- vErrors = vErrors === null ? validate199.errors : vErrors.concat(validate199.errors);
13859
+ if (!validate205(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13860
+ vErrors = vErrors === null ? validate205.errors : vErrors.concat(validate205.errors);
13029
13861
  errors = vErrors.length;
13030
13862
  }
13031
13863
  var _valid0 = _errs5 === errors;
@@ -13041,8 +13873,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13041
13873
  }
13042
13874
  }
13043
13875
  const _errs6 = errors;
13044
- if (!validate201(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13045
- vErrors = vErrors === null ? validate201.errors : vErrors.concat(validate201.errors);
13876
+ if (!validate207(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13877
+ vErrors = vErrors === null ? validate207.errors : vErrors.concat(validate207.errors);
13046
13878
  errors = vErrors.length;
13047
13879
  }
13048
13880
  var _valid0 = _errs6 === errors;
@@ -13058,8 +13890,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13058
13890
  }
13059
13891
  }
13060
13892
  const _errs7 = errors;
13061
- if (!validate203(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13062
- vErrors = vErrors === null ? validate203.errors : vErrors.concat(validate203.errors);
13893
+ if (!validate209(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13894
+ vErrors = vErrors === null ? validate209.errors : vErrors.concat(validate209.errors);
13063
13895
  errors = vErrors.length;
13064
13896
  }
13065
13897
  var _valid0 = _errs7 === errors;
@@ -13075,8 +13907,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13075
13907
  }
13076
13908
  }
13077
13909
  const _errs8 = errors;
13078
- if (!validate205(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13079
- vErrors = vErrors === null ? validate205.errors : vErrors.concat(validate205.errors);
13910
+ if (!validate211(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13911
+ vErrors = vErrors === null ? validate211.errors : vErrors.concat(validate211.errors);
13080
13912
  errors = vErrors.length;
13081
13913
  }
13082
13914
  var _valid0 = _errs8 === errors;
@@ -13092,8 +13924,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13092
13924
  }
13093
13925
  }
13094
13926
  const _errs9 = errors;
13095
- if (!validate207(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13096
- vErrors = vErrors === null ? validate207.errors : vErrors.concat(validate207.errors);
13927
+ if (!validate213(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13928
+ vErrors = vErrors === null ? validate213.errors : vErrors.concat(validate213.errors);
13097
13929
  errors = vErrors.length;
13098
13930
  }
13099
13931
  var _valid0 = _errs9 === errors;
@@ -13109,8 +13941,8 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13109
13941
  }
13110
13942
  }
13111
13943
  const _errs10 = errors;
13112
- if (!validate209(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13113
- vErrors = vErrors === null ? validate209.errors : vErrors.concat(validate209.errors);
13944
+ if (!validate215(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13945
+ vErrors = vErrors === null ? validate215.errors : vErrors.concat(validate215.errors);
13114
13946
  errors = vErrors.length;
13115
13947
  }
13116
13948
  var _valid0 = _errs10 === errors;
@@ -13152,15 +13984,15 @@ function validate190(data, { instancePath = "", parentData, parentDataProperty,
13152
13984
  }
13153
13985
  }
13154
13986
  }
13155
- validate190.errors = vErrors;
13987
+ validate196.errors = vErrors;
13156
13988
  evaluated0.props = props0;
13157
13989
  return errors === 0;
13158
13990
  }
13159
- validate190.evaluated = { "dynamicProps": true, "dynamicItems": false };
13160
- function validate189(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13991
+ validate196.evaluated = { "dynamicProps": true, "dynamicItems": false };
13992
+ function validate195(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13161
13993
  let vErrors = null;
13162
13994
  let errors = 0;
13163
- const evaluated0 = validate189.evaluated;
13995
+ const evaluated0 = validate195.evaluated;
13164
13996
  if (evaluated0.dynamicProps) {
13165
13997
  evaluated0.props = void 0;
13166
13998
  }
@@ -13213,8 +14045,8 @@ function validate189(data, { instancePath = "", parentData, parentDataProperty,
13213
14045
  if (Array.isArray(data1)) {
13214
14046
  const len0 = data1.length;
13215
14047
  for (let i0 = 0; i0 < len0; i0++) {
13216
- if (!validate190(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
13217
- vErrors = vErrors === null ? validate190.errors : vErrors.concat(validate190.errors);
14048
+ if (!validate196(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
14049
+ vErrors = vErrors === null ? validate196.errors : vErrors.concat(validate196.errors);
13218
14050
  errors = vErrors.length;
13219
14051
  }
13220
14052
  }
@@ -13237,15 +14069,15 @@ function validate189(data, { instancePath = "", parentData, parentDataProperty,
13237
14069
  }
13238
14070
  errors++;
13239
14071
  }
13240
- validate189.errors = vErrors;
14072
+ validate195.errors = vErrors;
13241
14073
  return errors === 0;
13242
14074
  }
13243
- validate189.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13244
- var schema174 = { "type": "object", "additionalProperties": false, "required": ["type", "style", "elements"], "properties": { "type": { "const": "rich_text_list" }, "style": { "enum": ["bullet", "ordered"] }, "elements": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/rich_text_section_element" } }, "indent": { "type": "integer", "minimum": 0 }, "offset": { "type": "integer", "minimum": 0 }, "border": { "type": "integer", "enum": [0, 1] } } };
13245
- function validate213(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14075
+ validate195.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14076
+ var schema181 = { "type": "object", "additionalProperties": false, "required": ["type", "style", "elements"], "properties": { "type": { "const": "rich_text_list" }, "style": { "enum": ["bullet", "ordered"] }, "elements": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/rich_text_section_element" } }, "indent": { "type": "integer", "minimum": 0 }, "offset": { "type": "integer", "minimum": 0 }, "border": { "type": "integer", "enum": [0, 1] } } };
14077
+ function validate219(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13246
14078
  let vErrors = null;
13247
14079
  let errors = 0;
13248
- const evaluated0 = validate213.evaluated;
14080
+ const evaluated0 = validate219.evaluated;
13249
14081
  if (evaluated0.dynamicProps) {
13250
14082
  evaluated0.props = void 0;
13251
14083
  }
@@ -13305,7 +14137,7 @@ function validate213(data, { instancePath = "", parentData, parentDataProperty,
13305
14137
  if (data.style !== void 0) {
13306
14138
  let data1 = data.style;
13307
14139
  if (!(data1 === "bullet" || data1 === "ordered")) {
13308
- const err5 = { instancePath: instancePath + "/style", schemaPath: "#/properties/style/enum", keyword: "enum", params: { allowedValues: schema174.properties.style.enum }, message: "must be equal to one of the allowed values" };
14140
+ const err5 = { instancePath: instancePath + "/style", schemaPath: "#/properties/style/enum", keyword: "enum", params: { allowedValues: schema181.properties.style.enum }, message: "must be equal to one of the allowed values" };
13309
14141
  if (vErrors === null) {
13310
14142
  vErrors = [err5];
13311
14143
  } else {
@@ -13328,8 +14160,8 @@ function validate213(data, { instancePath = "", parentData, parentDataProperty,
13328
14160
  }
13329
14161
  const len0 = data2.length;
13330
14162
  for (let i0 = 0; i0 < len0; i0++) {
13331
- if (!validate189(data2[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors })) {
13332
- vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
14163
+ if (!validate195(data2[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data2, parentDataProperty: i0, rootData, dynamicAnchors })) {
14164
+ vErrors = vErrors === null ? validate195.errors : vErrors.concat(validate195.errors);
13333
14165
  errors = vErrors.length;
13334
14166
  }
13335
14167
  }
@@ -13401,7 +14233,7 @@ function validate213(data, { instancePath = "", parentData, parentDataProperty,
13401
14233
  errors++;
13402
14234
  }
13403
14235
  if (!(data6 === 0 || data6 === 1)) {
13404
- const err13 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema174.properties.border.enum }, message: "must be equal to one of the allowed values" };
14236
+ const err13 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema181.properties.border.enum }, message: "must be equal to one of the allowed values" };
13405
14237
  if (vErrors === null) {
13406
14238
  vErrors = [err13];
13407
14239
  } else {
@@ -13419,15 +14251,15 @@ function validate213(data, { instancePath = "", parentData, parentDataProperty,
13419
14251
  }
13420
14252
  errors++;
13421
14253
  }
13422
- validate213.errors = vErrors;
14254
+ validate219.errors = vErrors;
13423
14255
  return errors === 0;
13424
14256
  }
13425
- validate213.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13426
- var schema175 = { "type": "object", "additionalProperties": false, "required": ["type", "elements"], "properties": { "type": { "const": "rich_text_preformatted" }, "elements": { "description": "Empty array is accepted by Slack (verified in Block Kit Builder 2026-04-16).", "type": "array", "items": { "$ref": "#/$defs/rich_text_leaf" } }, "border": { "type": "integer", "enum": [0, 1] }, "language": { "type": "string", "minLength": 1 } } };
13427
- function validate216(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14257
+ validate219.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14258
+ var schema182 = { "type": "object", "additionalProperties": false, "required": ["type", "elements"], "properties": { "type": { "const": "rich_text_preformatted" }, "elements": { "description": "Empty array is accepted by Slack (verified in Block Kit Builder 2026-04-16).", "type": "array", "items": { "$ref": "#/$defs/rich_text_leaf" } }, "border": { "type": "integer", "enum": [0, 1] }, "language": { "type": "string", "minLength": 1 } } };
14259
+ function validate222(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13428
14260
  let vErrors = null;
13429
14261
  let errors = 0;
13430
- const evaluated0 = validate216.evaluated;
14262
+ const evaluated0 = validate222.evaluated;
13431
14263
  if (evaluated0.dynamicProps) {
13432
14264
  evaluated0.props = void 0;
13433
14265
  }
@@ -13480,8 +14312,8 @@ function validate216(data, { instancePath = "", parentData, parentDataProperty,
13480
14312
  if (Array.isArray(data1)) {
13481
14313
  const len0 = data1.length;
13482
14314
  for (let i0 = 0; i0 < len0; i0++) {
13483
- if (!validate190(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
13484
- vErrors = vErrors === null ? validate190.errors : vErrors.concat(validate190.errors);
14315
+ if (!validate196(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
14316
+ vErrors = vErrors === null ? validate196.errors : vErrors.concat(validate196.errors);
13485
14317
  errors = vErrors.length;
13486
14318
  }
13487
14319
  }
@@ -13507,7 +14339,7 @@ function validate216(data, { instancePath = "", parentData, parentDataProperty,
13507
14339
  errors++;
13508
14340
  }
13509
14341
  if (!(data3 === 0 || data3 === 1)) {
13510
- const err6 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema175.properties.border.enum }, message: "must be equal to one of the allowed values" };
14342
+ const err6 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema182.properties.border.enum }, message: "must be equal to one of the allowed values" };
13511
14343
  if (vErrors === null) {
13512
14344
  vErrors = [err6];
13513
14345
  } else {
@@ -13547,15 +14379,15 @@ function validate216(data, { instancePath = "", parentData, parentDataProperty,
13547
14379
  }
13548
14380
  errors++;
13549
14381
  }
13550
- validate216.errors = vErrors;
14382
+ validate222.errors = vErrors;
13551
14383
  return errors === 0;
13552
14384
  }
13553
- validate216.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13554
- var schema176 = { "type": "object", "additionalProperties": false, "required": ["type", "elements"], "properties": { "type": { "const": "rich_text_quote" }, "elements": { "description": "Empty array is accepted by Slack (verified in Block Kit Builder 2026-04-16).", "type": "array", "items": { "$ref": "#/$defs/rich_text_leaf" } }, "border": { "type": "integer", "enum": [0, 1] } } };
13555
- function validate219(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14385
+ validate222.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14386
+ var schema183 = { "type": "object", "additionalProperties": false, "required": ["type", "elements"], "properties": { "type": { "const": "rich_text_quote" }, "elements": { "description": "Empty array is accepted by Slack (verified in Block Kit Builder 2026-04-16).", "type": "array", "items": { "$ref": "#/$defs/rich_text_leaf" } }, "border": { "type": "integer", "enum": [0, 1] } } };
14387
+ function validate225(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13556
14388
  let vErrors = null;
13557
14389
  let errors = 0;
13558
- const evaluated0 = validate219.evaluated;
14390
+ const evaluated0 = validate225.evaluated;
13559
14391
  if (evaluated0.dynamicProps) {
13560
14392
  evaluated0.props = void 0;
13561
14393
  }
@@ -13608,8 +14440,8 @@ function validate219(data, { instancePath = "", parentData, parentDataProperty,
13608
14440
  if (Array.isArray(data1)) {
13609
14441
  const len0 = data1.length;
13610
14442
  for (let i0 = 0; i0 < len0; i0++) {
13611
- if (!validate190(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
13612
- vErrors = vErrors === null ? validate190.errors : vErrors.concat(validate190.errors);
14443
+ if (!validate196(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
14444
+ vErrors = vErrors === null ? validate196.errors : vErrors.concat(validate196.errors);
13613
14445
  errors = vErrors.length;
13614
14446
  }
13615
14447
  }
@@ -13635,7 +14467,7 @@ function validate219(data, { instancePath = "", parentData, parentDataProperty,
13635
14467
  errors++;
13636
14468
  }
13637
14469
  if (!(data3 === 0 || data3 === 1)) {
13638
- const err6 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema176.properties.border.enum }, message: "must be equal to one of the allowed values" };
14470
+ const err6 = { instancePath: instancePath + "/border", schemaPath: "#/properties/border/enum", keyword: "enum", params: { allowedValues: schema183.properties.border.enum }, message: "must be equal to one of the allowed values" };
13639
14471
  if (vErrors === null) {
13640
14472
  vErrors = [err6];
13641
14473
  } else {
@@ -13653,14 +14485,14 @@ function validate219(data, { instancePath = "", parentData, parentDataProperty,
13653
14485
  }
13654
14486
  errors++;
13655
14487
  }
13656
- validate219.errors = vErrors;
14488
+ validate225.errors = vErrors;
13657
14489
  return errors === 0;
13658
14490
  }
13659
- validate219.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13660
- function validate188(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14491
+ validate225.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14492
+ function validate194(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13661
14493
  let vErrors = null;
13662
14494
  let errors = 0;
13663
- const evaluated0 = validate188.evaluated;
14495
+ const evaluated0 = validate194.evaluated;
13664
14496
  if (evaluated0.dynamicProps) {
13665
14497
  evaluated0.props = void 0;
13666
14498
  }
@@ -13671,8 +14503,8 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
13671
14503
  let valid0 = false;
13672
14504
  let passing0 = null;
13673
14505
  const _errs1 = errors;
13674
- if (!validate189(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13675
- vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
14506
+ if (!validate195(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14507
+ vErrors = vErrors === null ? validate195.errors : vErrors.concat(validate195.errors);
13676
14508
  errors = vErrors.length;
13677
14509
  }
13678
14510
  var _valid0 = _errs1 === errors;
@@ -13682,8 +14514,8 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
13682
14514
  var props0 = true;
13683
14515
  }
13684
14516
  const _errs2 = errors;
13685
- if (!validate213(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13686
- vErrors = vErrors === null ? validate213.errors : vErrors.concat(validate213.errors);
14517
+ if (!validate219(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14518
+ vErrors = vErrors === null ? validate219.errors : vErrors.concat(validate219.errors);
13687
14519
  errors = vErrors.length;
13688
14520
  }
13689
14521
  var _valid0 = _errs2 === errors;
@@ -13699,8 +14531,8 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
13699
14531
  }
13700
14532
  }
13701
14533
  const _errs3 = errors;
13702
- if (!validate216(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13703
- vErrors = vErrors === null ? validate216.errors : vErrors.concat(validate216.errors);
14534
+ if (!validate222(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14535
+ vErrors = vErrors === null ? validate222.errors : vErrors.concat(validate222.errors);
13704
14536
  errors = vErrors.length;
13705
14537
  }
13706
14538
  var _valid0 = _errs3 === errors;
@@ -13716,8 +14548,8 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
13716
14548
  }
13717
14549
  }
13718
14550
  const _errs4 = errors;
13719
- if (!validate219(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
13720
- vErrors = vErrors === null ? validate219.errors : vErrors.concat(validate219.errors);
14551
+ if (!validate225(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14552
+ vErrors = vErrors === null ? validate225.errors : vErrors.concat(validate225.errors);
13721
14553
  errors = vErrors.length;
13722
14554
  }
13723
14555
  var _valid0 = _errs4 === errors;
@@ -13753,15 +14585,15 @@ function validate188(data, { instancePath = "", parentData, parentDataProperty,
13753
14585
  }
13754
14586
  }
13755
14587
  }
13756
- validate188.errors = vErrors;
14588
+ validate194.errors = vErrors;
13757
14589
  evaluated0.props = props0;
13758
14590
  return errors === 0;
13759
14591
  }
13760
- validate188.evaluated = { "dynamicProps": true, "dynamicItems": false };
13761
- function validate187(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14592
+ validate194.evaluated = { "dynamicProps": true, "dynamicItems": false };
14593
+ function validate193(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13762
14594
  let vErrors = null;
13763
14595
  let errors = 0;
13764
- const evaluated0 = validate187.evaluated;
14596
+ const evaluated0 = validate193.evaluated;
13765
14597
  if (evaluated0.dynamicProps) {
13766
14598
  evaluated0.props = void 0;
13767
14599
  }
@@ -13814,8 +14646,8 @@ function validate187(data, { instancePath = "", parentData, parentDataProperty,
13814
14646
  if (Array.isArray(data1)) {
13815
14647
  const len0 = data1.length;
13816
14648
  for (let i0 = 0; i0 < len0; i0++) {
13817
- if (!validate188(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
13818
- vErrors = vErrors === null ? validate188.errors : vErrors.concat(validate188.errors);
14649
+ if (!validate194(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
14650
+ vErrors = vErrors === null ? validate194.errors : vErrors.concat(validate194.errors);
13819
14651
  errors = vErrors.length;
13820
14652
  }
13821
14653
  }
@@ -13869,14 +14701,14 @@ function validate187(data, { instancePath = "", parentData, parentDataProperty,
13869
14701
  }
13870
14702
  errors++;
13871
14703
  }
13872
- validate187.errors = vErrors;
14704
+ validate193.errors = vErrors;
13873
14705
  return errors === 0;
13874
14706
  }
13875
- validate187.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
13876
- function validate186(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14707
+ validate193.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14708
+ function validate192(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
13877
14709
  let vErrors = null;
13878
14710
  let errors = 0;
13879
- const evaluated0 = validate186.evaluated;
14711
+ const evaluated0 = validate192.evaluated;
13880
14712
  if (evaluated0.dynamicProps) {
13881
14713
  evaluated0.props = void 0;
13882
14714
  }
@@ -13956,8 +14788,8 @@ function validate186(data, { instancePath = "", parentData, parentDataProperty,
13956
14788
  }
13957
14789
  }
13958
14790
  if (data.initial_value !== void 0) {
13959
- if (!validate187(data.initial_value, { instancePath: instancePath + "/initial_value", parentData: data, parentDataProperty: "initial_value", rootData, dynamicAnchors })) {
13960
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
14791
+ if (!validate193(data.initial_value, { instancePath: instancePath + "/initial_value", parentData: data, parentDataProperty: "initial_value", rootData, dynamicAnchors })) {
14792
+ vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
13961
14793
  errors = vErrors.length;
13962
14794
  }
13963
14795
  }
@@ -14009,7 +14841,7 @@ function validate186(data, { instancePath = "", parentData, parentDataProperty,
14009
14841
  for (let i0 = 0; i0 < len0; i0++) {
14010
14842
  let data5 = data4[i0];
14011
14843
  if (!(data5 === "on_enter_pressed" || data5 === "on_character_entered")) {
14012
- const err11 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema138.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
14844
+ const err11 = { instancePath: instancePath + "/dispatch_action_config/trigger_actions_on/" + i0, schemaPath: "#/$defs/dispatch_action_config_object/properties/trigger_actions_on/items/enum", keyword: "enum", params: { allowedValues: schema145.properties.trigger_actions_on.items.enum }, message: "must be equal to one of the allowed values" };
14013
14845
  if (vErrors === null) {
14014
14846
  vErrors = [err11];
14015
14847
  } else {
@@ -14082,14 +14914,14 @@ function validate186(data, { instancePath = "", parentData, parentDataProperty,
14082
14914
  }
14083
14915
  errors++;
14084
14916
  }
14085
- validate186.errors = vErrors;
14917
+ validate192.errors = vErrors;
14086
14918
  return errors === 0;
14087
14919
  }
14088
- validate186.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14089
- function validate226(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14920
+ validate192.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14921
+ function validate232(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14090
14922
  let vErrors = null;
14091
14923
  let errors = 0;
14092
- const evaluated0 = validate226.evaluated;
14924
+ const evaluated0 = validate232.evaluated;
14093
14925
  if (evaluated0.dynamicProps) {
14094
14926
  evaluated0.props = void 0;
14095
14927
  }
@@ -14245,14 +15077,14 @@ function validate226(data, { instancePath = "", parentData, parentDataProperty,
14245
15077
  }
14246
15078
  errors++;
14247
15079
  }
14248
- validate226.errors = vErrors;
15080
+ validate232.errors = vErrors;
14249
15081
  return errors === 0;
14250
15082
  }
14251
- validate226.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
14252
- function validate158(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15083
+ validate232.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
15084
+ function validate164(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14253
15085
  let vErrors = null;
14254
15086
  let errors = 0;
14255
- const evaluated0 = validate158.evaluated;
15087
+ const evaluated0 = validate164.evaluated;
14256
15088
  if (evaluated0.dynamicProps) {
14257
15089
  evaluated0.props = void 0;
14258
15090
  }
@@ -14263,8 +15095,8 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14263
15095
  let valid0 = false;
14264
15096
  let passing0 = null;
14265
15097
  const _errs1 = errors;
14266
- if (!validate159(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14267
- vErrors = vErrors === null ? validate159.errors : vErrors.concat(validate159.errors);
15098
+ if (!validate165(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
15099
+ vErrors = vErrors === null ? validate165.errors : vErrors.concat(validate165.errors);
14268
15100
  errors = vErrors.length;
14269
15101
  }
14270
15102
  var _valid0 = _errs1 === errors;
@@ -14274,8 +15106,8 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14274
15106
  var props0 = true;
14275
15107
  }
14276
15108
  const _errs2 = errors;
14277
- if (!validate162(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14278
- vErrors = vErrors === null ? validate162.errors : vErrors.concat(validate162.errors);
15109
+ if (!validate168(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
15110
+ vErrors = vErrors === null ? validate168.errors : vErrors.concat(validate168.errors);
14279
15111
  errors = vErrors.length;
14280
15112
  }
14281
15113
  var _valid0 = _errs2 === errors;
@@ -14291,8 +15123,8 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14291
15123
  }
14292
15124
  }
14293
15125
  const _errs3 = errors;
14294
- if (!validate165(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14295
- vErrors = vErrors === null ? validate165.errors : vErrors.concat(validate165.errors);
15126
+ if (!validate171(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
15127
+ vErrors = vErrors === null ? validate171.errors : vErrors.concat(validate171.errors);
14296
15128
  errors = vErrors.length;
14297
15129
  }
14298
15130
  var _valid0 = _errs3 === errors;
@@ -14308,8 +15140,8 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14308
15140
  }
14309
15141
  }
14310
15142
  const _errs4 = errors;
14311
- if (!validate168(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14312
- vErrors = vErrors === null ? validate168.errors : vErrors.concat(validate168.errors);
15143
+ if (!validate174(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
15144
+ vErrors = vErrors === null ? validate174.errors : vErrors.concat(validate174.errors);
14313
15145
  errors = vErrors.length;
14314
15146
  }
14315
15147
  var _valid0 = _errs4 === errors;
@@ -14580,8 +15412,8 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14580
15412
  }
14581
15413
  }
14582
15414
  const _errs20 = errors;
14583
- if (!validate186(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14584
- vErrors = vErrors === null ? validate186.errors : vErrors.concat(validate186.errors);
15415
+ if (!validate192(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
15416
+ vErrors = vErrors === null ? validate192.errors : vErrors.concat(validate192.errors);
14585
15417
  errors = vErrors.length;
14586
15418
  }
14587
15419
  var _valid0 = _errs20 === errors;
@@ -14597,8 +15429,8 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14597
15429
  }
14598
15430
  }
14599
15431
  const _errs21 = errors;
14600
- if (!validate226(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
14601
- vErrors = vErrors === null ? validate226.errors : vErrors.concat(validate226.errors);
15432
+ if (!validate232(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
15433
+ vErrors = vErrors === null ? validate232.errors : vErrors.concat(validate232.errors);
14602
15434
  errors = vErrors.length;
14603
15435
  }
14604
15436
  var _valid0 = _errs21 === errors;
@@ -14651,15 +15483,15 @@ function validate158(data, { instancePath = "", parentData, parentDataProperty,
14651
15483
  }
14652
15484
  }
14653
15485
  }
14654
- validate158.errors = vErrors;
15486
+ validate164.errors = vErrors;
14655
15487
  evaluated0.props = props0;
14656
15488
  return errors === 0;
14657
15489
  }
14658
- validate158.evaluated = { "dynamicProps": true, "dynamicItems": false };
14659
- function validate157(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15490
+ validate164.evaluated = { "dynamicProps": true, "dynamicItems": false };
15491
+ function validate163(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
14660
15492
  let vErrors = null;
14661
15493
  let errors = 0;
14662
- const evaluated0 = validate157.evaluated;
15494
+ const evaluated0 = validate163.evaluated;
14663
15495
  if (evaluated0.dynamicProps) {
14664
15496
  evaluated0.props = void 0;
14665
15497
  }
@@ -14912,8 +15744,8 @@ function validate157(data, { instancePath = "", parentData, parentDataProperty,
14912
15744
  }
14913
15745
  }
14914
15746
  if (data.element !== void 0) {
14915
- if (!validate158(data.element, { instancePath: instancePath + "/element", parentData: data, parentDataProperty: "element", rootData, dynamicAnchors })) {
14916
- vErrors = vErrors === null ? validate158.errors : vErrors.concat(validate158.errors);
15747
+ if (!validate164(data.element, { instancePath: instancePath + "/element", parentData: data, parentDataProperty: "element", rootData, dynamicAnchors })) {
15748
+ vErrors = vErrors === null ? validate164.errors : vErrors.concat(validate164.errors);
14917
15749
  errors = vErrors.length;
14918
15750
  }
14919
15751
  }
@@ -15090,14 +15922,14 @@ function validate157(data, { instancePath = "", parentData, parentDataProperty,
15090
15922
  }
15091
15923
  errors++;
15092
15924
  }
15093
- validate157.errors = vErrors;
15925
+ validate163.errors = vErrors;
15094
15926
  return errors === 0;
15095
15927
  }
15096
- validate157.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
15097
- function validate230(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15928
+ validate163.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
15929
+ function validate236(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15098
15930
  let vErrors = null;
15099
15931
  let errors = 0;
15100
- const evaluated0 = validate230.evaluated;
15932
+ const evaluated0 = validate236.evaluated;
15101
15933
  if (evaluated0.dynamicProps) {
15102
15934
  evaluated0.props = void 0;
15103
15935
  }
@@ -15216,15 +16048,15 @@ function validate230(data, { instancePath = "", parentData, parentDataProperty,
15216
16048
  }
15217
16049
  errors++;
15218
16050
  }
15219
- validate230.errors = vErrors;
16051
+ validate236.errors = vErrors;
15220
16052
  return errors === 0;
15221
16053
  }
15222
- validate230.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
15223
- var schema188 = { "description": "A task card as it appears inline within a plan_block tasks array \u2014 the docs' example omits the type discriminator.", "type": "object", "additionalProperties": false, "required": ["task_id", "title"], "properties": { "type": { "const": "task_card" }, "task_id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "details": { "$ref": "#/$defs/rich_text_block" }, "output": { "$ref": "#/$defs/rich_text_block" }, "sources": { "type": "array", "items": { "$ref": "#/$defs/url_source_element" } }, "status": { "enum": ["pending", "in_progress", "complete", "error"] }, "block_id": { "$ref": "#/$defs/block_id" } } };
15224
- function validate233(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16054
+ validate236.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
16055
+ var schema195 = { "description": "A task card as it appears inline within a plan_block tasks array \u2014 the docs' example omits the type discriminator.", "type": "object", "additionalProperties": false, "required": ["task_id", "title"], "properties": { "type": { "const": "task_card" }, "task_id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "details": { "$ref": "#/$defs/rich_text_block" }, "output": { "$ref": "#/$defs/rich_text_block" }, "sources": { "type": "array", "items": { "$ref": "#/$defs/url_source_element" } }, "status": { "enum": ["pending", "in_progress", "complete", "error"] }, "block_id": { "$ref": "#/$defs/block_id" } } };
16056
+ function validate239(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15225
16057
  let vErrors = null;
15226
16058
  let errors = 0;
15227
- const evaluated0 = validate233.evaluated;
16059
+ const evaluated0 = validate239.evaluated;
15228
16060
  if (evaluated0.dynamicProps) {
15229
16061
  evaluated0.props = void 0;
15230
16062
  }
@@ -15317,14 +16149,14 @@ function validate233(data, { instancePath = "", parentData, parentDataProperty,
15317
16149
  }
15318
16150
  }
15319
16151
  if (data.details !== void 0) {
15320
- if (!validate187(data.details, { instancePath: instancePath + "/details", parentData: data, parentDataProperty: "details", rootData, dynamicAnchors })) {
15321
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
16152
+ if (!validate193(data.details, { instancePath: instancePath + "/details", parentData: data, parentDataProperty: "details", rootData, dynamicAnchors })) {
16153
+ vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
15322
16154
  errors = vErrors.length;
15323
16155
  }
15324
16156
  }
15325
16157
  if (data.output !== void 0) {
15326
- if (!validate187(data.output, { instancePath: instancePath + "/output", parentData: data, parentDataProperty: "output", rootData, dynamicAnchors })) {
15327
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
16158
+ if (!validate193(data.output, { instancePath: instancePath + "/output", parentData: data, parentDataProperty: "output", rootData, dynamicAnchors })) {
16159
+ vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
15328
16160
  errors = vErrors.length;
15329
16161
  }
15330
16162
  }
@@ -15451,7 +16283,7 @@ function validate233(data, { instancePath = "", parentData, parentDataProperty,
15451
16283
  if (data.status !== void 0) {
15452
16284
  let data10 = data.status;
15453
16285
  if (!(data10 === "pending" || data10 === "in_progress" || data10 === "complete" || data10 === "error")) {
15454
- const err19 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema188.properties.status.enum }, message: "must be equal to one of the allowed values" };
16286
+ const err19 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema195.properties.status.enum }, message: "must be equal to one of the allowed values" };
15455
16287
  if (vErrors === null) {
15456
16288
  vErrors = [err19];
15457
16289
  } else {
@@ -15500,14 +16332,14 @@ function validate233(data, { instancePath = "", parentData, parentDataProperty,
15500
16332
  }
15501
16333
  errors++;
15502
16334
  }
15503
- validate233.errors = vErrors;
16335
+ validate239.errors = vErrors;
15504
16336
  return errors === 0;
15505
16337
  }
15506
- validate233.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
15507
- function validate232(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16338
+ validate239.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
16339
+ function validate238(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15508
16340
  let vErrors = null;
15509
16341
  let errors = 0;
15510
- const evaluated0 = validate232.evaluated;
16342
+ const evaluated0 = validate238.evaluated;
15511
16343
  if (evaluated0.dynamicProps) {
15512
16344
  evaluated0.props = void 0;
15513
16345
  }
@@ -15743,8 +16575,8 @@ function validate232(data, { instancePath = "", parentData, parentDataProperty,
15743
16575
  if (Array.isArray(data6)) {
15744
16576
  const len0 = data6.length;
15745
16577
  for (let i0 = 0; i0 < len0; i0++) {
15746
- if (!validate233(data6[i0], { instancePath: instancePath + "/tasks/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
15747
- vErrors = vErrors === null ? validate233.errors : vErrors.concat(validate233.errors);
16578
+ if (!validate239(data6[i0], { instancePath: instancePath + "/tasks/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
16579
+ vErrors = vErrors === null ? validate239.errors : vErrors.concat(validate239.errors);
15748
16580
  errors = vErrors.length;
15749
16581
  }
15750
16582
  }
@@ -15767,14 +16599,14 @@ function validate232(data, { instancePath = "", parentData, parentDataProperty,
15767
16599
  }
15768
16600
  errors++;
15769
16601
  }
15770
- validate232.errors = vErrors;
16602
+ validate238.errors = vErrors;
15771
16603
  return errors === 0;
15772
16604
  }
15773
- validate232.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
15774
- function validate242(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16605
+ validate238.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
16606
+ function validate248(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
15775
16607
  let vErrors = null;
15776
16608
  let errors = 0;
15777
- const evaluated0 = validate242.evaluated;
16609
+ const evaluated0 = validate248.evaluated;
15778
16610
  if (evaluated0.dynamicProps) {
15779
16611
  evaluated0.props = void 0;
15780
16612
  }
@@ -16119,15 +16951,15 @@ function validate242(data, { instancePath = "", parentData, parentDataProperty,
16119
16951
  }
16120
16952
  }
16121
16953
  }
16122
- validate242.errors = vErrors;
16954
+ validate248.errors = vErrors;
16123
16955
  evaluated0.props = props0;
16124
16956
  return errors === 0;
16125
16957
  }
16126
- validate242.evaluated = { "dynamicProps": true, "dynamicItems": false };
16127
- function validate239(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16958
+ validate248.evaluated = { "dynamicProps": true, "dynamicItems": false };
16959
+ function validate245(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16128
16960
  let vErrors = null;
16129
16961
  let errors = 0;
16130
- const evaluated0 = validate239.evaluated;
16962
+ const evaluated0 = validate245.evaluated;
16131
16963
  if (evaluated0.dynamicProps) {
16132
16964
  evaluated0.props = void 0;
16133
16965
  }
@@ -16313,8 +17145,8 @@ function validate239(data, { instancePath = "", parentData, parentDataProperty,
16313
17145
  }
16314
17146
  }
16315
17147
  if (data.accessory !== void 0) {
16316
- if (!validate242(data.accessory, { instancePath: instancePath + "/accessory", parentData: data, parentDataProperty: "accessory", rootData, dynamicAnchors })) {
16317
- vErrors = vErrors === null ? validate242.errors : vErrors.concat(validate242.errors);
17148
+ if (!validate248(data.accessory, { instancePath: instancePath + "/accessory", parentData: data, parentDataProperty: "accessory", rootData, dynamicAnchors })) {
17149
+ vErrors = vErrors === null ? validate248.errors : vErrors.concat(validate248.errors);
16318
17150
  errors = vErrors.length;
16319
17151
  }
16320
17152
  }
@@ -16338,15 +17170,15 @@ function validate239(data, { instancePath = "", parentData, parentDataProperty,
16338
17170
  }
16339
17171
  errors++;
16340
17172
  }
16341
- validate239.errors = vErrors;
17173
+ validate245.errors = vErrors;
16342
17174
  return errors === 0;
16343
17175
  }
16344
- validate239.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
16345
- var schema197 = { "description": "Per-column settings inside table_block.column_settings. May be null to skip.", "oneOf": [{ "type": "null" }, { "type": "object", "additionalProperties": false, "properties": { "align": { "enum": ["left", "center", "right"] }, "is_wrapped": { "type": "boolean" } } }] };
16346
- function validate264(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17176
+ validate245.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17177
+ var schema204 = { "description": "Per-column settings inside table_block.column_settings. May be null to skip.", "oneOf": [{ "type": "null" }, { "type": "object", "additionalProperties": false, "properties": { "align": { "enum": ["left", "center", "right"] }, "is_wrapped": { "type": "boolean" } } }] };
17178
+ function validate270(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16347
17179
  let vErrors = null;
16348
17180
  let errors = 0;
16349
- const evaluated0 = validate264.evaluated;
17181
+ const evaluated0 = validate270.evaluated;
16350
17182
  if (evaluated0.dynamicProps) {
16351
17183
  evaluated0.props = void 0;
16352
17184
  }
@@ -16471,8 +17303,8 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
16471
17303
  if (Array.isArray(data3)) {
16472
17304
  const len0 = data3.length;
16473
17305
  for (let i0 = 0; i0 < len0; i0++) {
16474
- if (!validate188(data3[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data3, parentDataProperty: i0, rootData, dynamicAnchors })) {
16475
- vErrors = vErrors === null ? validate188.errors : vErrors.concat(validate188.errors);
17306
+ if (!validate194(data3[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data3, parentDataProperty: i0, rootData, dynamicAnchors })) {
17307
+ vErrors = vErrors === null ? validate194.errors : vErrors.concat(validate194.errors);
16476
17308
  errors = vErrors.length;
16477
17309
  }
16478
17310
  }
@@ -16526,15 +17358,15 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
16526
17358
  }
16527
17359
  }
16528
17360
  }
16529
- validate264.errors = vErrors;
17361
+ validate270.errors = vErrors;
16530
17362
  evaluated0.props = props0;
16531
17363
  return errors === 0;
16532
17364
  }
16533
- validate264.evaluated = { "dynamicProps": true, "dynamicItems": false };
16534
- function validate263(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17365
+ validate270.evaluated = { "dynamicProps": true, "dynamicItems": false };
17366
+ function validate269(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16535
17367
  let vErrors = null;
16536
17368
  let errors = 0;
16537
- const evaluated0 = validate263.evaluated;
17369
+ const evaluated0 = validate269.evaluated;
16538
17370
  if (evaluated0.dynamicProps) {
16539
17371
  evaluated0.props = void 0;
16540
17372
  }
@@ -16658,8 +17490,8 @@ function validate263(data, { instancePath = "", parentData, parentDataProperty,
16658
17490
  }
16659
17491
  const len1 = data3.length;
16660
17492
  for (let i1 = 0; i1 < len1; i1++) {
16661
- if (!validate264(data3[i1], { instancePath: instancePath + "/rows/" + i0 + "/" + i1, parentData: data3, parentDataProperty: i1, rootData, dynamicAnchors })) {
16662
- vErrors = vErrors === null ? validate264.errors : vErrors.concat(validate264.errors);
17493
+ if (!validate270(data3[i1], { instancePath: instancePath + "/rows/" + i0 + "/" + i1, parentData: data3, parentDataProperty: i1, rootData, dynamicAnchors })) {
17494
+ vErrors = vErrors === null ? validate270.errors : vErrors.concat(validate270.errors);
16663
17495
  errors = vErrors.length;
16664
17496
  }
16665
17497
  }
@@ -16732,7 +17564,7 @@ function validate263(data, { instancePath = "", parentData, parentDataProperty,
16732
17564
  if (data6.align !== void 0) {
16733
17565
  let data7 = data6.align;
16734
17566
  if (!(data7 === "left" || data7 === "center" || data7 === "right")) {
16735
- const err16 = { instancePath: instancePath + "/column_settings/" + i2 + "/align", schemaPath: "#/$defs/table_column_setting/oneOf/1/properties/align/enum", keyword: "enum", params: { allowedValues: schema197.oneOf[1].properties.align.enum }, message: "must be equal to one of the allowed values" };
17567
+ const err16 = { instancePath: instancePath + "/column_settings/" + i2 + "/align", schemaPath: "#/$defs/table_column_setting/oneOf/1/properties/align/enum", keyword: "enum", params: { allowedValues: schema204.oneOf[1].properties.align.enum }, message: "must be equal to one of the allowed values" };
16736
17568
  if (vErrors === null) {
16737
17569
  vErrors = [err16];
16738
17570
  } else {
@@ -16809,15 +17641,15 @@ function validate263(data, { instancePath = "", parentData, parentDataProperty,
16809
17641
  }
16810
17642
  errors++;
16811
17643
  }
16812
- validate263.errors = vErrors;
17644
+ validate269.errors = vErrors;
16813
17645
  return errors === 0;
16814
17646
  }
16815
- validate263.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
16816
- var schema198 = { "description": "Standalone task_card block (also embeddable inline within plan_block).", "type": "object", "additionalProperties": false, "required": ["type", "task_id", "title"], "properties": { "type": { "const": "task_card" }, "task_id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "details": { "$ref": "#/$defs/rich_text_block" }, "output": { "$ref": "#/$defs/rich_text_block" }, "sources": { "type": "array", "items": { "$ref": "#/$defs/url_source_element" } }, "status": { "enum": ["pending", "in_progress", "complete", "error"] }, "block_id": { "$ref": "#/$defs/block_id" } } };
16817
- function validate268(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17647
+ validate269.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17648
+ var schema205 = { "description": "Standalone task_card block (also embeddable inline within plan_block).", "type": "object", "additionalProperties": false, "required": ["type", "task_id", "title"], "properties": { "type": { "const": "task_card" }, "task_id": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "details": { "$ref": "#/$defs/rich_text_block" }, "output": { "$ref": "#/$defs/rich_text_block" }, "sources": { "type": "array", "items": { "$ref": "#/$defs/url_source_element" } }, "status": { "enum": ["pending", "in_progress", "complete", "error"] }, "block_id": { "$ref": "#/$defs/block_id" } } };
17649
+ function validate274(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
16818
17650
  let vErrors = null;
16819
17651
  let errors = 0;
16820
- const evaluated0 = validate268.evaluated;
17652
+ const evaluated0 = validate274.evaluated;
16821
17653
  if (evaluated0.dynamicProps) {
16822
17654
  evaluated0.props = void 0;
16823
17655
  }
@@ -16919,14 +17751,14 @@ function validate268(data, { instancePath = "", parentData, parentDataProperty,
16919
17751
  }
16920
17752
  }
16921
17753
  if (data.details !== void 0) {
16922
- if (!validate187(data.details, { instancePath: instancePath + "/details", parentData: data, parentDataProperty: "details", rootData, dynamicAnchors })) {
16923
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
17754
+ if (!validate193(data.details, { instancePath: instancePath + "/details", parentData: data, parentDataProperty: "details", rootData, dynamicAnchors })) {
17755
+ vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
16924
17756
  errors = vErrors.length;
16925
17757
  }
16926
17758
  }
16927
17759
  if (data.output !== void 0) {
16928
- if (!validate187(data.output, { instancePath: instancePath + "/output", parentData: data, parentDataProperty: "output", rootData, dynamicAnchors })) {
16929
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
17760
+ if (!validate193(data.output, { instancePath: instancePath + "/output", parentData: data, parentDataProperty: "output", rootData, dynamicAnchors })) {
17761
+ vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
16930
17762
  errors = vErrors.length;
16931
17763
  }
16932
17764
  }
@@ -17053,7 +17885,7 @@ function validate268(data, { instancePath = "", parentData, parentDataProperty,
17053
17885
  if (data.status !== void 0) {
17054
17886
  let data10 = data.status;
17055
17887
  if (!(data10 === "pending" || data10 === "in_progress" || data10 === "complete" || data10 === "error")) {
17056
- const err20 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema198.properties.status.enum }, message: "must be equal to one of the allowed values" };
17888
+ const err20 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema205.properties.status.enum }, message: "must be equal to one of the allowed values" };
17057
17889
  if (vErrors === null) {
17058
17890
  vErrors = [err20];
17059
17891
  } else {
@@ -17102,16 +17934,16 @@ function validate268(data, { instancePath = "", parentData, parentDataProperty,
17102
17934
  }
17103
17935
  errors++;
17104
17936
  }
17105
- validate268.errors = vErrors;
17937
+ validate274.errors = vErrors;
17106
17938
  return errors === 0;
17107
17939
  }
17108
- validate268.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17109
- var schema201 = { "description": "Requires links.embed:write OAuth scope. video_url must be in app's unfurl domains, HTTPS, embeddable, return 2xx, not point to Slack-related domains.", "type": "object", "additionalProperties": false, "required": ["type", "alt_text", "title", "thumbnail_url", "video_url"], "properties": { "type": { "const": "video" }, "alt_text": { "type": "string", "minLength": 1 }, "title": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 199 } } }] }, "thumbnail_url": { "type": "string", "format": "uri" }, "video_url": { "type": "string", "format": "uri", "pattern": "^https://" }, "author_name": { "type": "string", "maxLength": 49 }, "description": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 199 } } }] }, "provider_icon_url": { "type": "string", "format": "uri" }, "provider_name": { "type": "string", "minLength": 1 }, "title_url": { "type": "string", "format": "uri", "pattern": "^https://" }, "block_id": { "$ref": "#/$defs/block_id" } } };
17940
+ validate274.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17941
+ var schema208 = { "description": "Requires links.embed:write OAuth scope. video_url must be in app's unfurl domains, HTTPS, embeddable, return 2xx, not point to Slack-related domains.", "type": "object", "additionalProperties": false, "required": ["type", "alt_text", "title", "thumbnail_url", "video_url"], "properties": { "type": { "const": "video" }, "alt_text": { "type": "string", "minLength": 1 }, "title": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 199 } } }] }, "thumbnail_url": { "type": "string", "format": "uri" }, "video_url": { "type": "string", "format": "uri", "pattern": "^https://" }, "author_name": { "type": "string", "maxLength": 49 }, "description": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 199 } } }] }, "provider_icon_url": { "type": "string", "format": "uri" }, "provider_name": { "type": "string", "minLength": 1 }, "title_url": { "type": "string", "format": "uri", "pattern": "^https://" }, "block_id": { "$ref": "#/$defs/block_id" } } };
17110
17942
  var pattern19 = new RegExp("^https://", "u");
17111
- function validate272(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17943
+ function validate278(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17112
17944
  let vErrors = null;
17113
17945
  let errors = 0;
17114
- const evaluated0 = validate272.evaluated;
17946
+ const evaluated0 = validate278.evaluated;
17115
17947
  if (evaluated0.dynamicProps) {
17116
17948
  evaluated0.props = void 0;
17117
17949
  }
@@ -17165,7 +17997,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17165
17997
  errors++;
17166
17998
  }
17167
17999
  for (const key0 in data) {
17168
- if (!func81.call(schema201.properties, key0)) {
18000
+ if (!func81.call(schema208.properties, key0)) {
17169
18001
  const err5 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
17170
18002
  if (vErrors === null) {
17171
18003
  vErrors = [err5];
@@ -17620,10 +18452,10 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17620
18452
  }
17621
18453
  errors++;
17622
18454
  }
17623
- validate272.errors = vErrors;
18455
+ validate278.errors = vErrors;
17624
18456
  return errors === 0;
17625
18457
  }
17626
- validate272.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18458
+ validate278.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17627
18459
  function validate22(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17628
18460
  let vErrors = null;
17629
18461
  let errors = 0;
@@ -17751,8 +18583,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17751
18583
  }
17752
18584
  }
17753
18585
  const _errs8 = errors;
17754
- if (!validate151(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17755
- vErrors = vErrors === null ? validate151.errors : vErrors.concat(validate151.errors);
18586
+ if (!validate155(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18587
+ vErrors = vErrors === null ? validate155.errors : vErrors.concat(validate155.errors);
17756
18588
  errors = vErrors.length;
17757
18589
  }
17758
18590
  var _valid0 = _errs8 === errors;
@@ -17768,8 +18600,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17768
18600
  }
17769
18601
  }
17770
18602
  const _errs9 = errors;
17771
- if (!validate153(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17772
- vErrors = vErrors === null ? validate153.errors : vErrors.concat(validate153.errors);
18603
+ if (!validate157(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18604
+ vErrors = vErrors === null ? validate157.errors : vErrors.concat(validate157.errors);
17773
18605
  errors = vErrors.length;
17774
18606
  }
17775
18607
  var _valid0 = _errs9 === errors;
@@ -17785,8 +18617,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17785
18617
  }
17786
18618
  }
17787
18619
  const _errs10 = errors;
17788
- if (!validate155(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17789
- vErrors = vErrors === null ? validate155.errors : vErrors.concat(validate155.errors);
18620
+ if (!validate159(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18621
+ vErrors = vErrors === null ? validate159.errors : vErrors.concat(validate159.errors);
17790
18622
  errors = vErrors.length;
17791
18623
  }
17792
18624
  var _valid0 = _errs10 === errors;
@@ -17802,8 +18634,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17802
18634
  }
17803
18635
  }
17804
18636
  const _errs11 = errors;
17805
- if (!validate157(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17806
- vErrors = vErrors === null ? validate157.errors : vErrors.concat(validate157.errors);
18637
+ if (!validate161(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18638
+ vErrors = vErrors === null ? validate161.errors : vErrors.concat(validate161.errors);
17807
18639
  errors = vErrors.length;
17808
18640
  }
17809
18641
  var _valid0 = _errs11 === errors;
@@ -17819,8 +18651,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17819
18651
  }
17820
18652
  }
17821
18653
  const _errs12 = errors;
17822
- if (!validate230(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17823
- vErrors = vErrors === null ? validate230.errors : vErrors.concat(validate230.errors);
18654
+ if (!validate163(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18655
+ vErrors = vErrors === null ? validate163.errors : vErrors.concat(validate163.errors);
17824
18656
  errors = vErrors.length;
17825
18657
  }
17826
18658
  var _valid0 = _errs12 === errors;
@@ -17836,8 +18668,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17836
18668
  }
17837
18669
  }
17838
18670
  const _errs13 = errors;
17839
- if (!validate232(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17840
- vErrors = vErrors === null ? validate232.errors : vErrors.concat(validate232.errors);
18671
+ if (!validate236(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18672
+ vErrors = vErrors === null ? validate236.errors : vErrors.concat(validate236.errors);
17841
18673
  errors = vErrors.length;
17842
18674
  }
17843
18675
  var _valid0 = _errs13 === errors;
@@ -17853,8 +18685,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17853
18685
  }
17854
18686
  }
17855
18687
  const _errs14 = errors;
17856
- if (!validate187(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17857
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
18688
+ if (!validate238(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18689
+ vErrors = vErrors === null ? validate238.errors : vErrors.concat(validate238.errors);
17858
18690
  errors = vErrors.length;
17859
18691
  }
17860
18692
  var _valid0 = _errs14 === errors;
@@ -17870,8 +18702,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17870
18702
  }
17871
18703
  }
17872
18704
  const _errs15 = errors;
17873
- if (!validate239(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17874
- vErrors = vErrors === null ? validate239.errors : vErrors.concat(validate239.errors);
18705
+ if (!validate193(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18706
+ vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
17875
18707
  errors = vErrors.length;
17876
18708
  }
17877
18709
  var _valid0 = _errs15 === errors;
@@ -17887,8 +18719,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17887
18719
  }
17888
18720
  }
17889
18721
  const _errs16 = errors;
17890
- if (!validate263(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17891
- vErrors = vErrors === null ? validate263.errors : vErrors.concat(validate263.errors);
18722
+ if (!validate245(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18723
+ vErrors = vErrors === null ? validate245.errors : vErrors.concat(validate245.errors);
17892
18724
  errors = vErrors.length;
17893
18725
  }
17894
18726
  var _valid0 = _errs16 === errors;
@@ -17904,8 +18736,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17904
18736
  }
17905
18737
  }
17906
18738
  const _errs17 = errors;
17907
- if (!validate268(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17908
- vErrors = vErrors === null ? validate268.errors : vErrors.concat(validate268.errors);
18739
+ if (!validate269(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18740
+ vErrors = vErrors === null ? validate269.errors : vErrors.concat(validate269.errors);
17909
18741
  errors = vErrors.length;
17910
18742
  }
17911
18743
  var _valid0 = _errs17 === errors;
@@ -17921,8 +18753,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17921
18753
  }
17922
18754
  }
17923
18755
  const _errs18 = errors;
17924
- if (!validate272(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
17925
- vErrors = vErrors === null ? validate272.errors : vErrors.concat(validate272.errors);
18756
+ if (!validate274(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18757
+ vErrors = vErrors === null ? validate274.errors : vErrors.concat(validate274.errors);
17926
18758
  errors = vErrors.length;
17927
18759
  }
17928
18760
  var _valid0 = _errs18 === errors;
@@ -17937,6 +18769,24 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
17937
18769
  props0 = true;
17938
18770
  }
17939
18771
  }
18772
+ const _errs19 = errors;
18773
+ if (!validate278(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18774
+ vErrors = vErrors === null ? validate278.errors : vErrors.concat(validate278.errors);
18775
+ errors = vErrors.length;
18776
+ }
18777
+ var _valid0 = _errs19 === errors;
18778
+ if (_valid0 && valid0) {
18779
+ valid0 = false;
18780
+ passing0 = [passing0, 18];
18781
+ } else {
18782
+ if (_valid0) {
18783
+ valid0 = true;
18784
+ passing0 = 18;
18785
+ if (props0 !== true) {
18786
+ props0 = true;
18787
+ }
18788
+ }
18789
+ }
17940
18790
  }
17941
18791
  }
17942
18792
  }
@@ -18027,12 +18877,12 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
18027
18877
  return errors === 0;
18028
18878
  }
18029
18879
  validate21.evaluated = { "items": true, "dynamicProps": false, "dynamicItems": false };
18030
- var validateModal = validate284;
18031
- var schema206 = { "description": "Modal view surface (views.open / views.push / views.update payload). title/submit/close text capped at 24 chars. When blocks contain any input block, submit is required (per docs).", "type": "object", "additionalProperties": false, "required": ["type", "title", "blocks"], "properties": { "type": { "const": "modal" }, "title": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 24 } } }] }, "blocks": { "type": "array", "minItems": 1, "maxItems": 100, "items": { "$ref": "#/$defs/block" } }, "close": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 24 } } }] }, "submit": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 24 } } }] }, "private_metadata": { "type": "string", "maxLength": 3e3 }, "callback_id": { "type": "string", "maxLength": 255 }, "clear_on_close": { "type": "boolean" }, "notify_on_close": { "type": "boolean" }, "external_id": { "type": "string", "maxLength": 255 }, "submit_disabled": { "type": "boolean" } }, "allOf": [{ "if": { "properties": { "blocks": { "contains": { "type": "object", "properties": { "type": { "const": "input" } }, "required": ["type"] } } } }, "then": { "required": ["submit"] } }] };
18032
- function validate284(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18880
+ var validateModal = validate290;
18881
+ var schema213 = { "description": "Modal view surface (views.open / views.push / views.update payload). title/submit/close text capped at 24 chars. When blocks contain any input block, submit is required (per docs).", "type": "object", "additionalProperties": false, "required": ["type", "title", "blocks"], "properties": { "type": { "const": "modal" }, "title": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 24 } } }] }, "blocks": { "type": "array", "minItems": 1, "maxItems": 100, "items": { "$ref": "#/$defs/block" } }, "close": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 24 } } }] }, "submit": { "allOf": [{ "$ref": "#/$defs/plain_text_object" }, { "properties": { "text": { "maxLength": 24 } } }] }, "private_metadata": { "type": "string", "maxLength": 3e3 }, "callback_id": { "type": "string", "maxLength": 255 }, "clear_on_close": { "type": "boolean" }, "notify_on_close": { "type": "boolean" }, "external_id": { "type": "string", "maxLength": 255 }, "submit_disabled": { "type": "boolean" } }, "allOf": [{ "if": { "properties": { "blocks": { "contains": { "type": "object", "properties": { "type": { "const": "input" } }, "required": ["type"] } } } }, "then": { "required": ["submit"] } }] };
18882
+ function validate290(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18033
18883
  let vErrors = null;
18034
18884
  let errors = 0;
18035
- const evaluated0 = validate284.evaluated;
18885
+ const evaluated0 = validate290.evaluated;
18036
18886
  if (evaluated0.dynamicProps) {
18037
18887
  evaluated0.props = void 0;
18038
18888
  }
@@ -18174,7 +19024,7 @@ function validate284(data, { instancePath = "", parentData, parentDataProperty,
18174
19024
  errors++;
18175
19025
  }
18176
19026
  for (const key0 in data) {
18177
- if (!func81.call(schema206.properties, key0)) {
19027
+ if (!func81.call(schema213.properties, key0)) {
18178
19028
  const err9 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
18179
19029
  if (vErrors === null) {
18180
19030
  vErrors = [err9];
@@ -18674,15 +19524,15 @@ function validate284(data, { instancePath = "", parentData, parentDataProperty,
18674
19524
  }
18675
19525
  errors++;
18676
19526
  }
18677
- validate284.errors = vErrors;
19527
+ validate290.errors = vErrors;
18678
19528
  return errors === 0;
18679
19529
  }
18680
- validate284.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18681
- var validateHome = validate286;
18682
- function validate286(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19530
+ validate290.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19531
+ var validateHome = validate292;
19532
+ function validate292(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18683
19533
  let vErrors = null;
18684
19534
  let errors = 0;
18685
- const evaluated0 = validate286.evaluated;
19535
+ const evaluated0 = validate292.evaluated;
18686
19536
  if (evaluated0.dynamicProps) {
18687
19537
  evaluated0.props = void 0;
18688
19538
  }
@@ -18843,10 +19693,10 @@ function validate286(data, { instancePath = "", parentData, parentDataProperty,
18843
19693
  }
18844
19694
  errors++;
18845
19695
  }
18846
- validate286.errors = vErrors;
19696
+ validate292.errors = vErrors;
18847
19697
  return errors === 0;
18848
19698
  }
18849
- validate286.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19699
+ validate292.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18850
19700
  export {
18851
19701
  validateBlocks,
18852
19702
  validateHome,