@semiont/core 0.5.31 → 0.5.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.js CHANGED
@@ -20670,8 +20670,50 @@ var require_openapi_validators = __commonJS({
20670
20670
  validate169.errors = vErrors;
20671
20671
  return errors === 0;
20672
20672
  }
20673
- exports.EnrichedResourceEvent = validate170;
20673
+ exports.DurabilityEvidence = validate170;
20674
+ var schema143 = { "enum": ["acknowledged", "probe-confirmed", "probe-refused", "probe-unreachable"]};
20674
20675
  function validate170(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20676
+ let vErrors = null;
20677
+ let errors = 0;
20678
+ if (typeof data !== "string") {
20679
+ let dataType0 = typeof data;
20680
+ let coerced0 = void 0;
20681
+ if (!(coerced0 !== void 0)) {
20682
+ if (dataType0 == "number" || dataType0 == "boolean") {
20683
+ coerced0 = "" + data;
20684
+ } else if (data === null) {
20685
+ coerced0 = "";
20686
+ } else {
20687
+ const err0 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "string" }, message: "must be string" };
20688
+ if (vErrors === null) {
20689
+ vErrors = [err0];
20690
+ } else {
20691
+ vErrors.push(err0);
20692
+ }
20693
+ errors++;
20694
+ }
20695
+ }
20696
+ if (coerced0 !== void 0) {
20697
+ data = coerced0;
20698
+ if (parentData !== void 0) {
20699
+ parentData[parentDataProperty] = coerced0;
20700
+ }
20701
+ }
20702
+ }
20703
+ if (!(data === "acknowledged" || data === "probe-confirmed" || data === "probe-refused" || data === "probe-unreachable")) {
20704
+ const err1 = { instancePath, schemaPath: "#/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
20705
+ if (vErrors === null) {
20706
+ vErrors = [err1];
20707
+ } else {
20708
+ vErrors.push(err1);
20709
+ }
20710
+ errors++;
20711
+ }
20712
+ validate170.errors = vErrors;
20713
+ return errors === 0;
20714
+ }
20715
+ exports.EnrichedResourceEvent = validate171;
20716
+ function validate171(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20675
20717
  let vErrors = null;
20676
20718
  let errors = 0;
20677
20719
  if (!(data && typeof data == "object" && !Array.isArray(data))) {
@@ -20703,11 +20745,11 @@ var require_openapi_validators = __commonJS({
20703
20745
  }
20704
20746
  errors++;
20705
20747
  }
20706
- validate170.errors = vErrors;
20748
+ validate171.errors = vErrors;
20707
20749
  return errors === 0;
20708
20750
  }
20709
- exports.EntityTagChangedPayload = validate173;
20710
- function validate173(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20751
+ exports.EntityTagChangedPayload = validate174;
20752
+ function validate174(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20711
20753
  let vErrors = null;
20712
20754
  let errors = 0;
20713
20755
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -20757,11 +20799,11 @@ var require_openapi_validators = __commonJS({
20757
20799
  }
20758
20800
  errors++;
20759
20801
  }
20760
- validate173.errors = vErrors;
20802
+ validate174.errors = vErrors;
20761
20803
  return errors === 0;
20762
20804
  }
20763
- exports.EntityTypeAddedPayload = validate174;
20764
- function validate174(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20805
+ exports.EntityTypeAddedPayload = validate175;
20806
+ function validate175(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20765
20807
  let vErrors = null;
20766
20808
  let errors = 0;
20767
20809
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -20811,11 +20853,11 @@ var require_openapi_validators = __commonJS({
20811
20853
  }
20812
20854
  errors++;
20813
20855
  }
20814
- validate174.errors = vErrors;
20856
+ validate175.errors = vErrors;
20815
20857
  return errors === 0;
20816
20858
  }
20817
- exports.ErrorResponse = validate175;
20818
- function validate175(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20859
+ exports.ErrorResponse = validate176;
20860
+ function validate176(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20819
20861
  let vErrors = null;
20820
20862
  let errors = 0;
20821
20863
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -20893,11 +20935,11 @@ var require_openapi_validators = __commonJS({
20893
20935
  }
20894
20936
  errors++;
20895
20937
  }
20896
- validate175.errors = vErrors;
20938
+ validate176.errors = vErrors;
20897
20939
  return errors === 0;
20898
20940
  }
20899
- exports.EventMetadata = validate176;
20900
- function validate176(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20941
+ exports.EventMetadata = validate177;
20942
+ function validate177(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20901
20943
  let vErrors = null;
20902
20944
  let errors = 0;
20903
20945
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -20973,11 +21015,11 @@ var require_openapi_validators = __commonJS({
20973
21015
  }
20974
21016
  errors++;
20975
21017
  }
20976
- validate176.errors = vErrors;
21018
+ validate177.errors = vErrors;
20977
21019
  return errors === 0;
20978
21020
  }
20979
- exports.EventStreamResponse = validate177;
20980
- function validate177(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21021
+ exports.EventStreamResponse = validate178;
21022
+ function validate178(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
20981
21023
  let vErrors = null;
20982
21024
  let errors = 0;
20983
21025
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -21092,12 +21134,12 @@ var require_openapi_validators = __commonJS({
21092
21134
  }
21093
21135
  errors++;
21094
21136
  }
21095
- validate177.errors = vErrors;
21137
+ validate178.errors = vErrors;
21096
21138
  return errors === 0;
21097
21139
  }
21098
21140
  exports.ExtractedText = validate21;
21099
- exports.ExtractionDeclined = validate178;
21100
- function validate178(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21141
+ exports.ExtractionDeclined = validate179;
21142
+ function validate179(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21101
21143
  let vErrors = null;
21102
21144
  let errors = 0;
21103
21145
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -21202,11 +21244,11 @@ var require_openapi_validators = __commonJS({
21202
21244
  }
21203
21245
  errors++;
21204
21246
  }
21205
- validate178.errors = vErrors;
21247
+ validate179.errors = vErrors;
21206
21248
  return errors === 0;
21207
21249
  }
21208
- exports.ExtractionOutcome = validate179;
21209
- function validate179(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21250
+ exports.ExtractionOutcome = validate180;
21251
+ function validate180(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21210
21252
  let vErrors = null;
21211
21253
  let errors = 0;
21212
21254
  const _errs0 = errors;
@@ -21353,11 +21395,53 @@ var require_openapi_validators = __commonJS({
21353
21395
  }
21354
21396
  }
21355
21397
  }
21356
- validate179.errors = vErrors;
21398
+ validate180.errors = vErrors;
21399
+ return errors === 0;
21400
+ }
21401
+ exports.FailureClass = validate182;
21402
+ var schema153 = { "enum": ["transient", "deterministic"]};
21403
+ function validate182(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21404
+ let vErrors = null;
21405
+ let errors = 0;
21406
+ if (typeof data !== "string") {
21407
+ let dataType0 = typeof data;
21408
+ let coerced0 = void 0;
21409
+ if (!(coerced0 !== void 0)) {
21410
+ if (dataType0 == "number" || dataType0 == "boolean") {
21411
+ coerced0 = "" + data;
21412
+ } else if (data === null) {
21413
+ coerced0 = "";
21414
+ } else {
21415
+ const err0 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "string" }, message: "must be string" };
21416
+ if (vErrors === null) {
21417
+ vErrors = [err0];
21418
+ } else {
21419
+ vErrors.push(err0);
21420
+ }
21421
+ errors++;
21422
+ }
21423
+ }
21424
+ if (coerced0 !== void 0) {
21425
+ data = coerced0;
21426
+ if (parentData !== void 0) {
21427
+ parentData[parentDataProperty] = coerced0;
21428
+ }
21429
+ }
21430
+ }
21431
+ if (!(data === "transient" || data === "deterministic")) {
21432
+ const err1 = { instancePath, schemaPath: "#/enum", keyword: "enum", params: { allowedValues: schema153.enum }, message: "must be equal to one of the allowed values" };
21433
+ if (vErrors === null) {
21434
+ vErrors = [err1];
21435
+ } else {
21436
+ vErrors.push(err1);
21437
+ }
21438
+ errors++;
21439
+ }
21440
+ validate182.errors = vErrors;
21357
21441
  return errors === 0;
21358
21442
  }
21359
- exports.FileEntry = validate181;
21360
- function validate181(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21443
+ exports.FileEntry = validate183;
21444
+ function validate183(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21361
21445
  let vErrors = null;
21362
21446
  let errors = 0;
21363
21447
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -21744,11 +21828,11 @@ var require_openapi_validators = __commonJS({
21744
21828
  }
21745
21829
  errors++;
21746
21830
  }
21747
- validate181.errors = vErrors;
21831
+ validate183.errors = vErrors;
21748
21832
  return errors === 0;
21749
21833
  }
21750
- exports.FragmentSelector = validate182;
21751
- function validate182(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21834
+ exports.FragmentSelector = validate184;
21835
+ function validate184(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21752
21836
  let vErrors = null;
21753
21837
  let errors = 0;
21754
21838
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -21872,11 +21956,11 @@ var require_openapi_validators = __commonJS({
21872
21956
  }
21873
21957
  errors++;
21874
21958
  }
21875
- validate182.errors = vErrors;
21959
+ validate184.errors = vErrors;
21876
21960
  return errors === 0;
21877
21961
  }
21878
- exports.FrameAddEntityTypeCommand = validate183;
21879
- function validate183(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21962
+ exports.FrameAddEntityTypeCommand = validate185;
21963
+ function validate185(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21880
21964
  let vErrors = null;
21881
21965
  let errors = 0;
21882
21966
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -21982,11 +22066,11 @@ var require_openapi_validators = __commonJS({
21982
22066
  }
21983
22067
  errors++;
21984
22068
  }
21985
- validate183.errors = vErrors;
22069
+ validate185.errors = vErrors;
21986
22070
  return errors === 0;
21987
22071
  }
21988
- exports.FrameAddTagSchemaCommand = validate184;
21989
- function validate184(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22072
+ exports.FrameAddTagSchemaCommand = validate186;
22073
+ function validate186(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
21990
22074
  let vErrors = null;
21991
22075
  let errors = 0;
21992
22076
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -22070,14 +22154,14 @@ var require_openapi_validators = __commonJS({
22070
22154
  }
22071
22155
  errors++;
22072
22156
  }
22073
- validate184.errors = vErrors;
22157
+ validate186.errors = vErrors;
22074
22158
  return errors === 0;
22075
22159
  }
22076
- exports.GatherAnnotationComplete = validate186;
22077
- var schema157 = { "properties": { "focus": { "oneOf": [{ "type": "object", "description": "Annotation-anchored focus.", "properties": { "kind": { "type": "string", "enum": ["annotation"] }, "annotation": { "$ref": "#/components/schemas/Annotation", "description": "The annotation this context was gathered for" }, "sourceResource": { "$ref": "#/components/schemas/ResourceDescriptor", "description": "The resource containing the annotation" }, "selected": { "type": "object", "description": "Text context around the annotation target", "properties": { "before": { "type": "string", "description": "Text appearing before the selected passage" }, "text": { "type": "string", "description": "The selected text passage (the annotation target)" }, "after": { "type": "string", "description": "Text appearing after the selected passage" } }, "required": ["text"] }, "userHint": { "type": "string", "description": "User-provided hint to supplement or replace the selected text for search and generation" }, "targetResource": { "$ref": "#/components/schemas/ResourceDescriptor", "description": "The resource the annotation links to, if it is a resolved reference. Dormant capability \u2014 produced/exposed but not yet consumed (see LINK-TARGET-CONTEXT.md)." }, "targetContext": { "type": "object", "description": "Context about the annotation's link target. Dormant \u2014 see LINK-TARGET-CONTEXT.md.", "properties": { "content": { "type": "string" }, "summary": { "type": "string" } }, "required": ["content"] } }, "required": ["kind", "annotation", "sourceResource"] }, { "type": "object", "description": "Whole-resource focus.", "properties": { "kind": { "type": "string", "enum": ["resource"] }, "resource": { "$ref": "#/components/schemas/ResourceDescriptor", "description": "The resource this context was gathered for" }, "summary": { "type": "string" }, "suggestedReferences": { "type": "array", "items": { "type": "string" } }, "content": { "type": "object", "description": "Resource content (included when requested)", "properties": { "main": { "type": "string", "description": "Content of the focal resource" }, "related": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Map of related resource IDs to their content" } } } }, "required": ["kind", "resource"] }] }}};
22078
- var schema159 = { "properties": { "type": { "enum": ["resource"] }}};
22079
- var schema160 = { "properties": { "type": { "enum": ["annotation"] }}};
22080
- function validate193(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22160
+ exports.GatherAnnotationComplete = validate188;
22161
+ var schema159 = { "properties": { "focus": { "oneOf": [{ "type": "object", "description": "Annotation-anchored focus.", "properties": { "kind": { "type": "string", "enum": ["annotation"] }, "annotation": { "$ref": "#/components/schemas/Annotation", "description": "The annotation this context was gathered for" }, "sourceResource": { "$ref": "#/components/schemas/ResourceDescriptor", "description": "The resource containing the annotation" }, "selected": { "type": "object", "description": "Text context around the annotation target", "properties": { "before": { "type": "string", "description": "Text appearing before the selected passage" }, "text": { "type": "string", "description": "The selected text passage (the annotation target)" }, "after": { "type": "string", "description": "Text appearing after the selected passage" } }, "required": ["text"] }, "userHint": { "type": "string", "description": "User-provided hint to supplement or replace the selected text for search and generation" }, "targetResource": { "$ref": "#/components/schemas/ResourceDescriptor", "description": "The resource the annotation links to, if it is a resolved reference. Dormant capability \u2014 produced/exposed but not yet consumed (see LINK-TARGET-CONTEXT.md)." }, "targetContext": { "type": "object", "description": "Context about the annotation's link target. Dormant \u2014 see LINK-TARGET-CONTEXT.md.", "properties": { "content": { "type": "string" }, "summary": { "type": "string" } }, "required": ["content"] } }, "required": ["kind", "annotation", "sourceResource"] }, { "type": "object", "description": "Whole-resource focus.", "properties": { "kind": { "type": "string", "enum": ["resource"] }, "resource": { "$ref": "#/components/schemas/ResourceDescriptor", "description": "The resource this context was gathered for" }, "summary": { "type": "string" }, "suggestedReferences": { "type": "array", "items": { "type": "string" } }, "content": { "type": "object", "description": "Resource content (included when requested)", "properties": { "main": { "type": "string", "description": "Content of the focal resource" }, "related": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Map of related resource IDs to their content" } } } }, "required": ["kind", "resource"] }] }}};
22162
+ var schema161 = { "properties": { "type": { "enum": ["resource"] }}};
22163
+ var schema162 = { "properties": { "type": { "enum": ["annotation"] }}};
22164
+ function validate195(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22081
22165
  let vErrors = null;
22082
22166
  let errors = 0;
22083
22167
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -22173,7 +22257,7 @@ var require_openapi_validators = __commonJS({
22173
22257
  }
22174
22258
  }
22175
22259
  if (!(data1 === "annotation")) {
22176
- const err6 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/enum", keyword: "enum", params: { allowedValues: schema160.properties.type.enum }, message: "must be equal to one of the allowed values" };
22260
+ const err6 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/enum", keyword: "enum", params: { allowedValues: schema162.properties.type.enum }, message: "must be equal to one of the allowed values" };
22177
22261
  if (vErrors === null) {
22178
22262
  vErrors = [err6];
22179
22263
  } else {
@@ -22279,10 +22363,10 @@ var require_openapi_validators = __commonJS({
22279
22363
  }
22280
22364
  errors++;
22281
22365
  }
22282
- validate193.errors = vErrors;
22366
+ validate195.errors = vErrors;
22283
22367
  return errors === 0;
22284
22368
  }
22285
- function validate192(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22369
+ function validate194(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22286
22370
  let vErrors = null;
22287
22371
  let errors = 0;
22288
22372
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -22398,7 +22482,7 @@ var require_openapi_validators = __commonJS({
22398
22482
  }
22399
22483
  }
22400
22484
  if (!(data3 === "resource")) {
22401
- const err7 = { instancePath: instancePath + "/nodes/" + i0 + "/type", schemaPath: "#/components/schemas/GraphResourceNode/properties/type/enum", keyword: "enum", params: { allowedValues: schema159.properties.type.enum }, message: "must be equal to one of the allowed values" };
22485
+ const err7 = { instancePath: instancePath + "/nodes/" + i0 + "/type", schemaPath: "#/components/schemas/GraphResourceNode/properties/type/enum", keyword: "enum", params: { allowedValues: schema161.properties.type.enum }, message: "must be equal to one of the allowed values" };
22402
22486
  if (vErrors === null) {
22403
22487
  vErrors = [err7];
22404
22488
  } else {
@@ -22504,8 +22588,8 @@ var require_openapi_validators = __commonJS({
22504
22588
  passing0 = 0;
22505
22589
  }
22506
22590
  const _errs21 = errors;
22507
- if (!validate193(data1, { instancePath: instancePath + "/nodes/" + i0, parentData: data0, parentDataProperty: i0, rootData })) {
22508
- vErrors = vErrors === null ? validate193.errors : vErrors.concat(validate193.errors);
22591
+ if (!validate195(data1, { instancePath: instancePath + "/nodes/" + i0, parentData: data0, parentDataProperty: i0, rootData })) {
22592
+ vErrors = vErrors === null ? validate195.errors : vErrors.concat(validate195.errors);
22509
22593
  errors = vErrors.length;
22510
22594
  }
22511
22595
  var _valid0 = _errs21 === errors;
@@ -22733,10 +22817,10 @@ var require_openapi_validators = __commonJS({
22733
22817
  }
22734
22818
  errors++;
22735
22819
  }
22736
- validate192.errors = vErrors;
22820
+ validate194.errors = vErrors;
22737
22821
  return errors === 0;
22738
22822
  }
22739
- function validate187(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22823
+ function validate189(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22740
22824
  let vErrors = null;
22741
22825
  let errors = 0;
22742
22826
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -22829,7 +22913,7 @@ var require_openapi_validators = __commonJS({
22829
22913
  }
22830
22914
  }
22831
22915
  if (!(data1 === "annotation")) {
22832
- const err7 = { instancePath: instancePath + "/focus/kind", schemaPath: "#/properties/focus/oneOf/0/properties/kind/enum", keyword: "enum", params: { allowedValues: schema157.properties.focus.oneOf[0].properties.kind.enum }, message: "must be equal to one of the allowed values" };
22916
+ const err7 = { instancePath: instancePath + "/focus/kind", schemaPath: "#/properties/focus/oneOf/0/properties/kind/enum", keyword: "enum", params: { allowedValues: schema159.properties.focus.oneOf[0].properties.kind.enum }, message: "must be equal to one of the allowed values" };
22833
22917
  if (vErrors === null) {
22834
22918
  vErrors = [err7];
22835
22919
  } else {
@@ -23130,7 +23214,7 @@ var require_openapi_validators = __commonJS({
23130
23214
  }
23131
23215
  }
23132
23216
  if (!(data13 === "resource")) {
23133
- const err22 = { instancePath: instancePath + "/focus/kind", schemaPath: "#/properties/focus/oneOf/1/properties/kind/enum", keyword: "enum", params: { allowedValues: schema157.properties.focus.oneOf[1].properties.kind.enum }, message: "must be equal to one of the allowed values" };
23217
+ const err22 = { instancePath: instancePath + "/focus/kind", schemaPath: "#/properties/focus/oneOf/1/properties/kind/enum", keyword: "enum", params: { allowedValues: schema159.properties.focus.oneOf[1].properties.kind.enum }, message: "must be equal to one of the allowed values" };
23134
23218
  if (vErrors === null) {
23135
23219
  vErrors = [err22];
23136
23220
  } else {
@@ -23336,8 +23420,8 @@ var require_openapi_validators = __commonJS({
23336
23420
  }
23337
23421
  }
23338
23422
  if (data.graph !== void 0) {
23339
- if (!validate192(data.graph, { instancePath: instancePath + "/graph", parentData: data, parentDataProperty: "graph", rootData })) {
23340
- vErrors = vErrors === null ? validate192.errors : vErrors.concat(validate192.errors);
23423
+ if (!validate194(data.graph, { instancePath: instancePath + "/graph", parentData: data, parentDataProperty: "graph", rootData })) {
23424
+ vErrors = vErrors === null ? validate194.errors : vErrors.concat(validate194.errors);
23341
23425
  errors = vErrors.length;
23342
23426
  }
23343
23427
  }
@@ -23862,10 +23946,10 @@ var require_openapi_validators = __commonJS({
23862
23946
  }
23863
23947
  errors++;
23864
23948
  }
23865
- validate187.errors = vErrors;
23949
+ validate189.errors = vErrors;
23866
23950
  return errors === 0;
23867
23951
  }
23868
- function validate186(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
23952
+ function validate188(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
23869
23953
  let vErrors = null;
23870
23954
  let errors = 0;
23871
23955
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -23953,8 +24037,8 @@ var require_openapi_validators = __commonJS({
23953
24037
  }
23954
24038
  }
23955
24039
  if (data.response !== void 0) {
23956
- if (!validate187(data.response, { instancePath: instancePath + "/response", parentData: data, parentDataProperty: "response", rootData })) {
23957
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
24040
+ if (!validate189(data.response, { instancePath: instancePath + "/response", parentData: data, parentDataProperty: "response", rootData })) {
24041
+ vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
23958
24042
  errors = vErrors.length;
23959
24043
  }
23960
24044
  }
@@ -23967,11 +24051,11 @@ var require_openapi_validators = __commonJS({
23967
24051
  }
23968
24052
  errors++;
23969
24053
  }
23970
- validate186.errors = vErrors;
24054
+ validate188.errors = vErrors;
23971
24055
  return errors === 0;
23972
24056
  }
23973
- exports.GatherAnnotationOptions = validate198;
23974
- function validate198(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24057
+ exports.GatherAnnotationOptions = validate200;
24058
+ function validate200(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
23975
24059
  let vErrors = null;
23976
24060
  let errors = 0;
23977
24061
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -24064,11 +24148,11 @@ var require_openapi_validators = __commonJS({
24064
24148
  }
24065
24149
  errors++;
24066
24150
  }
24067
- validate198.errors = vErrors;
24151
+ validate200.errors = vErrors;
24068
24152
  return errors === 0;
24069
24153
  }
24070
- exports.GatherAnnotationRequest = validate199;
24071
- function validate199(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24154
+ exports.GatherAnnotationRequest = validate201;
24155
+ function validate201(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24072
24156
  let vErrors = null;
24073
24157
  let errors = 0;
24074
24158
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -24285,11 +24369,11 @@ var require_openapi_validators = __commonJS({
24285
24369
  }
24286
24370
  errors++;
24287
24371
  }
24288
- validate199.errors = vErrors;
24372
+ validate201.errors = vErrors;
24289
24373
  return errors === 0;
24290
24374
  }
24291
- exports.GatherProgress = validate200;
24292
- function validate200(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24375
+ exports.GatherProgress = validate202;
24376
+ function validate202(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24293
24377
  let vErrors = null;
24294
24378
  let errors = 0;
24295
24379
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -24413,11 +24497,11 @@ var require_openapi_validators = __commonJS({
24413
24497
  }
24414
24498
  errors++;
24415
24499
  }
24416
- validate200.errors = vErrors;
24500
+ validate202.errors = vErrors;
24417
24501
  return errors === 0;
24418
24502
  }
24419
- exports.GatherResourceComplete = validate201;
24420
- function validate201(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24503
+ exports.GatherResourceComplete = validate203;
24504
+ function validate203(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24421
24505
  let vErrors = null;
24422
24506
  let errors = 0;
24423
24507
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -24505,8 +24589,8 @@ var require_openapi_validators = __commonJS({
24505
24589
  }
24506
24590
  }
24507
24591
  if (data.response !== void 0) {
24508
- if (!validate187(data.response, { instancePath: instancePath + "/response", parentData: data, parentDataProperty: "response", rootData })) {
24509
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
24592
+ if (!validate189(data.response, { instancePath: instancePath + "/response", parentData: data, parentDataProperty: "response", rootData })) {
24593
+ vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
24510
24594
  errors = vErrors.length;
24511
24595
  }
24512
24596
  }
@@ -24519,11 +24603,11 @@ var require_openapi_validators = __commonJS({
24519
24603
  }
24520
24604
  errors++;
24521
24605
  }
24522
- validate201.errors = vErrors;
24606
+ validate203.errors = vErrors;
24523
24607
  return errors === 0;
24524
24608
  }
24525
- exports.GatherResourceRequest = validate203;
24526
- function validate203(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24609
+ exports.GatherResourceRequest = validate205;
24610
+ function validate205(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24527
24611
  let vErrors = null;
24528
24612
  let errors = 0;
24529
24613
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -24816,11 +24900,11 @@ var require_openapi_validators = __commonJS({
24816
24900
  }
24817
24901
  errors++;
24818
24902
  }
24819
- validate203.errors = vErrors;
24903
+ validate205.errors = vErrors;
24820
24904
  return errors === 0;
24821
24905
  }
24822
- exports.GatherSummaryRequest = validate204;
24823
- function validate204(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24906
+ exports.GatherSummaryRequest = validate206;
24907
+ function validate206(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24824
24908
  let vErrors = null;
24825
24909
  let errors = 0;
24826
24910
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -24944,13 +25028,13 @@ var require_openapi_validators = __commonJS({
24944
25028
  }
24945
25029
  errors++;
24946
25030
  }
24947
- validate204.errors = vErrors;
25031
+ validate206.errors = vErrors;
24948
25032
  return errors === 0;
24949
25033
  }
24950
- exports.GatheredContext = validate187;
24951
- exports.GenerationJobParams = validate205;
24952
- var schema170 = { "enum": ["text/plain", "text/markdown", "text/html", "text/css", "text/csv", "text/xml", "application/json", "application/xml", "application/yaml", "application/x-yaml", "application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/zip", "application/gzip", "application/x-tar", "application/x-7z-compressed", "application/octet-stream", "application/wasm", "image/png", "image/jpeg", "image/gif", "image/webp", "image/svg+xml", "image/bmp", "image/tiff", "image/x-icon", "video/mp4", "video/mpeg", "video/webm", "video/ogg", "video/quicktime", "video/x-msvideo", "audio/mpeg", "audio/wav", "audio/ogg", "audio/webm", "audio/aac", "audio/flac", "text/javascript", "application/javascript", "text/x-typescript", "application/typescript", "text/x-python", "text/x-java", "text/x-c", "text/x-c++", "text/x-csharp", "text/x-go", "text/x-rust", "text/x-ruby", "text/x-php", "text/x-swift", "text/x-kotlin", "text/x-shell", "font/woff", "font/woff2", "font/ttf", "font/otf"] };
24953
- function validate205(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25034
+ exports.GatheredContext = validate189;
25035
+ exports.GenerationJobParams = validate207;
25036
+ var schema172 = { "enum": ["text/plain", "text/markdown", "text/html", "text/css", "text/csv", "text/xml", "application/json", "application/xml", "application/yaml", "application/x-yaml", "application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/zip", "application/gzip", "application/x-tar", "application/x-7z-compressed", "application/octet-stream", "application/wasm", "image/png", "image/jpeg", "image/gif", "image/webp", "image/svg+xml", "image/bmp", "image/tiff", "image/x-icon", "video/mp4", "video/mpeg", "video/webm", "video/ogg", "video/quicktime", "video/x-msvideo", "audio/mpeg", "audio/wav", "audio/ogg", "audio/webm", "audio/aac", "audio/flac", "text/javascript", "application/javascript", "text/x-typescript", "application/typescript", "text/x-python", "text/x-java", "text/x-c", "text/x-c++", "text/x-csharp", "text/x-go", "text/x-rust", "text/x-ruby", "text/x-php", "text/x-swift", "text/x-kotlin", "text/x-shell", "font/woff", "font/woff2", "font/ttf", "font/otf"] };
25037
+ function validate207(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
24954
25038
  let vErrors = null;
24955
25039
  let errors = 0;
24956
25040
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -25060,8 +25144,8 @@ var require_openapi_validators = __commonJS({
25060
25144
  }
25061
25145
  }
25062
25146
  if (data.context !== void 0) {
25063
- if (!validate187(data.context, { instancePath: instancePath + "/context", parentData: data, parentDataProperty: "context", rootData })) {
25064
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
25147
+ if (!validate189(data.context, { instancePath: instancePath + "/context", parentData: data, parentDataProperty: "context", rootData })) {
25148
+ vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
25065
25149
  errors = vErrors.length;
25066
25150
  }
25067
25151
  }
@@ -25271,7 +25355,7 @@ var require_openapi_validators = __commonJS({
25271
25355
  }
25272
25356
  }
25273
25357
  if (!(data10 === "text/plain" || data10 === "text/markdown" || data10 === "text/html" || data10 === "text/css" || data10 === "text/csv" || data10 === "text/xml" || data10 === "application/json" || data10 === "application/xml" || data10 === "application/yaml" || data10 === "application/x-yaml" || data10 === "application/pdf" || data10 === "application/msword" || data10 === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" || data10 === "application/vnd.ms-excel" || data10 === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" || data10 === "application/vnd.ms-powerpoint" || data10 === "application/vnd.openxmlformats-officedocument.presentationml.presentation" || data10 === "application/zip" || data10 === "application/gzip" || data10 === "application/x-tar" || data10 === "application/x-7z-compressed" || data10 === "application/octet-stream" || data10 === "application/wasm" || data10 === "image/png" || data10 === "image/jpeg" || data10 === "image/gif" || data10 === "image/webp" || data10 === "image/svg+xml" || data10 === "image/bmp" || data10 === "image/tiff" || data10 === "image/x-icon" || data10 === "video/mp4" || data10 === "video/mpeg" || data10 === "video/webm" || data10 === "video/ogg" || data10 === "video/quicktime" || data10 === "video/x-msvideo" || data10 === "audio/mpeg" || data10 === "audio/wav" || data10 === "audio/ogg" || data10 === "audio/webm" || data10 === "audio/aac" || data10 === "audio/flac" || data10 === "text/javascript" || data10 === "application/javascript" || data10 === "text/x-typescript" || data10 === "application/typescript" || data10 === "text/x-python" || data10 === "text/x-java" || data10 === "text/x-c" || data10 === "text/x-c++" || data10 === "text/x-csharp" || data10 === "text/x-go" || data10 === "text/x-rust" || data10 === "text/x-ruby" || data10 === "text/x-php" || data10 === "text/x-swift" || data10 === "text/x-kotlin" || data10 === "text/x-shell" || data10 === "font/woff" || data10 === "font/woff2" || data10 === "font/ttf" || data10 === "font/otf")) {
25274
- const err15 = { instancePath: instancePath + "/outputMediaType", schemaPath: "#/components/schemas/SupportedMediaType/enum", keyword: "enum", params: { allowedValues: schema170.enum }, message: "must be equal to one of the allowed values" };
25358
+ const err15 = { instancePath: instancePath + "/outputMediaType", schemaPath: "#/components/schemas/SupportedMediaType/enum", keyword: "enum", params: { allowedValues: schema172.enum }, message: "must be equal to one of the allowed values" };
25275
25359
  if (vErrors === null) {
25276
25360
  vErrors = [err15];
25277
25361
  } else {
@@ -25372,14 +25456,14 @@ var require_openapi_validators = __commonJS({
25372
25456
  }
25373
25457
  errors++;
25374
25458
  }
25375
- validate205.errors = vErrors;
25459
+ validate207.errors = vErrors;
25376
25460
  return errors === 0;
25377
25461
  }
25378
25462
  exports.GetAnnotationHistoryResponse = validate89;
25379
25463
  exports.GetAnnotationResponse = validate95;
25380
25464
  exports.GetAnnotationsResponse = validate102;
25381
- exports.GetEntityTypesResponse = validate207;
25382
- function validate207(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25465
+ exports.GetEntityTypesResponse = validate209;
25466
+ function validate209(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25383
25467
  let vErrors = null;
25384
25468
  let errors = 0;
25385
25469
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -25443,12 +25527,12 @@ var require_openapi_validators = __commonJS({
25443
25527
  }
25444
25528
  errors++;
25445
25529
  }
25446
- validate207.errors = vErrors;
25530
+ validate209.errors = vErrors;
25447
25531
  return errors === 0;
25448
25532
  }
25449
25533
  exports.GetEventsResponse = validate115;
25450
- exports.GetReferencedByResponse = validate208;
25451
- function validate208(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25534
+ exports.GetReferencedByResponse = validate210;
25535
+ function validate210(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25452
25536
  let vErrors = null;
25453
25537
  let errors = 0;
25454
25538
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -25689,11 +25773,11 @@ var require_openapi_validators = __commonJS({
25689
25773
  }
25690
25774
  errors++;
25691
25775
  }
25692
- validate208.errors = vErrors;
25776
+ validate210.errors = vErrors;
25693
25777
  return errors === 0;
25694
25778
  }
25695
- exports.GetResourceByTokenResponse = validate209;
25696
- function validate209(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25779
+ exports.GetResourceByTokenResponse = validate211;
25780
+ function validate211(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25697
25781
  let vErrors = null;
25698
25782
  let errors = 0;
25699
25783
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -25758,13 +25842,13 @@ var require_openapi_validators = __commonJS({
25758
25842
  }
25759
25843
  errors++;
25760
25844
  }
25761
- validate209.errors = vErrors;
25845
+ validate211.errors = vErrors;
25762
25846
  return errors === 0;
25763
25847
  }
25764
25848
  exports.GetResourceResponse = validate131;
25765
25849
  exports.GetTagSchemasResponse = validate145;
25766
- exports.GoogleAuthRequest = validate211;
25767
- function validate211(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25850
+ exports.GoogleAuthRequest = validate213;
25851
+ function validate213(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25768
25852
  let vErrors = null;
25769
25853
  let errors = 0;
25770
25854
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -25814,12 +25898,12 @@ var require_openapi_validators = __commonJS({
25814
25898
  }
25815
25899
  errors++;
25816
25900
  }
25817
- validate211.errors = vErrors;
25901
+ validate213.errors = vErrors;
25818
25902
  return errors === 0;
25819
25903
  }
25820
- exports.GraphAnnotationNode = validate193;
25821
- exports.GraphResourceNode = validate212;
25822
- function validate212(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25904
+ exports.GraphAnnotationNode = validate195;
25905
+ exports.GraphResourceNode = validate214;
25906
+ function validate214(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
25823
25907
  let vErrors = null;
25824
25908
  let errors = 0;
25825
25909
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -25906,7 +25990,7 @@ var require_openapi_validators = __commonJS({
25906
25990
  }
25907
25991
  }
25908
25992
  if (!(data1 === "resource")) {
25909
- const err5 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/enum", keyword: "enum", params: { allowedValues: schema159.properties.type.enum }, message: "must be equal to one of the allowed values" };
25993
+ const err5 = { instancePath: instancePath + "/type", schemaPath: "#/properties/type/enum", keyword: "enum", params: { allowedValues: schema161.properties.type.enum }, message: "must be equal to one of the allowed values" };
25910
25994
  if (vErrors === null) {
25911
25995
  vErrors = [err5];
25912
25996
  } else {
@@ -26006,12 +26090,12 @@ var require_openapi_validators = __commonJS({
26006
26090
  }
26007
26091
  errors++;
26008
26092
  }
26009
- validate212.errors = vErrors;
26093
+ validate214.errors = vErrors;
26010
26094
  return errors === 0;
26011
26095
  }
26012
- exports.HealthResponse = validate213;
26013
- var schema176 = { "properties": { "database": { "enum": ["connected", "disconnected", "unknown"] }}};
26014
- function validate213(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26096
+ exports.HealthResponse = validate215;
26097
+ var schema178 = { "properties": { "database": { "enum": ["connected", "disconnected", "unknown"] }}};
26098
+ function validate215(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26015
26099
  let vErrors = null;
26016
26100
  let errors = 0;
26017
26101
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -26209,7 +26293,7 @@ var require_openapi_validators = __commonJS({
26209
26293
  }
26210
26294
  }
26211
26295
  if (!(data4 === "connected" || data4 === "disconnected" || data4 === "unknown")) {
26212
- const err11 = { instancePath: instancePath + "/database", schemaPath: "#/properties/database/enum", keyword: "enum", params: { allowedValues: schema176.properties.database.enum }, message: "must be equal to one of the allowed values" };
26296
+ const err11 = { instancePath: instancePath + "/database", schemaPath: "#/properties/database/enum", keyword: "enum", params: { allowedValues: schema178.properties.database.enum }, message: "must be equal to one of the allowed values" };
26213
26297
  if (vErrors === null) {
26214
26298
  vErrors = [err11];
26215
26299
  } else {
@@ -26255,11 +26339,11 @@ var require_openapi_validators = __commonJS({
26255
26339
  }
26256
26340
  errors++;
26257
26341
  }
26258
- validate213.errors = vErrors;
26342
+ validate215.errors = vErrors;
26259
26343
  return errors === 0;
26260
26344
  }
26261
- exports.InferenceLimits = validate214;
26262
- function validate214(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26345
+ exports.InferenceLimits = validate216;
26346
+ function validate216(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26263
26347
  let vErrors = null;
26264
26348
  let errors = 0;
26265
26349
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -26342,12 +26426,12 @@ var require_openapi_validators = __commonJS({
26342
26426
  }
26343
26427
  errors++;
26344
26428
  }
26345
- validate214.errors = vErrors;
26429
+ validate216.errors = vErrors;
26346
26430
  return errors === 0;
26347
26431
  }
26348
- exports.JobAssessmentAnnotationResult = validate215;
26349
- var schema178 = { "properties": { "kind": { "enum": ["assessment-annotation"]}}};
26350
- function validate215(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26432
+ exports.JobAssessmentAnnotationResult = validate217;
26433
+ var schema180 = { "properties": { "kind": { "enum": ["assessment-annotation"]}}};
26434
+ function validate217(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26351
26435
  let vErrors = null;
26352
26436
  let errors = 0;
26353
26437
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -26406,7 +26490,7 @@ var require_openapi_validators = __commonJS({
26406
26490
  }
26407
26491
  }
26408
26492
  if (!(data0 === "assessment-annotation")) {
26409
- const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema178.properties.kind.enum }, message: "must be equal to one of the allowed values" };
26493
+ const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema180.properties.kind.enum }, message: "must be equal to one of the allowed values" };
26410
26494
  if (vErrors === null) {
26411
26495
  vErrors = [err4];
26412
26496
  } else {
@@ -26476,11 +26560,11 @@ var require_openapi_validators = __commonJS({
26476
26560
  }
26477
26561
  errors++;
26478
26562
  }
26479
- validate215.errors = vErrors;
26563
+ validate217.errors = vErrors;
26480
26564
  return errors === 0;
26481
26565
  }
26482
- exports.JobCancelCommand = validate216;
26483
- function validate216(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26566
+ exports.JobCancelCommand = validate218;
26567
+ function validate218(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26484
26568
  let vErrors = null;
26485
26569
  let errors = 0;
26486
26570
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -26711,12 +26795,12 @@ var require_openapi_validators = __commonJS({
26711
26795
  }
26712
26796
  errors++;
26713
26797
  }
26714
- validate216.errors = vErrors;
26798
+ validate218.errors = vErrors;
26715
26799
  return errors === 0;
26716
26800
  }
26717
- exports.JobCancelRequest = validate217;
26718
- var schema181 = { "properties": { "jobType": { "enum": ["annotation", "generation"]} } };
26719
- function validate217(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26801
+ exports.JobCancelRequest = validate219;
26802
+ var schema183 = { "properties": { "jobType": { "enum": ["annotation", "generation"]} } };
26803
+ function validate219(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26720
26804
  let vErrors = null;
26721
26805
  let errors = 0;
26722
26806
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -26804,7 +26888,7 @@ var require_openapi_validators = __commonJS({
26804
26888
  }
26805
26889
  }
26806
26890
  if (!(data2 === "annotation" || data2 === "generation")) {
26807
- const err3 = { instancePath: instancePath + "/jobType", schemaPath: "#/properties/jobType/enum", keyword: "enum", params: { allowedValues: schema181.properties.jobType.enum }, message: "must be equal to one of the allowed values" };
26891
+ const err3 = { instancePath: instancePath + "/jobType", schemaPath: "#/properties/jobType/enum", keyword: "enum", params: { allowedValues: schema183.properties.jobType.enum }, message: "must be equal to one of the allowed values" };
26808
26892
  if (vErrors === null) {
26809
26893
  vErrors = [err3];
26810
26894
  } else {
@@ -26822,11 +26906,11 @@ var require_openapi_validators = __commonJS({
26822
26906
  }
26823
26907
  errors++;
26824
26908
  }
26825
- validate217.errors = vErrors;
26909
+ validate219.errors = vErrors;
26826
26910
  return errors === 0;
26827
26911
  }
26828
- exports.JobCheckpointCommand = validate218;
26829
- function validate218(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26912
+ exports.JobCheckpointCommand = validate220;
26913
+ function validate220(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26830
26914
  let vErrors = null;
26831
26915
  let errors = 0;
26832
26916
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -26955,11 +27039,11 @@ var require_openapi_validators = __commonJS({
26955
27039
  }
26956
27040
  errors++;
26957
27041
  }
26958
- validate218.errors = vErrors;
27042
+ validate220.errors = vErrors;
26959
27043
  return errors === 0;
26960
27044
  }
26961
- exports.JobClaimCommand = validate219;
26962
- function validate219(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
27045
+ exports.JobClaimCommand = validate221;
27046
+ function validate221(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
26963
27047
  let vErrors = null;
26964
27048
  let errors = 0;
26965
27049
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -27046,12 +27130,12 @@ var require_openapi_validators = __commonJS({
27046
27130
  }
27047
27131
  errors++;
27048
27132
  }
27049
- validate219.errors = vErrors;
27133
+ validate221.errors = vErrors;
27050
27134
  return errors === 0;
27051
27135
  }
27052
- exports.JobCommentAnnotationResult = validate220;
27053
- var schema184 = { "properties": { "kind": { "enum": ["comment-annotation"]}}};
27054
- function validate220(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
27136
+ exports.JobCommentAnnotationResult = validate222;
27137
+ var schema186 = { "properties": { "kind": { "enum": ["comment-annotation"]}}};
27138
+ function validate222(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
27055
27139
  let vErrors = null;
27056
27140
  let errors = 0;
27057
27141
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -27110,7 +27194,7 @@ var require_openapi_validators = __commonJS({
27110
27194
  }
27111
27195
  }
27112
27196
  if (!(data0 === "comment-annotation")) {
27113
- const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema184.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27197
+ const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema186.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27114
27198
  if (vErrors === null) {
27115
27199
  vErrors = [err4];
27116
27200
  } else {
@@ -27180,16 +27264,16 @@ var require_openapi_validators = __commonJS({
27180
27264
  }
27181
27265
  errors++;
27182
27266
  }
27183
- validate220.errors = vErrors;
27267
+ validate222.errors = vErrors;
27184
27268
  return errors === 0;
27185
27269
  }
27186
- exports.JobCompleteCommand = validate221;
27187
- var schema188 = { "properties": { "kind": { "enum": ["generation"]}}};
27188
- var schema189 = { "properties": { "kind": { "enum": ["reference-annotation"]}}};
27189
- var schema190 = { "properties": { "kind": { "enum": ["highlight-annotation"]}}};
27190
- var schema193 = { "properties": { "kind": { "enum": ["tag-annotation"]}}};
27191
- var schema194 = { "properties": { "kind": { "enum": ["declined"]}, "declined": { "enum": [true]}, "reason": { "enum": ["no-text-layer", "encrypted", "corrupt", "too-large", "empty"]} }};
27192
- function validate222(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
27270
+ exports.JobCompleteCommand = validate223;
27271
+ var schema190 = { "properties": { "kind": { "enum": ["generation"]}}};
27272
+ var schema191 = { "properties": { "kind": { "enum": ["reference-annotation"]}}};
27273
+ var schema192 = { "properties": { "kind": { "enum": ["highlight-annotation"]}}};
27274
+ var schema195 = { "properties": { "kind": { "enum": ["tag-annotation"]}}};
27275
+ var schema196 = { "properties": { "kind": { "enum": ["declined"]}, "declined": { "enum": [true]}, "reason": { "enum": ["no-text-layer", "encrypted", "corrupt", "too-large", "empty"]} }};
27276
+ function validate224(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
27193
27277
  let vErrors = null;
27194
27278
  let errors = 0;
27195
27279
  const _errs0 = errors;
@@ -27261,7 +27345,7 @@ var require_openapi_validators = __commonJS({
27261
27345
  }
27262
27346
  }
27263
27347
  if (!(data0 === "generation")) {
27264
- const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobGenerationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema188.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27348
+ const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobGenerationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema190.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27265
27349
  if (vErrors === null) {
27266
27350
  vErrors = [err5];
27267
27351
  } else {
@@ -27433,7 +27517,7 @@ var require_openapi_validators = __commonJS({
27433
27517
  }
27434
27518
  }
27435
27519
  if (!(data4 === "reference-annotation")) {
27436
- const err15 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobReferenceAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema189.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27520
+ const err15 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobReferenceAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema191.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27437
27521
  if (vErrors === null) {
27438
27522
  vErrors = [err15];
27439
27523
  } else {
@@ -27520,12 +27604,38 @@ var require_openapi_validators = __commonJS({
27520
27604
  }
27521
27605
  }
27522
27606
  }
27607
+ if (data.underReportedPieces !== void 0) {
27608
+ let data8 = data.underReportedPieces;
27609
+ if (!(typeof data8 == "number" && (!(data8 % 1) && !isNaN(data8)) && isFinite(data8))) {
27610
+ let dataType8 = typeof data8;
27611
+ let coerced8 = void 0;
27612
+ if (!(coerced8 !== void 0)) {
27613
+ if (dataType8 === "boolean" || data8 === null || dataType8 === "string" && data8 && data8 == +data8 && !(data8 % 1)) {
27614
+ coerced8 = +data8;
27615
+ } else {
27616
+ const err19 = { instancePath: instancePath + "/underReportedPieces", schemaPath: "#/components/schemas/JobReferenceAnnotationResult/properties/underReportedPieces/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27617
+ if (vErrors === null) {
27618
+ vErrors = [err19];
27619
+ } else {
27620
+ vErrors.push(err19);
27621
+ }
27622
+ errors++;
27623
+ }
27624
+ }
27625
+ if (coerced8 !== void 0) {
27626
+ data8 = coerced8;
27627
+ if (data !== void 0) {
27628
+ data["underReportedPieces"] = coerced8;
27629
+ }
27630
+ }
27631
+ }
27632
+ }
27523
27633
  } else {
27524
- const err19 = { instancePath, schemaPath: "#/components/schemas/JobReferenceAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27634
+ const err20 = { instancePath, schemaPath: "#/components/schemas/JobReferenceAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27525
27635
  if (vErrors === null) {
27526
- vErrors = [err19];
27636
+ vErrors = [err20];
27527
27637
  } else {
27528
- vErrors.push(err19);
27638
+ vErrors.push(err20);
27529
27639
  }
27530
27640
  errors++;
27531
27641
  }
@@ -27538,86 +27648,51 @@ var require_openapi_validators = __commonJS({
27538
27648
  valid0 = true;
27539
27649
  passing0 = 1;
27540
27650
  }
27541
- const _errs23 = errors;
27651
+ const _errs25 = errors;
27542
27652
  if (data && typeof data == "object" && !Array.isArray(data)) {
27543
27653
  if (data.kind === void 0) {
27544
- const err20 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27654
+ const err21 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27545
27655
  if (vErrors === null) {
27546
- vErrors = [err20];
27656
+ vErrors = [err21];
27547
27657
  } else {
27548
- vErrors.push(err20);
27658
+ vErrors.push(err21);
27549
27659
  }
27550
27660
  errors++;
27551
27661
  }
27552
27662
  if (data.highlightsFound === void 0) {
27553
- const err21 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/required", keyword: "required", params: { missingProperty: "highlightsFound" }, message: "must have required property 'highlightsFound'" };
27663
+ const err22 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/required", keyword: "required", params: { missingProperty: "highlightsFound" }, message: "must have required property 'highlightsFound'" };
27554
27664
  if (vErrors === null) {
27555
- vErrors = [err21];
27665
+ vErrors = [err22];
27556
27666
  } else {
27557
- vErrors.push(err21);
27667
+ vErrors.push(err22);
27558
27668
  }
27559
27669
  errors++;
27560
27670
  }
27561
27671
  if (data.highlightsCreated === void 0) {
27562
- const err22 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/required", keyword: "required", params: { missingProperty: "highlightsCreated" }, message: "must have required property 'highlightsCreated'" };
27672
+ const err23 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/required", keyword: "required", params: { missingProperty: "highlightsCreated" }, message: "must have required property 'highlightsCreated'" };
27563
27673
  if (vErrors === null) {
27564
- vErrors = [err22];
27674
+ vErrors = [err23];
27565
27675
  } else {
27566
- vErrors.push(err22);
27676
+ vErrors.push(err23);
27567
27677
  }
27568
27678
  errors++;
27569
27679
  }
27570
27680
  if (data.kind !== void 0) {
27571
- let data8 = data.kind;
27572
- if (typeof data8 !== "string") {
27573
- let dataType8 = typeof data8;
27574
- let coerced8 = void 0;
27575
- if (!(coerced8 !== void 0)) {
27576
- if (dataType8 == "number" || dataType8 == "boolean") {
27577
- coerced8 = "" + data8;
27578
- } else if (data8 === null) {
27579
- coerced8 = "";
27580
- } else {
27581
- const err23 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27582
- if (vErrors === null) {
27583
- vErrors = [err23];
27584
- } else {
27585
- vErrors.push(err23);
27586
- }
27587
- errors++;
27588
- }
27589
- }
27590
- if (coerced8 !== void 0) {
27591
- data8 = coerced8;
27592
- if (data !== void 0) {
27593
- data["kind"] = coerced8;
27594
- }
27595
- }
27596
- }
27597
- if (!(data8 === "highlight-annotation")) {
27598
- const err24 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema190.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27599
- if (vErrors === null) {
27600
- vErrors = [err24];
27601
- } else {
27602
- vErrors.push(err24);
27603
- }
27604
- errors++;
27605
- }
27606
- }
27607
- if (data.highlightsFound !== void 0) {
27608
- let data9 = data.highlightsFound;
27609
- if (!(typeof data9 == "number" && (!(data9 % 1) && !isNaN(data9)) && isFinite(data9))) {
27681
+ let data9 = data.kind;
27682
+ if (typeof data9 !== "string") {
27610
27683
  let dataType9 = typeof data9;
27611
27684
  let coerced9 = void 0;
27612
27685
  if (!(coerced9 !== void 0)) {
27613
- if (dataType9 === "boolean" || data9 === null || dataType9 === "string" && data9 && data9 == +data9 && !(data9 % 1)) {
27614
- coerced9 = +data9;
27686
+ if (dataType9 == "number" || dataType9 == "boolean") {
27687
+ coerced9 = "" + data9;
27688
+ } else if (data9 === null) {
27689
+ coerced9 = "";
27615
27690
  } else {
27616
- const err25 = { instancePath: instancePath + "/highlightsFound", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/highlightsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27691
+ const err24 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27617
27692
  if (vErrors === null) {
27618
- vErrors = [err25];
27693
+ vErrors = [err24];
27619
27694
  } else {
27620
- vErrors.push(err25);
27695
+ vErrors.push(err24);
27621
27696
  }
27622
27697
  errors++;
27623
27698
  }
@@ -27625,13 +27700,22 @@ var require_openapi_validators = __commonJS({
27625
27700
  if (coerced9 !== void 0) {
27626
27701
  data9 = coerced9;
27627
27702
  if (data !== void 0) {
27628
- data["highlightsFound"] = coerced9;
27703
+ data["kind"] = coerced9;
27629
27704
  }
27630
27705
  }
27631
27706
  }
27707
+ if (!(data9 === "highlight-annotation")) {
27708
+ const err25 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema192.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27709
+ if (vErrors === null) {
27710
+ vErrors = [err25];
27711
+ } else {
27712
+ vErrors.push(err25);
27713
+ }
27714
+ errors++;
27715
+ }
27632
27716
  }
27633
- if (data.highlightsCreated !== void 0) {
27634
- let data10 = data.highlightsCreated;
27717
+ if (data.highlightsFound !== void 0) {
27718
+ let data10 = data.highlightsFound;
27635
27719
  if (!(typeof data10 == "number" && (!(data10 % 1) && !isNaN(data10)) && isFinite(data10))) {
27636
27720
  let dataType10 = typeof data10;
27637
27721
  let coerced10 = void 0;
@@ -27639,7 +27723,7 @@ var require_openapi_validators = __commonJS({
27639
27723
  if (dataType10 === "boolean" || data10 === null || dataType10 === "string" && data10 && data10 == +data10 && !(data10 % 1)) {
27640
27724
  coerced10 = +data10;
27641
27725
  } else {
27642
- const err26 = { instancePath: instancePath + "/highlightsCreated", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/highlightsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27726
+ const err26 = { instancePath: instancePath + "/highlightsFound", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/highlightsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27643
27727
  if (vErrors === null) {
27644
27728
  vErrors = [err26];
27645
27729
  } else {
@@ -27651,21 +27735,47 @@ var require_openapi_validators = __commonJS({
27651
27735
  if (coerced10 !== void 0) {
27652
27736
  data10 = coerced10;
27653
27737
  if (data !== void 0) {
27654
- data["highlightsCreated"] = coerced10;
27738
+ data["highlightsFound"] = coerced10;
27655
27739
  }
27656
27740
  }
27657
27741
  }
27658
27742
  }
27659
- } else {
27660
- const err27 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27661
- if (vErrors === null) {
27662
- vErrors = [err27];
27663
- } else {
27664
- vErrors.push(err27);
27665
- }
27666
- errors++;
27667
- }
27668
- var _valid0 = _errs23 === errors;
27743
+ if (data.highlightsCreated !== void 0) {
27744
+ let data11 = data.highlightsCreated;
27745
+ if (!(typeof data11 == "number" && (!(data11 % 1) && !isNaN(data11)) && isFinite(data11))) {
27746
+ let dataType11 = typeof data11;
27747
+ let coerced11 = void 0;
27748
+ if (!(coerced11 !== void 0)) {
27749
+ if (dataType11 === "boolean" || data11 === null || dataType11 === "string" && data11 && data11 == +data11 && !(data11 % 1)) {
27750
+ coerced11 = +data11;
27751
+ } else {
27752
+ const err27 = { instancePath: instancePath + "/highlightsCreated", schemaPath: "#/components/schemas/JobHighlightAnnotationResult/properties/highlightsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27753
+ if (vErrors === null) {
27754
+ vErrors = [err27];
27755
+ } else {
27756
+ vErrors.push(err27);
27757
+ }
27758
+ errors++;
27759
+ }
27760
+ }
27761
+ if (coerced11 !== void 0) {
27762
+ data11 = coerced11;
27763
+ if (data !== void 0) {
27764
+ data["highlightsCreated"] = coerced11;
27765
+ }
27766
+ }
27767
+ }
27768
+ }
27769
+ } else {
27770
+ const err28 = { instancePath, schemaPath: "#/components/schemas/JobHighlightAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27771
+ if (vErrors === null) {
27772
+ vErrors = [err28];
27773
+ } else {
27774
+ vErrors.push(err28);
27775
+ }
27776
+ errors++;
27777
+ }
27778
+ var _valid0 = _errs25 === errors;
27669
27779
  if (_valid0 && valid0) {
27670
27780
  valid0 = false;
27671
27781
  passing0 = [passing0, 2];
@@ -27674,134 +27784,134 @@ var require_openapi_validators = __commonJS({
27674
27784
  valid0 = true;
27675
27785
  passing0 = 2;
27676
27786
  }
27677
- const _errs32 = errors;
27787
+ const _errs34 = errors;
27678
27788
  if (data && typeof data == "object" && !Array.isArray(data)) {
27679
27789
  if (data.kind === void 0) {
27680
- const err28 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27790
+ const err29 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27681
27791
  if (vErrors === null) {
27682
- vErrors = [err28];
27792
+ vErrors = [err29];
27683
27793
  } else {
27684
- vErrors.push(err28);
27794
+ vErrors.push(err29);
27685
27795
  }
27686
27796
  errors++;
27687
27797
  }
27688
27798
  if (data.assessmentsFound === void 0) {
27689
- const err29 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/required", keyword: "required", params: { missingProperty: "assessmentsFound" }, message: "must have required property 'assessmentsFound'" };
27799
+ const err30 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/required", keyword: "required", params: { missingProperty: "assessmentsFound" }, message: "must have required property 'assessmentsFound'" };
27690
27800
  if (vErrors === null) {
27691
- vErrors = [err29];
27801
+ vErrors = [err30];
27692
27802
  } else {
27693
- vErrors.push(err29);
27803
+ vErrors.push(err30);
27694
27804
  }
27695
27805
  errors++;
27696
27806
  }
27697
27807
  if (data.assessmentsCreated === void 0) {
27698
- const err30 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/required", keyword: "required", params: { missingProperty: "assessmentsCreated" }, message: "must have required property 'assessmentsCreated'" };
27808
+ const err31 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/required", keyword: "required", params: { missingProperty: "assessmentsCreated" }, message: "must have required property 'assessmentsCreated'" };
27699
27809
  if (vErrors === null) {
27700
- vErrors = [err30];
27810
+ vErrors = [err31];
27701
27811
  } else {
27702
- vErrors.push(err30);
27812
+ vErrors.push(err31);
27703
27813
  }
27704
27814
  errors++;
27705
27815
  }
27706
27816
  if (data.kind !== void 0) {
27707
- let data11 = data.kind;
27708
- if (typeof data11 !== "string") {
27709
- let dataType11 = typeof data11;
27710
- let coerced11 = void 0;
27711
- if (!(coerced11 !== void 0)) {
27712
- if (dataType11 == "number" || dataType11 == "boolean") {
27713
- coerced11 = "" + data11;
27714
- } else if (data11 === null) {
27715
- coerced11 = "";
27817
+ let data12 = data.kind;
27818
+ if (typeof data12 !== "string") {
27819
+ let dataType12 = typeof data12;
27820
+ let coerced12 = void 0;
27821
+ if (!(coerced12 !== void 0)) {
27822
+ if (dataType12 == "number" || dataType12 == "boolean") {
27823
+ coerced12 = "" + data12;
27824
+ } else if (data12 === null) {
27825
+ coerced12 = "";
27716
27826
  } else {
27717
- const err31 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27827
+ const err32 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27718
27828
  if (vErrors === null) {
27719
- vErrors = [err31];
27829
+ vErrors = [err32];
27720
27830
  } else {
27721
- vErrors.push(err31);
27831
+ vErrors.push(err32);
27722
27832
  }
27723
27833
  errors++;
27724
27834
  }
27725
27835
  }
27726
- if (coerced11 !== void 0) {
27727
- data11 = coerced11;
27836
+ if (coerced12 !== void 0) {
27837
+ data12 = coerced12;
27728
27838
  if (data !== void 0) {
27729
- data["kind"] = coerced11;
27839
+ data["kind"] = coerced12;
27730
27840
  }
27731
27841
  }
27732
27842
  }
27733
- if (!(data11 === "assessment-annotation")) {
27734
- const err32 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema178.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27843
+ if (!(data12 === "assessment-annotation")) {
27844
+ const err33 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema180.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27735
27845
  if (vErrors === null) {
27736
- vErrors = [err32];
27846
+ vErrors = [err33];
27737
27847
  } else {
27738
- vErrors.push(err32);
27848
+ vErrors.push(err33);
27739
27849
  }
27740
27850
  errors++;
27741
27851
  }
27742
27852
  }
27743
27853
  if (data.assessmentsFound !== void 0) {
27744
- let data12 = data.assessmentsFound;
27745
- if (!(typeof data12 == "number" && (!(data12 % 1) && !isNaN(data12)) && isFinite(data12))) {
27746
- let dataType12 = typeof data12;
27747
- let coerced12 = void 0;
27748
- if (!(coerced12 !== void 0)) {
27749
- if (dataType12 === "boolean" || data12 === null || dataType12 === "string" && data12 && data12 == +data12 && !(data12 % 1)) {
27750
- coerced12 = +data12;
27854
+ let data13 = data.assessmentsFound;
27855
+ if (!(typeof data13 == "number" && (!(data13 % 1) && !isNaN(data13)) && isFinite(data13))) {
27856
+ let dataType13 = typeof data13;
27857
+ let coerced13 = void 0;
27858
+ if (!(coerced13 !== void 0)) {
27859
+ if (dataType13 === "boolean" || data13 === null || dataType13 === "string" && data13 && data13 == +data13 && !(data13 % 1)) {
27860
+ coerced13 = +data13;
27751
27861
  } else {
27752
- const err33 = { instancePath: instancePath + "/assessmentsFound", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/assessmentsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27862
+ const err34 = { instancePath: instancePath + "/assessmentsFound", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/assessmentsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27753
27863
  if (vErrors === null) {
27754
- vErrors = [err33];
27864
+ vErrors = [err34];
27755
27865
  } else {
27756
- vErrors.push(err33);
27866
+ vErrors.push(err34);
27757
27867
  }
27758
27868
  errors++;
27759
27869
  }
27760
27870
  }
27761
- if (coerced12 !== void 0) {
27762
- data12 = coerced12;
27871
+ if (coerced13 !== void 0) {
27872
+ data13 = coerced13;
27763
27873
  if (data !== void 0) {
27764
- data["assessmentsFound"] = coerced12;
27874
+ data["assessmentsFound"] = coerced13;
27765
27875
  }
27766
27876
  }
27767
27877
  }
27768
27878
  }
27769
27879
  if (data.assessmentsCreated !== void 0) {
27770
- let data13 = data.assessmentsCreated;
27771
- if (!(typeof data13 == "number" && (!(data13 % 1) && !isNaN(data13)) && isFinite(data13))) {
27772
- let dataType13 = typeof data13;
27773
- let coerced13 = void 0;
27774
- if (!(coerced13 !== void 0)) {
27775
- if (dataType13 === "boolean" || data13 === null || dataType13 === "string" && data13 && data13 == +data13 && !(data13 % 1)) {
27776
- coerced13 = +data13;
27880
+ let data14 = data.assessmentsCreated;
27881
+ if (!(typeof data14 == "number" && (!(data14 % 1) && !isNaN(data14)) && isFinite(data14))) {
27882
+ let dataType14 = typeof data14;
27883
+ let coerced14 = void 0;
27884
+ if (!(coerced14 !== void 0)) {
27885
+ if (dataType14 === "boolean" || data14 === null || dataType14 === "string" && data14 && data14 == +data14 && !(data14 % 1)) {
27886
+ coerced14 = +data14;
27777
27887
  } else {
27778
- const err34 = { instancePath: instancePath + "/assessmentsCreated", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/assessmentsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27888
+ const err35 = { instancePath: instancePath + "/assessmentsCreated", schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/properties/assessmentsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27779
27889
  if (vErrors === null) {
27780
- vErrors = [err34];
27890
+ vErrors = [err35];
27781
27891
  } else {
27782
- vErrors.push(err34);
27892
+ vErrors.push(err35);
27783
27893
  }
27784
27894
  errors++;
27785
27895
  }
27786
27896
  }
27787
- if (coerced13 !== void 0) {
27788
- data13 = coerced13;
27897
+ if (coerced14 !== void 0) {
27898
+ data14 = coerced14;
27789
27899
  if (data !== void 0) {
27790
- data["assessmentsCreated"] = coerced13;
27900
+ data["assessmentsCreated"] = coerced14;
27791
27901
  }
27792
27902
  }
27793
27903
  }
27794
27904
  }
27795
27905
  } else {
27796
- const err35 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27906
+ const err36 = { instancePath, schemaPath: "#/components/schemas/JobAssessmentAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27797
27907
  if (vErrors === null) {
27798
- vErrors = [err35];
27908
+ vErrors = [err36];
27799
27909
  } else {
27800
- vErrors.push(err35);
27910
+ vErrors.push(err36);
27801
27911
  }
27802
27912
  errors++;
27803
27913
  }
27804
- var _valid0 = _errs32 === errors;
27914
+ var _valid0 = _errs34 === errors;
27805
27915
  if (_valid0 && valid0) {
27806
27916
  valid0 = false;
27807
27917
  passing0 = [passing0, 3];
@@ -27810,134 +27920,134 @@ var require_openapi_validators = __commonJS({
27810
27920
  valid0 = true;
27811
27921
  passing0 = 3;
27812
27922
  }
27813
- const _errs41 = errors;
27923
+ const _errs43 = errors;
27814
27924
  if (data && typeof data == "object" && !Array.isArray(data)) {
27815
27925
  if (data.kind === void 0) {
27816
- const err36 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27926
+ const err37 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27817
27927
  if (vErrors === null) {
27818
- vErrors = [err36];
27928
+ vErrors = [err37];
27819
27929
  } else {
27820
- vErrors.push(err36);
27930
+ vErrors.push(err37);
27821
27931
  }
27822
27932
  errors++;
27823
27933
  }
27824
27934
  if (data.commentsFound === void 0) {
27825
- const err37 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/required", keyword: "required", params: { missingProperty: "commentsFound" }, message: "must have required property 'commentsFound'" };
27935
+ const err38 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/required", keyword: "required", params: { missingProperty: "commentsFound" }, message: "must have required property 'commentsFound'" };
27826
27936
  if (vErrors === null) {
27827
- vErrors = [err37];
27937
+ vErrors = [err38];
27828
27938
  } else {
27829
- vErrors.push(err37);
27939
+ vErrors.push(err38);
27830
27940
  }
27831
27941
  errors++;
27832
27942
  }
27833
27943
  if (data.commentsCreated === void 0) {
27834
- const err38 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/required", keyword: "required", params: { missingProperty: "commentsCreated" }, message: "must have required property 'commentsCreated'" };
27944
+ const err39 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/required", keyword: "required", params: { missingProperty: "commentsCreated" }, message: "must have required property 'commentsCreated'" };
27835
27945
  if (vErrors === null) {
27836
- vErrors = [err38];
27946
+ vErrors = [err39];
27837
27947
  } else {
27838
- vErrors.push(err38);
27948
+ vErrors.push(err39);
27839
27949
  }
27840
27950
  errors++;
27841
27951
  }
27842
27952
  if (data.kind !== void 0) {
27843
- let data14 = data.kind;
27844
- if (typeof data14 !== "string") {
27845
- let dataType14 = typeof data14;
27846
- let coerced14 = void 0;
27847
- if (!(coerced14 !== void 0)) {
27848
- if (dataType14 == "number" || dataType14 == "boolean") {
27849
- coerced14 = "" + data14;
27850
- } else if (data14 === null) {
27851
- coerced14 = "";
27953
+ let data15 = data.kind;
27954
+ if (typeof data15 !== "string") {
27955
+ let dataType15 = typeof data15;
27956
+ let coerced15 = void 0;
27957
+ if (!(coerced15 !== void 0)) {
27958
+ if (dataType15 == "number" || dataType15 == "boolean") {
27959
+ coerced15 = "" + data15;
27960
+ } else if (data15 === null) {
27961
+ coerced15 = "";
27852
27962
  } else {
27853
- const err39 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27963
+ const err40 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27854
27964
  if (vErrors === null) {
27855
- vErrors = [err39];
27965
+ vErrors = [err40];
27856
27966
  } else {
27857
- vErrors.push(err39);
27967
+ vErrors.push(err40);
27858
27968
  }
27859
27969
  errors++;
27860
27970
  }
27861
27971
  }
27862
- if (coerced14 !== void 0) {
27863
- data14 = coerced14;
27972
+ if (coerced15 !== void 0) {
27973
+ data15 = coerced15;
27864
27974
  if (data !== void 0) {
27865
- data["kind"] = coerced14;
27975
+ data["kind"] = coerced15;
27866
27976
  }
27867
27977
  }
27868
27978
  }
27869
- if (!(data14 === "comment-annotation")) {
27870
- const err40 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema184.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27979
+ if (!(data15 === "comment-annotation")) {
27980
+ const err41 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema186.properties.kind.enum }, message: "must be equal to one of the allowed values" };
27871
27981
  if (vErrors === null) {
27872
- vErrors = [err40];
27982
+ vErrors = [err41];
27873
27983
  } else {
27874
- vErrors.push(err40);
27984
+ vErrors.push(err41);
27875
27985
  }
27876
27986
  errors++;
27877
27987
  }
27878
27988
  }
27879
27989
  if (data.commentsFound !== void 0) {
27880
- let data15 = data.commentsFound;
27881
- if (!(typeof data15 == "number" && (!(data15 % 1) && !isNaN(data15)) && isFinite(data15))) {
27882
- let dataType15 = typeof data15;
27883
- let coerced15 = void 0;
27884
- if (!(coerced15 !== void 0)) {
27885
- if (dataType15 === "boolean" || data15 === null || dataType15 === "string" && data15 && data15 == +data15 && !(data15 % 1)) {
27886
- coerced15 = +data15;
27990
+ let data16 = data.commentsFound;
27991
+ if (!(typeof data16 == "number" && (!(data16 % 1) && !isNaN(data16)) && isFinite(data16))) {
27992
+ let dataType16 = typeof data16;
27993
+ let coerced16 = void 0;
27994
+ if (!(coerced16 !== void 0)) {
27995
+ if (dataType16 === "boolean" || data16 === null || dataType16 === "string" && data16 && data16 == +data16 && !(data16 % 1)) {
27996
+ coerced16 = +data16;
27887
27997
  } else {
27888
- const err41 = { instancePath: instancePath + "/commentsFound", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/commentsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27998
+ const err42 = { instancePath: instancePath + "/commentsFound", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/commentsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27889
27999
  if (vErrors === null) {
27890
- vErrors = [err41];
28000
+ vErrors = [err42];
27891
28001
  } else {
27892
- vErrors.push(err41);
28002
+ vErrors.push(err42);
27893
28003
  }
27894
28004
  errors++;
27895
28005
  }
27896
28006
  }
27897
- if (coerced15 !== void 0) {
27898
- data15 = coerced15;
28007
+ if (coerced16 !== void 0) {
28008
+ data16 = coerced16;
27899
28009
  if (data !== void 0) {
27900
- data["commentsFound"] = coerced15;
28010
+ data["commentsFound"] = coerced16;
27901
28011
  }
27902
28012
  }
27903
28013
  }
27904
28014
  }
27905
28015
  if (data.commentsCreated !== void 0) {
27906
- let data16 = data.commentsCreated;
27907
- if (!(typeof data16 == "number" && (!(data16 % 1) && !isNaN(data16)) && isFinite(data16))) {
27908
- let dataType16 = typeof data16;
27909
- let coerced16 = void 0;
27910
- if (!(coerced16 !== void 0)) {
27911
- if (dataType16 === "boolean" || data16 === null || dataType16 === "string" && data16 && data16 == +data16 && !(data16 % 1)) {
27912
- coerced16 = +data16;
28016
+ let data17 = data.commentsCreated;
28017
+ if (!(typeof data17 == "number" && (!(data17 % 1) && !isNaN(data17)) && isFinite(data17))) {
28018
+ let dataType17 = typeof data17;
28019
+ let coerced17 = void 0;
28020
+ if (!(coerced17 !== void 0)) {
28021
+ if (dataType17 === "boolean" || data17 === null || dataType17 === "string" && data17 && data17 == +data17 && !(data17 % 1)) {
28022
+ coerced17 = +data17;
27913
28023
  } else {
27914
- const err42 = { instancePath: instancePath + "/commentsCreated", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/commentsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28024
+ const err43 = { instancePath: instancePath + "/commentsCreated", schemaPath: "#/components/schemas/JobCommentAnnotationResult/properties/commentsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
27915
28025
  if (vErrors === null) {
27916
- vErrors = [err42];
28026
+ vErrors = [err43];
27917
28027
  } else {
27918
- vErrors.push(err42);
28028
+ vErrors.push(err43);
27919
28029
  }
27920
28030
  errors++;
27921
28031
  }
27922
28032
  }
27923
- if (coerced16 !== void 0) {
27924
- data16 = coerced16;
28033
+ if (coerced17 !== void 0) {
28034
+ data17 = coerced17;
27925
28035
  if (data !== void 0) {
27926
- data["commentsCreated"] = coerced16;
28036
+ data["commentsCreated"] = coerced17;
27927
28037
  }
27928
28038
  }
27929
28039
  }
27930
28040
  }
27931
28041
  } else {
27932
- const err43 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28042
+ const err44 = { instancePath, schemaPath: "#/components/schemas/JobCommentAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
27933
28043
  if (vErrors === null) {
27934
- vErrors = [err43];
28044
+ vErrors = [err44];
27935
28045
  } else {
27936
- vErrors.push(err43);
28046
+ vErrors.push(err44);
27937
28047
  }
27938
28048
  errors++;
27939
28049
  }
27940
- var _valid0 = _errs41 === errors;
28050
+ var _valid0 = _errs43 === errors;
27941
28051
  if (_valid0 && valid0) {
27942
28052
  valid0 = false;
27943
28053
  passing0 = [passing0, 4];
@@ -27946,182 +28056,182 @@ var require_openapi_validators = __commonJS({
27946
28056
  valid0 = true;
27947
28057
  passing0 = 4;
27948
28058
  }
27949
- const _errs50 = errors;
28059
+ const _errs52 = errors;
27950
28060
  if (data && typeof data == "object" && !Array.isArray(data)) {
27951
28061
  if (data.kind === void 0) {
27952
- const err44 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
28062
+ const err45 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
27953
28063
  if (vErrors === null) {
27954
- vErrors = [err44];
28064
+ vErrors = [err45];
27955
28065
  } else {
27956
- vErrors.push(err44);
28066
+ vErrors.push(err45);
27957
28067
  }
27958
28068
  errors++;
27959
28069
  }
27960
28070
  if (data.tagsFound === void 0) {
27961
- const err45 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "tagsFound" }, message: "must have required property 'tagsFound'" };
28071
+ const err46 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "tagsFound" }, message: "must have required property 'tagsFound'" };
27962
28072
  if (vErrors === null) {
27963
- vErrors = [err45];
28073
+ vErrors = [err46];
27964
28074
  } else {
27965
- vErrors.push(err45);
28075
+ vErrors.push(err46);
27966
28076
  }
27967
28077
  errors++;
27968
28078
  }
27969
28079
  if (data.tagsCreated === void 0) {
27970
- const err46 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "tagsCreated" }, message: "must have required property 'tagsCreated'" };
28080
+ const err47 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "tagsCreated" }, message: "must have required property 'tagsCreated'" };
27971
28081
  if (vErrors === null) {
27972
- vErrors = [err46];
28082
+ vErrors = [err47];
27973
28083
  } else {
27974
- vErrors.push(err46);
28084
+ vErrors.push(err47);
27975
28085
  }
27976
28086
  errors++;
27977
28087
  }
27978
28088
  if (data.byCategory === void 0) {
27979
- const err47 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "byCategory" }, message: "must have required property 'byCategory'" };
28089
+ const err48 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/required", keyword: "required", params: { missingProperty: "byCategory" }, message: "must have required property 'byCategory'" };
27980
28090
  if (vErrors === null) {
27981
- vErrors = [err47];
28091
+ vErrors = [err48];
27982
28092
  } else {
27983
- vErrors.push(err47);
28093
+ vErrors.push(err48);
27984
28094
  }
27985
28095
  errors++;
27986
28096
  }
27987
28097
  if (data.kind !== void 0) {
27988
- let data17 = data.kind;
27989
- if (typeof data17 !== "string") {
27990
- let dataType17 = typeof data17;
27991
- let coerced17 = void 0;
27992
- if (!(coerced17 !== void 0)) {
27993
- if (dataType17 == "number" || dataType17 == "boolean") {
27994
- coerced17 = "" + data17;
27995
- } else if (data17 === null) {
27996
- coerced17 = "";
28098
+ let data18 = data.kind;
28099
+ if (typeof data18 !== "string") {
28100
+ let dataType18 = typeof data18;
28101
+ let coerced18 = void 0;
28102
+ if (!(coerced18 !== void 0)) {
28103
+ if (dataType18 == "number" || dataType18 == "boolean") {
28104
+ coerced18 = "" + data18;
28105
+ } else if (data18 === null) {
28106
+ coerced18 = "";
27997
28107
  } else {
27998
- const err48 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28108
+ const err49 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
27999
28109
  if (vErrors === null) {
28000
- vErrors = [err48];
28110
+ vErrors = [err49];
28001
28111
  } else {
28002
- vErrors.push(err48);
28112
+ vErrors.push(err49);
28003
28113
  }
28004
28114
  errors++;
28005
28115
  }
28006
28116
  }
28007
- if (coerced17 !== void 0) {
28008
- data17 = coerced17;
28117
+ if (coerced18 !== void 0) {
28118
+ data18 = coerced18;
28009
28119
  if (data !== void 0) {
28010
- data["kind"] = coerced17;
28120
+ data["kind"] = coerced18;
28011
28121
  }
28012
28122
  }
28013
28123
  }
28014
- if (!(data17 === "tag-annotation")) {
28015
- const err49 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema193.properties.kind.enum }, message: "must be equal to one of the allowed values" };
28124
+ if (!(data18 === "tag-annotation")) {
28125
+ const err50 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema195.properties.kind.enum }, message: "must be equal to one of the allowed values" };
28016
28126
  if (vErrors === null) {
28017
- vErrors = [err49];
28127
+ vErrors = [err50];
28018
28128
  } else {
28019
- vErrors.push(err49);
28129
+ vErrors.push(err50);
28020
28130
  }
28021
28131
  errors++;
28022
28132
  }
28023
28133
  }
28024
28134
  if (data.tagsFound !== void 0) {
28025
- let data18 = data.tagsFound;
28026
- if (!(typeof data18 == "number" && (!(data18 % 1) && !isNaN(data18)) && isFinite(data18))) {
28027
- let dataType18 = typeof data18;
28028
- let coerced18 = void 0;
28029
- if (!(coerced18 !== void 0)) {
28030
- if (dataType18 === "boolean" || data18 === null || dataType18 === "string" && data18 && data18 == +data18 && !(data18 % 1)) {
28031
- coerced18 = +data18;
28135
+ let data19 = data.tagsFound;
28136
+ if (!(typeof data19 == "number" && (!(data19 % 1) && !isNaN(data19)) && isFinite(data19))) {
28137
+ let dataType19 = typeof data19;
28138
+ let coerced19 = void 0;
28139
+ if (!(coerced19 !== void 0)) {
28140
+ if (dataType19 === "boolean" || data19 === null || dataType19 === "string" && data19 && data19 == +data19 && !(data19 % 1)) {
28141
+ coerced19 = +data19;
28032
28142
  } else {
28033
- const err50 = { instancePath: instancePath + "/tagsFound", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/tagsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28143
+ const err51 = { instancePath: instancePath + "/tagsFound", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/tagsFound/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28034
28144
  if (vErrors === null) {
28035
- vErrors = [err50];
28145
+ vErrors = [err51];
28036
28146
  } else {
28037
- vErrors.push(err50);
28147
+ vErrors.push(err51);
28038
28148
  }
28039
28149
  errors++;
28040
28150
  }
28041
28151
  }
28042
- if (coerced18 !== void 0) {
28043
- data18 = coerced18;
28152
+ if (coerced19 !== void 0) {
28153
+ data19 = coerced19;
28044
28154
  if (data !== void 0) {
28045
- data["tagsFound"] = coerced18;
28155
+ data["tagsFound"] = coerced19;
28046
28156
  }
28047
28157
  }
28048
28158
  }
28049
28159
  }
28050
28160
  if (data.tagsCreated !== void 0) {
28051
- let data19 = data.tagsCreated;
28052
- if (!(typeof data19 == "number" && (!(data19 % 1) && !isNaN(data19)) && isFinite(data19))) {
28053
- let dataType19 = typeof data19;
28054
- let coerced19 = void 0;
28055
- if (!(coerced19 !== void 0)) {
28056
- if (dataType19 === "boolean" || data19 === null || dataType19 === "string" && data19 && data19 == +data19 && !(data19 % 1)) {
28057
- coerced19 = +data19;
28161
+ let data20 = data.tagsCreated;
28162
+ if (!(typeof data20 == "number" && (!(data20 % 1) && !isNaN(data20)) && isFinite(data20))) {
28163
+ let dataType20 = typeof data20;
28164
+ let coerced20 = void 0;
28165
+ if (!(coerced20 !== void 0)) {
28166
+ if (dataType20 === "boolean" || data20 === null || dataType20 === "string" && data20 && data20 == +data20 && !(data20 % 1)) {
28167
+ coerced20 = +data20;
28058
28168
  } else {
28059
- const err51 = { instancePath: instancePath + "/tagsCreated", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/tagsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28169
+ const err52 = { instancePath: instancePath + "/tagsCreated", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/tagsCreated/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28060
28170
  if (vErrors === null) {
28061
- vErrors = [err51];
28171
+ vErrors = [err52];
28062
28172
  } else {
28063
- vErrors.push(err51);
28173
+ vErrors.push(err52);
28064
28174
  }
28065
28175
  errors++;
28066
28176
  }
28067
28177
  }
28068
- if (coerced19 !== void 0) {
28069
- data19 = coerced19;
28178
+ if (coerced20 !== void 0) {
28179
+ data20 = coerced20;
28070
28180
  if (data !== void 0) {
28071
- data["tagsCreated"] = coerced19;
28181
+ data["tagsCreated"] = coerced20;
28072
28182
  }
28073
28183
  }
28074
28184
  }
28075
28185
  }
28076
28186
  if (data.byCategory !== void 0) {
28077
- let data20 = data.byCategory;
28078
- if (data20 && typeof data20 == "object" && !Array.isArray(data20)) {
28079
- for (const key0 in data20) {
28080
- let data21 = data20[key0];
28081
- if (!(typeof data21 == "number" && (!(data21 % 1) && !isNaN(data21)) && isFinite(data21))) {
28082
- let dataType20 = typeof data21;
28083
- let coerced20 = void 0;
28084
- if (!(coerced20 !== void 0)) {
28085
- if (dataType20 === "boolean" || data21 === null || dataType20 === "string" && data21 && data21 == +data21 && !(data21 % 1)) {
28086
- coerced20 = +data21;
28187
+ let data21 = data.byCategory;
28188
+ if (data21 && typeof data21 == "object" && !Array.isArray(data21)) {
28189
+ for (const key0 in data21) {
28190
+ let data22 = data21[key0];
28191
+ if (!(typeof data22 == "number" && (!(data22 % 1) && !isNaN(data22)) && isFinite(data22))) {
28192
+ let dataType21 = typeof data22;
28193
+ let coerced21 = void 0;
28194
+ if (!(coerced21 !== void 0)) {
28195
+ if (dataType21 === "boolean" || data22 === null || dataType21 === "string" && data22 && data22 == +data22 && !(data22 % 1)) {
28196
+ coerced21 = +data22;
28087
28197
  } else {
28088
- const err52 = { instancePath: instancePath + "/byCategory/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/byCategory/additionalProperties/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28198
+ const err53 = { instancePath: instancePath + "/byCategory/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/byCategory/additionalProperties/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
28089
28199
  if (vErrors === null) {
28090
- vErrors = [err52];
28200
+ vErrors = [err53];
28091
28201
  } else {
28092
- vErrors.push(err52);
28202
+ vErrors.push(err53);
28093
28203
  }
28094
28204
  errors++;
28095
28205
  }
28096
28206
  }
28097
- if (coerced20 !== void 0) {
28098
- data21 = coerced20;
28099
- if (data20 !== void 0) {
28100
- data20[key0] = coerced20;
28207
+ if (coerced21 !== void 0) {
28208
+ data22 = coerced21;
28209
+ if (data21 !== void 0) {
28210
+ data21[key0] = coerced21;
28101
28211
  }
28102
28212
  }
28103
28213
  }
28104
28214
  }
28105
28215
  } else {
28106
- const err53 = { instancePath: instancePath + "/byCategory", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/byCategory/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28216
+ const err54 = { instancePath: instancePath + "/byCategory", schemaPath: "#/components/schemas/JobTagAnnotationResult/properties/byCategory/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28107
28217
  if (vErrors === null) {
28108
- vErrors = [err53];
28218
+ vErrors = [err54];
28109
28219
  } else {
28110
- vErrors.push(err53);
28220
+ vErrors.push(err54);
28111
28221
  }
28112
28222
  errors++;
28113
28223
  }
28114
28224
  }
28115
28225
  } else {
28116
- const err54 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28226
+ const err55 = { instancePath, schemaPath: "#/components/schemas/JobTagAnnotationResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28117
28227
  if (vErrors === null) {
28118
- vErrors = [err54];
28228
+ vErrors = [err55];
28119
28229
  } else {
28120
- vErrors.push(err54);
28230
+ vErrors.push(err55);
28121
28231
  }
28122
28232
  errors++;
28123
28233
  }
28124
- var _valid0 = _errs50 === errors;
28234
+ var _valid0 = _errs52 === errors;
28125
28235
  if (_valid0 && valid0) {
28126
28236
  valid0 = false;
28127
28237
  passing0 = [passing0, 5];
@@ -28130,155 +28240,155 @@ var require_openapi_validators = __commonJS({
28130
28240
  valid0 = true;
28131
28241
  passing0 = 5;
28132
28242
  }
28133
- const _errs64 = errors;
28243
+ const _errs66 = errors;
28134
28244
  if (data && typeof data == "object" && !Array.isArray(data)) {
28135
28245
  if (data.kind === void 0) {
28136
- const err55 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
28246
+ const err56 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/required", keyword: "required", params: { missingProperty: "kind" }, message: "must have required property 'kind'" };
28137
28247
  if (vErrors === null) {
28138
- vErrors = [err55];
28248
+ vErrors = [err56];
28139
28249
  } else {
28140
- vErrors.push(err55);
28250
+ vErrors.push(err56);
28141
28251
  }
28142
28252
  errors++;
28143
28253
  }
28144
28254
  if (data.declined === void 0) {
28145
- const err56 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/required", keyword: "required", params: { missingProperty: "declined" }, message: "must have required property 'declined'" };
28255
+ const err57 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/required", keyword: "required", params: { missingProperty: "declined" }, message: "must have required property 'declined'" };
28146
28256
  if (vErrors === null) {
28147
- vErrors = [err56];
28257
+ vErrors = [err57];
28148
28258
  } else {
28149
- vErrors.push(err56);
28259
+ vErrors.push(err57);
28150
28260
  }
28151
28261
  errors++;
28152
28262
  }
28153
28263
  if (data.reason === void 0) {
28154
- const err57 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/required", keyword: "required", params: { missingProperty: "reason" }, message: "must have required property 'reason'" };
28264
+ const err58 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/required", keyword: "required", params: { missingProperty: "reason" }, message: "must have required property 'reason'" };
28155
28265
  if (vErrors === null) {
28156
- vErrors = [err57];
28266
+ vErrors = [err58];
28157
28267
  } else {
28158
- vErrors.push(err57);
28268
+ vErrors.push(err58);
28159
28269
  }
28160
28270
  errors++;
28161
28271
  }
28162
28272
  if (data.kind !== void 0) {
28163
- let data22 = data.kind;
28164
- if (typeof data22 !== "string") {
28165
- let dataType21 = typeof data22;
28166
- let coerced21 = void 0;
28167
- if (!(coerced21 !== void 0)) {
28168
- if (dataType21 == "number" || dataType21 == "boolean") {
28169
- coerced21 = "" + data22;
28170
- } else if (data22 === null) {
28171
- coerced21 = "";
28273
+ let data23 = data.kind;
28274
+ if (typeof data23 !== "string") {
28275
+ let dataType22 = typeof data23;
28276
+ let coerced22 = void 0;
28277
+ if (!(coerced22 !== void 0)) {
28278
+ if (dataType22 == "number" || dataType22 == "boolean") {
28279
+ coerced22 = "" + data23;
28280
+ } else if (data23 === null) {
28281
+ coerced22 = "";
28172
28282
  } else {
28173
- const err58 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobDeclinedResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28283
+ const err59 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobDeclinedResult/properties/kind/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28174
28284
  if (vErrors === null) {
28175
- vErrors = [err58];
28285
+ vErrors = [err59];
28176
28286
  } else {
28177
- vErrors.push(err58);
28287
+ vErrors.push(err59);
28178
28288
  }
28179
28289
  errors++;
28180
28290
  }
28181
28291
  }
28182
- if (coerced21 !== void 0) {
28183
- data22 = coerced21;
28292
+ if (coerced22 !== void 0) {
28293
+ data23 = coerced22;
28184
28294
  if (data !== void 0) {
28185
- data["kind"] = coerced21;
28295
+ data["kind"] = coerced22;
28186
28296
  }
28187
28297
  }
28188
28298
  }
28189
- if (!(data22 === "declined")) {
28190
- const err59 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobDeclinedResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema194.properties.kind.enum }, message: "must be equal to one of the allowed values" };
28299
+ if (!(data23 === "declined")) {
28300
+ const err60 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobDeclinedResult/properties/kind/enum", keyword: "enum", params: { allowedValues: schema196.properties.kind.enum }, message: "must be equal to one of the allowed values" };
28191
28301
  if (vErrors === null) {
28192
- vErrors = [err59];
28302
+ vErrors = [err60];
28193
28303
  } else {
28194
- vErrors.push(err59);
28304
+ vErrors.push(err60);
28195
28305
  }
28196
28306
  errors++;
28197
28307
  }
28198
28308
  }
28199
28309
  if (data.declined !== void 0) {
28200
- let data23 = data.declined;
28201
- if (typeof data23 !== "boolean") {
28202
- let coerced22 = void 0;
28203
- if (!(coerced22 !== void 0)) {
28204
- if (data23 === "false" || data23 === 0 || data23 === null) {
28205
- coerced22 = false;
28206
- } else if (data23 === "true" || data23 === 1) {
28207
- coerced22 = true;
28310
+ let data24 = data.declined;
28311
+ if (typeof data24 !== "boolean") {
28312
+ let coerced23 = void 0;
28313
+ if (!(coerced23 !== void 0)) {
28314
+ if (data24 === "false" || data24 === 0 || data24 === null) {
28315
+ coerced23 = false;
28316
+ } else if (data24 === "true" || data24 === 1) {
28317
+ coerced23 = true;
28208
28318
  } else {
28209
- const err60 = { instancePath: instancePath + "/declined", schemaPath: "#/components/schemas/JobDeclinedResult/properties/declined/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
28319
+ const err61 = { instancePath: instancePath + "/declined", schemaPath: "#/components/schemas/JobDeclinedResult/properties/declined/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
28210
28320
  if (vErrors === null) {
28211
- vErrors = [err60];
28321
+ vErrors = [err61];
28212
28322
  } else {
28213
- vErrors.push(err60);
28323
+ vErrors.push(err61);
28214
28324
  }
28215
28325
  errors++;
28216
28326
  }
28217
28327
  }
28218
- if (coerced22 !== void 0) {
28219
- data23 = coerced22;
28328
+ if (coerced23 !== void 0) {
28329
+ data24 = coerced23;
28220
28330
  if (data !== void 0) {
28221
- data["declined"] = coerced22;
28331
+ data["declined"] = coerced23;
28222
28332
  }
28223
28333
  }
28224
28334
  }
28225
- if (!(data23 === true)) {
28226
- const err61 = { instancePath: instancePath + "/declined", schemaPath: "#/components/schemas/JobDeclinedResult/properties/declined/enum", keyword: "enum", params: { allowedValues: schema194.properties.declined.enum }, message: "must be equal to one of the allowed values" };
28335
+ if (!(data24 === true)) {
28336
+ const err62 = { instancePath: instancePath + "/declined", schemaPath: "#/components/schemas/JobDeclinedResult/properties/declined/enum", keyword: "enum", params: { allowedValues: schema196.properties.declined.enum }, message: "must be equal to one of the allowed values" };
28227
28337
  if (vErrors === null) {
28228
- vErrors = [err61];
28338
+ vErrors = [err62];
28229
28339
  } else {
28230
- vErrors.push(err61);
28340
+ vErrors.push(err62);
28231
28341
  }
28232
28342
  errors++;
28233
28343
  }
28234
28344
  }
28235
28345
  if (data.reason !== void 0) {
28236
- let data24 = data.reason;
28237
- if (typeof data24 !== "string") {
28238
- let dataType23 = typeof data24;
28239
- let coerced23 = void 0;
28240
- if (!(coerced23 !== void 0)) {
28241
- if (dataType23 == "number" || dataType23 == "boolean") {
28242
- coerced23 = "" + data24;
28243
- } else if (data24 === null) {
28244
- coerced23 = "";
28346
+ let data25 = data.reason;
28347
+ if (typeof data25 !== "string") {
28348
+ let dataType24 = typeof data25;
28349
+ let coerced24 = void 0;
28350
+ if (!(coerced24 !== void 0)) {
28351
+ if (dataType24 == "number" || dataType24 == "boolean") {
28352
+ coerced24 = "" + data25;
28353
+ } else if (data25 === null) {
28354
+ coerced24 = "";
28245
28355
  } else {
28246
- const err62 = { instancePath: instancePath + "/reason", schemaPath: "#/components/schemas/JobDeclinedResult/properties/reason/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28356
+ const err63 = { instancePath: instancePath + "/reason", schemaPath: "#/components/schemas/JobDeclinedResult/properties/reason/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28247
28357
  if (vErrors === null) {
28248
- vErrors = [err62];
28358
+ vErrors = [err63];
28249
28359
  } else {
28250
- vErrors.push(err62);
28360
+ vErrors.push(err63);
28251
28361
  }
28252
28362
  errors++;
28253
28363
  }
28254
28364
  }
28255
- if (coerced23 !== void 0) {
28256
- data24 = coerced23;
28365
+ if (coerced24 !== void 0) {
28366
+ data25 = coerced24;
28257
28367
  if (data !== void 0) {
28258
- data["reason"] = coerced23;
28368
+ data["reason"] = coerced24;
28259
28369
  }
28260
28370
  }
28261
28371
  }
28262
- if (!(data24 === "no-text-layer" || data24 === "encrypted" || data24 === "corrupt" || data24 === "too-large" || data24 === "empty")) {
28263
- const err63 = { instancePath: instancePath + "/reason", schemaPath: "#/components/schemas/JobDeclinedResult/properties/reason/enum", keyword: "enum", params: { allowedValues: schema194.properties.reason.enum }, message: "must be equal to one of the allowed values" };
28372
+ if (!(data25 === "no-text-layer" || data25 === "encrypted" || data25 === "corrupt" || data25 === "too-large" || data25 === "empty")) {
28373
+ const err64 = { instancePath: instancePath + "/reason", schemaPath: "#/components/schemas/JobDeclinedResult/properties/reason/enum", keyword: "enum", params: { allowedValues: schema196.properties.reason.enum }, message: "must be equal to one of the allowed values" };
28264
28374
  if (vErrors === null) {
28265
- vErrors = [err63];
28375
+ vErrors = [err64];
28266
28376
  } else {
28267
- vErrors.push(err63);
28377
+ vErrors.push(err64);
28268
28378
  }
28269
28379
  errors++;
28270
28380
  }
28271
28381
  }
28272
28382
  } else {
28273
- const err64 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28383
+ const err65 = { instancePath, schemaPath: "#/components/schemas/JobDeclinedResult/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28274
28384
  if (vErrors === null) {
28275
- vErrors = [err64];
28385
+ vErrors = [err65];
28276
28386
  } else {
28277
- vErrors.push(err64);
28387
+ vErrors.push(err65);
28278
28388
  }
28279
28389
  errors++;
28280
28390
  }
28281
- var _valid0 = _errs64 === errors;
28391
+ var _valid0 = _errs66 === errors;
28282
28392
  if (_valid0 && valid0) {
28283
28393
  valid0 = false;
28284
28394
  passing0 = [passing0, 6];
@@ -28294,11 +28404,11 @@ var require_openapi_validators = __commonJS({
28294
28404
  }
28295
28405
  }
28296
28406
  if (!valid0) {
28297
- const err65 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
28407
+ const err66 = { instancePath, schemaPath: "#/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
28298
28408
  if (vErrors === null) {
28299
- vErrors = [err65];
28409
+ vErrors = [err66];
28300
28410
  } else {
28301
- vErrors.push(err65);
28411
+ vErrors.push(err66);
28302
28412
  }
28303
28413
  errors++;
28304
28414
  } else {
@@ -28311,10 +28421,10 @@ var require_openapi_validators = __commonJS({
28311
28421
  }
28312
28422
  }
28313
28423
  }
28314
- validate222.errors = vErrors;
28424
+ validate224.errors = vErrors;
28315
28425
  return errors === 0;
28316
28426
  }
28317
- function validate221(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28427
+ function validate223(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28318
28428
  let vErrors = null;
28319
28429
  let errors = 0;
28320
28430
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -28495,25 +28605,62 @@ var require_openapi_validators = __commonJS({
28495
28605
  }
28496
28606
  }
28497
28607
  if (data.result !== void 0) {
28498
- if (!validate222(data.result, { instancePath: instancePath + "/result", parentData: data, parentDataProperty: "result", rootData })) {
28499
- vErrors = vErrors === null ? validate222.errors : vErrors.concat(validate222.errors);
28608
+ if (!validate224(data.result, { instancePath: instancePath + "/result", parentData: data, parentDataProperty: "result", rootData })) {
28609
+ vErrors = vErrors === null ? validate224.errors : vErrors.concat(validate224.errors);
28500
28610
  errors = vErrors.length;
28501
28611
  }
28502
28612
  }
28613
+ if (data.durability !== void 0) {
28614
+ let data6 = data.durability;
28615
+ if (typeof data6 !== "string") {
28616
+ let dataType5 = typeof data6;
28617
+ let coerced5 = void 0;
28618
+ if (!(coerced5 !== void 0)) {
28619
+ if (dataType5 == "number" || dataType5 == "boolean") {
28620
+ coerced5 = "" + data6;
28621
+ } else if (data6 === null) {
28622
+ coerced5 = "";
28623
+ } else {
28624
+ const err9 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28625
+ if (vErrors === null) {
28626
+ vErrors = [err9];
28627
+ } else {
28628
+ vErrors.push(err9);
28629
+ }
28630
+ errors++;
28631
+ }
28632
+ }
28633
+ if (coerced5 !== void 0) {
28634
+ data6 = coerced5;
28635
+ if (data !== void 0) {
28636
+ data["durability"] = coerced5;
28637
+ }
28638
+ }
28639
+ }
28640
+ if (!(data6 === "acknowledged" || data6 === "probe-confirmed" || data6 === "probe-refused" || data6 === "probe-unreachable")) {
28641
+ const err10 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
28642
+ if (vErrors === null) {
28643
+ vErrors = [err10];
28644
+ } else {
28645
+ vErrors.push(err10);
28646
+ }
28647
+ errors++;
28648
+ }
28649
+ }
28503
28650
  } else {
28504
- const err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28651
+ const err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28505
28652
  if (vErrors === null) {
28506
- vErrors = [err9];
28653
+ vErrors = [err11];
28507
28654
  } else {
28508
- vErrors.push(err9);
28655
+ vErrors.push(err11);
28509
28656
  }
28510
28657
  errors++;
28511
28658
  }
28512
- validate221.errors = vErrors;
28659
+ validate223.errors = vErrors;
28513
28660
  return errors === 0;
28514
28661
  }
28515
- exports.JobCompletedPayload = validate224;
28516
- function validate224(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28662
+ exports.JobCompletedPayload = validate226;
28663
+ function validate226(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28517
28664
  let vErrors = null;
28518
28665
  let errors = 0;
28519
28666
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -28748,20 +28895,57 @@ var require_openapi_validators = __commonJS({
28748
28895
  errors++;
28749
28896
  }
28750
28897
  }
28898
+ if (data.durability !== void 0) {
28899
+ let data8 = data.durability;
28900
+ if (typeof data8 !== "string") {
28901
+ let dataType7 = typeof data8;
28902
+ let coerced7 = void 0;
28903
+ if (!(coerced7 !== void 0)) {
28904
+ if (dataType7 == "number" || dataType7 == "boolean") {
28905
+ coerced7 = "" + data8;
28906
+ } else if (data8 === null) {
28907
+ coerced7 = "";
28908
+ } else {
28909
+ const err11 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/type", keyword: "type", params: { type: "string" }, message: "must be string" };
28910
+ if (vErrors === null) {
28911
+ vErrors = [err11];
28912
+ } else {
28913
+ vErrors.push(err11);
28914
+ }
28915
+ errors++;
28916
+ }
28917
+ }
28918
+ if (coerced7 !== void 0) {
28919
+ data8 = coerced7;
28920
+ if (data !== void 0) {
28921
+ data["durability"] = coerced7;
28922
+ }
28923
+ }
28924
+ }
28925
+ if (!(data8 === "acknowledged" || data8 === "probe-confirmed" || data8 === "probe-refused" || data8 === "probe-unreachable")) {
28926
+ const err12 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
28927
+ if (vErrors === null) {
28928
+ vErrors = [err12];
28929
+ } else {
28930
+ vErrors.push(err12);
28931
+ }
28932
+ errors++;
28933
+ }
28934
+ }
28751
28935
  } else {
28752
- const err11 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28936
+ const err13 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
28753
28937
  if (vErrors === null) {
28754
- vErrors = [err11];
28938
+ vErrors = [err13];
28755
28939
  } else {
28756
- vErrors.push(err11);
28940
+ vErrors.push(err13);
28757
28941
  }
28758
28942
  errors++;
28759
28943
  }
28760
- validate224.errors = vErrors;
28944
+ validate226.errors = vErrors;
28761
28945
  return errors === 0;
28762
28946
  }
28763
- exports.JobCreateCommand = validate225;
28764
- function validate225(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28947
+ exports.JobCreateCommand = validate227;
28948
+ function validate227(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28765
28949
  let vErrors = null;
28766
28950
  let errors = 0;
28767
28951
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -28934,11 +29118,11 @@ var require_openapi_validators = __commonJS({
28934
29118
  }
28935
29119
  errors++;
28936
29120
  }
28937
- validate225.errors = vErrors;
29121
+ validate227.errors = vErrors;
28938
29122
  return errors === 0;
28939
29123
  }
28940
- exports.JobCreatedResult = validate226;
28941
- function validate226(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29124
+ exports.JobCreatedResult = validate228;
29125
+ function validate228(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
28942
29126
  let vErrors = null;
28943
29127
  let errors = 0;
28944
29128
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -29047,11 +29231,11 @@ var require_openapi_validators = __commonJS({
29047
29231
  }
29048
29232
  errors++;
29049
29233
  }
29050
- validate226.errors = vErrors;
29234
+ validate228.errors = vErrors;
29051
29235
  return errors === 0;
29052
29236
  }
29053
- exports.JobDeclinedResult = validate227;
29054
- function validate227(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29237
+ exports.JobDeclinedResult = validate229;
29238
+ function validate229(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29055
29239
  let vErrors = null;
29056
29240
  let errors = 0;
29057
29241
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -29110,7 +29294,7 @@ var require_openapi_validators = __commonJS({
29110
29294
  }
29111
29295
  }
29112
29296
  if (!(data0 === "declined")) {
29113
- const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema194.properties.kind.enum }, message: "must be equal to one of the allowed values" };
29297
+ const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema196.properties.kind.enum }, message: "must be equal to one of the allowed values" };
29114
29298
  if (vErrors === null) {
29115
29299
  vErrors = [err4];
29116
29300
  } else {
@@ -29146,7 +29330,7 @@ var require_openapi_validators = __commonJS({
29146
29330
  }
29147
29331
  }
29148
29332
  if (!(data1 === true)) {
29149
- const err6 = { instancePath: instancePath + "/declined", schemaPath: "#/properties/declined/enum", keyword: "enum", params: { allowedValues: schema194.properties.declined.enum }, message: "must be equal to one of the allowed values" };
29333
+ const err6 = { instancePath: instancePath + "/declined", schemaPath: "#/properties/declined/enum", keyword: "enum", params: { allowedValues: schema196.properties.declined.enum }, message: "must be equal to one of the allowed values" };
29150
29334
  if (vErrors === null) {
29151
29335
  vErrors = [err6];
29152
29336
  } else {
@@ -29183,7 +29367,7 @@ var require_openapi_validators = __commonJS({
29183
29367
  }
29184
29368
  }
29185
29369
  if (!(data2 === "no-text-layer" || data2 === "encrypted" || data2 === "corrupt" || data2 === "too-large" || data2 === "empty")) {
29186
- const err8 = { instancePath: instancePath + "/reason", schemaPath: "#/properties/reason/enum", keyword: "enum", params: { allowedValues: schema194.properties.reason.enum }, message: "must be equal to one of the allowed values" };
29370
+ const err8 = { instancePath: instancePath + "/reason", schemaPath: "#/properties/reason/enum", keyword: "enum", params: { allowedValues: schema196.properties.reason.enum }, message: "must be equal to one of the allowed values" };
29187
29371
  if (vErrors === null) {
29188
29372
  vErrors = [err8];
29189
29373
  } else {
@@ -29201,12 +29385,11 @@ var require_openapi_validators = __commonJS({
29201
29385
  }
29202
29386
  errors++;
29203
29387
  }
29204
- validate227.errors = vErrors;
29388
+ validate229.errors = vErrors;
29205
29389
  return errors === 0;
29206
29390
  }
29207
- exports.JobFailCommand = validate228;
29208
- var schema201 = { "properties": { "failureClass": { "enum": ["transient", "deterministic"]}}};
29209
- function validate228(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29391
+ exports.JobFailCommand = validate230;
29392
+ function validate230(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29210
29393
  let vErrors = null;
29211
29394
  let errors = 0;
29212
29395
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -29476,7 +29659,7 @@ var require_openapi_validators = __commonJS({
29476
29659
  } else if (data8 === null) {
29477
29660
  coerced7 = "";
29478
29661
  } else {
29479
- const err13 = { instancePath: instancePath + "/failureClass", schemaPath: "#/properties/failureClass/type", keyword: "type", params: { type: "string" }, message: "must be string" };
29662
+ const err13 = { instancePath: instancePath + "/failureClass", schemaPath: "#/components/schemas/FailureClass/type", keyword: "type", params: { type: "string" }, message: "must be string" };
29480
29663
  if (vErrors === null) {
29481
29664
  vErrors = [err13];
29482
29665
  } else {
@@ -29493,7 +29676,7 @@ var require_openapi_validators = __commonJS({
29493
29676
  }
29494
29677
  }
29495
29678
  if (!(data8 === "transient" || data8 === "deterministic")) {
29496
- const err14 = { instancePath: instancePath + "/failureClass", schemaPath: "#/properties/failureClass/enum", keyword: "enum", params: { allowedValues: schema201.properties.failureClass.enum }, message: "must be equal to one of the allowed values" };
29679
+ const err14 = { instancePath: instancePath + "/failureClass", schemaPath: "#/components/schemas/FailureClass/enum", keyword: "enum", params: { allowedValues: schema153.enum }, message: "must be equal to one of the allowed values" };
29497
29680
  if (vErrors === null) {
29498
29681
  vErrors = [err14];
29499
29682
  } else {
@@ -29529,20 +29712,57 @@ var require_openapi_validators = __commonJS({
29529
29712
  }
29530
29713
  }
29531
29714
  }
29715
+ if (data.durability !== void 0) {
29716
+ let data10 = data.durability;
29717
+ if (typeof data10 !== "string") {
29718
+ let dataType9 = typeof data10;
29719
+ let coerced9 = void 0;
29720
+ if (!(coerced9 !== void 0)) {
29721
+ if (dataType9 == "number" || dataType9 == "boolean") {
29722
+ coerced9 = "" + data10;
29723
+ } else if (data10 === null) {
29724
+ coerced9 = "";
29725
+ } else {
29726
+ const err16 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/type", keyword: "type", params: { type: "string" }, message: "must be string" };
29727
+ if (vErrors === null) {
29728
+ vErrors = [err16];
29729
+ } else {
29730
+ vErrors.push(err16);
29731
+ }
29732
+ errors++;
29733
+ }
29734
+ }
29735
+ if (coerced9 !== void 0) {
29736
+ data10 = coerced9;
29737
+ if (data !== void 0) {
29738
+ data["durability"] = coerced9;
29739
+ }
29740
+ }
29741
+ }
29742
+ if (!(data10 === "acknowledged" || data10 === "probe-confirmed" || data10 === "probe-refused" || data10 === "probe-unreachable")) {
29743
+ const err17 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
29744
+ if (vErrors === null) {
29745
+ vErrors = [err17];
29746
+ } else {
29747
+ vErrors.push(err17);
29748
+ }
29749
+ errors++;
29750
+ }
29751
+ }
29532
29752
  } else {
29533
- const err16 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
29753
+ const err18 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
29534
29754
  if (vErrors === null) {
29535
- vErrors = [err16];
29755
+ vErrors = [err18];
29536
29756
  } else {
29537
- vErrors.push(err16);
29757
+ vErrors.push(err18);
29538
29758
  }
29539
29759
  errors++;
29540
29760
  }
29541
- validate228.errors = vErrors;
29761
+ validate230.errors = vErrors;
29542
29762
  return errors === 0;
29543
29763
  }
29544
- exports.JobFailedPayload = validate229;
29545
- function validate229(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29764
+ exports.JobFailedPayload = validate231;
29765
+ function validate231(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29546
29766
  let vErrors = null;
29547
29767
  let errors = 0;
29548
29768
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -29694,8 +29914,8 @@ var require_openapi_validators = __commonJS({
29694
29914
  }
29695
29915
  }
29696
29916
  }
29697
- if (data.details !== void 0) {
29698
- let data4 = data.details;
29917
+ if (data.failureClass !== void 0) {
29918
+ let data4 = data.failureClass;
29699
29919
  if (typeof data4 !== "string") {
29700
29920
  let dataType4 = typeof data4;
29701
29921
  let coerced4 = void 0;
@@ -29705,7 +29925,7 @@ var require_openapi_validators = __commonJS({
29705
29925
  } else if (data4 === null) {
29706
29926
  coerced4 = "";
29707
29927
  } else {
29708
- const err8 = { instancePath: instancePath + "/details", schemaPath: "#/properties/details/type", keyword: "type", params: { type: "string" }, message: "must be string" };
29928
+ const err8 = { instancePath: instancePath + "/failureClass", schemaPath: "#/components/schemas/FailureClass/type", keyword: "type", params: { type: "string" }, message: "must be string" };
29709
29929
  if (vErrors === null) {
29710
29930
  vErrors = [err8];
29711
29931
  } else {
@@ -29717,25 +29937,98 @@ var require_openapi_validators = __commonJS({
29717
29937
  if (coerced4 !== void 0) {
29718
29938
  data4 = coerced4;
29719
29939
  if (data !== void 0) {
29720
- data["details"] = coerced4;
29940
+ data["failureClass"] = coerced4;
29941
+ }
29942
+ }
29943
+ }
29944
+ if (!(data4 === "transient" || data4 === "deterministic")) {
29945
+ const err9 = { instancePath: instancePath + "/failureClass", schemaPath: "#/components/schemas/FailureClass/enum", keyword: "enum", params: { allowedValues: schema153.enum }, message: "must be equal to one of the allowed values" };
29946
+ if (vErrors === null) {
29947
+ vErrors = [err9];
29948
+ } else {
29949
+ vErrors.push(err9);
29950
+ }
29951
+ errors++;
29952
+ }
29953
+ }
29954
+ if (data.willRetry !== void 0) {
29955
+ let data5 = data.willRetry;
29956
+ if (typeof data5 !== "boolean") {
29957
+ let coerced5 = void 0;
29958
+ if (!(coerced5 !== void 0)) {
29959
+ if (data5 === "false" || data5 === 0 || data5 === null) {
29960
+ coerced5 = false;
29961
+ } else if (data5 === "true" || data5 === 1) {
29962
+ coerced5 = true;
29963
+ } else {
29964
+ const err10 = { instancePath: instancePath + "/willRetry", schemaPath: "#/properties/willRetry/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
29965
+ if (vErrors === null) {
29966
+ vErrors = [err10];
29967
+ } else {
29968
+ vErrors.push(err10);
29969
+ }
29970
+ errors++;
29971
+ }
29972
+ }
29973
+ if (coerced5 !== void 0) {
29974
+ data5 = coerced5;
29975
+ if (data !== void 0) {
29976
+ data["willRetry"] = coerced5;
29977
+ }
29978
+ }
29979
+ }
29980
+ }
29981
+ if (data.durability !== void 0) {
29982
+ let data6 = data.durability;
29983
+ if (typeof data6 !== "string") {
29984
+ let dataType6 = typeof data6;
29985
+ let coerced6 = void 0;
29986
+ if (!(coerced6 !== void 0)) {
29987
+ if (dataType6 == "number" || dataType6 == "boolean") {
29988
+ coerced6 = "" + data6;
29989
+ } else if (data6 === null) {
29990
+ coerced6 = "";
29991
+ } else {
29992
+ const err11 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/type", keyword: "type", params: { type: "string" }, message: "must be string" };
29993
+ if (vErrors === null) {
29994
+ vErrors = [err11];
29995
+ } else {
29996
+ vErrors.push(err11);
29997
+ }
29998
+ errors++;
29999
+ }
30000
+ }
30001
+ if (coerced6 !== void 0) {
30002
+ data6 = coerced6;
30003
+ if (data !== void 0) {
30004
+ data["durability"] = coerced6;
29721
30005
  }
29722
30006
  }
29723
30007
  }
30008
+ if (!(data6 === "acknowledged" || data6 === "probe-confirmed" || data6 === "probe-refused" || data6 === "probe-unreachable")) {
30009
+ const err12 = { instancePath: instancePath + "/durability", schemaPath: "#/components/schemas/DurabilityEvidence/enum", keyword: "enum", params: { allowedValues: schema143.enum }, message: "must be equal to one of the allowed values" };
30010
+ if (vErrors === null) {
30011
+ vErrors = [err12];
30012
+ } else {
30013
+ vErrors.push(err12);
30014
+ }
30015
+ errors++;
30016
+ }
29724
30017
  }
29725
30018
  } else {
29726
- const err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
30019
+ const err13 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
29727
30020
  if (vErrors === null) {
29728
- vErrors = [err9];
30021
+ vErrors = [err13];
29729
30022
  } else {
29730
- vErrors.push(err9);
30023
+ vErrors.push(err13);
29731
30024
  }
29732
30025
  errors++;
29733
30026
  }
29734
- validate229.errors = vErrors;
30027
+ validate231.errors = vErrors;
29735
30028
  return errors === 0;
29736
30029
  }
29737
- exports.JobGenerationResult = validate230;
29738
- function validate230(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
30030
+ exports.JobGenerationResult = validate232;
30031
+ function validate232(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29739
30032
  let vErrors = null;
29740
30033
  let errors = 0;
29741
30034
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -29803,7 +30096,7 @@ var require_openapi_validators = __commonJS({
29803
30096
  }
29804
30097
  }
29805
30098
  if (!(data0 === "generation")) {
29806
- const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema188.properties.kind.enum }, message: "must be equal to one of the allowed values" };
30099
+ const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema190.properties.kind.enum }, message: "must be equal to one of the allowed values" };
29807
30100
  if (vErrors === null) {
29808
30101
  vErrors = [err5];
29809
30102
  } else {
@@ -29904,11 +30197,11 @@ var require_openapi_validators = __commonJS({
29904
30197
  }
29905
30198
  errors++;
29906
30199
  }
29907
- validate230.errors = vErrors;
30200
+ validate232.errors = vErrors;
29908
30201
  return errors === 0;
29909
30202
  }
29910
- exports.JobHighlightAnnotationResult = validate231;
29911
- function validate231(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
30203
+ exports.JobHighlightAnnotationResult = validate233;
30204
+ function validate233(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
29912
30205
  let vErrors = null;
29913
30206
  let errors = 0;
29914
30207
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -29967,7 +30260,7 @@ var require_openapi_validators = __commonJS({
29967
30260
  }
29968
30261
  }
29969
30262
  if (!(data0 === "highlight-annotation")) {
29970
- const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema190.properties.kind.enum }, message: "must be equal to one of the allowed values" };
30263
+ const err4 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema192.properties.kind.enum }, message: "must be equal to one of the allowed values" };
29971
30264
  if (vErrors === null) {
29972
30265
  vErrors = [err4];
29973
30266
  } else {
@@ -30037,22 +30330,22 @@ var require_openapi_validators = __commonJS({
30037
30330
  }
30038
30331
  errors++;
30039
30332
  }
30040
- validate231.errors = vErrors;
30333
+ validate233.errors = vErrors;
30041
30334
  return errors === 0;
30042
30335
  }
30043
- exports.JobProgress = validate232;
30044
- var schema207 = { "properties": { "current": { "properties": { "kind": { "enum": ["entity-type", "category"]}}}, "requestParams": { "items": { "properties": { "label": { "enum": ["entity-types", "instructions", "tone", "density"]}}} } }};
30045
- var schema209 = { "properties": { "code": { "enum": ["loading"] } }};
30046
- var schema210 = { "properties": { "code": { "enum": ["analyzing"] } }};
30047
- var schema211 = { "properties": { "code": { "enum": ["analyzing-tags"] } }};
30048
- var schema212 = { "properties": { "code": { "enum": ["generating-resource"] } }};
30049
- var schema213 = { "properties": { "code": { "enum": ["creating-resource"] } }};
30050
- var schema214 = { "properties": { "code": { "enum": ["complete-generated"] }}};
30051
- var schema215 = { "properties": { "code": { "enum": ["detecting-entities"] }}};
30052
- var schema216 = { "properties": { "code": { "enum": ["creating-annotations"] }}};
30053
- var schema217 = { "properties": { "code": { "enum": ["creating-tag-annotations"] }}};
30054
- var schema218 = { "properties": { "code": { "enum": ["complete-created"] }, "kind": { "enum": ["highlight", "comment", "assessment", "reference", "tag"]} }};
30055
- function validate233(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
30336
+ exports.JobProgress = validate234;
30337
+ var schema215 = { "properties": { "current": { "properties": { "kind": { "enum": ["entity-type", "category"]}}}, "requestParams": { "items": { "properties": { "label": { "enum": ["entity-types", "instructions", "tone", "density"]}}} } }};
30338
+ var schema217 = { "properties": { "code": { "enum": ["loading"] } }};
30339
+ var schema218 = { "properties": { "code": { "enum": ["analyzing"] } }};
30340
+ var schema219 = { "properties": { "code": { "enum": ["analyzing-tags"] } }};
30341
+ var schema220 = { "properties": { "code": { "enum": ["generating-resource"] } }};
30342
+ var schema221 = { "properties": { "code": { "enum": ["creating-resource"] } }};
30343
+ var schema222 = { "properties": { "code": { "enum": ["complete-generated"] }}};
30344
+ var schema223 = { "properties": { "code": { "enum": ["detecting-entities"] }}};
30345
+ var schema224 = { "properties": { "code": { "enum": ["creating-annotations"] }}};
30346
+ var schema225 = { "properties": { "code": { "enum": ["creating-tag-annotations"] }}};
30347
+ var schema226 = { "properties": { "code": { "enum": ["complete-created"] }, "kind": { "enum": ["highlight", "comment", "assessment", "reference", "tag"]} }};
30348
+ function validate235(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
30056
30349
  let vErrors = null;
30057
30350
  let errors = 0;
30058
30351
  const _errs0 = errors;
@@ -30097,7 +30390,7 @@ var require_openapi_validators = __commonJS({
30097
30390
  }
30098
30391
  }
30099
30392
  if (!(data0 === "loading")) {
30100
- const err2 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressLoading/properties/code/enum", keyword: "enum", params: { allowedValues: schema209.properties.code.enum }, message: "must be equal to one of the allowed values" };
30393
+ const err2 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressLoading/properties/code/enum", keyword: "enum", params: { allowedValues: schema217.properties.code.enum }, message: "must be equal to one of the allowed values" };
30101
30394
  if (vErrors === null) {
30102
30395
  vErrors = [err2];
30103
30396
  } else {
@@ -30159,7 +30452,7 @@ var require_openapi_validators = __commonJS({
30159
30452
  }
30160
30453
  }
30161
30454
  if (!(data1 === "analyzing")) {
30162
- const err6 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressAnalyzing/properties/code/enum", keyword: "enum", params: { allowedValues: schema210.properties.code.enum }, message: "must be equal to one of the allowed values" };
30455
+ const err6 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressAnalyzing/properties/code/enum", keyword: "enum", params: { allowedValues: schema218.properties.code.enum }, message: "must be equal to one of the allowed values" };
30163
30456
  if (vErrors === null) {
30164
30457
  vErrors = [err6];
30165
30458
  } else {
@@ -30225,7 +30518,7 @@ var require_openapi_validators = __commonJS({
30225
30518
  }
30226
30519
  }
30227
30520
  if (!(data2 === "analyzing-tags")) {
30228
- const err10 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressAnalyzingTags/properties/code/enum", keyword: "enum", params: { allowedValues: schema211.properties.code.enum }, message: "must be equal to one of the allowed values" };
30521
+ const err10 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressAnalyzingTags/properties/code/enum", keyword: "enum", params: { allowedValues: schema219.properties.code.enum }, message: "must be equal to one of the allowed values" };
30229
30522
  if (vErrors === null) {
30230
30523
  vErrors = [err10];
30231
30524
  } else {
@@ -30291,7 +30584,7 @@ var require_openapi_validators = __commonJS({
30291
30584
  }
30292
30585
  }
30293
30586
  if (!(data3 === "generating-resource")) {
30294
- const err14 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressGeneratingResource/properties/code/enum", keyword: "enum", params: { allowedValues: schema212.properties.code.enum }, message: "must be equal to one of the allowed values" };
30587
+ const err14 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressGeneratingResource/properties/code/enum", keyword: "enum", params: { allowedValues: schema220.properties.code.enum }, message: "must be equal to one of the allowed values" };
30295
30588
  if (vErrors === null) {
30296
30589
  vErrors = [err14];
30297
30590
  } else {
@@ -30357,7 +30650,7 @@ var require_openapi_validators = __commonJS({
30357
30650
  }
30358
30651
  }
30359
30652
  if (!(data4 === "creating-resource")) {
30360
- const err18 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCreatingResource/properties/code/enum", keyword: "enum", params: { allowedValues: schema213.properties.code.enum }, message: "must be equal to one of the allowed values" };
30653
+ const err18 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCreatingResource/properties/code/enum", keyword: "enum", params: { allowedValues: schema221.properties.code.enum }, message: "must be equal to one of the allowed values" };
30361
30654
  if (vErrors === null) {
30362
30655
  vErrors = [err18];
30363
30656
  } else {
@@ -30432,7 +30725,7 @@ var require_openapi_validators = __commonJS({
30432
30725
  }
30433
30726
  }
30434
30727
  if (!(data5 === "complete-generated")) {
30435
- const err23 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCompleteGenerated/properties/code/enum", keyword: "enum", params: { allowedValues: schema214.properties.code.enum }, message: "must be equal to one of the allowed values" };
30728
+ const err23 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCompleteGenerated/properties/code/enum", keyword: "enum", params: { allowedValues: schema222.properties.code.enum }, message: "must be equal to one of the allowed values" };
30436
30729
  if (vErrors === null) {
30437
30730
  vErrors = [err23];
30438
30731
  } else {
@@ -30534,7 +30827,7 @@ var require_openapi_validators = __commonJS({
30534
30827
  }
30535
30828
  }
30536
30829
  if (!(data7 === "detecting-entities")) {
30537
- const err29 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressDetectingEntities/properties/code/enum", keyword: "enum", params: { allowedValues: schema215.properties.code.enum }, message: "must be equal to one of the allowed values" };
30830
+ const err29 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressDetectingEntities/properties/code/enum", keyword: "enum", params: { allowedValues: schema223.properties.code.enum }, message: "must be equal to one of the allowed values" };
30538
30831
  if (vErrors === null) {
30539
30832
  vErrors = [err29];
30540
30833
  } else {
@@ -30637,7 +30930,7 @@ var require_openapi_validators = __commonJS({
30637
30930
  }
30638
30931
  }
30639
30932
  if (!(data9 === "creating-annotations")) {
30640
- const err35 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCreatingAnnotations/properties/code/enum", keyword: "enum", params: { allowedValues: schema216.properties.code.enum }, message: "must be equal to one of the allowed values" };
30933
+ const err35 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCreatingAnnotations/properties/code/enum", keyword: "enum", params: { allowedValues: schema224.properties.code.enum }, message: "must be equal to one of the allowed values" };
30641
30934
  if (vErrors === null) {
30642
30935
  vErrors = [err35];
30643
30936
  } else {
@@ -30738,7 +31031,7 @@ var require_openapi_validators = __commonJS({
30738
31031
  }
30739
31032
  }
30740
31033
  if (!(data11 === "creating-tag-annotations")) {
30741
- const err41 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCreatingTagAnnotations/properties/code/enum", keyword: "enum", params: { allowedValues: schema217.properties.code.enum }, message: "must be equal to one of the allowed values" };
31034
+ const err41 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCreatingTagAnnotations/properties/code/enum", keyword: "enum", params: { allowedValues: schema225.properties.code.enum }, message: "must be equal to one of the allowed values" };
30742
31035
  if (vErrors === null) {
30743
31036
  vErrors = [err41];
30744
31037
  } else {
@@ -30848,7 +31141,7 @@ var require_openapi_validators = __commonJS({
30848
31141
  }
30849
31142
  }
30850
31143
  if (!(data13 === "complete-created")) {
30851
- const err48 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCompleteCreated/properties/code/enum", keyword: "enum", params: { allowedValues: schema218.properties.code.enum }, message: "must be equal to one of the allowed values" };
31144
+ const err48 = { instancePath: instancePath + "/code", schemaPath: "#/components/schemas/JobProgressCompleteCreated/properties/code/enum", keyword: "enum", params: { allowedValues: schema226.properties.code.enum }, message: "must be equal to one of the allowed values" };
30852
31145
  if (vErrors === null) {
30853
31146
  vErrors = [err48];
30854
31147
  } else {
@@ -30911,7 +31204,7 @@ var require_openapi_validators = __commonJS({
30911
31204
  }
30912
31205
  }
30913
31206
  if (!(data15 === "highlight" || data15 === "comment" || data15 === "assessment" || data15 === "reference" || data15 === "tag")) {
30914
- const err51 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobProgressCompleteCreated/properties/kind/enum", keyword: "enum", params: { allowedValues: schema218.properties.kind.enum }, message: "must be equal to one of the allowed values" };
31207
+ const err51 = { instancePath: instancePath + "/kind", schemaPath: "#/components/schemas/JobProgressCompleteCreated/properties/kind/enum", keyword: "enum", params: { allowedValues: schema226.properties.kind.enum }, message: "must be equal to one of the allowed values" };
30915
31208
  if (vErrors === null) {
30916
31209
  vErrors = [err51];
30917
31210
  } else {
@@ -30965,10 +31258,10 @@ var require_openapi_validators = __commonJS({
30965
31258
  }
30966
31259
  }
30967
31260
  }
30968
- validate233.errors = vErrors;
31261
+ validate235.errors = vErrors;
30969
31262
  return errors === 0;
30970
31263
  }
30971
- function validate232(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31264
+ function validate234(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
30972
31265
  let vErrors = null;
30973
31266
  let errors = 0;
30974
31267
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31008,8 +31301,8 @@ var require_openapi_validators = __commonJS({
31008
31301
  }
31009
31302
  }
31010
31303
  if (data.message !== void 0) {
31011
- if (!validate233(data.message, { instancePath: instancePath + "/message", parentData: data, parentDataProperty: "message", rootData })) {
31012
- vErrors = vErrors === null ? validate233.errors : vErrors.concat(validate233.errors);
31304
+ if (!validate235(data.message, { instancePath: instancePath + "/message", parentData: data, parentDataProperty: "message", rootData })) {
31305
+ vErrors = vErrors === null ? validate235.errors : vErrors.concat(validate235.errors);
31013
31306
  errors = vErrors.length;
31014
31307
  }
31015
31308
  }
@@ -31090,7 +31383,7 @@ var require_openapi_validators = __commonJS({
31090
31383
  }
31091
31384
  }
31092
31385
  if (!(data4 === "entity-type" || data4 === "category")) {
31093
- const err6 = { instancePath: instancePath + "/current/kind", schemaPath: "#/properties/current/properties/kind/enum", keyword: "enum", params: { allowedValues: schema207.properties.current.properties.kind.enum }, message: "must be equal to one of the allowed values" };
31386
+ const err6 = { instancePath: instancePath + "/current/kind", schemaPath: "#/properties/current/properties/kind/enum", keyword: "enum", params: { allowedValues: schema215.properties.current.properties.kind.enum }, message: "must be equal to one of the allowed values" };
31094
31387
  if (vErrors === null) {
31095
31388
  vErrors = [err6];
31096
31389
  } else {
@@ -31215,8 +31508,8 @@ var require_openapi_validators = __commonJS({
31215
31508
  }
31216
31509
  }
31217
31510
  }
31218
- if (data.entitiesEmitted !== void 0) {
31219
- let data9 = data.entitiesEmitted;
31511
+ if (data.entitiesExpected !== void 0) {
31512
+ let data9 = data.entitiesExpected;
31220
31513
  if (!(typeof data9 == "number" && (!(data9 % 1) && !isNaN(data9)) && isFinite(data9))) {
31221
31514
  let dataType7 = typeof data9;
31222
31515
  let coerced7 = void 0;
@@ -31224,7 +31517,7 @@ var require_openapi_validators = __commonJS({
31224
31517
  if (dataType7 === "boolean" || data9 === null || dataType7 === "string" && data9 && data9 == +data9 && !(data9 % 1)) {
31225
31518
  coerced7 = +data9;
31226
31519
  } else {
31227
- const err12 = { instancePath: instancePath + "/entitiesEmitted", schemaPath: "#/properties/entitiesEmitted/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31520
+ const err12 = { instancePath: instancePath + "/entitiesExpected", schemaPath: "#/properties/entitiesExpected/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31228
31521
  if (vErrors === null) {
31229
31522
  vErrors = [err12];
31230
31523
  } else {
@@ -31236,74 +31529,74 @@ var require_openapi_validators = __commonJS({
31236
31529
  if (coerced7 !== void 0) {
31237
31530
  data9 = coerced7;
31238
31531
  if (data !== void 0) {
31239
- data["entitiesEmitted"] = coerced7;
31532
+ data["entitiesExpected"] = coerced7;
31533
+ }
31534
+ }
31535
+ }
31536
+ }
31537
+ if (data.entitiesEmitted !== void 0) {
31538
+ let data10 = data.entitiesEmitted;
31539
+ if (!(typeof data10 == "number" && (!(data10 % 1) && !isNaN(data10)) && isFinite(data10))) {
31540
+ let dataType8 = typeof data10;
31541
+ let coerced8 = void 0;
31542
+ if (!(coerced8 !== void 0)) {
31543
+ if (dataType8 === "boolean" || data10 === null || dataType8 === "string" && data10 && data10 == +data10 && !(data10 % 1)) {
31544
+ coerced8 = +data10;
31545
+ } else {
31546
+ const err13 = { instancePath: instancePath + "/entitiesEmitted", schemaPath: "#/properties/entitiesEmitted/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31547
+ if (vErrors === null) {
31548
+ vErrors = [err13];
31549
+ } else {
31550
+ vErrors.push(err13);
31551
+ }
31552
+ errors++;
31553
+ }
31554
+ }
31555
+ if (coerced8 !== void 0) {
31556
+ data10 = coerced8;
31557
+ if (data !== void 0) {
31558
+ data["entitiesEmitted"] = coerced8;
31240
31559
  }
31241
31560
  }
31242
31561
  }
31243
31562
  }
31244
31563
  if (data.completedItems !== void 0) {
31245
- let data10 = data.completedItems;
31246
- if (Array.isArray(data10)) {
31247
- const len0 = data10.length;
31564
+ let data11 = data.completedItems;
31565
+ if (Array.isArray(data11)) {
31566
+ const len0 = data11.length;
31248
31567
  for (let i0 = 0; i0 < len0; i0++) {
31249
- let data11 = data10[i0];
31250
- if (data11 && typeof data11 == "object" && !Array.isArray(data11)) {
31251
- if (data11.value === void 0) {
31252
- const err13 = { instancePath: instancePath + "/completedItems/" + i0, schemaPath: "#/properties/completedItems/items/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
31568
+ let data12 = data11[i0];
31569
+ if (data12 && typeof data12 == "object" && !Array.isArray(data12)) {
31570
+ if (data12.value === void 0) {
31571
+ const err14 = { instancePath: instancePath + "/completedItems/" + i0, schemaPath: "#/properties/completedItems/items/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
31253
31572
  if (vErrors === null) {
31254
- vErrors = [err13];
31573
+ vErrors = [err14];
31255
31574
  } else {
31256
- vErrors.push(err13);
31575
+ vErrors.push(err14);
31257
31576
  }
31258
31577
  errors++;
31259
31578
  }
31260
- if (data11.foundCount === void 0) {
31261
- const err14 = { instancePath: instancePath + "/completedItems/" + i0, schemaPath: "#/properties/completedItems/items/required", keyword: "required", params: { missingProperty: "foundCount" }, message: "must have required property 'foundCount'" };
31579
+ if (data12.foundCount === void 0) {
31580
+ const err15 = { instancePath: instancePath + "/completedItems/" + i0, schemaPath: "#/properties/completedItems/items/required", keyword: "required", params: { missingProperty: "foundCount" }, message: "must have required property 'foundCount'" };
31262
31581
  if (vErrors === null) {
31263
- vErrors = [err14];
31582
+ vErrors = [err15];
31264
31583
  } else {
31265
- vErrors.push(err14);
31584
+ vErrors.push(err15);
31266
31585
  }
31267
31586
  errors++;
31268
31587
  }
31269
- if (data11.value !== void 0) {
31270
- let data12 = data11.value;
31271
- if (typeof data12 !== "string") {
31272
- let dataType8 = typeof data12;
31273
- let coerced8 = void 0;
31274
- if (!(coerced8 !== void 0)) {
31275
- if (dataType8 == "number" || dataType8 == "boolean") {
31276
- coerced8 = "" + data12;
31277
- } else if (data12 === null) {
31278
- coerced8 = "";
31279
- } else {
31280
- const err15 = { instancePath: instancePath + "/completedItems/" + i0 + "/value", schemaPath: "#/properties/completedItems/items/properties/value/type", keyword: "type", params: { type: "string" }, message: "must be string" };
31281
- if (vErrors === null) {
31282
- vErrors = [err15];
31283
- } else {
31284
- vErrors.push(err15);
31285
- }
31286
- errors++;
31287
- }
31288
- }
31289
- if (coerced8 !== void 0) {
31290
- data12 = coerced8;
31291
- if (data11 !== void 0) {
31292
- data11["value"] = coerced8;
31293
- }
31294
- }
31295
- }
31296
- }
31297
- if (data11.foundCount !== void 0) {
31298
- let data13 = data11.foundCount;
31299
- if (!(typeof data13 == "number" && (!(data13 % 1) && !isNaN(data13)) && isFinite(data13))) {
31588
+ if (data12.value !== void 0) {
31589
+ let data13 = data12.value;
31590
+ if (typeof data13 !== "string") {
31300
31591
  let dataType9 = typeof data13;
31301
31592
  let coerced9 = void 0;
31302
31593
  if (!(coerced9 !== void 0)) {
31303
- if (dataType9 === "boolean" || data13 === null || dataType9 === "string" && data13 && data13 == +data13 && !(data13 % 1)) {
31304
- coerced9 = +data13;
31594
+ if (dataType9 == "number" || dataType9 == "boolean") {
31595
+ coerced9 = "" + data13;
31596
+ } else if (data13 === null) {
31597
+ coerced9 = "";
31305
31598
  } else {
31306
- const err16 = { instancePath: instancePath + "/completedItems/" + i0 + "/foundCount", schemaPath: "#/properties/completedItems/items/properties/foundCount/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31599
+ const err16 = { instancePath: instancePath + "/completedItems/" + i0 + "/value", schemaPath: "#/properties/completedItems/items/properties/value/type", keyword: "type", params: { type: "string" }, message: "must be string" };
31307
31600
  if (vErrors === null) {
31308
31601
  vErrors = [err16];
31309
31602
  } else {
@@ -31314,14 +31607,14 @@ var require_openapi_validators = __commonJS({
31314
31607
  }
31315
31608
  if (coerced9 !== void 0) {
31316
31609
  data13 = coerced9;
31317
- if (data11 !== void 0) {
31318
- data11["foundCount"] = coerced9;
31610
+ if (data12 !== void 0) {
31611
+ data12["value"] = coerced9;
31319
31612
  }
31320
31613
  }
31321
31614
  }
31322
31615
  }
31323
- if (data11.persistedCount !== void 0) {
31324
- let data14 = data11.persistedCount;
31616
+ if (data12.foundCount !== void 0) {
31617
+ let data14 = data12.foundCount;
31325
31618
  if (!(typeof data14 == "number" && (!(data14 % 1) && !isNaN(data14)) && isFinite(data14))) {
31326
31619
  let dataType10 = typeof data14;
31327
31620
  let coerced10 = void 0;
@@ -31329,7 +31622,7 @@ var require_openapi_validators = __commonJS({
31329
31622
  if (dataType10 === "boolean" || data14 === null || dataType10 === "string" && data14 && data14 == +data14 && !(data14 % 1)) {
31330
31623
  coerced10 = +data14;
31331
31624
  } else {
31332
- const err17 = { instancePath: instancePath + "/completedItems/" + i0 + "/persistedCount", schemaPath: "#/properties/completedItems/items/properties/persistedCount/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31625
+ const err17 = { instancePath: instancePath + "/completedItems/" + i0 + "/foundCount", schemaPath: "#/properties/completedItems/items/properties/foundCount/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31333
31626
  if (vErrors === null) {
31334
31627
  vErrors = [err17];
31335
31628
  } else {
@@ -31340,156 +31633,300 @@ var require_openapi_validators = __commonJS({
31340
31633
  }
31341
31634
  if (coerced10 !== void 0) {
31342
31635
  data14 = coerced10;
31343
- if (data11 !== void 0) {
31344
- data11["persistedCount"] = coerced10;
31636
+ if (data12 !== void 0) {
31637
+ data12["foundCount"] = coerced10;
31638
+ }
31639
+ }
31640
+ }
31641
+ }
31642
+ if (data12.persistedCount !== void 0) {
31643
+ let data15 = data12.persistedCount;
31644
+ if (!(typeof data15 == "number" && (!(data15 % 1) && !isNaN(data15)) && isFinite(data15))) {
31645
+ let dataType11 = typeof data15;
31646
+ let coerced11 = void 0;
31647
+ if (!(coerced11 !== void 0)) {
31648
+ if (dataType11 === "boolean" || data15 === null || dataType11 === "string" && data15 && data15 == +data15 && !(data15 % 1)) {
31649
+ coerced11 = +data15;
31650
+ } else {
31651
+ const err18 = { instancePath: instancePath + "/completedItems/" + i0 + "/persistedCount", schemaPath: "#/properties/completedItems/items/properties/persistedCount/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31652
+ if (vErrors === null) {
31653
+ vErrors = [err18];
31654
+ } else {
31655
+ vErrors.push(err18);
31656
+ }
31657
+ errors++;
31658
+ }
31659
+ }
31660
+ if (coerced11 !== void 0) {
31661
+ data15 = coerced11;
31662
+ if (data12 !== void 0) {
31663
+ data12["persistedCount"] = coerced11;
31664
+ }
31665
+ }
31666
+ }
31667
+ }
31668
+ if (data12.underReported !== void 0) {
31669
+ let data16 = data12.underReported;
31670
+ if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
31671
+ if (data16.pieces === void 0) {
31672
+ const err19 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported", schemaPath: "#/properties/completedItems/items/properties/underReported/required", keyword: "required", params: { missingProperty: "pieces" }, message: "must have required property 'pieces'" };
31673
+ if (vErrors === null) {
31674
+ vErrors = [err19];
31675
+ } else {
31676
+ vErrors.push(err19);
31677
+ }
31678
+ errors++;
31679
+ }
31680
+ if (data16.found === void 0) {
31681
+ const err20 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported", schemaPath: "#/properties/completedItems/items/properties/underReported/required", keyword: "required", params: { missingProperty: "found" }, message: "must have required property 'found'" };
31682
+ if (vErrors === null) {
31683
+ vErrors = [err20];
31684
+ } else {
31685
+ vErrors.push(err20);
31686
+ }
31687
+ errors++;
31688
+ }
31689
+ if (data16.counted === void 0) {
31690
+ const err21 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported", schemaPath: "#/properties/completedItems/items/properties/underReported/required", keyword: "required", params: { missingProperty: "counted" }, message: "must have required property 'counted'" };
31691
+ if (vErrors === null) {
31692
+ vErrors = [err21];
31693
+ } else {
31694
+ vErrors.push(err21);
31695
+ }
31696
+ errors++;
31697
+ }
31698
+ if (data16.pieces !== void 0) {
31699
+ let data17 = data16.pieces;
31700
+ if (!(typeof data17 == "number" && (!(data17 % 1) && !isNaN(data17)) && isFinite(data17))) {
31701
+ let dataType12 = typeof data17;
31702
+ let coerced12 = void 0;
31703
+ if (!(coerced12 !== void 0)) {
31704
+ if (dataType12 === "boolean" || data17 === null || dataType12 === "string" && data17 && data17 == +data17 && !(data17 % 1)) {
31705
+ coerced12 = +data17;
31706
+ } else {
31707
+ const err22 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported/pieces", schemaPath: "#/properties/completedItems/items/properties/underReported/properties/pieces/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31708
+ if (vErrors === null) {
31709
+ vErrors = [err22];
31710
+ } else {
31711
+ vErrors.push(err22);
31712
+ }
31713
+ errors++;
31714
+ }
31715
+ }
31716
+ if (coerced12 !== void 0) {
31717
+ data17 = coerced12;
31718
+ if (data16 !== void 0) {
31719
+ data16["pieces"] = coerced12;
31720
+ }
31721
+ }
31722
+ }
31723
+ }
31724
+ if (data16.found !== void 0) {
31725
+ let data18 = data16.found;
31726
+ if (!(typeof data18 == "number" && (!(data18 % 1) && !isNaN(data18)) && isFinite(data18))) {
31727
+ let dataType13 = typeof data18;
31728
+ let coerced13 = void 0;
31729
+ if (!(coerced13 !== void 0)) {
31730
+ if (dataType13 === "boolean" || data18 === null || dataType13 === "string" && data18 && data18 == +data18 && !(data18 % 1)) {
31731
+ coerced13 = +data18;
31732
+ } else {
31733
+ const err23 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported/found", schemaPath: "#/properties/completedItems/items/properties/underReported/properties/found/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31734
+ if (vErrors === null) {
31735
+ vErrors = [err23];
31736
+ } else {
31737
+ vErrors.push(err23);
31738
+ }
31739
+ errors++;
31740
+ }
31741
+ }
31742
+ if (coerced13 !== void 0) {
31743
+ data18 = coerced13;
31744
+ if (data16 !== void 0) {
31745
+ data16["found"] = coerced13;
31746
+ }
31747
+ }
31748
+ }
31749
+ }
31750
+ if (data16.counted !== void 0) {
31751
+ let data19 = data16.counted;
31752
+ if (!(typeof data19 == "number" && (!(data19 % 1) && !isNaN(data19)) && isFinite(data19))) {
31753
+ let dataType14 = typeof data19;
31754
+ let coerced14 = void 0;
31755
+ if (!(coerced14 !== void 0)) {
31756
+ if (dataType14 === "boolean" || data19 === null || dataType14 === "string" && data19 && data19 == +data19 && !(data19 % 1)) {
31757
+ coerced14 = +data19;
31758
+ } else {
31759
+ const err24 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported/counted", schemaPath: "#/properties/completedItems/items/properties/underReported/properties/counted/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
31760
+ if (vErrors === null) {
31761
+ vErrors = [err24];
31762
+ } else {
31763
+ vErrors.push(err24);
31764
+ }
31765
+ errors++;
31766
+ }
31767
+ }
31768
+ if (coerced14 !== void 0) {
31769
+ data19 = coerced14;
31770
+ if (data16 !== void 0) {
31771
+ data16["counted"] = coerced14;
31772
+ }
31773
+ }
31345
31774
  }
31346
31775
  }
31776
+ } else {
31777
+ const err25 = { instancePath: instancePath + "/completedItems/" + i0 + "/underReported", schemaPath: "#/properties/completedItems/items/properties/underReported/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31778
+ if (vErrors === null) {
31779
+ vErrors = [err25];
31780
+ } else {
31781
+ vErrors.push(err25);
31782
+ }
31783
+ errors++;
31347
31784
  }
31348
31785
  }
31349
31786
  } else {
31350
- const err18 = { instancePath: instancePath + "/completedItems/" + i0, schemaPath: "#/properties/completedItems/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31787
+ const err26 = { instancePath: instancePath + "/completedItems/" + i0, schemaPath: "#/properties/completedItems/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31351
31788
  if (vErrors === null) {
31352
- vErrors = [err18];
31789
+ vErrors = [err26];
31353
31790
  } else {
31354
- vErrors.push(err18);
31791
+ vErrors.push(err26);
31355
31792
  }
31356
31793
  errors++;
31357
31794
  }
31358
31795
  }
31359
31796
  } else {
31360
- const err19 = { instancePath: instancePath + "/completedItems", schemaPath: "#/properties/completedItems/type", keyword: "type", params: { type: "array" }, message: "must be array" };
31797
+ const err27 = { instancePath: instancePath + "/completedItems", schemaPath: "#/properties/completedItems/type", keyword: "type", params: { type: "array" }, message: "must be array" };
31361
31798
  if (vErrors === null) {
31362
- vErrors = [err19];
31799
+ vErrors = [err27];
31363
31800
  } else {
31364
- vErrors.push(err19);
31801
+ vErrors.push(err27);
31365
31802
  }
31366
31803
  errors++;
31367
31804
  }
31368
31805
  }
31369
31806
  if (data.requestParams !== void 0) {
31370
- let data15 = data.requestParams;
31371
- if (Array.isArray(data15)) {
31372
- const len1 = data15.length;
31807
+ let data20 = data.requestParams;
31808
+ if (Array.isArray(data20)) {
31809
+ const len1 = data20.length;
31373
31810
  for (let i1 = 0; i1 < len1; i1++) {
31374
- let data16 = data15[i1];
31375
- if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
31376
- if (data16.label === void 0) {
31377
- const err20 = { instancePath: instancePath + "/requestParams/" + i1, schemaPath: "#/properties/requestParams/items/required", keyword: "required", params: { missingProperty: "label" }, message: "must have required property 'label'" };
31811
+ let data21 = data20[i1];
31812
+ if (data21 && typeof data21 == "object" && !Array.isArray(data21)) {
31813
+ if (data21.label === void 0) {
31814
+ const err28 = { instancePath: instancePath + "/requestParams/" + i1, schemaPath: "#/properties/requestParams/items/required", keyword: "required", params: { missingProperty: "label" }, message: "must have required property 'label'" };
31378
31815
  if (vErrors === null) {
31379
- vErrors = [err20];
31816
+ vErrors = [err28];
31380
31817
  } else {
31381
- vErrors.push(err20);
31818
+ vErrors.push(err28);
31382
31819
  }
31383
31820
  errors++;
31384
31821
  }
31385
- if (data16.value === void 0) {
31386
- const err21 = { instancePath: instancePath + "/requestParams/" + i1, schemaPath: "#/properties/requestParams/items/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
31822
+ if (data21.value === void 0) {
31823
+ const err29 = { instancePath: instancePath + "/requestParams/" + i1, schemaPath: "#/properties/requestParams/items/required", keyword: "required", params: { missingProperty: "value" }, message: "must have required property 'value'" };
31387
31824
  if (vErrors === null) {
31388
- vErrors = [err21];
31825
+ vErrors = [err29];
31389
31826
  } else {
31390
- vErrors.push(err21);
31827
+ vErrors.push(err29);
31391
31828
  }
31392
31829
  errors++;
31393
31830
  }
31394
- if (data16.label !== void 0) {
31395
- let data17 = data16.label;
31396
- if (typeof data17 !== "string") {
31397
- let dataType11 = typeof data17;
31398
- let coerced11 = void 0;
31399
- if (!(coerced11 !== void 0)) {
31400
- if (dataType11 == "number" || dataType11 == "boolean") {
31401
- coerced11 = "" + data17;
31402
- } else if (data17 === null) {
31403
- coerced11 = "";
31831
+ if (data21.label !== void 0) {
31832
+ let data22 = data21.label;
31833
+ if (typeof data22 !== "string") {
31834
+ let dataType15 = typeof data22;
31835
+ let coerced15 = void 0;
31836
+ if (!(coerced15 !== void 0)) {
31837
+ if (dataType15 == "number" || dataType15 == "boolean") {
31838
+ coerced15 = "" + data22;
31839
+ } else if (data22 === null) {
31840
+ coerced15 = "";
31404
31841
  } else {
31405
- const err22 = { instancePath: instancePath + "/requestParams/" + i1 + "/label", schemaPath: "#/properties/requestParams/items/properties/label/type", keyword: "type", params: { type: "string" }, message: "must be string" };
31842
+ const err30 = { instancePath: instancePath + "/requestParams/" + i1 + "/label", schemaPath: "#/properties/requestParams/items/properties/label/type", keyword: "type", params: { type: "string" }, message: "must be string" };
31406
31843
  if (vErrors === null) {
31407
- vErrors = [err22];
31844
+ vErrors = [err30];
31408
31845
  } else {
31409
- vErrors.push(err22);
31846
+ vErrors.push(err30);
31410
31847
  }
31411
31848
  errors++;
31412
31849
  }
31413
31850
  }
31414
- if (coerced11 !== void 0) {
31415
- data17 = coerced11;
31416
- if (data16 !== void 0) {
31417
- data16["label"] = coerced11;
31851
+ if (coerced15 !== void 0) {
31852
+ data22 = coerced15;
31853
+ if (data21 !== void 0) {
31854
+ data21["label"] = coerced15;
31418
31855
  }
31419
31856
  }
31420
31857
  }
31421
- if (!(data17 === "entity-types" || data17 === "instructions" || data17 === "tone" || data17 === "density")) {
31422
- const err23 = { instancePath: instancePath + "/requestParams/" + i1 + "/label", schemaPath: "#/properties/requestParams/items/properties/label/enum", keyword: "enum", params: { allowedValues: schema207.properties.requestParams.items.properties.label.enum }, message: "must be equal to one of the allowed values" };
31858
+ if (!(data22 === "entity-types" || data22 === "instructions" || data22 === "tone" || data22 === "density")) {
31859
+ const err31 = { instancePath: instancePath + "/requestParams/" + i1 + "/label", schemaPath: "#/properties/requestParams/items/properties/label/enum", keyword: "enum", params: { allowedValues: schema215.properties.requestParams.items.properties.label.enum }, message: "must be equal to one of the allowed values" };
31423
31860
  if (vErrors === null) {
31424
- vErrors = [err23];
31861
+ vErrors = [err31];
31425
31862
  } else {
31426
- vErrors.push(err23);
31863
+ vErrors.push(err31);
31427
31864
  }
31428
31865
  errors++;
31429
31866
  }
31430
31867
  }
31431
- if (data16.value !== void 0) {
31432
- let data18 = data16.value;
31433
- if (typeof data18 !== "string") {
31434
- let dataType12 = typeof data18;
31435
- let coerced12 = void 0;
31436
- if (!(coerced12 !== void 0)) {
31437
- if (dataType12 == "number" || dataType12 == "boolean") {
31438
- coerced12 = "" + data18;
31439
- } else if (data18 === null) {
31440
- coerced12 = "";
31868
+ if (data21.value !== void 0) {
31869
+ let data23 = data21.value;
31870
+ if (typeof data23 !== "string") {
31871
+ let dataType16 = typeof data23;
31872
+ let coerced16 = void 0;
31873
+ if (!(coerced16 !== void 0)) {
31874
+ if (dataType16 == "number" || dataType16 == "boolean") {
31875
+ coerced16 = "" + data23;
31876
+ } else if (data23 === null) {
31877
+ coerced16 = "";
31441
31878
  } else {
31442
- const err24 = { instancePath: instancePath + "/requestParams/" + i1 + "/value", schemaPath: "#/properties/requestParams/items/properties/value/type", keyword: "type", params: { type: "string" }, message: "must be string" };
31879
+ const err32 = { instancePath: instancePath + "/requestParams/" + i1 + "/value", schemaPath: "#/properties/requestParams/items/properties/value/type", keyword: "type", params: { type: "string" }, message: "must be string" };
31443
31880
  if (vErrors === null) {
31444
- vErrors = [err24];
31881
+ vErrors = [err32];
31445
31882
  } else {
31446
- vErrors.push(err24);
31883
+ vErrors.push(err32);
31447
31884
  }
31448
31885
  errors++;
31449
31886
  }
31450
31887
  }
31451
- if (coerced12 !== void 0) {
31452
- data18 = coerced12;
31453
- if (data16 !== void 0) {
31454
- data16["value"] = coerced12;
31888
+ if (coerced16 !== void 0) {
31889
+ data23 = coerced16;
31890
+ if (data21 !== void 0) {
31891
+ data21["value"] = coerced16;
31455
31892
  }
31456
31893
  }
31457
31894
  }
31458
31895
  }
31459
31896
  } else {
31460
- const err25 = { instancePath: instancePath + "/requestParams/" + i1, schemaPath: "#/properties/requestParams/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31897
+ const err33 = { instancePath: instancePath + "/requestParams/" + i1, schemaPath: "#/properties/requestParams/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31461
31898
  if (vErrors === null) {
31462
- vErrors = [err25];
31899
+ vErrors = [err33];
31463
31900
  } else {
31464
- vErrors.push(err25);
31901
+ vErrors.push(err33);
31465
31902
  }
31466
31903
  errors++;
31467
31904
  }
31468
31905
  }
31469
31906
  } else {
31470
- const err26 = { instancePath: instancePath + "/requestParams", schemaPath: "#/properties/requestParams/type", keyword: "type", params: { type: "array" }, message: "must be array" };
31907
+ const err34 = { instancePath: instancePath + "/requestParams", schemaPath: "#/properties/requestParams/type", keyword: "type", params: { type: "array" }, message: "must be array" };
31471
31908
  if (vErrors === null) {
31472
- vErrors = [err26];
31909
+ vErrors = [err34];
31473
31910
  } else {
31474
- vErrors.push(err26);
31911
+ vErrors.push(err34);
31475
31912
  }
31476
31913
  errors++;
31477
31914
  }
31478
31915
  }
31479
31916
  } else {
31480
- const err27 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31917
+ const err35 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
31481
31918
  if (vErrors === null) {
31482
- vErrors = [err27];
31919
+ vErrors = [err35];
31483
31920
  } else {
31484
- vErrors.push(err27);
31921
+ vErrors.push(err35);
31485
31922
  }
31486
31923
  errors++;
31487
31924
  }
31488
- validate232.errors = vErrors;
31925
+ validate234.errors = vErrors;
31489
31926
  return errors === 0;
31490
31927
  }
31491
- exports.JobProgressAnalyzing = validate235;
31492
- function validate235(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31928
+ exports.JobProgressAnalyzing = validate237;
31929
+ function validate237(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31493
31930
  let vErrors = null;
31494
31931
  let errors = 0;
31495
31932
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31530,7 +31967,7 @@ var require_openapi_validators = __commonJS({
31530
31967
  }
31531
31968
  }
31532
31969
  if (!(data0 === "analyzing")) {
31533
- const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema210.properties.code.enum }, message: "must be equal to one of the allowed values" };
31970
+ const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema218.properties.code.enum }, message: "must be equal to one of the allowed values" };
31534
31971
  if (vErrors === null) {
31535
31972
  vErrors = [err2];
31536
31973
  } else {
@@ -31548,11 +31985,11 @@ var require_openapi_validators = __commonJS({
31548
31985
  }
31549
31986
  errors++;
31550
31987
  }
31551
- validate235.errors = vErrors;
31988
+ validate237.errors = vErrors;
31552
31989
  return errors === 0;
31553
31990
  }
31554
- exports.JobProgressAnalyzingTags = validate236;
31555
- function validate236(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31991
+ exports.JobProgressAnalyzingTags = validate238;
31992
+ function validate238(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31556
31993
  let vErrors = null;
31557
31994
  let errors = 0;
31558
31995
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31593,7 +32030,7 @@ var require_openapi_validators = __commonJS({
31593
32030
  }
31594
32031
  }
31595
32032
  if (!(data0 === "analyzing-tags")) {
31596
- const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema211.properties.code.enum }, message: "must be equal to one of the allowed values" };
32033
+ const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema219.properties.code.enum }, message: "must be equal to one of the allowed values" };
31597
32034
  if (vErrors === null) {
31598
32035
  vErrors = [err2];
31599
32036
  } else {
@@ -31611,11 +32048,11 @@ var require_openapi_validators = __commonJS({
31611
32048
  }
31612
32049
  errors++;
31613
32050
  }
31614
- validate236.errors = vErrors;
32051
+ validate238.errors = vErrors;
31615
32052
  return errors === 0;
31616
32053
  }
31617
- exports.JobProgressCompleteCreated = validate237;
31618
- function validate237(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32054
+ exports.JobProgressCompleteCreated = validate239;
32055
+ function validate239(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31619
32056
  let vErrors = null;
31620
32057
  let errors = 0;
31621
32058
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31674,7 +32111,7 @@ var require_openapi_validators = __commonJS({
31674
32111
  }
31675
32112
  }
31676
32113
  if (!(data0 === "complete-created")) {
31677
- const err4 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema218.properties.code.enum }, message: "must be equal to one of the allowed values" };
32114
+ const err4 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema226.properties.code.enum }, message: "must be equal to one of the allowed values" };
31678
32115
  if (vErrors === null) {
31679
32116
  vErrors = [err4];
31680
32117
  } else {
@@ -31737,7 +32174,7 @@ var require_openapi_validators = __commonJS({
31737
32174
  }
31738
32175
  }
31739
32176
  if (!(data2 === "highlight" || data2 === "comment" || data2 === "assessment" || data2 === "reference" || data2 === "tag")) {
31740
- const err7 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema218.properties.kind.enum }, message: "must be equal to one of the allowed values" };
32177
+ const err7 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema226.properties.kind.enum }, message: "must be equal to one of the allowed values" };
31741
32178
  if (vErrors === null) {
31742
32179
  vErrors = [err7];
31743
32180
  } else {
@@ -31755,11 +32192,11 @@ var require_openapi_validators = __commonJS({
31755
32192
  }
31756
32193
  errors++;
31757
32194
  }
31758
- validate237.errors = vErrors;
32195
+ validate239.errors = vErrors;
31759
32196
  return errors === 0;
31760
32197
  }
31761
- exports.JobProgressCompleteGenerated = validate238;
31762
- function validate238(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32198
+ exports.JobProgressCompleteGenerated = validate240;
32199
+ function validate240(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31763
32200
  let vErrors = null;
31764
32201
  let errors = 0;
31765
32202
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31809,7 +32246,7 @@ var require_openapi_validators = __commonJS({
31809
32246
  }
31810
32247
  }
31811
32248
  if (!(data0 === "complete-generated")) {
31812
- const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema214.properties.code.enum }, message: "must be equal to one of the allowed values" };
32249
+ const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema222.properties.code.enum }, message: "must be equal to one of the allowed values" };
31813
32250
  if (vErrors === null) {
31814
32251
  vErrors = [err3];
31815
32252
  } else {
@@ -31854,11 +32291,11 @@ var require_openapi_validators = __commonJS({
31854
32291
  }
31855
32292
  errors++;
31856
32293
  }
31857
- validate238.errors = vErrors;
32294
+ validate240.errors = vErrors;
31858
32295
  return errors === 0;
31859
32296
  }
31860
- exports.JobProgressCreatingAnnotations = validate239;
31861
- function validate239(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32297
+ exports.JobProgressCreatingAnnotations = validate241;
32298
+ function validate241(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31862
32299
  let vErrors = null;
31863
32300
  let errors = 0;
31864
32301
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31908,7 +32345,7 @@ var require_openapi_validators = __commonJS({
31908
32345
  }
31909
32346
  }
31910
32347
  if (!(data0 === "creating-annotations")) {
31911
- const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema216.properties.code.enum }, message: "must be equal to one of the allowed values" };
32348
+ const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema224.properties.code.enum }, message: "must be equal to one of the allowed values" };
31912
32349
  if (vErrors === null) {
31913
32350
  vErrors = [err3];
31914
32351
  } else {
@@ -31952,11 +32389,11 @@ var require_openapi_validators = __commonJS({
31952
32389
  }
31953
32390
  errors++;
31954
32391
  }
31955
- validate239.errors = vErrors;
32392
+ validate241.errors = vErrors;
31956
32393
  return errors === 0;
31957
32394
  }
31958
- exports.JobProgressCreatingResource = validate240;
31959
- function validate240(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32395
+ exports.JobProgressCreatingResource = validate242;
32396
+ function validate242(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
31960
32397
  let vErrors = null;
31961
32398
  let errors = 0;
31962
32399
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -31997,7 +32434,7 @@ var require_openapi_validators = __commonJS({
31997
32434
  }
31998
32435
  }
31999
32436
  if (!(data0 === "creating-resource")) {
32000
- const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema213.properties.code.enum }, message: "must be equal to one of the allowed values" };
32437
+ const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema221.properties.code.enum }, message: "must be equal to one of the allowed values" };
32001
32438
  if (vErrors === null) {
32002
32439
  vErrors = [err2];
32003
32440
  } else {
@@ -32015,11 +32452,11 @@ var require_openapi_validators = __commonJS({
32015
32452
  }
32016
32453
  errors++;
32017
32454
  }
32018
- validate240.errors = vErrors;
32455
+ validate242.errors = vErrors;
32019
32456
  return errors === 0;
32020
32457
  }
32021
- exports.JobProgressCreatingTagAnnotations = validate241;
32022
- function validate241(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32458
+ exports.JobProgressCreatingTagAnnotations = validate243;
32459
+ function validate243(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32023
32460
  let vErrors = null;
32024
32461
  let errors = 0;
32025
32462
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32069,7 +32506,7 @@ var require_openapi_validators = __commonJS({
32069
32506
  }
32070
32507
  }
32071
32508
  if (!(data0 === "creating-tag-annotations")) {
32072
- const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema217.properties.code.enum }, message: "must be equal to one of the allowed values" };
32509
+ const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema225.properties.code.enum }, message: "must be equal to one of the allowed values" };
32073
32510
  if (vErrors === null) {
32074
32511
  vErrors = [err3];
32075
32512
  } else {
@@ -32113,11 +32550,11 @@ var require_openapi_validators = __commonJS({
32113
32550
  }
32114
32551
  errors++;
32115
32552
  }
32116
- validate241.errors = vErrors;
32553
+ validate243.errors = vErrors;
32117
32554
  return errors === 0;
32118
32555
  }
32119
- exports.JobProgressDetectingEntities = validate242;
32120
- function validate242(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32556
+ exports.JobProgressDetectingEntities = validate244;
32557
+ function validate244(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32121
32558
  let vErrors = null;
32122
32559
  let errors = 0;
32123
32560
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32167,7 +32604,7 @@ var require_openapi_validators = __commonJS({
32167
32604
  }
32168
32605
  }
32169
32606
  if (!(data0 === "detecting-entities")) {
32170
- const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema215.properties.code.enum }, message: "must be equal to one of the allowed values" };
32607
+ const err3 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema223.properties.code.enum }, message: "must be equal to one of the allowed values" };
32171
32608
  if (vErrors === null) {
32172
32609
  vErrors = [err3];
32173
32610
  } else {
@@ -32213,11 +32650,11 @@ var require_openapi_validators = __commonJS({
32213
32650
  }
32214
32651
  errors++;
32215
32652
  }
32216
- validate242.errors = vErrors;
32653
+ validate244.errors = vErrors;
32217
32654
  return errors === 0;
32218
32655
  }
32219
- exports.JobProgressGeneratingResource = validate243;
32220
- function validate243(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32656
+ exports.JobProgressGeneratingResource = validate245;
32657
+ function validate245(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32221
32658
  let vErrors = null;
32222
32659
  let errors = 0;
32223
32660
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32258,7 +32695,7 @@ var require_openapi_validators = __commonJS({
32258
32695
  }
32259
32696
  }
32260
32697
  if (!(data0 === "generating-resource")) {
32261
- const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema212.properties.code.enum }, message: "must be equal to one of the allowed values" };
32698
+ const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema220.properties.code.enum }, message: "must be equal to one of the allowed values" };
32262
32699
  if (vErrors === null) {
32263
32700
  vErrors = [err2];
32264
32701
  } else {
@@ -32276,11 +32713,11 @@ var require_openapi_validators = __commonJS({
32276
32713
  }
32277
32714
  errors++;
32278
32715
  }
32279
- validate243.errors = vErrors;
32716
+ validate245.errors = vErrors;
32280
32717
  return errors === 0;
32281
32718
  }
32282
- exports.JobProgressLoading = validate244;
32283
- function validate244(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32719
+ exports.JobProgressLoading = validate246;
32720
+ function validate246(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32284
32721
  let vErrors = null;
32285
32722
  let errors = 0;
32286
32723
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32321,7 +32758,7 @@ var require_openapi_validators = __commonJS({
32321
32758
  }
32322
32759
  }
32323
32760
  if (!(data0 === "loading")) {
32324
- const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema209.properties.code.enum }, message: "must be equal to one of the allowed values" };
32761
+ const err2 = { instancePath: instancePath + "/code", schemaPath: "#/properties/code/enum", keyword: "enum", params: { allowedValues: schema217.properties.code.enum }, message: "must be equal to one of the allowed values" };
32325
32762
  if (vErrors === null) {
32326
32763
  vErrors = [err2];
32327
32764
  } else {
@@ -32339,12 +32776,12 @@ var require_openapi_validators = __commonJS({
32339
32776
  }
32340
32777
  errors++;
32341
32778
  }
32342
- validate244.errors = vErrors;
32779
+ validate246.errors = vErrors;
32343
32780
  return errors === 0;
32344
32781
  }
32345
- exports.JobProgressMessage = validate233;
32346
- exports.JobQueuedEvent = validate245;
32347
- function validate245(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32782
+ exports.JobProgressMessage = validate235;
32783
+ exports.JobQueuedEvent = validate247;
32784
+ function validate247(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32348
32785
  let vErrors = null;
32349
32786
  let errors = 0;
32350
32787
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32505,11 +32942,11 @@ var require_openapi_validators = __commonJS({
32505
32942
  }
32506
32943
  errors++;
32507
32944
  }
32508
- validate245.errors = vErrors;
32945
+ validate247.errors = vErrors;
32509
32946
  return errors === 0;
32510
32947
  }
32511
- exports.JobReferenceAnnotationResult = validate246;
32512
- function validate246(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32948
+ exports.JobReferenceAnnotationResult = validate248;
32949
+ function validate248(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32513
32950
  let vErrors = null;
32514
32951
  let errors = 0;
32515
32952
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32577,7 +33014,7 @@ var require_openapi_validators = __commonJS({
32577
33014
  }
32578
33015
  }
32579
33016
  if (!(data0 === "reference-annotation")) {
32580
- const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema189.properties.kind.enum }, message: "must be equal to one of the allowed values" };
33017
+ const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema191.properties.kind.enum }, message: "must be equal to one of the allowed values" };
32581
33018
  if (vErrors === null) {
32582
33019
  vErrors = [err5];
32583
33020
  } else {
@@ -32664,20 +33101,46 @@ var require_openapi_validators = __commonJS({
32664
33101
  }
32665
33102
  }
32666
33103
  }
33104
+ if (data.underReportedPieces !== void 0) {
33105
+ let data4 = data.underReportedPieces;
33106
+ if (!(typeof data4 == "number" && (!(data4 % 1) && !isNaN(data4)) && isFinite(data4))) {
33107
+ let dataType4 = typeof data4;
33108
+ let coerced4 = void 0;
33109
+ if (!(coerced4 !== void 0)) {
33110
+ if (dataType4 === "boolean" || data4 === null || dataType4 === "string" && data4 && data4 == +data4 && !(data4 % 1)) {
33111
+ coerced4 = +data4;
33112
+ } else {
33113
+ const err9 = { instancePath: instancePath + "/underReportedPieces", schemaPath: "#/properties/underReportedPieces/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
33114
+ if (vErrors === null) {
33115
+ vErrors = [err9];
33116
+ } else {
33117
+ vErrors.push(err9);
33118
+ }
33119
+ errors++;
33120
+ }
33121
+ }
33122
+ if (coerced4 !== void 0) {
33123
+ data4 = coerced4;
33124
+ if (data !== void 0) {
33125
+ data["underReportedPieces"] = coerced4;
33126
+ }
33127
+ }
33128
+ }
33129
+ }
32667
33130
  } else {
32668
- const err9 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
33131
+ const err10 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
32669
33132
  if (vErrors === null) {
32670
- vErrors = [err9];
33133
+ vErrors = [err10];
32671
33134
  } else {
32672
- vErrors.push(err9);
33135
+ vErrors.push(err10);
32673
33136
  }
32674
33137
  errors++;
32675
33138
  }
32676
- validate246.errors = vErrors;
33139
+ validate248.errors = vErrors;
32677
33140
  return errors === 0;
32678
33141
  }
32679
- exports.JobReportProgressCommand = validate247;
32680
- function validate247(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33142
+ exports.JobReportProgressCommand = validate249;
33143
+ function validate249(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32681
33144
  let vErrors = null;
32682
33145
  let errors = 0;
32683
33146
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -32893,8 +33356,8 @@ var require_openapi_validators = __commonJS({
32893
33356
  }
32894
33357
  }
32895
33358
  if (data.progress !== void 0) {
32896
- if (!validate232(data.progress, { instancePath: instancePath + "/progress", parentData: data, parentDataProperty: "progress", rootData })) {
32897
- vErrors = vErrors === null ? validate232.errors : vErrors.concat(validate232.errors);
33359
+ if (!validate234(data.progress, { instancePath: instancePath + "/progress", parentData: data, parentDataProperty: "progress", rootData })) {
33360
+ vErrors = vErrors === null ? validate234.errors : vErrors.concat(validate234.errors);
32898
33361
  errors = vErrors.length;
32899
33362
  }
32900
33363
  }
@@ -32907,12 +33370,12 @@ var require_openapi_validators = __commonJS({
32907
33370
  }
32908
33371
  errors++;
32909
33372
  }
32910
- validate247.errors = vErrors;
33373
+ validate249.errors = vErrors;
32911
33374
  return errors === 0;
32912
33375
  }
32913
- exports.JobResult = validate222;
32914
- exports.JobStartCommand = validate249;
32915
- function validate249(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33376
+ exports.JobResult = validate224;
33377
+ exports.JobStartCommand = validate251;
33378
+ function validate251(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
32916
33379
  let vErrors = null;
32917
33380
  let errors = 0;
32918
33381
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -33101,11 +33564,11 @@ var require_openapi_validators = __commonJS({
33101
33564
  }
33102
33565
  errors++;
33103
33566
  }
33104
- validate249.errors = vErrors;
33567
+ validate251.errors = vErrors;
33105
33568
  return errors === 0;
33106
33569
  }
33107
- exports.JobStartedPayload = validate250;
33108
- function validate250(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33570
+ exports.JobStartedPayload = validate252;
33571
+ function validate252(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33109
33572
  let vErrors = null;
33110
33573
  let errors = 0;
33111
33574
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -33255,11 +33718,11 @@ var require_openapi_validators = __commonJS({
33255
33718
  }
33256
33719
  errors++;
33257
33720
  }
33258
- validate250.errors = vErrors;
33721
+ validate252.errors = vErrors;
33259
33722
  return errors === 0;
33260
33723
  }
33261
- exports.JobStatusRequest = validate251;
33262
- function validate251(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33724
+ exports.JobStatusRequest = validate253;
33725
+ function validate253(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33263
33726
  let vErrors = null;
33264
33727
  let errors = 0;
33265
33728
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -33346,12 +33809,12 @@ var require_openapi_validators = __commonJS({
33346
33809
  }
33347
33810
  errors++;
33348
33811
  }
33349
- validate251.errors = vErrors;
33812
+ validate253.errors = vErrors;
33350
33813
  return errors === 0;
33351
33814
  }
33352
- exports.JobStatusResponse = validate252;
33353
- var schema238 = { "properties": { "status": { "enum": ["pending", "running", "complete", "failed", "cancelled"] }}};
33354
- function validate252(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33815
+ exports.JobStatusResponse = validate254;
33816
+ var schema246 = { "properties": { "status": { "enum": ["pending", "running", "complete", "failed", "cancelled"] }}};
33817
+ function validate254(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33355
33818
  let vErrors = null;
33356
33819
  let errors = 0;
33357
33820
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -33493,7 +33956,7 @@ var require_openapi_validators = __commonJS({
33493
33956
  }
33494
33957
  }
33495
33958
  if (!(data2 === "pending" || data2 === "running" || data2 === "complete" || data2 === "failed" || data2 === "cancelled")) {
33496
- const err9 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema238.properties.status.enum }, message: "must be equal to one of the allowed values" };
33959
+ const err9 = { instancePath: instancePath + "/status", schemaPath: "#/properties/status/enum", keyword: "enum", params: { allowedValues: schema246.properties.status.enum }, message: "must be equal to one of the allowed values" };
33497
33960
  if (vErrors === null) {
33498
33961
  vErrors = [err9];
33499
33962
  } else {
@@ -33643,8 +34106,8 @@ var require_openapi_validators = __commonJS({
33643
34106
  }
33644
34107
  }
33645
34108
  if (data.result !== void 0) {
33646
- if (!validate222(data.result, { instancePath: instancePath + "/result", parentData: data, parentDataProperty: "result", rootData })) {
33647
- vErrors = vErrors === null ? validate222.errors : vErrors.concat(validate222.errors);
34109
+ if (!validate224(data.result, { instancePath: instancePath + "/result", parentData: data, parentDataProperty: "result", rootData })) {
34110
+ vErrors = vErrors === null ? validate224.errors : vErrors.concat(validate224.errors);
33648
34111
  errors = vErrors.length;
33649
34112
  }
33650
34113
  }
@@ -33657,11 +34120,11 @@ var require_openapi_validators = __commonJS({
33657
34120
  }
33658
34121
  errors++;
33659
34122
  }
33660
- validate252.errors = vErrors;
34123
+ validate254.errors = vErrors;
33661
34124
  return errors === 0;
33662
34125
  }
33663
- exports.JobStatusResult = validate254;
33664
- function validate254(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34126
+ exports.JobStatusResult = validate256;
34127
+ function validate256(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33665
34128
  let vErrors = null;
33666
34129
  let errors = 0;
33667
34130
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -33712,8 +34175,8 @@ var require_openapi_validators = __commonJS({
33712
34175
  }
33713
34176
  }
33714
34177
  if (data.response !== void 0) {
33715
- if (!validate252(data.response, { instancePath: instancePath + "/response", parentData: data, parentDataProperty: "response", rootData })) {
33716
- vErrors = vErrors === null ? validate252.errors : vErrors.concat(validate252.errors);
34178
+ if (!validate254(data.response, { instancePath: instancePath + "/response", parentData: data, parentDataProperty: "response", rootData })) {
34179
+ vErrors = vErrors === null ? validate254.errors : vErrors.concat(validate254.errors);
33717
34180
  errors = vErrors.length;
33718
34181
  }
33719
34182
  }
@@ -33726,11 +34189,11 @@ var require_openapi_validators = __commonJS({
33726
34189
  }
33727
34190
  errors++;
33728
34191
  }
33729
- validate254.errors = vErrors;
34192
+ validate256.errors = vErrors;
33730
34193
  return errors === 0;
33731
34194
  }
33732
- exports.JobTagAnnotationResult = validate256;
33733
- function validate256(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34195
+ exports.JobTagAnnotationResult = validate258;
34196
+ function validate258(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33734
34197
  let vErrors = null;
33735
34198
  let errors = 0;
33736
34199
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -33798,7 +34261,7 @@ var require_openapi_validators = __commonJS({
33798
34261
  }
33799
34262
  }
33800
34263
  if (!(data0 === "tag-annotation")) {
33801
- const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema193.properties.kind.enum }, message: "must be equal to one of the allowed values" };
34264
+ const err5 = { instancePath: instancePath + "/kind", schemaPath: "#/properties/kind/enum", keyword: "enum", params: { allowedValues: schema195.properties.kind.enum }, message: "must be equal to one of the allowed values" };
33802
34265
  if (vErrors === null) {
33803
34266
  vErrors = [err5];
33804
34267
  } else {
@@ -33907,11 +34370,11 @@ var require_openapi_validators = __commonJS({
33907
34370
  }
33908
34371
  errors++;
33909
34372
  }
33910
- validate256.errors = vErrors;
34373
+ validate258.errors = vErrors;
33911
34374
  return errors === 0;
33912
34375
  }
33913
- exports.JobType = validate257;
33914
- function validate257(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34376
+ exports.JobType = validate259;
34377
+ function validate259(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33915
34378
  let vErrors = null;
33916
34379
  let errors = 0;
33917
34380
  if (typeof data !== "string") {
@@ -33948,13 +34411,13 @@ var require_openapi_validators = __commonJS({
33948
34411
  }
33949
34412
  errors++;
33950
34413
  }
33951
- validate257.errors = vErrors;
34414
+ validate259.errors = vErrors;
33952
34415
  return errors === 0;
33953
34416
  }
33954
- exports.KnowledgeGraph = validate192;
34417
+ exports.KnowledgeGraph = validate194;
33955
34418
  exports.ListResourcesResponse = validate139;
33956
- exports.MarkArchiveCommand = validate258;
33957
- function validate258(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34419
+ exports.MarkArchiveCommand = validate260;
34420
+ function validate260(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
33958
34421
  let vErrors = null;
33959
34422
  let errors = 0;
33960
34423
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -34142,12 +34605,12 @@ var require_openapi_validators = __commonJS({
34142
34605
  }
34143
34606
  errors++;
34144
34607
  }
34145
- validate258.errors = vErrors;
34608
+ validate260.errors = vErrors;
34146
34609
  return errors === 0;
34147
34610
  }
34148
- exports.MarkAssistRequestEvent = validate259;
34149
- var schema244 = { "properties": { "options": { "properties": { "tone": { "enum": ["scholarly", "explanatory", "conversational", "technical", "analytical", "critical", "balanced", "constructive"] }} } }};
34150
- function validate259(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34611
+ exports.MarkAssistRequestEvent = validate261;
34612
+ var schema252 = { "properties": { "options": { "properties": { "tone": { "enum": ["scholarly", "explanatory", "conversational", "technical", "analytical", "critical", "balanced", "constructive"] }} } }};
34613
+ function validate261(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34151
34614
  let vErrors = null;
34152
34615
  let errors = 0;
34153
34616
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -34293,7 +34756,7 @@ var require_openapi_validators = __commonJS({
34293
34756
  }
34294
34757
  }
34295
34758
  if (!(data4 === "scholarly" || data4 === "explanatory" || data4 === "conversational" || data4 === "technical" || data4 === "analytical" || data4 === "critical" || data4 === "balanced" || data4 === "constructive")) {
34296
- const err7 = { instancePath: instancePath + "/options/tone", schemaPath: "#/properties/options/properties/tone/enum", keyword: "enum", params: { allowedValues: schema244.properties.options.properties.tone.enum }, message: "must be equal to one of the allowed values" };
34759
+ const err7 = { instancePath: instancePath + "/options/tone", schemaPath: "#/properties/options/properties/tone/enum", keyword: "enum", params: { allowedValues: schema252.properties.options.properties.tone.enum }, message: "must be equal to one of the allowed values" };
34297
34760
  if (vErrors === null) {
34298
34761
  vErrors = [err7];
34299
34762
  } else {
@@ -34514,11 +34977,11 @@ var require_openapi_validators = __commonJS({
34514
34977
  }
34515
34978
  errors++;
34516
34979
  }
34517
- validate259.errors = vErrors;
34980
+ validate261.errors = vErrors;
34518
34981
  return errors === 0;
34519
34982
  }
34520
- exports.MarkCommitCommand = validate260;
34521
- function validate260(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34983
+ exports.MarkCommitCommand = validate262;
34984
+ function validate262(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34522
34985
  let vErrors = null;
34523
34986
  let errors = 0;
34524
34987
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -34662,11 +35125,11 @@ var require_openapi_validators = __commonJS({
34662
35125
  }
34663
35126
  errors++;
34664
35127
  }
34665
- validate260.errors = vErrors;
35128
+ validate262.errors = vErrors;
34666
35129
  return errors === 0;
34667
35130
  }
34668
- exports.MarkCommitOk = validate262;
34669
- function validate262(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35131
+ exports.MarkCommitOk = validate264;
35132
+ function validate264(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34670
35133
  let vErrors = null;
34671
35134
  let errors = 0;
34672
35135
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -34824,11 +35287,11 @@ var require_openapi_validators = __commonJS({
34824
35287
  }
34825
35288
  errors++;
34826
35289
  }
34827
- validate262.errors = vErrors;
35290
+ validate264.errors = vErrors;
34828
35291
  return errors === 0;
34829
35292
  }
34830
- exports.MarkCreateCommand = validate263;
34831
- function validate263(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35293
+ exports.MarkCreateCommand = validate265;
35294
+ function validate265(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34832
35295
  let vErrors = null;
34833
35296
  let errors = 0;
34834
35297
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -34949,11 +35412,11 @@ var require_openapi_validators = __commonJS({
34949
35412
  }
34950
35413
  errors++;
34951
35414
  }
34952
- validate263.errors = vErrors;
35415
+ validate265.errors = vErrors;
34953
35416
  return errors === 0;
34954
35417
  }
34955
- exports.MarkCreateOk = validate265;
34956
- function validate265(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35418
+ exports.MarkCreateOk = validate267;
35419
+ function validate267(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
34957
35420
  let vErrors = null;
34958
35421
  let errors = 0;
34959
35422
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -35053,11 +35516,11 @@ var require_openapi_validators = __commonJS({
35053
35516
  }
35054
35517
  errors++;
35055
35518
  }
35056
- validate265.errors = vErrors;
35519
+ validate267.errors = vErrors;
35057
35520
  return errors === 0;
35058
35521
  }
35059
- exports.MarkCreateRequest = validate266;
35060
- function validate266(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35522
+ exports.MarkCreateRequest = validate268;
35523
+ function validate268(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35061
35524
  let vErrors = null;
35062
35525
  let errors = 0;
35063
35526
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -35159,11 +35622,11 @@ var require_openapi_validators = __commonJS({
35159
35622
  }
35160
35623
  errors++;
35161
35624
  }
35162
- validate266.errors = vErrors;
35625
+ validate268.errors = vErrors;
35163
35626
  return errors === 0;
35164
35627
  }
35165
- exports.MarkDeleteCommand = validate268;
35166
- function validate268(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35628
+ exports.MarkDeleteCommand = validate270;
35629
+ function validate270(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35167
35630
  let vErrors = null;
35168
35631
  let errors = 0;
35169
35632
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -35297,11 +35760,11 @@ var require_openapi_validators = __commonJS({
35297
35760
  }
35298
35761
  errors++;
35299
35762
  }
35300
- validate268.errors = vErrors;
35763
+ validate270.errors = vErrors;
35301
35764
  return errors === 0;
35302
35765
  }
35303
- exports.MarkDeleteOk = validate269;
35304
- function validate269(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35766
+ exports.MarkDeleteOk = validate271;
35767
+ function validate271(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35305
35768
  let vErrors = null;
35306
35769
  let errors = 0;
35307
35770
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -35401,11 +35864,11 @@ var require_openapi_validators = __commonJS({
35401
35864
  }
35402
35865
  errors++;
35403
35866
  }
35404
- validate269.errors = vErrors;
35867
+ validate271.errors = vErrors;
35405
35868
  return errors === 0;
35406
35869
  }
35407
- exports.MarkRequestedEvent = validate270;
35408
- function validate270(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35870
+ exports.MarkRequestedEvent = validate272;
35871
+ function validate272(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
35409
35872
  let vErrors = null;
35410
35873
  let errors = 0;
35411
35874
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -36636,11 +37099,11 @@ var require_openapi_validators = __commonJS({
36636
37099
  }
36637
37100
  errors++;
36638
37101
  }
36639
- validate270.errors = vErrors;
37102
+ validate272.errors = vErrors;
36640
37103
  return errors === 0;
36641
37104
  }
36642
- exports.MarkSubmitEvent = validate271;
36643
- function validate271(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
37105
+ exports.MarkSubmitEvent = validate273;
37106
+ function validate273(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
36644
37107
  let vErrors = null;
36645
37108
  let errors = 0;
36646
37109
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -37942,11 +38405,11 @@ var require_openapi_validators = __commonJS({
37942
38405
  }
37943
38406
  errors++;
37944
38407
  }
37945
- validate271.errors = vErrors;
38408
+ validate273.errors = vErrors;
37946
38409
  return errors === 0;
37947
38410
  }
37948
- exports.MarkUnarchiveCommand = validate274;
37949
- function validate274(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38411
+ exports.MarkUnarchiveCommand = validate276;
38412
+ function validate276(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
37950
38413
  let vErrors = null;
37951
38414
  let errors = 0;
37952
38415
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -38080,11 +38543,11 @@ var require_openapi_validators = __commonJS({
38080
38543
  }
38081
38544
  errors++;
38082
38545
  }
38083
- validate274.errors = vErrors;
38546
+ validate276.errors = vErrors;
38084
38547
  return errors === 0;
38085
38548
  }
38086
- exports.MarkUpdateBodyCommand = validate275;
38087
- function validate275(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38549
+ exports.MarkUpdateBodyCommand = validate277;
38550
+ function validate277(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38088
38551
  let vErrors = null;
38089
38552
  let errors = 0;
38090
38553
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -38314,11 +38777,11 @@ var require_openapi_validators = __commonJS({
38314
38777
  }
38315
38778
  errors++;
38316
38779
  }
38317
- validate275.errors = vErrors;
38780
+ validate277.errors = vErrors;
38318
38781
  return errors === 0;
38319
38782
  }
38320
- exports.MarkUpdateEntityTypesCommand = validate279;
38321
- function validate279(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38783
+ exports.MarkUpdateEntityTypesCommand = validate281;
38784
+ function validate281(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38322
38785
  let vErrors = null;
38323
38786
  let errors = 0;
38324
38787
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -38526,11 +38989,11 @@ var require_openapi_validators = __commonJS({
38526
38989
  }
38527
38990
  errors++;
38528
38991
  }
38529
- validate279.errors = vErrors;
38992
+ validate281.errors = vErrors;
38530
38993
  return errors === 0;
38531
38994
  }
38532
- exports.MatchSearchFailed = validate280;
38533
- function validate280(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38995
+ exports.MatchSearchFailed = validate282;
38996
+ function validate282(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38534
38997
  let vErrors = null;
38535
38998
  let errors = 0;
38536
38999
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -38654,11 +39117,11 @@ var require_openapi_validators = __commonJS({
38654
39117
  }
38655
39118
  errors++;
38656
39119
  }
38657
- validate280.errors = vErrors;
39120
+ validate282.errors = vErrors;
38658
39121
  return errors === 0;
38659
39122
  }
38660
- exports.MatchSearchRequest = validate281;
38661
- function validate281(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39123
+ exports.MatchSearchRequest = validate283;
39124
+ function validate283(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38662
39125
  let vErrors = null;
38663
39126
  let errors = 0;
38664
39127
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -38783,8 +39246,8 @@ var require_openapi_validators = __commonJS({
38783
39246
  }
38784
39247
  }
38785
39248
  if (data.context !== void 0) {
38786
- if (!validate187(data.context, { instancePath: instancePath + "/context", parentData: data, parentDataProperty: "context", rootData })) {
38787
- vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
39249
+ if (!validate189(data.context, { instancePath: instancePath + "/context", parentData: data, parentDataProperty: "context", rootData })) {
39250
+ vErrors = vErrors === null ? validate189.errors : vErrors.concat(validate189.errors);
38788
39251
  errors = vErrors.length;
38789
39252
  }
38790
39253
  }
@@ -38850,11 +39313,11 @@ var require_openapi_validators = __commonJS({
38850
39313
  }
38851
39314
  errors++;
38852
39315
  }
38853
- validate281.errors = vErrors;
39316
+ validate283.errors = vErrors;
38854
39317
  return errors === 0;
38855
39318
  }
38856
- exports.MatchSearchResult = validate283;
38857
- function validate284(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39319
+ exports.MatchSearchResult = validate285;
39320
+ function validate286(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38858
39321
  let vErrors = null;
38859
39322
  let errors = 0;
38860
39323
  if (!validate58(data, { instancePath, parentData, parentDataProperty, rootData })) {
@@ -38925,10 +39388,10 @@ var require_openapi_validators = __commonJS({
38925
39388
  }
38926
39389
  errors++;
38927
39390
  }
38928
- validate284.errors = vErrors;
39391
+ validate286.errors = vErrors;
38929
39392
  return errors === 0;
38930
39393
  }
38931
- function validate283(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39394
+ function validate285(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
38932
39395
  let vErrors = null;
38933
39396
  let errors = 0;
38934
39397
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -39020,8 +39483,8 @@ var require_openapi_validators = __commonJS({
39020
39483
  if (Array.isArray(data2)) {
39021
39484
  const len0 = data2.length;
39022
39485
  for (let i0 = 0; i0 < len0; i0++) {
39023
- if (!validate284(data2[i0], { instancePath: instancePath + "/response/" + i0, parentData: data2, parentDataProperty: i0, rootData })) {
39024
- vErrors = vErrors === null ? validate284.errors : vErrors.concat(validate284.errors);
39486
+ if (!validate286(data2[i0], { instancePath: instancePath + "/response/" + i0, parentData: data2, parentDataProperty: i0, rootData })) {
39487
+ vErrors = vErrors === null ? validate286.errors : vErrors.concat(validate286.errors);
39025
39488
  errors = vErrors.length;
39026
39489
  }
39027
39490
  }
@@ -39044,11 +39507,11 @@ var require_openapi_validators = __commonJS({
39044
39507
  }
39045
39508
  errors++;
39046
39509
  }
39047
- validate283.errors = vErrors;
39510
+ validate285.errors = vErrors;
39048
39511
  return errors === 0;
39049
39512
  }
39050
- exports.MediaTokenRequest = validate287;
39051
- function validate287(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39513
+ exports.MediaTokenRequest = validate289;
39514
+ function validate289(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39052
39515
  let vErrors = null;
39053
39516
  let errors = 0;
39054
39517
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -39098,11 +39561,11 @@ var require_openapi_validators = __commonJS({
39098
39561
  }
39099
39562
  errors++;
39100
39563
  }
39101
- validate287.errors = vErrors;
39564
+ validate289.errors = vErrors;
39102
39565
  return errors === 0;
39103
39566
  }
39104
- exports.MediaTokenResponse = validate288;
39105
- function validate288(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39567
+ exports.MediaTokenResponse = validate290;
39568
+ function validate290(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39106
39569
  let vErrors = null;
39107
39570
  let errors = 0;
39108
39571
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -39152,11 +39615,11 @@ var require_openapi_validators = __commonJS({
39152
39615
  }
39153
39616
  errors++;
39154
39617
  }
39155
- validate288.errors = vErrors;
39618
+ validate290.errors = vErrors;
39156
39619
  return errors === 0;
39157
39620
  }
39158
- exports.Motivation = validate289;
39159
- function validate289(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39621
+ exports.Motivation = validate291;
39622
+ function validate291(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39160
39623
  let vErrors = null;
39161
39624
  let errors = 0;
39162
39625
  if (typeof data !== "string") {
@@ -39193,11 +39656,11 @@ var require_openapi_validators = __commonJS({
39193
39656
  }
39194
39657
  errors++;
39195
39658
  }
39196
- validate289.errors = vErrors;
39659
+ validate291.errors = vErrors;
39197
39660
  return errors === 0;
39198
39661
  }
39199
- exports.OAuthConfigResponse = validate290;
39200
- function validate290(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39662
+ exports.OAuthConfigResponse = validate292;
39663
+ function validate292(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39201
39664
  let vErrors = null;
39202
39665
  let errors = 0;
39203
39666
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -39407,12 +39870,12 @@ var require_openapi_validators = __commonJS({
39407
39870
  }
39408
39871
  errors++;
39409
39872
  }
39410
- validate290.errors = vErrors;
39873
+ validate292.errors = vErrors;
39411
39874
  return errors === 0;
39412
39875
  }
39413
- exports.PasswordAuthRequest = validate291;
39876
+ exports.PasswordAuthRequest = validate293;
39414
39877
  var formats78 = /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;
39415
- function validate291(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39878
+ function validate293(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39416
39879
  let vErrors = null;
39417
39880
  let errors = 0;
39418
39881
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -39521,11 +39984,11 @@ var require_openapi_validators = __commonJS({
39521
39984
  }
39522
39985
  errors++;
39523
39986
  }
39524
- validate291.errors = vErrors;
39987
+ validate293.errors = vErrors;
39525
39988
  return errors === 0;
39526
39989
  }
39527
- exports.PdfTextItem = validate292;
39528
- function validate292(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39990
+ exports.PdfTextItem = validate294;
39991
+ function validate294(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39529
39992
  let vErrors = null;
39530
39993
  let errors = 0;
39531
39994
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -39783,11 +40246,11 @@ var require_openapi_validators = __commonJS({
39783
40246
  }
39784
40247
  errors++;
39785
40248
  }
39786
- validate292.errors = vErrors;
40249
+ validate294.errors = vErrors;
39787
40250
  return errors === 0;
39788
40251
  }
39789
- exports.Representation = validate293;
39790
- function validate293(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
40252
+ exports.Representation = validate295;
40253
+ function validate295(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
39791
40254
  let vErrors = null;
39792
40255
  let errors = 0;
39793
40256
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -40562,11 +41025,11 @@ var require_openapi_validators = __commonJS({
40562
41025
  }
40563
41026
  errors++;
40564
41027
  }
40565
- validate293.errors = vErrors;
41028
+ validate295.errors = vErrors;
40566
41029
  return errors === 0;
40567
41030
  }
40568
- exports.RepresentationAddedPayload = validate294;
40569
- function validate294(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41031
+ exports.RepresentationAddedPayload = validate296;
41032
+ function validate296(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
40570
41033
  let vErrors = null;
40571
41034
  let errors = 0;
40572
41035
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -41363,11 +41826,11 @@ var require_openapi_validators = __commonJS({
41363
41826
  }
41364
41827
  errors++;
41365
41828
  }
41366
- validate294.errors = vErrors;
41829
+ validate296.errors = vErrors;
41367
41830
  return errors === 0;
41368
41831
  }
41369
- exports.RepresentationRemovedPayload = validate295;
41370
- function validate295(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41832
+ exports.RepresentationRemovedPayload = validate297;
41833
+ function validate297(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41371
41834
  let vErrors = null;
41372
41835
  let errors = 0;
41373
41836
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -41417,11 +41880,11 @@ var require_openapi_validators = __commonJS({
41417
41880
  }
41418
41881
  errors++;
41419
41882
  }
41420
- validate295.errors = vErrors;
41883
+ validate297.errors = vErrors;
41421
41884
  return errors === 0;
41422
41885
  }
41423
- exports.ResourceArchivedPayload = validate296;
41424
- function validate296(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41886
+ exports.ResourceArchivedPayload = validate298;
41887
+ function validate298(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41425
41888
  let vErrors = null;
41426
41889
  let errors = 0;
41427
41890
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -41462,11 +41925,11 @@ var require_openapi_validators = __commonJS({
41462
41925
  }
41463
41926
  errors++;
41464
41927
  }
41465
- validate296.errors = vErrors;
41928
+ validate298.errors = vErrors;
41466
41929
  return errors === 0;
41467
41930
  }
41468
- exports.ResourceClonedPayload = validate297;
41469
- function validate297(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41931
+ exports.ResourceClonedPayload = validate299;
41932
+ function validate299(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41470
41933
  let vErrors = null;
41471
41934
  let errors = 0;
41472
41935
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -41751,11 +42214,11 @@ var require_openapi_validators = __commonJS({
41751
42214
  }
41752
42215
  errors++;
41753
42216
  }
41754
- validate297.errors = vErrors;
42217
+ validate299.errors = vErrors;
41755
42218
  return errors === 0;
41756
42219
  }
41757
- exports.ResourceCreatedPayload = validate298;
41758
- function validate298(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42220
+ exports.ResourceCreatedPayload = validate300;
42221
+ function validate300(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
41759
42222
  let vErrors = null;
41760
42223
  let errors = 0;
41761
42224
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -42207,12 +42670,12 @@ var require_openapi_validators = __commonJS({
42207
42670
  }
42208
42671
  errors++;
42209
42672
  }
42210
- validate298.errors = vErrors;
42673
+ validate300.errors = vErrors;
42211
42674
  return errors === 0;
42212
42675
  }
42213
42676
  exports.ResourceDescriptor = validate58;
42214
- exports.ResourceMovedPayload = validate301;
42215
- function validate301(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42677
+ exports.ResourceMovedPayload = validate303;
42678
+ function validate303(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42216
42679
  let vErrors = null;
42217
42680
  let errors = 0;
42218
42681
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -42299,11 +42762,11 @@ var require_openapi_validators = __commonJS({
42299
42762
  }
42300
42763
  errors++;
42301
42764
  }
42302
- validate301.errors = vErrors;
42765
+ validate303.errors = vErrors;
42303
42766
  return errors === 0;
42304
42767
  }
42305
- exports.ResourceUnarchivedPayload = validate302;
42306
- function validate302(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42768
+ exports.ResourceUnarchivedPayload = validate304;
42769
+ function validate304(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42307
42770
  let vErrors = null;
42308
42771
  let errors = 0;
42309
42772
  if (!(data && typeof data == "object" && !Array.isArray(data))) {
@@ -42315,11 +42778,11 @@ var require_openapi_validators = __commonJS({
42315
42778
  }
42316
42779
  errors++;
42317
42780
  }
42318
- validate302.errors = vErrors;
42781
+ validate304.errors = vErrors;
42319
42782
  return errors === 0;
42320
42783
  }
42321
- exports.ResourceUpdatedPayload = validate303;
42322
- function validate303(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42784
+ exports.ResourceUpdatedPayload = validate305;
42785
+ function validate305(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42323
42786
  let vErrors = null;
42324
42787
  let errors = 0;
42325
42788
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -42395,12 +42858,12 @@ var require_openapi_validators = __commonJS({
42395
42858
  }
42396
42859
  errors++;
42397
42860
  }
42398
- validate303.errors = vErrors;
42861
+ validate305.errors = vErrors;
42399
42862
  return errors === 0;
42400
42863
  }
42401
- exports.ScoredResource = validate284;
42402
- exports.SelectionData = validate304;
42403
- function validate304(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42864
+ exports.ScoredResource = validate286;
42865
+ exports.SelectionData = validate306;
42866
+ function validate306(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42404
42867
  let vErrors = null;
42405
42868
  let errors = 0;
42406
42869
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -42660,11 +43123,11 @@ var require_openapi_validators = __commonJS({
42660
43123
  }
42661
43124
  errors++;
42662
43125
  }
42663
- validate304.errors = vErrors;
43126
+ validate306.errors = vErrors;
42664
43127
  return errors === 0;
42665
43128
  }
42666
- exports.SemanticMatch = validate305;
42667
- function validate305(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43129
+ exports.SemanticMatch = validate307;
43130
+ function validate307(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42668
43131
  let vErrors = null;
42669
43132
  let errors = 0;
42670
43133
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -42920,11 +43383,11 @@ var require_openapi_validators = __commonJS({
42920
43383
  }
42921
43384
  errors++;
42922
43385
  }
42923
- validate305.errors = vErrors;
43386
+ validate307.errors = vErrors;
42924
43387
  return errors === 0;
42925
43388
  }
42926
- exports.SessionJoinedEvent = validate306;
42927
- function validate306(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43389
+ exports.SessionJoinedEvent = validate308;
43390
+ function validate308(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
42928
43391
  let vErrors = null;
42929
43392
  let errors = 0;
42930
43393
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43011,11 +43474,11 @@ var require_openapi_validators = __commonJS({
43011
43474
  }
43012
43475
  errors++;
43013
43476
  }
43014
- validate306.errors = vErrors;
43477
+ validate308.errors = vErrors;
43015
43478
  return errors === 0;
43016
43479
  }
43017
- exports.SessionLeftEvent = validate307;
43018
- function validate307(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43480
+ exports.SessionLeftEvent = validate309;
43481
+ function validate309(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43019
43482
  let vErrors = null;
43020
43483
  let errors = 0;
43021
43484
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43102,11 +43565,11 @@ var require_openapi_validators = __commonJS({
43102
43565
  }
43103
43566
  errors++;
43104
43567
  }
43105
- validate307.errors = vErrors;
43568
+ validate309.errors = vErrors;
43106
43569
  return errors === 0;
43107
43570
  }
43108
- exports.SettingsHoverDelayChangedEvent = validate308;
43109
- function validate308(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43571
+ exports.SettingsHoverDelayChangedEvent = validate310;
43572
+ function validate310(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43110
43573
  let vErrors = null;
43111
43574
  let errors = 0;
43112
43575
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43154,11 +43617,11 @@ var require_openapi_validators = __commonJS({
43154
43617
  }
43155
43618
  errors++;
43156
43619
  }
43157
- validate308.errors = vErrors;
43620
+ validate310.errors = vErrors;
43158
43621
  return errors === 0;
43159
43622
  }
43160
- exports.SettingsLocaleChangedEvent = validate309;
43161
- function validate309(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43623
+ exports.SettingsLocaleChangedEvent = validate311;
43624
+ function validate311(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43162
43625
  let vErrors = null;
43163
43626
  let errors = 0;
43164
43627
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43208,12 +43671,12 @@ var require_openapi_validators = __commonJS({
43208
43671
  }
43209
43672
  errors++;
43210
43673
  }
43211
- validate309.errors = vErrors;
43674
+ validate311.errors = vErrors;
43212
43675
  return errors === 0;
43213
43676
  }
43214
- exports.SettingsThemeChangedEvent = validate310;
43215
- var schema304 = { "properties": { "theme": { "enum": ["light", "dark", "system"] } }};
43216
- function validate310(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43677
+ exports.SettingsThemeChangedEvent = validate312;
43678
+ var schema312 = { "properties": { "theme": { "enum": ["light", "dark", "system"] } }};
43679
+ function validate312(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43217
43680
  let vErrors = null;
43218
43681
  let errors = 0;
43219
43682
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43254,7 +43717,7 @@ var require_openapi_validators = __commonJS({
43254
43717
  }
43255
43718
  }
43256
43719
  if (!(data0 === "light" || data0 === "dark" || data0 === "system")) {
43257
- const err2 = { instancePath: instancePath + "/theme", schemaPath: "#/properties/theme/enum", keyword: "enum", params: { allowedValues: schema304.properties.theme.enum }, message: "must be equal to one of the allowed values" };
43720
+ const err2 = { instancePath: instancePath + "/theme", schemaPath: "#/properties/theme/enum", keyword: "enum", params: { allowedValues: schema312.properties.theme.enum }, message: "must be equal to one of the allowed values" };
43258
43721
  if (vErrors === null) {
43259
43722
  vErrors = [err2];
43260
43723
  } else {
@@ -43272,11 +43735,11 @@ var require_openapi_validators = __commonJS({
43272
43735
  }
43273
43736
  errors++;
43274
43737
  }
43275
- validate310.errors = vErrors;
43738
+ validate312.errors = vErrors;
43276
43739
  return errors === 0;
43277
43740
  }
43278
- exports.SmeltRebuildAnchorsCommand = validate311;
43279
- function validate311(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43741
+ exports.SmeltRebuildAnchorsCommand = validate313;
43742
+ function validate313(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43280
43743
  let vErrors = null;
43281
43744
  let errors = 0;
43282
43745
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43373,12 +43836,12 @@ var require_openapi_validators = __commonJS({
43373
43836
  }
43374
43837
  errors++;
43375
43838
  }
43376
- validate311.errors = vErrors;
43839
+ validate313.errors = vErrors;
43377
43840
  return errors === 0;
43378
43841
  }
43379
43842
  exports.SpecificResource = validate30;
43380
- exports.StatusResponse = validate312;
43381
- function validate312(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43843
+ exports.StatusResponse = validate314;
43844
+ function validate314(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43382
43845
  let vErrors = null;
43383
43846
  let errors = 0;
43384
43847
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43756,12 +44219,12 @@ var require_openapi_validators = __commonJS({
43756
44219
  }
43757
44220
  errors++;
43758
44221
  }
43759
- validate312.errors = vErrors;
44222
+ validate314.errors = vErrors;
43760
44223
  return errors === 0;
43761
44224
  }
43762
44225
  exports.StoredEventResponse = validate90;
43763
- exports.SupportedMediaType = validate313;
43764
- function validate313(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44226
+ exports.SupportedMediaType = validate315;
44227
+ function validate315(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43765
44228
  let vErrors = null;
43766
44229
  let errors = 0;
43767
44230
  if (typeof data !== "string") {
@@ -43790,7 +44253,7 @@ var require_openapi_validators = __commonJS({
43790
44253
  }
43791
44254
  }
43792
44255
  if (!(data === "text/plain" || data === "text/markdown" || data === "text/html" || data === "text/css" || data === "text/csv" || data === "text/xml" || data === "application/json" || data === "application/xml" || data === "application/yaml" || data === "application/x-yaml" || data === "application/pdf" || data === "application/msword" || data === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" || data === "application/vnd.ms-excel" || data === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" || data === "application/vnd.ms-powerpoint" || data === "application/vnd.openxmlformats-officedocument.presentationml.presentation" || data === "application/zip" || data === "application/gzip" || data === "application/x-tar" || data === "application/x-7z-compressed" || data === "application/octet-stream" || data === "application/wasm" || data === "image/png" || data === "image/jpeg" || data === "image/gif" || data === "image/webp" || data === "image/svg+xml" || data === "image/bmp" || data === "image/tiff" || data === "image/x-icon" || data === "video/mp4" || data === "video/mpeg" || data === "video/webm" || data === "video/ogg" || data === "video/quicktime" || data === "video/x-msvideo" || data === "audio/mpeg" || data === "audio/wav" || data === "audio/ogg" || data === "audio/webm" || data === "audio/aac" || data === "audio/flac" || data === "text/javascript" || data === "application/javascript" || data === "text/x-typescript" || data === "application/typescript" || data === "text/x-python" || data === "text/x-java" || data === "text/x-c" || data === "text/x-c++" || data === "text/x-csharp" || data === "text/x-go" || data === "text/x-rust" || data === "text/x-ruby" || data === "text/x-php" || data === "text/x-swift" || data === "text/x-kotlin" || data === "text/x-shell" || data === "font/woff" || data === "font/woff2" || data === "font/ttf" || data === "font/otf")) {
43793
- const err1 = { instancePath, schemaPath: "#/enum", keyword: "enum", params: { allowedValues: schema170.enum }, message: "must be equal to one of the allowed values" };
44256
+ const err1 = { instancePath, schemaPath: "#/enum", keyword: "enum", params: { allowedValues: schema172.enum }, message: "must be equal to one of the allowed values" };
43794
44257
  if (vErrors === null) {
43795
44258
  vErrors = [err1];
43796
44259
  } else {
@@ -43798,11 +44261,11 @@ var require_openapi_validators = __commonJS({
43798
44261
  }
43799
44262
  errors++;
43800
44263
  }
43801
- validate313.errors = vErrors;
44264
+ validate315.errors = vErrors;
43802
44265
  return errors === 0;
43803
44266
  }
43804
- exports.SvgSelector = validate314;
43805
- function validate314(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44267
+ exports.SvgSelector = validate316;
44268
+ function validate316(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43806
44269
  let vErrors = null;
43807
44270
  let errors = 0;
43808
44271
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -43898,11 +44361,11 @@ var require_openapi_validators = __commonJS({
43898
44361
  }
43899
44362
  errors++;
43900
44363
  }
43901
- validate314.errors = vErrors;
44364
+ validate316.errors = vErrors;
43902
44365
  return errors === 0;
43903
44366
  }
43904
- exports.TagCategory = validate315;
43905
- function validate315(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44367
+ exports.TagCategory = validate317;
44368
+ function validate317(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
43906
44369
  let vErrors = null;
43907
44370
  let errors = 0;
43908
44371
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44040,12 +44503,12 @@ var require_openapi_validators = __commonJS({
44040
44503
  }
44041
44504
  errors++;
44042
44505
  }
44043
- validate315.errors = vErrors;
44506
+ validate317.errors = vErrors;
44044
44507
  return errors === 0;
44045
44508
  }
44046
44509
  exports.TagSchema = validate146;
44047
- exports.TagSchemaAddedPayload = validate316;
44048
- function validate316(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44510
+ exports.TagSchemaAddedPayload = validate318;
44511
+ function validate318(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44049
44512
  let vErrors = null;
44050
44513
  let errors = 0;
44051
44514
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44073,11 +44536,11 @@ var require_openapi_validators = __commonJS({
44073
44536
  }
44074
44537
  errors++;
44075
44538
  }
44076
- validate316.errors = vErrors;
44539
+ validate318.errors = vErrors;
44077
44540
  return errors === 0;
44078
44541
  }
44079
- exports.TextPositionSelector = validate318;
44080
- function validate318(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44542
+ exports.TextPositionSelector = validate320;
44543
+ function validate320(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44081
44544
  let vErrors = null;
44082
44545
  let errors = 0;
44083
44546
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44206,11 +44669,11 @@ var require_openapi_validators = __commonJS({
44206
44669
  }
44207
44670
  errors++;
44208
44671
  }
44209
- validate318.errors = vErrors;
44672
+ validate320.errors = vErrors;
44210
44673
  return errors === 0;
44211
44674
  }
44212
- exports.TextQuoteSelector = validate319;
44213
- function validate319(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44675
+ exports.TextQuoteSelector = validate321;
44676
+ function validate321(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44214
44677
  let vErrors = null;
44215
44678
  let errors = 0;
44216
44679
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44362,12 +44825,12 @@ var require_openapi_validators = __commonJS({
44362
44825
  }
44363
44826
  errors++;
44364
44827
  }
44365
- validate319.errors = vErrors;
44828
+ validate321.errors = vErrors;
44366
44829
  return errors === 0;
44367
44830
  }
44368
44831
  exports.TextualBody = validate28;
44369
- exports.TokenRefreshRequest = validate320;
44370
- function validate320(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44832
+ exports.TokenRefreshRequest = validate322;
44833
+ function validate322(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44371
44834
  let vErrors = null;
44372
44835
  let errors = 0;
44373
44836
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44417,11 +44880,11 @@ var require_openapi_validators = __commonJS({
44417
44880
  }
44418
44881
  errors++;
44419
44882
  }
44420
- validate320.errors = vErrors;
44883
+ validate322.errors = vErrors;
44421
44884
  return errors === 0;
44422
44885
  }
44423
- exports.TokenRefreshResponse = validate321;
44424
- function validate321(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44886
+ exports.TokenRefreshResponse = validate323;
44887
+ function validate323(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44425
44888
  let vErrors = null;
44426
44889
  let errors = 0;
44427
44890
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44471,11 +44934,11 @@ var require_openapi_validators = __commonJS({
44471
44934
  }
44472
44935
  errors++;
44473
44936
  }
44474
- validate321.errors = vErrors;
44937
+ validate323.errors = vErrors;
44475
44938
  return errors === 0;
44476
44939
  }
44477
- exports.UpdateAnnotationBodyRequest = validate322;
44478
- function validate322(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44940
+ exports.UpdateAnnotationBodyRequest = validate324;
44941
+ function validate324(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44479
44942
  let vErrors = null;
44480
44943
  let errors = 0;
44481
44944
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44621,11 +45084,11 @@ var require_openapi_validators = __commonJS({
44621
45084
  }
44622
45085
  errors++;
44623
45086
  }
44624
- validate322.errors = vErrors;
45087
+ validate324.errors = vErrors;
44625
45088
  return errors === 0;
44626
45089
  }
44627
- exports.UpdateUserRequest = validate326;
44628
- function validate326(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
45090
+ exports.UpdateUserRequest = validate328;
45091
+ function validate328(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44629
45092
  let vErrors = null;
44630
45093
  let errors = 0;
44631
45094
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44720,12 +45183,12 @@ var require_openapi_validators = __commonJS({
44720
45183
  }
44721
45184
  errors++;
44722
45185
  }
44723
- validate326.errors = vErrors;
45186
+ validate328.errors = vErrors;
44724
45187
  return errors === 0;
44725
45188
  }
44726
- exports.UpdateUserResponse = validate327;
44727
- var schema317 = { "properties": { "user": { "properties": { "name": { "type": ["string", "null"] }, "image": { "type": ["string", "null"] }, "lastLogin": { "type": ["string", "null"] }}} }};
44728
- function validate327(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
45189
+ exports.UpdateUserResponse = validate329;
45190
+ var schema325 = { "properties": { "user": { "properties": { "name": { "type": ["string", "null"] }, "image": { "type": ["string", "null"] }, "lastLogin": { "type": ["string", "null"] }}} }};
45191
+ function validate329(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
44729
45192
  let vErrors = null;
44730
45193
  let errors = 0;
44731
45194
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -44918,7 +45381,7 @@ var require_openapi_validators = __commonJS({
44918
45381
  } else if (data4 === "" || data4 === 0 || data4 === false) {
44919
45382
  coerced3 = null;
44920
45383
  } else {
44921
- const err13 = { instancePath: instancePath + "/user/name", schemaPath: "#/properties/user/properties/name/type", keyword: "type", params: { type: schema317.properties.user.properties.name.type }, message: "must be string,null" };
45384
+ const err13 = { instancePath: instancePath + "/user/name", schemaPath: "#/properties/user/properties/name/type", keyword: "type", params: { type: schema325.properties.user.properties.name.type }, message: "must be string,null" };
44922
45385
  if (vErrors === null) {
44923
45386
  vErrors = [err13];
44924
45387
  } else {
@@ -44948,7 +45411,7 @@ var require_openapi_validators = __commonJS({
44948
45411
  } else if (data5 === "" || data5 === 0 || data5 === false) {
44949
45412
  coerced4 = null;
44950
45413
  } else {
44951
- const err14 = { instancePath: instancePath + "/user/image", schemaPath: "#/properties/user/properties/image/type", keyword: "type", params: { type: schema317.properties.user.properties.image.type }, message: "must be string,null" };
45414
+ const err14 = { instancePath: instancePath + "/user/image", schemaPath: "#/properties/user/properties/image/type", keyword: "type", params: { type: schema325.properties.user.properties.image.type }, message: "must be string,null" };
44952
45415
  if (vErrors === null) {
44953
45416
  vErrors = [err14];
44954
45417
  } else {
@@ -45088,7 +45551,7 @@ var require_openapi_validators = __commonJS({
45088
45551
  } else if (data10 === "" || data10 === 0 || data10 === false) {
45089
45552
  coerced9 = null;
45090
45553
  } else {
45091
- const err19 = { instancePath: instancePath + "/user/lastLogin", schemaPath: "#/properties/user/properties/lastLogin/type", keyword: "type", params: { type: schema317.properties.user.properties.lastLogin.type }, message: "must be string,null" };
45554
+ const err19 = { instancePath: instancePath + "/user/lastLogin", schemaPath: "#/properties/user/properties/lastLogin/type", keyword: "type", params: { type: schema325.properties.user.properties.lastLogin.type }, message: "must be string,null" };
45092
45555
  if (vErrors === null) {
45093
45556
  vErrors = [err19];
45094
45557
  } else {
@@ -45180,12 +45643,12 @@ var require_openapi_validators = __commonJS({
45180
45643
  }
45181
45644
  errors++;
45182
45645
  }
45183
- validate327.errors = vErrors;
45646
+ validate329.errors = vErrors;
45184
45647
  return errors === 0;
45185
45648
  }
45186
- exports.UserResponse = validate328;
45187
- var schema318 = { "properties": { "name": { "type": ["string", "null"] }, "image": { "type": ["string", "null"] }, "termsAcceptedAt": { "type": ["string", "null"] }, "lastLogin": { "type": ["string", "null"] }}};
45188
- function validate328(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
45649
+ exports.UserResponse = validate330;
45650
+ var schema326 = { "properties": { "name": { "type": ["string", "null"] }, "image": { "type": ["string", "null"] }, "termsAcceptedAt": { "type": ["string", "null"] }, "lastLogin": { "type": ["string", "null"] }}};
45651
+ function validate330(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
45189
45652
  let vErrors = null;
45190
45653
  let errors = 0;
45191
45654
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -45375,7 +45838,7 @@ var require_openapi_validators = __commonJS({
45375
45838
  } else if (data2 === "" || data2 === 0 || data2 === false) {
45376
45839
  coerced2 = null;
45377
45840
  } else {
45378
- const err15 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: schema318.properties.name.type }, message: "must be string,null" };
45841
+ const err15 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: schema326.properties.name.type }, message: "must be string,null" };
45379
45842
  if (vErrors === null) {
45380
45843
  vErrors = [err15];
45381
45844
  } else {
@@ -45405,7 +45868,7 @@ var require_openapi_validators = __commonJS({
45405
45868
  } else if (data3 === "" || data3 === 0 || data3 === false) {
45406
45869
  coerced3 = null;
45407
45870
  } else {
45408
- const err16 = { instancePath: instancePath + "/image", schemaPath: "#/properties/image/type", keyword: "type", params: { type: schema318.properties.image.type }, message: "must be string,null" };
45871
+ const err16 = { instancePath: instancePath + "/image", schemaPath: "#/properties/image/type", keyword: "type", params: { type: schema326.properties.image.type }, message: "must be string,null" };
45409
45872
  if (vErrors === null) {
45410
45873
  vErrors = [err16];
45411
45874
  } else {
@@ -45572,7 +46035,7 @@ var require_openapi_validators = __commonJS({
45572
46035
  } else if (data9 === "" || data9 === 0 || data9 === false) {
45573
46036
  coerced9 = null;
45574
46037
  } else {
45575
- const err22 = { instancePath: instancePath + "/termsAcceptedAt", schemaPath: "#/properties/termsAcceptedAt/type", keyword: "type", params: { type: schema318.properties.termsAcceptedAt.type }, message: "must be string,null" };
46038
+ const err22 = { instancePath: instancePath + "/termsAcceptedAt", schemaPath: "#/properties/termsAcceptedAt/type", keyword: "type", params: { type: schema326.properties.termsAcceptedAt.type }, message: "must be string,null" };
45576
46039
  if (vErrors === null) {
45577
46040
  vErrors = [err22];
45578
46041
  } else {
@@ -45602,7 +46065,7 @@ var require_openapi_validators = __commonJS({
45602
46065
  } else if (data10 === "" || data10 === 0 || data10 === false) {
45603
46066
  coerced10 = null;
45604
46067
  } else {
45605
- const err23 = { instancePath: instancePath + "/lastLogin", schemaPath: "#/properties/lastLogin/type", keyword: "type", params: { type: schema318.properties.lastLogin.type }, message: "must be string,null" };
46068
+ const err23 = { instancePath: instancePath + "/lastLogin", schemaPath: "#/properties/lastLogin/type", keyword: "type", params: { type: schema326.properties.lastLogin.type }, message: "must be string,null" };
45606
46069
  if (vErrors === null) {
45607
46070
  vErrors = [err23];
45608
46071
  } else {
@@ -45684,11 +46147,11 @@ var require_openapi_validators = __commonJS({
45684
46147
  }
45685
46148
  errors++;
45686
46149
  }
45687
- validate328.errors = vErrors;
46150
+ validate330.errors = vErrors;
45688
46151
  return errors === 0;
45689
46152
  }
45690
- exports.WeaveRebuildCommand = validate329;
45691
- function validate329(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46153
+ exports.WeaveRebuildCommand = validate331;
46154
+ function validate331(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
45692
46155
  let vErrors = null;
45693
46156
  let errors = 0;
45694
46157
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -45785,11 +46248,11 @@ var require_openapi_validators = __commonJS({
45785
46248
  }
45786
46249
  errors++;
45787
46250
  }
45788
- validate329.errors = vErrors;
46251
+ validate331.errors = vErrors;
45789
46252
  return errors === 0;
45790
46253
  }
45791
- exports.YieldCloneCreateCommand = validate330;
45792
- function validate330(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46254
+ exports.YieldCloneCreateCommand = validate332;
46255
+ function validate332(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
45793
46256
  let vErrors = null;
45794
46257
  let errors = 0;
45795
46258
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -46114,11 +46577,11 @@ var require_openapi_validators = __commonJS({
46114
46577
  }
46115
46578
  errors++;
46116
46579
  }
46117
- validate330.errors = vErrors;
46580
+ validate332.errors = vErrors;
46118
46581
  return errors === 0;
46119
46582
  }
46120
- exports.YieldCloneCreated = validate331;
46121
- function validate331(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46583
+ exports.YieldCloneCreated = validate333;
46584
+ function validate333(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46122
46585
  let vErrors = null;
46123
46586
  let errors = 0;
46124
46587
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -46227,11 +46690,11 @@ var require_openapi_validators = __commonJS({
46227
46690
  }
46228
46691
  errors++;
46229
46692
  }
46230
- validate331.errors = vErrors;
46693
+ validate333.errors = vErrors;
46231
46694
  return errors === 0;
46232
46695
  }
46233
- exports.YieldClonePersistCommand = validate332;
46234
- function validate332(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46696
+ exports.YieldClonePersistCommand = validate334;
46697
+ function validate334(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46235
46698
  let vErrors = null;
46236
46699
  let errors = 0;
46237
46700
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -46626,11 +47089,11 @@ var require_openapi_validators = __commonJS({
46626
47089
  }
46627
47090
  errors++;
46628
47091
  }
46629
- validate332.errors = vErrors;
47092
+ validate334.errors = vErrors;
46630
47093
  return errors === 0;
46631
47094
  }
46632
- exports.YieldClonePersistOk = validate333;
46633
- function validate333(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47095
+ exports.YieldClonePersistOk = validate335;
47096
+ function validate335(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46634
47097
  let vErrors = null;
46635
47098
  let errors = 0;
46636
47099
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -46730,11 +47193,11 @@ var require_openapi_validators = __commonJS({
46730
47193
  }
46731
47194
  errors++;
46732
47195
  }
46733
- validate333.errors = vErrors;
47196
+ validate335.errors = vErrors;
46734
47197
  return errors === 0;
46735
47198
  }
46736
- exports.YieldCloneResourceRequest = validate334;
46737
- function validate334(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47199
+ exports.YieldCloneResourceRequest = validate336;
47200
+ function validate336(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46738
47201
  let vErrors = null;
46739
47202
  let errors = 0;
46740
47203
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -46821,11 +47284,11 @@ var require_openapi_validators = __commonJS({
46821
47284
  }
46822
47285
  errors++;
46823
47286
  }
46824
- validate334.errors = vErrors;
47287
+ validate336.errors = vErrors;
46825
47288
  return errors === 0;
46826
47289
  }
46827
- exports.YieldCloneTokenRequest = validate335;
46828
- function validate335(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47290
+ exports.YieldCloneTokenRequest = validate337;
47291
+ function validate337(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46829
47292
  let vErrors = null;
46830
47293
  let errors = 0;
46831
47294
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -46912,11 +47375,11 @@ var require_openapi_validators = __commonJS({
46912
47375
  }
46913
47376
  errors++;
46914
47377
  }
46915
- validate335.errors = vErrors;
47378
+ validate337.errors = vErrors;
46916
47379
  return errors === 0;
46917
47380
  }
46918
- exports.YieldCreateCommand = validate336;
46919
- function validate336(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47381
+ exports.YieldCreateCommand = validate338;
47382
+ function validate338(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
46920
47383
  let vErrors = null;
46921
47384
  let errors = 0;
46922
47385
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -47451,11 +47914,11 @@ var require_openapi_validators = __commonJS({
47451
47914
  }
47452
47915
  errors++;
47453
47916
  }
47454
- validate336.errors = vErrors;
47917
+ validate338.errors = vErrors;
47455
47918
  return errors === 0;
47456
47919
  }
47457
- exports.YieldCreateOk = validate339;
47458
- function validate339(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47920
+ exports.YieldCreateOk = validate341;
47921
+ function validate341(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47459
47922
  let vErrors = null;
47460
47923
  let errors = 0;
47461
47924
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -47555,11 +48018,11 @@ var require_openapi_validators = __commonJS({
47555
48018
  }
47556
48019
  errors++;
47557
48020
  }
47558
- validate339.errors = vErrors;
48021
+ validate341.errors = vErrors;
47559
48022
  return errors === 0;
47560
48023
  }
47561
- exports.YieldMvCommand = validate340;
47562
- function validate340(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
48024
+ exports.YieldMvCommand = validate342;
48025
+ function validate342(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47563
48026
  let vErrors = null;
47564
48027
  let errors = 0;
47565
48028
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -47701,11 +48164,11 @@ var require_openapi_validators = __commonJS({
47701
48164
  }
47702
48165
  errors++;
47703
48166
  }
47704
- validate340.errors = vErrors;
48167
+ validate342.errors = vErrors;
47705
48168
  return errors === 0;
47706
48169
  }
47707
- exports.YieldUpdateCommand = validate341;
47708
- function validate341(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
48170
+ exports.YieldUpdateCommand = validate343;
48171
+ function validate343(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47709
48172
  let vErrors = null;
47710
48173
  let errors = 0;
47711
48174
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -47947,11 +48410,11 @@ var require_openapi_validators = __commonJS({
47947
48410
  }
47948
48411
  errors++;
47949
48412
  }
47950
- validate341.errors = vErrors;
48413
+ validate343.errors = vErrors;
47951
48414
  return errors === 0;
47952
48415
  }
47953
- exports.YieldUpdateOk = validate342;
47954
- function validate342(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
48416
+ exports.YieldUpdateOk = validate344;
48417
+ function validate344(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
47955
48418
  let vErrors = null;
47956
48419
  let errors = 0;
47957
48420
  if (data && typeof data == "object" && !Array.isArray(data)) {
@@ -48051,7 +48514,7 @@ var require_openapi_validators = __commonJS({
48051
48514
  }
48052
48515
  errors++;
48053
48516
  }
48054
- validate342.errors = vErrors;
48517
+ validate344.errors = vErrors;
48055
48518
  return errors === 0;
48056
48519
  }
48057
48520
  }