@tightknitai/slack-block-kit-validator 0.1.18 → 0.1.20

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.
@@ -13272,7 +13272,7 @@ function validate216(data, { instancePath = "", parentData, parentDataProperty,
13272
13272
  errors++;
13273
13273
  }
13274
13274
  for (const key0 in data) {
13275
- if (!(key0 === "type" || key0 === "action_id" || key0 === "initial_value" || key0 === "dispatch_action_config" || key0 === "focus_on_load" || key0 === "placeholder")) {
13275
+ if (!(key0 === "type" || key0 === "action_id" || key0 === "initial_value" || key0 === "dispatch_action_config" || key0 === "focus_on_load" || key0 === "placeholder" || key0 === "min_lines" || key0 === "max_lines")) {
13276
13276
  const err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
13277
13277
  if (vErrors === null) {
13278
13278
  vErrors = [err2];
@@ -13442,12 +13442,76 @@ function validate216(data, { instancePath = "", parentData, parentDataProperty,
13442
13442
  errors = vErrors.length;
13443
13443
  }
13444
13444
  }
13445
+ if (data.min_lines !== void 0) {
13446
+ let data8 = data.min_lines;
13447
+ if (!(typeof data8 == "number" && (!(data8 % 1) && !isNaN(data8)))) {
13448
+ const err16 = { instancePath: instancePath + "/min_lines", schemaPath: "#/properties/min_lines/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
13449
+ if (vErrors === null) {
13450
+ vErrors = [err16];
13451
+ } else {
13452
+ vErrors.push(err16);
13453
+ }
13454
+ errors++;
13455
+ }
13456
+ if (typeof data8 == "number") {
13457
+ if (data8 > 100 || isNaN(data8)) {
13458
+ const err17 = { instancePath: instancePath + "/min_lines", schemaPath: "#/properties/min_lines/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
13459
+ if (vErrors === null) {
13460
+ vErrors = [err17];
13461
+ } else {
13462
+ vErrors.push(err17);
13463
+ }
13464
+ errors++;
13465
+ }
13466
+ if (data8 < 1 || isNaN(data8)) {
13467
+ const err18 = { instancePath: instancePath + "/min_lines", schemaPath: "#/properties/min_lines/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
13468
+ if (vErrors === null) {
13469
+ vErrors = [err18];
13470
+ } else {
13471
+ vErrors.push(err18);
13472
+ }
13473
+ errors++;
13474
+ }
13475
+ }
13476
+ }
13477
+ if (data.max_lines !== void 0) {
13478
+ let data9 = data.max_lines;
13479
+ if (!(typeof data9 == "number" && (!(data9 % 1) && !isNaN(data9)))) {
13480
+ const err19 = { instancePath: instancePath + "/max_lines", schemaPath: "#/properties/max_lines/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
13481
+ if (vErrors === null) {
13482
+ vErrors = [err19];
13483
+ } else {
13484
+ vErrors.push(err19);
13485
+ }
13486
+ errors++;
13487
+ }
13488
+ if (typeof data9 == "number") {
13489
+ if (data9 > 100 || isNaN(data9)) {
13490
+ const err20 = { instancePath: instancePath + "/max_lines", schemaPath: "#/properties/max_lines/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
13491
+ if (vErrors === null) {
13492
+ vErrors = [err20];
13493
+ } else {
13494
+ vErrors.push(err20);
13495
+ }
13496
+ errors++;
13497
+ }
13498
+ if (data9 < 1 || isNaN(data9)) {
13499
+ const err21 = { instancePath: instancePath + "/max_lines", schemaPath: "#/properties/max_lines/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
13500
+ if (vErrors === null) {
13501
+ vErrors = [err21];
13502
+ } else {
13503
+ vErrors.push(err21);
13504
+ }
13505
+ errors++;
13506
+ }
13507
+ }
13508
+ }
13445
13509
  } else {
13446
- const err16 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13510
+ const err22 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
13447
13511
  if (vErrors === null) {
13448
- vErrors = [err16];
13512
+ vErrors = [err22];
13449
13513
  } else {
13450
- vErrors.push(err16);
13514
+ vErrors.push(err22);
13451
13515
  }
13452
13516
  errors++;
13453
13517
  }
@@ -17576,6 +17640,360 @@ function validate258(data, { instancePath = "", parentData, parentDataProperty,
17576
17640
  return errors === 0;
17577
17641
  }
17578
17642
  validate258.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17643
+ function validate273(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17644
+ let vErrors = null;
17645
+ let errors = 0;
17646
+ const evaluated0 = validate273.evaluated;
17647
+ if (evaluated0.dynamicProps) {
17648
+ evaluated0.props = void 0;
17649
+ }
17650
+ if (evaluated0.dynamicItems) {
17651
+ evaluated0.items = void 0;
17652
+ }
17653
+ if (data && typeof data == "object" && !Array.isArray(data)) {
17654
+ if (data.type === void 0) {
17655
+ const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17656
+ if (vErrors === null) {
17657
+ vErrors = [err0];
17658
+ } else {
17659
+ vErrors.push(err0);
17660
+ }
17661
+ errors++;
17662
+ }
17663
+ if (data.elements === void 0) {
17664
+ const err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "elements" }, message: "must have required property 'elements'" };
17665
+ if (vErrors === null) {
17666
+ vErrors = [err1];
17667
+ } else {
17668
+ vErrors.push(err1);
17669
+ }
17670
+ errors++;
17671
+ }
17672
+ for (const key0 in data) {
17673
+ if (!(key0 === "type" || key0 === "elements")) {
17674
+ const err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
17675
+ if (vErrors === null) {
17676
+ vErrors = [err2];
17677
+ } else {
17678
+ vErrors.push(err2);
17679
+ }
17680
+ errors++;
17681
+ }
17682
+ }
17683
+ if (data.type !== void 0) {
17684
+ if ("rich_text" !== data.type) {
17685
+ const err3 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "rich_text" }, message: "must be equal to constant" };
17686
+ if (vErrors === null) {
17687
+ vErrors = [err3];
17688
+ } else {
17689
+ vErrors.push(err3);
17690
+ }
17691
+ errors++;
17692
+ }
17693
+ }
17694
+ if (data.elements !== void 0) {
17695
+ let data1 = data.elements;
17696
+ if (Array.isArray(data1)) {
17697
+ const len0 = data1.length;
17698
+ for (let i0 = 0; i0 < len0; i0++) {
17699
+ if (!validate133(data1[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
17700
+ vErrors = vErrors === null ? validate133.errors : vErrors.concat(validate133.errors);
17701
+ errors = vErrors.length;
17702
+ }
17703
+ }
17704
+ } else {
17705
+ const err4 = { instancePath: instancePath + "/elements", schemaPath: "#/properties/elements/type", keyword: "type", params: { type: "array" }, message: "must be array" };
17706
+ if (vErrors === null) {
17707
+ vErrors = [err4];
17708
+ } else {
17709
+ vErrors.push(err4);
17710
+ }
17711
+ errors++;
17712
+ }
17713
+ }
17714
+ } else {
17715
+ const err5 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17716
+ if (vErrors === null) {
17717
+ vErrors = [err5];
17718
+ } else {
17719
+ vErrors.push(err5);
17720
+ }
17721
+ errors++;
17722
+ }
17723
+ validate273.errors = vErrors;
17724
+ return errors === 0;
17725
+ }
17726
+ validate273.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17727
+ function validate276(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17728
+ let vErrors = null;
17729
+ let errors = 0;
17730
+ const evaluated0 = validate276.evaluated;
17731
+ if (evaluated0.dynamicProps) {
17732
+ evaluated0.props = void 0;
17733
+ }
17734
+ if (evaluated0.dynamicItems) {
17735
+ evaluated0.items = void 0;
17736
+ }
17737
+ if (data && typeof data == "object" && !Array.isArray(data)) {
17738
+ if (data.type === void 0) {
17739
+ const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17740
+ if (vErrors === null) {
17741
+ vErrors = [err0];
17742
+ } else {
17743
+ vErrors.push(err0);
17744
+ }
17745
+ errors++;
17746
+ }
17747
+ if (data.element === void 0) {
17748
+ const err1 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "element" }, message: "must have required property 'element'" };
17749
+ if (vErrors === null) {
17750
+ vErrors = [err1];
17751
+ } else {
17752
+ vErrors.push(err1);
17753
+ }
17754
+ errors++;
17755
+ }
17756
+ for (const key0 in data) {
17757
+ if (!(key0 === "type" || key0 === "element" || key0 === "fallback")) {
17758
+ const err2 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
17759
+ if (vErrors === null) {
17760
+ vErrors = [err2];
17761
+ } else {
17762
+ vErrors.push(err2);
17763
+ }
17764
+ errors++;
17765
+ }
17766
+ }
17767
+ if (data.type !== void 0) {
17768
+ if ("action_cell" !== data.type) {
17769
+ const err3 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/const", keyword: "const", params: { allowedValue: "action_cell" }, message: "must be equal to constant" };
17770
+ if (vErrors === null) {
17771
+ vErrors = [err3];
17772
+ } else {
17773
+ vErrors.push(err3);
17774
+ }
17775
+ errors++;
17776
+ }
17777
+ }
17778
+ if (data.element !== void 0) {
17779
+ if (!validate25(data.element, { instancePath: instancePath + "/element", parentData: data, parentDataProperty: "element", rootData, dynamicAnchors })) {
17780
+ vErrors = vErrors === null ? validate25.errors : vErrors.concat(validate25.errors);
17781
+ errors = vErrors.length;
17782
+ }
17783
+ }
17784
+ if (data.fallback !== void 0) {
17785
+ let data2 = data.fallback;
17786
+ const _errs5 = errors;
17787
+ let valid1 = false;
17788
+ let passing0 = null;
17789
+ const _errs6 = errors;
17790
+ if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
17791
+ if (data2.type === void 0) {
17792
+ const err4 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_text_cell/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17793
+ if (vErrors === null) {
17794
+ vErrors = [err4];
17795
+ } else {
17796
+ vErrors.push(err4);
17797
+ }
17798
+ errors++;
17799
+ }
17800
+ if (data2.text === void 0) {
17801
+ const err5 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_text_cell/required", keyword: "required", params: { missingProperty: "text" }, message: "must have required property 'text'" };
17802
+ if (vErrors === null) {
17803
+ vErrors = [err5];
17804
+ } else {
17805
+ vErrors.push(err5);
17806
+ }
17807
+ errors++;
17808
+ }
17809
+ for (const key1 in data2) {
17810
+ if (!(key1 === "type" || key1 === "text")) {
17811
+ const err6 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_text_cell/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
17812
+ if (vErrors === null) {
17813
+ vErrors = [err6];
17814
+ } else {
17815
+ vErrors.push(err6);
17816
+ }
17817
+ errors++;
17818
+ }
17819
+ }
17820
+ if (data2.type !== void 0) {
17821
+ if ("raw_text" !== data2.type) {
17822
+ const err7 = { instancePath: instancePath + "/fallback/type", schemaPath: "#/$defs/data_table_raw_text_cell/properties/type/const", keyword: "const", params: { allowedValue: "raw_text" }, message: "must be equal to constant" };
17823
+ if (vErrors === null) {
17824
+ vErrors = [err7];
17825
+ } else {
17826
+ vErrors.push(err7);
17827
+ }
17828
+ errors++;
17829
+ }
17830
+ }
17831
+ if (data2.text !== void 0) {
17832
+ let data4 = data2.text;
17833
+ if (typeof data4 === "string") {
17834
+ if (func1(data4) < 1) {
17835
+ const err8 = { instancePath: instancePath + "/fallback/text", schemaPath: "#/$defs/data_table_raw_text_cell/properties/text/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
17836
+ if (vErrors === null) {
17837
+ vErrors = [err8];
17838
+ } else {
17839
+ vErrors.push(err8);
17840
+ }
17841
+ errors++;
17842
+ }
17843
+ } else {
17844
+ const err9 = { instancePath: instancePath + "/fallback/text", schemaPath: "#/$defs/data_table_raw_text_cell/properties/text/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17845
+ if (vErrors === null) {
17846
+ vErrors = [err9];
17847
+ } else {
17848
+ vErrors.push(err9);
17849
+ }
17850
+ errors++;
17851
+ }
17852
+ }
17853
+ } else {
17854
+ const err10 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_text_cell/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17855
+ if (vErrors === null) {
17856
+ vErrors = [err10];
17857
+ } else {
17858
+ vErrors.push(err10);
17859
+ }
17860
+ errors++;
17861
+ }
17862
+ var _valid0 = _errs6 === errors;
17863
+ if (_valid0) {
17864
+ valid1 = true;
17865
+ passing0 = 0;
17866
+ var props0 = true;
17867
+ }
17868
+ const _errs13 = errors;
17869
+ if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
17870
+ if (data2.type === void 0) {
17871
+ const err11 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_number_cell/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17872
+ if (vErrors === null) {
17873
+ vErrors = [err11];
17874
+ } else {
17875
+ vErrors.push(err11);
17876
+ }
17877
+ errors++;
17878
+ }
17879
+ if (data2.value === void 0) {
17880
+ const err12 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_number_cell/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
17881
+ if (vErrors === null) {
17882
+ vErrors = [err12];
17883
+ } else {
17884
+ vErrors.push(err12);
17885
+ }
17886
+ errors++;
17887
+ }
17888
+ for (const key2 in data2) {
17889
+ if (!(key2 === "type" || key2 === "value" || key2 === "text")) {
17890
+ const err13 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_number_cell/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
17891
+ if (vErrors === null) {
17892
+ vErrors = [err13];
17893
+ } else {
17894
+ vErrors.push(err13);
17895
+ }
17896
+ errors++;
17897
+ }
17898
+ }
17899
+ if (data2.type !== void 0) {
17900
+ if ("raw_number" !== data2.type) {
17901
+ const err14 = { instancePath: instancePath + "/fallback/type", schemaPath: "#/$defs/data_table_raw_number_cell/properties/type/const", keyword: "const", params: { allowedValue: "raw_number" }, message: "must be equal to constant" };
17902
+ if (vErrors === null) {
17903
+ vErrors = [err14];
17904
+ } else {
17905
+ vErrors.push(err14);
17906
+ }
17907
+ errors++;
17908
+ }
17909
+ }
17910
+ if (data2.value !== void 0) {
17911
+ if (!(typeof data2.value == "number")) {
17912
+ const err15 = { instancePath: instancePath + "/fallback/value", schemaPath: "#/$defs/data_table_raw_number_cell/properties/value/type", keyword: "type", params: { type: "number" }, message: "must be number" };
17913
+ if (vErrors === null) {
17914
+ vErrors = [err15];
17915
+ } else {
17916
+ vErrors.push(err15);
17917
+ }
17918
+ errors++;
17919
+ }
17920
+ }
17921
+ if (data2.text !== void 0) {
17922
+ let data7 = data2.text;
17923
+ if (typeof data7 === "string") {
17924
+ if (func1(data7) < 1) {
17925
+ const err16 = { instancePath: instancePath + "/fallback/text", schemaPath: "#/$defs/data_table_raw_number_cell/properties/text/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
17926
+ if (vErrors === null) {
17927
+ vErrors = [err16];
17928
+ } else {
17929
+ vErrors.push(err16);
17930
+ }
17931
+ errors++;
17932
+ }
17933
+ } else {
17934
+ const err17 = { instancePath: instancePath + "/fallback/text", schemaPath: "#/$defs/data_table_raw_number_cell/properties/text/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17935
+ if (vErrors === null) {
17936
+ vErrors = [err17];
17937
+ } else {
17938
+ vErrors.push(err17);
17939
+ }
17940
+ errors++;
17941
+ }
17942
+ }
17943
+ } else {
17944
+ const err18 = { instancePath: instancePath + "/fallback", schemaPath: "#/$defs/data_table_raw_number_cell/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17945
+ if (vErrors === null) {
17946
+ vErrors = [err18];
17947
+ } else {
17948
+ vErrors.push(err18);
17949
+ }
17950
+ errors++;
17951
+ }
17952
+ var _valid0 = _errs13 === errors;
17953
+ if (_valid0 && valid1) {
17954
+ valid1 = false;
17955
+ passing0 = [passing0, 1];
17956
+ } else {
17957
+ if (_valid0) {
17958
+ valid1 = true;
17959
+ passing0 = 1;
17960
+ if (props0 !== true) {
17961
+ props0 = true;
17962
+ }
17963
+ }
17964
+ }
17965
+ if (!valid1) {
17966
+ const err19 = { instancePath: instancePath + "/fallback", schemaPath: "#/properties/fallback/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
17967
+ if (vErrors === null) {
17968
+ vErrors = [err19];
17969
+ } else {
17970
+ vErrors.push(err19);
17971
+ }
17972
+ errors++;
17973
+ } else {
17974
+ errors = _errs5;
17975
+ if (vErrors !== null) {
17976
+ if (_errs5) {
17977
+ vErrors.length = _errs5;
17978
+ } else {
17979
+ vErrors = null;
17980
+ }
17981
+ }
17982
+ }
17983
+ }
17984
+ } else {
17985
+ const err20 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17986
+ if (vErrors === null) {
17987
+ vErrors = [err20];
17988
+ } else {
17989
+ vErrors.push(err20);
17990
+ }
17991
+ errors++;
17992
+ }
17993
+ validate276.errors = vErrors;
17994
+ return errors === 0;
17995
+ }
17996
+ validate276.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
17579
17997
  function validate272(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
17580
17998
  let vErrors = null;
17581
17999
  let errors = 0;
@@ -17592,7 +18010,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17592
18010
  const _errs1 = errors;
17593
18011
  if (data && typeof data == "object" && !Array.isArray(data)) {
17594
18012
  if (data.type === void 0) {
17595
- const err0 = { instancePath, schemaPath: "#/oneOf/0/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
18013
+ const err0 = { instancePath, schemaPath: "#/$defs/data_table_raw_text_cell/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17596
18014
  if (vErrors === null) {
17597
18015
  vErrors = [err0];
17598
18016
  } else {
@@ -17601,7 +18019,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17601
18019
  errors++;
17602
18020
  }
17603
18021
  if (data.text === void 0) {
17604
- const err1 = { instancePath, schemaPath: "#/oneOf/0/required", keyword: "required", params: { missingProperty: "text" }, message: "must have required property 'text'" };
18022
+ const err1 = { instancePath, schemaPath: "#/$defs/data_table_raw_text_cell/required", keyword: "required", params: { missingProperty: "text" }, message: "must have required property 'text'" };
17605
18023
  if (vErrors === null) {
17606
18024
  vErrors = [err1];
17607
18025
  } else {
@@ -17611,7 +18029,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17611
18029
  }
17612
18030
  for (const key0 in data) {
17613
18031
  if (!(key0 === "type" || key0 === "text")) {
17614
- const err2 = { instancePath, schemaPath: "#/oneOf/0/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
18032
+ const err2 = { instancePath, schemaPath: "#/$defs/data_table_raw_text_cell/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
17615
18033
  if (vErrors === null) {
17616
18034
  vErrors = [err2];
17617
18035
  } else {
@@ -17622,7 +18040,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17622
18040
  }
17623
18041
  if (data.type !== void 0) {
17624
18042
  if ("raw_text" !== data.type) {
17625
- const err3 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/const", keyword: "const", params: { allowedValue: "raw_text" }, message: "must be equal to constant" };
18043
+ const err3 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/data_table_raw_text_cell/properties/type/const", keyword: "const", params: { allowedValue: "raw_text" }, message: "must be equal to constant" };
17626
18044
  if (vErrors === null) {
17627
18045
  vErrors = [err3];
17628
18046
  } else {
@@ -17635,7 +18053,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17635
18053
  let data1 = data.text;
17636
18054
  if (typeof data1 === "string") {
17637
18055
  if (func1(data1) < 1) {
17638
- const err4 = { instancePath: instancePath + "/text", schemaPath: "#/oneOf/0/properties/text/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
18056
+ const err4 = { instancePath: instancePath + "/text", schemaPath: "#/$defs/data_table_raw_text_cell/properties/text/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
17639
18057
  if (vErrors === null) {
17640
18058
  vErrors = [err4];
17641
18059
  } else {
@@ -17644,7 +18062,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17644
18062
  errors++;
17645
18063
  }
17646
18064
  } else {
17647
- const err5 = { instancePath: instancePath + "/text", schemaPath: "#/oneOf/0/properties/text/type", keyword: "type", params: { type: "string" }, message: "must be string" };
18065
+ const err5 = { instancePath: instancePath + "/text", schemaPath: "#/$defs/data_table_raw_text_cell/properties/text/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17648
18066
  if (vErrors === null) {
17649
18067
  vErrors = [err5];
17650
18068
  } else {
@@ -17654,7 +18072,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17654
18072
  }
17655
18073
  }
17656
18074
  } else {
17657
- const err6 = { instancePath, schemaPath: "#/oneOf/0/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18075
+ const err6 = { instancePath, schemaPath: "#/$defs/data_table_raw_text_cell/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17658
18076
  if (vErrors === null) {
17659
18077
  vErrors = [err6];
17660
18078
  } else {
@@ -17668,10 +18086,10 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17668
18086
  passing0 = 0;
17669
18087
  var props0 = true;
17670
18088
  }
17671
- const _errs7 = errors;
18089
+ const _errs8 = errors;
17672
18090
  if (data && typeof data == "object" && !Array.isArray(data)) {
17673
18091
  if (data.type === void 0) {
17674
- const err7 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
18092
+ const err7 = { instancePath, schemaPath: "#/$defs/data_table_raw_number_cell/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17675
18093
  if (vErrors === null) {
17676
18094
  vErrors = [err7];
17677
18095
  } else {
@@ -17680,7 +18098,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17680
18098
  errors++;
17681
18099
  }
17682
18100
  if (data.value === void 0) {
17683
- const err8 = { instancePath, schemaPath: "#/oneOf/1/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
18101
+ const err8 = { instancePath, schemaPath: "#/$defs/data_table_raw_number_cell/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
17684
18102
  if (vErrors === null) {
17685
18103
  vErrors = [err8];
17686
18104
  } else {
@@ -17690,7 +18108,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17690
18108
  }
17691
18109
  for (const key1 in data) {
17692
18110
  if (!(key1 === "type" || key1 === "value" || key1 === "text")) {
17693
- const err9 = { instancePath, schemaPath: "#/oneOf/1/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
18111
+ const err9 = { instancePath, schemaPath: "#/$defs/data_table_raw_number_cell/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
17694
18112
  if (vErrors === null) {
17695
18113
  vErrors = [err9];
17696
18114
  } else {
@@ -17701,7 +18119,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17701
18119
  }
17702
18120
  if (data.type !== void 0) {
17703
18121
  if ("raw_number" !== data.type) {
17704
- const err10 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/1/properties/type/const", keyword: "const", params: { allowedValue: "raw_number" }, message: "must be equal to constant" };
18122
+ const err10 = { instancePath: instancePath + "/type", schemaPath: "#/$defs/data_table_raw_number_cell/properties/type/const", keyword: "const", params: { allowedValue: "raw_number" }, message: "must be equal to constant" };
17705
18123
  if (vErrors === null) {
17706
18124
  vErrors = [err10];
17707
18125
  } else {
@@ -17712,7 +18130,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17712
18130
  }
17713
18131
  if (data.value !== void 0) {
17714
18132
  if (!(typeof data.value == "number")) {
17715
- const err11 = { instancePath: instancePath + "/value", schemaPath: "#/oneOf/1/properties/value/type", keyword: "type", params: { type: "number" }, message: "must be number" };
18133
+ const err11 = { instancePath: instancePath + "/value", schemaPath: "#/$defs/data_table_raw_number_cell/properties/value/type", keyword: "type", params: { type: "number" }, message: "must be number" };
17716
18134
  if (vErrors === null) {
17717
18135
  vErrors = [err11];
17718
18136
  } else {
@@ -17725,7 +18143,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17725
18143
  let data4 = data.text;
17726
18144
  if (typeof data4 === "string") {
17727
18145
  if (func1(data4) < 1) {
17728
- const err12 = { instancePath: instancePath + "/text", schemaPath: "#/oneOf/1/properties/text/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
18146
+ const err12 = { instancePath: instancePath + "/text", schemaPath: "#/$defs/data_table_raw_number_cell/properties/text/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
17729
18147
  if (vErrors === null) {
17730
18148
  vErrors = [err12];
17731
18149
  } else {
@@ -17734,7 +18152,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17734
18152
  errors++;
17735
18153
  }
17736
18154
  } else {
17737
- const err13 = { instancePath: instancePath + "/text", schemaPath: "#/oneOf/1/properties/text/type", keyword: "type", params: { type: "string" }, message: "must be string" };
18155
+ const err13 = { instancePath: instancePath + "/text", schemaPath: "#/$defs/data_table_raw_number_cell/properties/text/type", keyword: "type", params: { type: "string" }, message: "must be string" };
17738
18156
  if (vErrors === null) {
17739
18157
  vErrors = [err13];
17740
18158
  } else {
@@ -17744,7 +18162,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17744
18162
  }
17745
18163
  }
17746
18164
  } else {
17747
- const err14 = { instancePath, schemaPath: "#/oneOf/1/type", keyword: "type", params: { type: "object" }, message: "must be object" };
18165
+ const err14 = { instancePath, schemaPath: "#/$defs/data_table_raw_number_cell/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17748
18166
  if (vErrors === null) {
17749
18167
  vErrors = [err14];
17750
18168
  } else {
@@ -17752,7 +18170,7 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17752
18170
  }
17753
18171
  errors++;
17754
18172
  }
17755
- var _valid0 = _errs7 === errors;
18173
+ var _valid0 = _errs8 === errors;
17756
18174
  if (_valid0 && valid0) {
17757
18175
  valid0 = false;
17758
18176
  passing0 = [passing0, 1];
@@ -17764,78 +18182,12 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17764
18182
  props0 = true;
17765
18183
  }
17766
18184
  }
17767
- const _errs15 = errors;
17768
- if (data && typeof data == "object" && !Array.isArray(data)) {
17769
- if (data.type === void 0) {
17770
- const err15 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "type" }, message: "must have required property 'type'" };
17771
- if (vErrors === null) {
17772
- vErrors = [err15];
17773
- } else {
17774
- vErrors.push(err15);
17775
- }
17776
- errors++;
17777
- }
17778
- if (data.elements === void 0) {
17779
- const err16 = { instancePath, schemaPath: "#/oneOf/2/required", keyword: "required", params: { missingProperty: "elements" }, message: "must have required property 'elements'" };
17780
- if (vErrors === null) {
17781
- vErrors = [err16];
17782
- } else {
17783
- vErrors.push(err16);
17784
- }
17785
- errors++;
17786
- }
17787
- for (const key2 in data) {
17788
- if (!(key2 === "type" || key2 === "elements")) {
17789
- const err17 = { instancePath, schemaPath: "#/oneOf/2/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" };
17790
- if (vErrors === null) {
17791
- vErrors = [err17];
17792
- } else {
17793
- vErrors.push(err17);
17794
- }
17795
- errors++;
17796
- }
17797
- }
17798
- if (data.type !== void 0) {
17799
- if ("rich_text" !== data.type) {
17800
- const err18 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/2/properties/type/const", keyword: "const", params: { allowedValue: "rich_text" }, message: "must be equal to constant" };
17801
- if (vErrors === null) {
17802
- vErrors = [err18];
17803
- } else {
17804
- vErrors.push(err18);
17805
- }
17806
- errors++;
17807
- }
17808
- }
17809
- if (data.elements !== void 0) {
17810
- let data6 = data.elements;
17811
- if (Array.isArray(data6)) {
17812
- const len0 = data6.length;
17813
- for (let i0 = 0; i0 < len0; i0++) {
17814
- if (!validate133(data6[i0], { instancePath: instancePath + "/elements/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
17815
- vErrors = vErrors === null ? validate133.errors : vErrors.concat(validate133.errors);
17816
- errors = vErrors.length;
17817
- }
17818
- }
17819
- } else {
17820
- const err19 = { instancePath: instancePath + "/elements", schemaPath: "#/oneOf/2/properties/elements/type", keyword: "type", params: { type: "array" }, message: "must be array" };
17821
- if (vErrors === null) {
17822
- vErrors = [err19];
17823
- } else {
17824
- vErrors.push(err19);
17825
- }
17826
- errors++;
17827
- }
17828
- }
17829
- } else {
17830
- const err20 = { instancePath, schemaPath: "#/oneOf/2/type", keyword: "type", params: { type: "object" }, message: "must be object" };
17831
- if (vErrors === null) {
17832
- vErrors = [err20];
17833
- } else {
17834
- vErrors.push(err20);
17835
- }
17836
- errors++;
18185
+ const _errs17 = errors;
18186
+ if (!validate273(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18187
+ vErrors = vErrors === null ? validate273.errors : vErrors.concat(validate273.errors);
18188
+ errors = vErrors.length;
17837
18189
  }
17838
- var _valid0 = _errs15 === errors;
18190
+ var _valid0 = _errs17 === errors;
17839
18191
  if (_valid0 && valid0) {
17840
18192
  valid0 = false;
17841
18193
  passing0 = [passing0, 2];
@@ -17847,14 +18199,32 @@ function validate272(data, { instancePath = "", parentData, parentDataProperty,
17847
18199
  props0 = true;
17848
18200
  }
17849
18201
  }
18202
+ const _errs18 = errors;
18203
+ if (!validate276(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
18204
+ vErrors = vErrors === null ? validate276.errors : vErrors.concat(validate276.errors);
18205
+ errors = vErrors.length;
18206
+ }
18207
+ var _valid0 = _errs18 === errors;
18208
+ if (_valid0 && valid0) {
18209
+ valid0 = false;
18210
+ passing0 = [passing0, 3];
18211
+ } else {
18212
+ if (_valid0) {
18213
+ valid0 = true;
18214
+ passing0 = 3;
18215
+ if (props0 !== true) {
18216
+ props0 = true;
18217
+ }
18218
+ }
18219
+ }
17850
18220
  }
17851
18221
  }
17852
18222
  if (!valid0) {
17853
- const err21 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
18223
+ const err15 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
17854
18224
  if (vErrors === null) {
17855
- vErrors = [err21];
18225
+ vErrors = [err15];
17856
18226
  } else {
17857
- vErrors.push(err21);
18227
+ vErrors.push(err15);
17858
18228
  }
17859
18229
  errors++;
17860
18230
  } else {
@@ -18052,8 +18422,8 @@ function validate271(data, { instancePath = "", parentData, parentDataProperty,
18052
18422
  if (data.rows !== void 0) {
18053
18423
  let data5 = data.rows;
18054
18424
  if (Array.isArray(data5)) {
18055
- if (data5.length > 101) {
18056
- const err16 = { instancePath: instancePath + "/rows", schemaPath: "#/properties/rows/maxItems", keyword: "maxItems", params: { limit: 101 }, message: "must NOT have more than 101 items" };
18425
+ if (data5.length > 201) {
18426
+ const err16 = { instancePath: instancePath + "/rows", schemaPath: "#/properties/rows/maxItems", keyword: "maxItems", params: { limit: 201 }, message: "must NOT have more than 201 items" };
18057
18427
  if (vErrors === null) {
18058
18428
  vErrors = [err16];
18059
18429
  } else {
@@ -18132,11 +18502,11 @@ function validate271(data, { instancePath = "", parentData, parentDataProperty,
18132
18502
  return errors === 0;
18133
18503
  }
18134
18504
  validate271.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18135
- var schema203 = { "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" } } } }] };
18136
- function validate278(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18505
+ var schema209 = { "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" } } } }] };
18506
+ function validate283(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18137
18507
  let vErrors = null;
18138
18508
  let errors = 0;
18139
- const evaluated0 = validate278.evaluated;
18509
+ const evaluated0 = validate283.evaluated;
18140
18510
  if (evaluated0.dynamicProps) {
18141
18511
  evaluated0.props = void 0;
18142
18512
  }
@@ -18329,14 +18699,14 @@ function validate278(data, { instancePath = "", parentData, parentDataProperty,
18329
18699
  }
18330
18700
  errors++;
18331
18701
  }
18332
- validate278.errors = vErrors;
18702
+ validate283.errors = vErrors;
18333
18703
  return errors === 0;
18334
18704
  }
18335
- validate278.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18336
- function validate277(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18705
+ validate283.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18706
+ function validate282(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18337
18707
  let vErrors = null;
18338
18708
  let errors = 0;
18339
- const evaluated0 = validate277.evaluated;
18709
+ const evaluated0 = validate282.evaluated;
18340
18710
  if (evaluated0.dynamicProps) {
18341
18711
  evaluated0.props = void 0;
18342
18712
  }
@@ -18389,7 +18759,7 @@ function validate277(data, { instancePath = "", parentData, parentDataProperty,
18389
18759
  if (data.type !== void 0) {
18390
18760
  let data0 = data.type;
18391
18761
  if (!(data0 === "line" || data0 === "bar" || data0 === "area")) {
18392
- const err4 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/enum", keyword: "enum", params: { allowedValues: schema203.oneOf[0].properties.type.enum }, message: "must be equal to one of the allowed values" };
18762
+ const err4 = { instancePath: instancePath + "/type", schemaPath: "#/oneOf/0/properties/type/enum", keyword: "enum", params: { allowedValues: schema209.oneOf[0].properties.type.enum }, message: "must be equal to one of the allowed values" };
18393
18763
  if (vErrors === null) {
18394
18764
  vErrors = [err4];
18395
18765
  } else {
@@ -18421,8 +18791,8 @@ function validate277(data, { instancePath = "", parentData, parentDataProperty,
18421
18791
  }
18422
18792
  const len0 = data1.length;
18423
18793
  for (let i0 = 0; i0 < len0; i0++) {
18424
- if (!validate278(data1[i0], { instancePath: instancePath + "/series/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
18425
- vErrors = vErrors === null ? validate278.errors : vErrors.concat(validate278.errors);
18794
+ if (!validate283(data1[i0], { instancePath: instancePath + "/series/" + i0, parentData: data1, parentDataProperty: i0, rootData, dynamicAnchors })) {
18795
+ vErrors = vErrors === null ? validate283.errors : vErrors.concat(validate283.errors);
18426
18796
  errors = vErrors.length;
18427
18797
  }
18428
18798
  }
@@ -18791,15 +19161,15 @@ function validate277(data, { instancePath = "", parentData, parentDataProperty,
18791
19161
  }
18792
19162
  }
18793
19163
  }
18794
- validate277.errors = vErrors;
19164
+ validate282.errors = vErrors;
18795
19165
  evaluated0.props = props0;
18796
19166
  return errors === 0;
18797
19167
  }
18798
- validate277.evaluated = { "dynamicProps": true, "dynamicItems": false };
18799
- function validate276(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19168
+ validate282.evaluated = { "dynamicProps": true, "dynamicItems": false };
19169
+ function validate281(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18800
19170
  let vErrors = null;
18801
19171
  let errors = 0;
18802
- const evaluated0 = validate276.evaluated;
19172
+ const evaluated0 = validate281.evaluated;
18803
19173
  if (evaluated0.dynamicProps) {
18804
19174
  evaluated0.props = void 0;
18805
19175
  }
@@ -18919,8 +19289,8 @@ function validate276(data, { instancePath = "", parentData, parentDataProperty,
18919
19289
  }
18920
19290
  }
18921
19291
  if (data.chart !== void 0) {
18922
- if (!validate277(data.chart, { instancePath: instancePath + "/chart", parentData: data, parentDataProperty: "chart", rootData, dynamicAnchors })) {
18923
- vErrors = vErrors === null ? validate277.errors : vErrors.concat(validate277.errors);
19292
+ if (!validate282(data.chart, { instancePath: instancePath + "/chart", parentData: data, parentDataProperty: "chart", rootData, dynamicAnchors })) {
19293
+ vErrors = vErrors === null ? validate282.errors : vErrors.concat(validate282.errors);
18924
19294
  errors = vErrors.length;
18925
19295
  }
18926
19296
  }
@@ -18933,14 +19303,14 @@ function validate276(data, { instancePath = "", parentData, parentDataProperty,
18933
19303
  }
18934
19304
  errors++;
18935
19305
  }
18936
- validate276.errors = vErrors;
19306
+ validate281.errors = vErrors;
18937
19307
  return errors === 0;
18938
19308
  }
18939
- validate276.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
18940
- function validate287(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19309
+ validate281.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19310
+ function validate292(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
18941
19311
  let vErrors = null;
18942
19312
  let errors = 0;
18943
- const evaluated0 = validate287.evaluated;
19313
+ const evaluated0 = validate292.evaluated;
18944
19314
  if (evaluated0.dynamicProps) {
18945
19315
  evaluated0.props = void 0;
18946
19316
  }
@@ -19059,15 +19429,15 @@ function validate287(data, { instancePath = "", parentData, parentDataProperty,
19059
19429
  }
19060
19430
  errors++;
19061
19431
  }
19062
- validate287.errors = vErrors;
19432
+ validate292.errors = vErrors;
19063
19433
  return errors === 0;
19064
19434
  }
19065
- validate287.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19066
- var schema213 = { "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" } } };
19067
- function validate290(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19435
+ validate292.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19436
+ var schema219 = { "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" } } };
19437
+ function validate295(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19068
19438
  let vErrors = null;
19069
19439
  let errors = 0;
19070
- const evaluated0 = validate290.evaluated;
19440
+ const evaluated0 = validate295.evaluated;
19071
19441
  if (evaluated0.dynamicProps) {
19072
19442
  evaluated0.props = void 0;
19073
19443
  }
@@ -19294,7 +19664,7 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
19294
19664
  if (data.status !== void 0) {
19295
19665
  let data10 = data.status;
19296
19666
  if (!(data10 === "pending" || data10 === "in_progress" || data10 === "complete" || data10 === "error")) {
19297
- const err19 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema213.properties.status.enum }, message: "must be equal to one of the allowed values" };
19667
+ const err19 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema219.properties.status.enum }, message: "must be equal to one of the allowed values" };
19298
19668
  if (vErrors === null) {
19299
19669
  vErrors = [err19];
19300
19670
  } else {
@@ -19343,14 +19713,14 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
19343
19713
  }
19344
19714
  errors++;
19345
19715
  }
19346
- validate290.errors = vErrors;
19716
+ validate295.errors = vErrors;
19347
19717
  return errors === 0;
19348
19718
  }
19349
- validate290.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19350
- function validate289(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19719
+ validate295.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19720
+ function validate294(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19351
19721
  let vErrors = null;
19352
19722
  let errors = 0;
19353
- const evaluated0 = validate289.evaluated;
19723
+ const evaluated0 = validate294.evaluated;
19354
19724
  if (evaluated0.dynamicProps) {
19355
19725
  evaluated0.props = void 0;
19356
19726
  }
@@ -19586,8 +19956,8 @@ function validate289(data, { instancePath = "", parentData, parentDataProperty,
19586
19956
  if (Array.isArray(data6)) {
19587
19957
  const len0 = data6.length;
19588
19958
  for (let i0 = 0; i0 < len0; i0++) {
19589
- if (!validate290(data6[i0], { instancePath: instancePath + "/tasks/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
19590
- vErrors = vErrors === null ? validate290.errors : vErrors.concat(validate290.errors);
19959
+ if (!validate295(data6[i0], { instancePath: instancePath + "/tasks/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
19960
+ vErrors = vErrors === null ? validate295.errors : vErrors.concat(validate295.errors);
19591
19961
  errors = vErrors.length;
19592
19962
  }
19593
19963
  }
@@ -19610,15 +19980,15 @@ function validate289(data, { instancePath = "", parentData, parentDataProperty,
19610
19980
  }
19611
19981
  errors++;
19612
19982
  }
19613
- validate289.errors = vErrors;
19983
+ validate294.errors = vErrors;
19614
19984
  return errors === 0;
19615
19985
  }
19616
- validate289.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19617
- var schema216 = { "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" } } };
19618
- function validate298(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19986
+ validate294.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19987
+ var schema222 = { "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" } } };
19988
+ function validate303(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19619
19989
  let vErrors = null;
19620
19990
  let errors = 0;
19621
- const evaluated0 = validate298.evaluated;
19991
+ const evaluated0 = validate303.evaluated;
19622
19992
  if (evaluated0.dynamicProps) {
19623
19993
  evaluated0.props = void 0;
19624
19994
  }
@@ -19854,7 +20224,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
19854
20224
  if (data.status !== void 0) {
19855
20225
  let data10 = data.status;
19856
20226
  if (!(data10 === "pending" || data10 === "in_progress" || data10 === "complete" || data10 === "error")) {
19857
- const err20 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema216.properties.status.enum }, message: "must be equal to one of the allowed values" };
20227
+ const err20 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema222.properties.status.enum }, message: "must be equal to one of the allowed values" };
19858
20228
  if (vErrors === null) {
19859
20229
  vErrors = [err20];
19860
20230
  } else {
@@ -19903,10 +20273,10 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
19903
20273
  }
19904
20274
  errors++;
19905
20275
  }
19906
- validate298.errors = vErrors;
20276
+ validate303.errors = vErrors;
19907
20277
  return errors === 0;
19908
20278
  }
19909
- validate298.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
20279
+ validate303.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
19910
20280
  function validate22(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
19911
20281
  let vErrors = null;
19912
20282
  let errors = 0;
@@ -20051,8 +20421,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
20051
20421
  }
20052
20422
  }
20053
20423
  const _errs9 = errors;
20054
- if (!validate276(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20055
- vErrors = vErrors === null ? validate276.errors : vErrors.concat(validate276.errors);
20424
+ if (!validate281(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20425
+ vErrors = vErrors === null ? validate281.errors : vErrors.concat(validate281.errors);
20056
20426
  errors = vErrors.length;
20057
20427
  }
20058
20428
  var _valid0 = _errs9 === errors;
@@ -20153,8 +20523,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
20153
20523
  }
20154
20524
  }
20155
20525
  const _errs15 = errors;
20156
- if (!validate287(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20157
- vErrors = vErrors === null ? validate287.errors : vErrors.concat(validate287.errors);
20526
+ if (!validate292(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20527
+ vErrors = vErrors === null ? validate292.errors : vErrors.concat(validate292.errors);
20158
20528
  errors = vErrors.length;
20159
20529
  }
20160
20530
  var _valid0 = _errs15 === errors;
@@ -20170,8 +20540,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
20170
20540
  }
20171
20541
  }
20172
20542
  const _errs16 = errors;
20173
- if (!validate289(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20174
- vErrors = vErrors === null ? validate289.errors : vErrors.concat(validate289.errors);
20543
+ if (!validate294(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20544
+ vErrors = vErrors === null ? validate294.errors : vErrors.concat(validate294.errors);
20175
20545
  errors = vErrors.length;
20176
20546
  }
20177
20547
  var _valid0 = _errs16 === errors;
@@ -20238,8 +20608,8 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
20238
20608
  }
20239
20609
  }
20240
20610
  const _errs20 = errors;
20241
- if (!validate298(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20242
- vErrors = vErrors === null ? validate298.errors : vErrors.concat(validate298.errors);
20611
+ if (!validate303(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
20612
+ vErrors = vErrors === null ? validate303.errors : vErrors.concat(validate303.errors);
20243
20613
  errors = vErrors.length;
20244
20614
  }
20245
20615
  var _valid0 = _errs20 === errors;
@@ -20364,12 +20734,12 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
20364
20734
  return errors === 0;
20365
20735
  }
20366
20736
  validate21.evaluated = { "items": true, "dynamicProps": false, "dynamicItems": false };
20367
- var validateModal = validate402;
20368
- var schema220 = { "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"] } }] };
20369
- function validate402(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20737
+ var validateModal = validate407;
20738
+ var schema226 = { "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"] } }] };
20739
+ function validate407(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
20370
20740
  let vErrors = null;
20371
20741
  let errors = 0;
20372
- const evaluated0 = validate402.evaluated;
20742
+ const evaluated0 = validate407.evaluated;
20373
20743
  if (evaluated0.dynamicProps) {
20374
20744
  evaluated0.props = void 0;
20375
20745
  }
@@ -20511,7 +20881,7 @@ function validate402(data, { instancePath = "", parentData, parentDataProperty,
20511
20881
  errors++;
20512
20882
  }
20513
20883
  for (const key0 in data) {
20514
- if (!func81.call(schema220.properties, key0)) {
20884
+ if (!func81.call(schema226.properties, key0)) {
20515
20885
  const err9 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
20516
20886
  if (vErrors === null) {
20517
20887
  vErrors = [err9];
@@ -21011,15 +21381,15 @@ function validate402(data, { instancePath = "", parentData, parentDataProperty,
21011
21381
  }
21012
21382
  errors++;
21013
21383
  }
21014
- validate402.errors = vErrors;
21384
+ validate407.errors = vErrors;
21015
21385
  return errors === 0;
21016
21386
  }
21017
- validate402.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21018
- var validateHome = validate404;
21019
- function validate404(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21387
+ validate407.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21388
+ var validateHome = validate409;
21389
+ function validate409(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21020
21390
  let vErrors = null;
21021
21391
  let errors = 0;
21022
- const evaluated0 = validate404.evaluated;
21392
+ const evaluated0 = validate409.evaluated;
21023
21393
  if (evaluated0.dynamicProps) {
21024
21394
  evaluated0.props = void 0;
21025
21395
  }
@@ -21180,15 +21550,15 @@ function validate404(data, { instancePath = "", parentData, parentDataProperty,
21180
21550
  }
21181
21551
  errors++;
21182
21552
  }
21183
- validate404.errors = vErrors;
21553
+ validate409.errors = vErrors;
21184
21554
  return errors === 0;
21185
21555
  }
21186
- validate404.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21187
- var actions_block = validate406;
21188
- function validate406(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21556
+ validate409.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21557
+ var actions_block = validate411;
21558
+ function validate411(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21189
21559
  let vErrors = null;
21190
21560
  let errors = 0;
21191
- const evaluated0 = validate406.evaluated;
21561
+ const evaluated0 = validate411.evaluated;
21192
21562
  if (evaluated0.dynamicProps) {
21193
21563
  evaluated0.props = void 0;
21194
21564
  }
@@ -21314,15 +21684,15 @@ function validate406(data, { instancePath = "", parentData, parentDataProperty,
21314
21684
  }
21315
21685
  errors++;
21316
21686
  }
21317
- validate406.errors = vErrors;
21687
+ validate411.errors = vErrors;
21318
21688
  return errors === 0;
21319
21689
  }
21320
- validate406.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21321
- var alert_block = validate408;
21322
- function validate408(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21690
+ validate411.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21691
+ var alert_block = validate413;
21692
+ function validate413(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21323
21693
  let vErrors = null;
21324
21694
  let errors = 0;
21325
- const evaluated0 = validate408.evaluated;
21695
+ const evaluated0 = validate413.evaluated;
21326
21696
  if (evaluated0.dynamicProps) {
21327
21697
  evaluated0.props = void 0;
21328
21698
  }
@@ -21428,15 +21798,15 @@ function validate408(data, { instancePath = "", parentData, parentDataProperty,
21428
21798
  }
21429
21799
  errors++;
21430
21800
  }
21431
- validate408.errors = vErrors;
21801
+ validate413.errors = vErrors;
21432
21802
  return errors === 0;
21433
21803
  }
21434
- validate408.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21435
- var card_block = validate410;
21436
- function validate410(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21804
+ validate413.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21805
+ var card_block = validate415;
21806
+ function validate415(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21437
21807
  let vErrors = null;
21438
21808
  let errors = 0;
21439
- const evaluated0 = validate410.evaluated;
21809
+ const evaluated0 = validate415.evaluated;
21440
21810
  if (evaluated0.dynamicProps) {
21441
21811
  evaluated0.props = void 0;
21442
21812
  }
@@ -21728,15 +22098,15 @@ function validate410(data, { instancePath = "", parentData, parentDataProperty,
21728
22098
  }
21729
22099
  errors++;
21730
22100
  }
21731
- validate410.errors = vErrors;
22101
+ validate415.errors = vErrors;
21732
22102
  return errors === 0;
21733
22103
  }
21734
- validate410.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21735
- var carousel_block = validate417;
21736
- function validate417(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22104
+ validate415.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22105
+ var carousel_block = validate422;
22106
+ function validate422(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21737
22107
  let vErrors = null;
21738
22108
  let errors = 0;
21739
- const evaluated0 = validate417.evaluated;
22109
+ const evaluated0 = validate422.evaluated;
21740
22110
  if (evaluated0.dynamicProps) {
21741
22111
  evaluated0.props = void 0;
21742
22112
  }
@@ -21862,15 +22232,15 @@ function validate417(data, { instancePath = "", parentData, parentDataProperty,
21862
22232
  }
21863
22233
  errors++;
21864
22234
  }
21865
- validate417.errors = vErrors;
22235
+ validate422.errors = vErrors;
21866
22236
  return errors === 0;
21867
22237
  }
21868
- validate417.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
21869
- var container_block = validate419;
21870
- function validate419(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22238
+ validate422.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22239
+ var container_block = validate424;
22240
+ function validate424(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
21871
22241
  let vErrors = null;
21872
22242
  let errors = 0;
21873
- const evaluated0 = validate419.evaluated;
22243
+ const evaluated0 = validate424.evaluated;
21874
22244
  if (evaluated0.dynamicProps) {
21875
22245
  evaluated0.props = void 0;
21876
22246
  }
@@ -22318,15 +22688,15 @@ function validate419(data, { instancePath = "", parentData, parentDataProperty,
22318
22688
  }
22319
22689
  errors++;
22320
22690
  }
22321
- validate419.errors = vErrors;
22691
+ validate424.errors = vErrors;
22322
22692
  return errors === 0;
22323
22693
  }
22324
- validate419.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22325
- var context_block = validate424;
22326
- function validate424(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22694
+ validate424.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22695
+ var context_block = validate429;
22696
+ function validate429(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22327
22697
  let vErrors = null;
22328
22698
  let errors = 0;
22329
- const evaluated0 = validate424.evaluated;
22699
+ const evaluated0 = validate429.evaluated;
22330
22700
  if (evaluated0.dynamicProps) {
22331
22701
  evaluated0.props = void 0;
22332
22702
  }
@@ -22452,15 +22822,15 @@ function validate424(data, { instancePath = "", parentData, parentDataProperty,
22452
22822
  }
22453
22823
  errors++;
22454
22824
  }
22455
- validate424.errors = vErrors;
22825
+ validate429.errors = vErrors;
22456
22826
  return errors === 0;
22457
22827
  }
22458
- validate424.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22459
- var context_actions_block = validate426;
22460
- function validate426(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22828
+ validate429.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22829
+ var context_actions_block = validate431;
22830
+ function validate431(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22461
22831
  let vErrors = null;
22462
22832
  let errors = 0;
22463
- const evaluated0 = validate426.evaluated;
22833
+ const evaluated0 = validate431.evaluated;
22464
22834
  if (evaluated0.dynamicProps) {
22465
22835
  evaluated0.props = void 0;
22466
22836
  }
@@ -22586,15 +22956,15 @@ function validate426(data, { instancePath = "", parentData, parentDataProperty,
22586
22956
  }
22587
22957
  errors++;
22588
22958
  }
22589
- validate426.errors = vErrors;
22959
+ validate431.errors = vErrors;
22590
22960
  return errors === 0;
22591
22961
  }
22592
- validate426.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22593
- var data_table_block = validate428;
22594
- function validate428(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22962
+ validate431.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22963
+ var data_table_block = validate433;
22964
+ function validate433(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22595
22965
  let vErrors = null;
22596
22966
  let errors = 0;
22597
- const evaluated0 = validate428.evaluated;
22967
+ const evaluated0 = validate433.evaluated;
22598
22968
  if (evaluated0.dynamicProps) {
22599
22969
  evaluated0.props = void 0;
22600
22970
  }
@@ -22771,8 +23141,8 @@ function validate428(data, { instancePath = "", parentData, parentDataProperty,
22771
23141
  if (data.rows !== void 0) {
22772
23142
  let data5 = data.rows;
22773
23143
  if (Array.isArray(data5)) {
22774
- if (data5.length > 101) {
22775
- const err16 = { instancePath: instancePath + "/rows", schemaPath: "#/properties/rows/maxItems", keyword: "maxItems", params: { limit: 101 }, message: "must NOT have more than 101 items" };
23144
+ if (data5.length > 201) {
23145
+ const err16 = { instancePath: instancePath + "/rows", schemaPath: "#/properties/rows/maxItems", keyword: "maxItems", params: { limit: 201 }, message: "must NOT have more than 201 items" };
22776
23146
  if (vErrors === null) {
22777
23147
  vErrors = [err16];
22778
23148
  } else {
@@ -22847,15 +23217,15 @@ function validate428(data, { instancePath = "", parentData, parentDataProperty,
22847
23217
  }
22848
23218
  errors++;
22849
23219
  }
22850
- validate428.errors = vErrors;
23220
+ validate433.errors = vErrors;
22851
23221
  return errors === 0;
22852
23222
  }
22853
- validate428.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22854
- var data_visualization_block = validate430;
22855
- function validate430(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23223
+ validate433.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23224
+ var data_visualization_block = validate435;
23225
+ function validate435(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22856
23226
  let vErrors = null;
22857
23227
  let errors = 0;
22858
- const evaluated0 = validate430.evaluated;
23228
+ const evaluated0 = validate435.evaluated;
22859
23229
  if (evaluated0.dynamicProps) {
22860
23230
  evaluated0.props = void 0;
22861
23231
  }
@@ -22975,8 +23345,8 @@ function validate430(data, { instancePath = "", parentData, parentDataProperty,
22975
23345
  }
22976
23346
  }
22977
23347
  if (data.chart !== void 0) {
22978
- if (!validate277(data.chart, { instancePath: instancePath + "/chart", parentData: data, parentDataProperty: "chart", rootData, dynamicAnchors })) {
22979
- vErrors = vErrors === null ? validate277.errors : vErrors.concat(validate277.errors);
23348
+ if (!validate282(data.chart, { instancePath: instancePath + "/chart", parentData: data, parentDataProperty: "chart", rootData, dynamicAnchors })) {
23349
+ vErrors = vErrors === null ? validate282.errors : vErrors.concat(validate282.errors);
22980
23350
  errors = vErrors.length;
22981
23351
  }
22982
23352
  }
@@ -22989,15 +23359,15 @@ function validate430(data, { instancePath = "", parentData, parentDataProperty,
22989
23359
  }
22990
23360
  errors++;
22991
23361
  }
22992
- validate430.errors = vErrors;
23362
+ validate435.errors = vErrors;
22993
23363
  return errors === 0;
22994
23364
  }
22995
- validate430.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
22996
- var divider_block = validate432;
22997
- function validate432(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23365
+ validate435.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23366
+ var divider_block = validate437;
23367
+ function validate437(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
22998
23368
  let vErrors = null;
22999
23369
  let errors = 0;
23000
- const evaluated0 = validate432.evaluated;
23370
+ const evaluated0 = validate437.evaluated;
23001
23371
  if (evaluated0.dynamicProps) {
23002
23372
  evaluated0.props = void 0;
23003
23373
  }
@@ -23076,15 +23446,15 @@ function validate432(data, { instancePath = "", parentData, parentDataProperty,
23076
23446
  }
23077
23447
  errors++;
23078
23448
  }
23079
- validate432.errors = vErrors;
23449
+ validate437.errors = vErrors;
23080
23450
  return errors === 0;
23081
23451
  }
23082
- validate432.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23083
- var file_block = validate433;
23084
- function validate433(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23452
+ validate437.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23453
+ var file_block = validate438;
23454
+ function validate438(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23085
23455
  let vErrors = null;
23086
23456
  let errors = 0;
23087
- const evaluated0 = validate433.evaluated;
23457
+ const evaluated0 = validate438.evaluated;
23088
23458
  if (evaluated0.dynamicProps) {
23089
23459
  evaluated0.props = void 0;
23090
23460
  }
@@ -23214,15 +23584,15 @@ function validate433(data, { instancePath = "", parentData, parentDataProperty,
23214
23584
  }
23215
23585
  errors++;
23216
23586
  }
23217
- validate433.errors = vErrors;
23587
+ validate438.errors = vErrors;
23218
23588
  return errors === 0;
23219
23589
  }
23220
- validate433.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23221
- var header_block = validate434;
23222
- function validate434(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23590
+ validate438.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23591
+ var header_block = validate439;
23592
+ function validate439(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23223
23593
  let vErrors = null;
23224
23594
  let errors = 0;
23225
- const evaluated0 = validate434.evaluated;
23595
+ const evaluated0 = validate439.evaluated;
23226
23596
  if (evaluated0.dynamicProps) {
23227
23597
  evaluated0.props = void 0;
23228
23598
  }
@@ -23453,15 +23823,15 @@ function validate434(data, { instancePath = "", parentData, parentDataProperty,
23453
23823
  }
23454
23824
  errors++;
23455
23825
  }
23456
- validate434.errors = vErrors;
23826
+ validate439.errors = vErrors;
23457
23827
  return errors === 0;
23458
23828
  }
23459
- validate434.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23460
- var image_block = validate435;
23461
- function validate435(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23829
+ validate439.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
23830
+ var image_block = validate440;
23831
+ function validate440(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
23462
23832
  let vErrors = null;
23463
23833
  let errors = 0;
23464
- const evaluated0 = validate435.evaluated;
23834
+ const evaluated0 = validate440.evaluated;
23465
23835
  if (evaluated0.dynamicProps) {
23466
23836
  evaluated0.props = void 0;
23467
23837
  }
@@ -24042,15 +24412,15 @@ function validate435(data, { instancePath = "", parentData, parentDataProperty,
24042
24412
  }
24043
24413
  errors++;
24044
24414
  }
24045
- validate435.errors = vErrors;
24415
+ validate440.errors = vErrors;
24046
24416
  return errors === 0;
24047
24417
  }
24048
- validate435.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24049
- var input_block = validate436;
24050
- function validate436(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24418
+ validate440.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24419
+ var input_block = validate441;
24420
+ function validate441(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24051
24421
  let vErrors = null;
24052
24422
  let errors = 0;
24053
- const evaluated0 = validate436.evaluated;
24423
+ const evaluated0 = validate441.evaluated;
24054
24424
  if (evaluated0.dynamicProps) {
24055
24425
  evaluated0.props = void 0;
24056
24426
  }
@@ -24481,15 +24851,15 @@ function validate436(data, { instancePath = "", parentData, parentDataProperty,
24481
24851
  }
24482
24852
  errors++;
24483
24853
  }
24484
- validate436.errors = vErrors;
24854
+ validate441.errors = vErrors;
24485
24855
  return errors === 0;
24486
24856
  }
24487
- validate436.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24488
- var markdown_block = validate438;
24489
- function validate438(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24857
+ validate441.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24858
+ var markdown_block = validate443;
24859
+ function validate443(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24490
24860
  let vErrors = null;
24491
24861
  let errors = 0;
24492
- const evaluated0 = validate438.evaluated;
24862
+ const evaluated0 = validate443.evaluated;
24493
24863
  if (evaluated0.dynamicProps) {
24494
24864
  evaluated0.props = void 0;
24495
24865
  }
@@ -24608,15 +24978,15 @@ function validate438(data, { instancePath = "", parentData, parentDataProperty,
24608
24978
  }
24609
24979
  errors++;
24610
24980
  }
24611
- validate438.errors = vErrors;
24981
+ validate443.errors = vErrors;
24612
24982
  return errors === 0;
24613
24983
  }
24614
- validate438.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24615
- var plan_block = validate439;
24616
- function validate439(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24984
+ validate443.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24985
+ var plan_block = validate444;
24986
+ function validate444(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24617
24987
  let vErrors = null;
24618
24988
  let errors = 0;
24619
- const evaluated0 = validate439.evaluated;
24989
+ const evaluated0 = validate444.evaluated;
24620
24990
  if (evaluated0.dynamicProps) {
24621
24991
  evaluated0.props = void 0;
24622
24992
  }
@@ -24852,8 +25222,8 @@ function validate439(data, { instancePath = "", parentData, parentDataProperty,
24852
25222
  if (Array.isArray(data6)) {
24853
25223
  const len0 = data6.length;
24854
25224
  for (let i0 = 0; i0 < len0; i0++) {
24855
- if (!validate290(data6[i0], { instancePath: instancePath + "/tasks/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
24856
- vErrors = vErrors === null ? validate290.errors : vErrors.concat(validate290.errors);
25225
+ if (!validate295(data6[i0], { instancePath: instancePath + "/tasks/" + i0, parentData: data6, parentDataProperty: i0, rootData, dynamicAnchors })) {
25226
+ vErrors = vErrors === null ? validate295.errors : vErrors.concat(validate295.errors);
24857
25227
  errors = vErrors.length;
24858
25228
  }
24859
25229
  }
@@ -24876,15 +25246,15 @@ function validate439(data, { instancePath = "", parentData, parentDataProperty,
24876
25246
  }
24877
25247
  errors++;
24878
25248
  }
24879
- validate439.errors = vErrors;
25249
+ validate444.errors = vErrors;
24880
25250
  return errors === 0;
24881
25251
  }
24882
- validate439.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24883
- var rich_text_block = validate441;
24884
- function validate441(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25252
+ validate444.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25253
+ var rich_text_block = validate446;
25254
+ function validate446(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
24885
25255
  let vErrors = null;
24886
25256
  let errors = 0;
24887
- const evaluated0 = validate441.evaluated;
25257
+ const evaluated0 = validate446.evaluated;
24888
25258
  if (evaluated0.dynamicProps) {
24889
25259
  evaluated0.props = void 0;
24890
25260
  }
@@ -24992,15 +25362,15 @@ function validate441(data, { instancePath = "", parentData, parentDataProperty,
24992
25362
  }
24993
25363
  errors++;
24994
25364
  }
24995
- validate441.errors = vErrors;
25365
+ validate446.errors = vErrors;
24996
25366
  return errors === 0;
24997
25367
  }
24998
- validate441.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
24999
- var section_block = validate443;
25000
- function validate443(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25368
+ validate446.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25369
+ var section_block = validate448;
25370
+ function validate448(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25001
25371
  let vErrors = null;
25002
25372
  let errors = 0;
25003
- const evaluated0 = validate443.evaluated;
25373
+ const evaluated0 = validate448.evaluated;
25004
25374
  if (evaluated0.dynamicProps) {
25005
25375
  evaluated0.props = void 0;
25006
25376
  }
@@ -25211,15 +25581,15 @@ function validate443(data, { instancePath = "", parentData, parentDataProperty,
25211
25581
  }
25212
25582
  errors++;
25213
25583
  }
25214
- validate443.errors = vErrors;
25584
+ validate448.errors = vErrors;
25215
25585
  return errors === 0;
25216
25586
  }
25217
- validate443.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25218
- var table_block = validate447;
25219
- function validate447(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25587
+ validate448.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25588
+ var table_block = validate452;
25589
+ function validate452(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25220
25590
  let vErrors = null;
25221
25591
  let errors = 0;
25222
- const evaluated0 = validate447.evaluated;
25592
+ const evaluated0 = validate452.evaluated;
25223
25593
  if (evaluated0.dynamicProps) {
25224
25594
  evaluated0.props = void 0;
25225
25595
  }
@@ -25494,15 +25864,15 @@ function validate447(data, { instancePath = "", parentData, parentDataProperty,
25494
25864
  }
25495
25865
  errors++;
25496
25866
  }
25497
- validate447.errors = vErrors;
25867
+ validate452.errors = vErrors;
25498
25868
  return errors === 0;
25499
25869
  }
25500
- validate447.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25501
- var task_card_block = validate449;
25502
- function validate449(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25870
+ validate452.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25871
+ var task_card_block = validate454;
25872
+ function validate454(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25503
25873
  let vErrors = null;
25504
25874
  let errors = 0;
25505
- const evaluated0 = validate449.evaluated;
25875
+ const evaluated0 = validate454.evaluated;
25506
25876
  if (evaluated0.dynamicProps) {
25507
25877
  evaluated0.props = void 0;
25508
25878
  }
@@ -25738,7 +26108,7 @@ function validate449(data, { instancePath = "", parentData, parentDataProperty,
25738
26108
  if (data.status !== void 0) {
25739
26109
  let data10 = data.status;
25740
26110
  if (!(data10 === "pending" || data10 === "in_progress" || data10 === "complete" || data10 === "error")) {
25741
- const err20 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema216.properties.status.enum }, message: "must be equal to one of the allowed values" };
26111
+ const err20 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema222.properties.status.enum }, message: "must be equal to one of the allowed values" };
25742
26112
  if (vErrors === null) {
25743
26113
  vErrors = [err20];
25744
26114
  } else {
@@ -25787,15 +26157,15 @@ function validate449(data, { instancePath = "", parentData, parentDataProperty,
25787
26157
  }
25788
26158
  errors++;
25789
26159
  }
25790
- validate449.errors = vErrors;
26160
+ validate454.errors = vErrors;
25791
26161
  return errors === 0;
25792
26162
  }
25793
- validate449.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
25794
- var video_block = validate452;
25795
- function validate452(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
26163
+ validate454.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
26164
+ var video_block = validate457;
26165
+ function validate457(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
25796
26166
  let vErrors = null;
25797
26167
  let errors = 0;
25798
- const evaluated0 = validate452.evaluated;
26168
+ const evaluated0 = validate457.evaluated;
25799
26169
  if (evaluated0.dynamicProps) {
25800
26170
  evaluated0.props = void 0;
25801
26171
  }
@@ -26304,10 +26674,10 @@ function validate452(data, { instancePath = "", parentData, parentDataProperty,
26304
26674
  }
26305
26675
  errors++;
26306
26676
  }
26307
- validate452.errors = vErrors;
26677
+ validate457.errors = vErrors;
26308
26678
  return errors === 0;
26309
26679
  }
26310
- validate452.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
26680
+ validate457.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
26311
26681
  var blockValidators = { "actions": actions_block, "alert": alert_block, "card": card_block, "carousel": carousel_block, "container": container_block, "context": context_block, "context_actions": context_actions_block, "data_table": data_table_block, "data_visualization": data_visualization_block, "divider": divider_block, "file": file_block, "header": header_block, "image": image_block, "input": input_block, "markdown": markdown_block, "plan": plan_block, "rich_text": rich_text_block, "section": section_block, "table": table_block, "task_card": task_card_block, "video": video_block };
26312
26682
  export {
26313
26683
  actions_block,