@adobe/ccweb-add-on-manifest 2.1.0 → 2.2.0

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.
@@ -2329,7 +2329,7 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
2329
2329
  }
2330
2330
  } validate11.errors = vErrors; return errors === 0; }
2331
2331
  export const validateSchemaV2 = validate12;
2332
- const schema13 = { "$id": "#/definitions/manifestSchemaV2", "type": "object", "properties": { "testId": { "type": "string" }, "name": { "type": "string", "pattern": "^[a-zA-Z0-9]+[a-zA-Z0-9 ]{2,44}$" }, "version": { "type": "string", "pattern": "^[0-9]+.[0-9]+.[0-9]+$" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^(Express)$" }, "apiVersion": { "type": "number" }, "supportedDeviceClass": { "type": "array", "items": { "type": "string", "pattern": "^(desktop|mobile|app)$" } } }, "required": ["name", "apiVersion"], "additionalProperties": false } }, "experimentalApis": { "type": "boolean" }, "supportsTouch": { "type": "boolean" }, "renditionPreview": { "type": "boolean" }, "privilegedApis": { "type": "boolean" }, "_blessedPartnerAccess": { "type": "string" }, "trustedPartnerApis": { "type": "object", "properties": { "messaging": { "type": "boolean" }, "expressPrint": { "type": "boolean" }, "toastNotifications": { "type": "boolean" }, "addOnLifecycle": { "type": "boolean" } }, "required": [], "additionalProperties": false } }, "required": ["apps"], "additionalProperties": false }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|share|content-hub)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "script": { "type": "string" }, "documentSandbox": { "type": "string" }, "hostDomain": { "type": "string" }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" }, "clipboard": { "type": "array", "items": { "type": "string", "pattern": "^(clipboard-write|clipboard-read)$" } } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false }, "discoverable": { "type": "boolean" } }, "required": ["type", "id", "main"], "additionalProperties": false } } }, "required": ["version", "manifestVersion", "requirements", "entryPoints"], "additionalProperties": true };
2332
+ const schema13 = { "$id": "#/definitions/manifestSchemaV2", "type": "object", "properties": { "testId": { "type": "string" }, "name": { "type": "string", "pattern": "^[a-zA-Z0-9]+[a-zA-Z0-9 ]{2,44}$" }, "version": { "type": "string", "pattern": "^[0-9]+.[0-9]+.[0-9]+$" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^(Express)$" }, "apiVersion": { "type": "number" }, "supportedDeviceClass": { "type": "array", "items": { "type": "string", "pattern": "^(desktop|mobile|app)$" } } }, "required": ["name", "apiVersion"], "additionalProperties": false } }, "experimentalApis": { "type": "boolean" }, "supportsTouch": { "type": "boolean" }, "renditionPreview": { "type": "boolean" }, "privilegedApis": { "type": "boolean" }, "_blessedPartnerAccess": { "type": "string" }, "trustedPartnerApis": { "type": "object", "properties": { "messaging": { "type": "boolean" }, "expressPrint": { "type": "boolean" }, "toastNotifications": { "type": "boolean" }, "addOnLifecycle": { "type": "boolean" }, "tiktokcml": { "type": "boolean" } }, "required": [], "additionalProperties": false } }, "required": ["apps"], "additionalProperties": false }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|share|content-hub)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "script": { "type": "string" }, "documentSandbox": { "type": "string" }, "hostDomain": { "type": "string" }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" }, "clipboard": { "type": "array", "items": { "type": "string", "pattern": "^(clipboard-write|clipboard-read)$" } } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false }, "discoverable": { "type": "boolean" } }, "required": ["type", "id", "main"], "additionalProperties": false } } }, "required": ["version", "manifestVersion", "requirements", "entryPoints"], "additionalProperties": true };
2333
2333
  const pattern10 = new RegExp("^[a-zA-Z0-9]+[a-zA-Z0-9 ]{2,44}$", "u");
2334
2334
  const pattern11 = new RegExp("^[0-9]+.[0-9]+.[0-9]+$", "u");
2335
2335
  const pattern13 = new RegExp("^(desktop|mobile|app)$", "u");
@@ -2623,7 +2623,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2623
2623
  if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
2624
2624
  const _errs38 = errors;
2625
2625
  for (const key2 in data16) {
2626
- if (!((((key2 === "messaging") || (key2 === "expressPrint")) || (key2 === "toastNotifications")) || (key2 === "addOnLifecycle"))) {
2626
+ if (!(((((key2 === "messaging") || (key2 === "expressPrint")) || (key2 === "toastNotifications")) || (key2 === "addOnLifecycle")) || (key2 === "tiktokcml"))) {
2627
2627
  validate12.errors = [{ instancePath: instancePath + "/requirements/trustedPartnerApis", schemaPath: "#/properties/requirements/properties/trustedPartnerApis/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" }];
2628
2628
  return false;
2629
2629
  break;
@@ -2677,6 +2677,19 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2677
2677
  else {
2678
2678
  var valid5 = true;
2679
2679
  }
2680
+ if (valid5) {
2681
+ if (data16.tiktokcml !== undefined) {
2682
+ const _errs47 = errors;
2683
+ if (typeof data16.tiktokcml !== "boolean") {
2684
+ validate12.errors = [{ instancePath: instancePath + "/requirements/trustedPartnerApis/tiktokcml", schemaPath: "#/properties/requirements/properties/trustedPartnerApis/properties/tiktokcml/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
2685
+ return false;
2686
+ }
2687
+ var valid5 = _errs47 === errors;
2688
+ }
2689
+ else {
2690
+ var valid5 = true;
2691
+ }
2692
+ }
2680
2693
  }
2681
2694
  }
2682
2695
  }
@@ -2713,38 +2726,38 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2713
2726
  }
2714
2727
  if (valid0) {
2715
2728
  if (data.entryPoints !== undefined) {
2716
- let data21 = data.entryPoints;
2717
- const _errs47 = errors;
2718
- if (errors === _errs47) {
2719
- if (Array.isArray(data21)) {
2729
+ let data22 = data.entryPoints;
2730
+ const _errs49 = errors;
2731
+ if (errors === _errs49) {
2732
+ if (Array.isArray(data22)) {
2720
2733
  var valid6 = true;
2721
- const len2 = data21.length;
2734
+ const len2 = data22.length;
2722
2735
  for (let i2 = 0; i2 < len2; i2++) {
2723
- let data22 = data21[i2];
2724
- const _errs49 = errors;
2725
- if (errors === _errs49) {
2726
- if (data22 && typeof data22 == "object" && !Array.isArray(data22)) {
2736
+ let data23 = data22[i2];
2737
+ const _errs51 = errors;
2738
+ if (errors === _errs51) {
2739
+ if (data23 && typeof data23 == "object" && !Array.isArray(data23)) {
2727
2740
  let missing3;
2728
- if ((((data22.type === undefined) && (missing3 = "type")) || ((data22.id === undefined) && (missing3 = "id"))) || ((data22.main === undefined) && (missing3 = "main"))) {
2741
+ if ((((data23.type === undefined) && (missing3 = "type")) || ((data23.id === undefined) && (missing3 = "id"))) || ((data23.main === undefined) && (missing3 = "main"))) {
2729
2742
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2, schemaPath: "#/properties/entryPoints/items/required", keyword: "required", params: { missingProperty: missing3 }, message: "must have required property '" + missing3 + "'" }];
2730
2743
  return false;
2731
2744
  }
2732
2745
  else {
2733
- const _errs51 = errors;
2734
- for (const key3 in data22) {
2746
+ const _errs53 = errors;
2747
+ for (const key3 in data23) {
2735
2748
  if (!(func2.call(schema13.properties.entryPoints.items.properties, key3))) {
2736
2749
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2, schemaPath: "#/properties/entryPoints/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" }];
2737
2750
  return false;
2738
2751
  break;
2739
2752
  }
2740
2753
  }
2741
- if (_errs51 === errors) {
2742
- if (data22.type !== undefined) {
2743
- let data23 = data22.type;
2744
- const _errs52 = errors;
2745
- if (errors === _errs52) {
2746
- if (typeof data23 === "string") {
2747
- if (!pattern3.test(data23)) {
2754
+ if (_errs53 === errors) {
2755
+ if (data23.type !== undefined) {
2756
+ let data24 = data23.type;
2757
+ const _errs54 = errors;
2758
+ if (errors === _errs54) {
2759
+ if (typeof data24 === "string") {
2760
+ if (!pattern3.test(data24)) {
2748
2761
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|share|content-hub)$" }, message: "must match pattern \"" + "^(panel|share|content-hub)$" + "\"" }];
2749
2762
  return false;
2750
2763
  }
@@ -2754,99 +2767,99 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2754
2767
  return false;
2755
2768
  }
2756
2769
  }
2757
- var valid7 = _errs52 === errors;
2770
+ var valid7 = _errs54 === errors;
2758
2771
  }
2759
2772
  else {
2760
2773
  var valid7 = true;
2761
2774
  }
2762
2775
  if (valid7) {
2763
- if (data22.id !== undefined) {
2764
- const _errs54 = errors;
2765
- if (typeof data22.id !== "string") {
2776
+ if (data23.id !== undefined) {
2777
+ const _errs56 = errors;
2778
+ if (typeof data23.id !== "string") {
2766
2779
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/id", schemaPath: "#/properties/entryPoints/items/properties/id/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2767
2780
  return false;
2768
2781
  }
2769
- var valid7 = _errs54 === errors;
2782
+ var valid7 = _errs56 === errors;
2770
2783
  }
2771
2784
  else {
2772
2785
  var valid7 = true;
2773
2786
  }
2774
2787
  if (valid7) {
2775
- if (data22.main !== undefined) {
2776
- const _errs56 = errors;
2777
- if (typeof data22.main !== "string") {
2788
+ if (data23.main !== undefined) {
2789
+ const _errs58 = errors;
2790
+ if (typeof data23.main !== "string") {
2778
2791
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/main", schemaPath: "#/properties/entryPoints/items/properties/main/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2779
2792
  return false;
2780
2793
  }
2781
- var valid7 = _errs56 === errors;
2794
+ var valid7 = _errs58 === errors;
2782
2795
  }
2783
2796
  else {
2784
2797
  var valid7 = true;
2785
2798
  }
2786
2799
  if (valid7) {
2787
- if (data22.script !== undefined) {
2788
- const _errs58 = errors;
2789
- if (typeof data22.script !== "string") {
2800
+ if (data23.script !== undefined) {
2801
+ const _errs60 = errors;
2802
+ if (typeof data23.script !== "string") {
2790
2803
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/script", schemaPath: "#/properties/entryPoints/items/properties/script/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2791
2804
  return false;
2792
2805
  }
2793
- var valid7 = _errs58 === errors;
2806
+ var valid7 = _errs60 === errors;
2794
2807
  }
2795
2808
  else {
2796
2809
  var valid7 = true;
2797
2810
  }
2798
2811
  if (valid7) {
2799
- if (data22.documentSandbox !== undefined) {
2800
- const _errs60 = errors;
2801
- if (typeof data22.documentSandbox !== "string") {
2812
+ if (data23.documentSandbox !== undefined) {
2813
+ const _errs62 = errors;
2814
+ if (typeof data23.documentSandbox !== "string") {
2802
2815
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/documentSandbox", schemaPath: "#/properties/entryPoints/items/properties/documentSandbox/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2803
2816
  return false;
2804
2817
  }
2805
- var valid7 = _errs60 === errors;
2818
+ var valid7 = _errs62 === errors;
2806
2819
  }
2807
2820
  else {
2808
2821
  var valid7 = true;
2809
2822
  }
2810
2823
  if (valid7) {
2811
- if (data22.hostDomain !== undefined) {
2812
- const _errs62 = errors;
2813
- if (typeof data22.hostDomain !== "string") {
2824
+ if (data23.hostDomain !== undefined) {
2825
+ const _errs64 = errors;
2826
+ if (typeof data23.hostDomain !== "string") {
2814
2827
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/hostDomain", schemaPath: "#/properties/entryPoints/items/properties/hostDomain/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2815
2828
  return false;
2816
2829
  }
2817
- var valid7 = _errs62 === errors;
2830
+ var valid7 = _errs64 === errors;
2818
2831
  }
2819
2832
  else {
2820
2833
  var valid7 = true;
2821
2834
  }
2822
2835
  if (valid7) {
2823
- if (data22.permissions !== undefined) {
2824
- let data29 = data22.permissions;
2825
- const _errs64 = errors;
2826
- if (errors === _errs64) {
2827
- if (data29 && typeof data29 == "object" && !Array.isArray(data29)) {
2828
- const _errs66 = errors;
2829
- for (const key4 in data29) {
2836
+ if (data23.permissions !== undefined) {
2837
+ let data30 = data23.permissions;
2838
+ const _errs66 = errors;
2839
+ if (errors === _errs66) {
2840
+ if (data30 && typeof data30 == "object" && !Array.isArray(data30)) {
2841
+ const _errs68 = errors;
2842
+ for (const key4 in data30) {
2830
2843
  if (!(((((key4 === "sandbox") || (key4 === "oauth")) || (key4 === "microphone")) || (key4 === "camera")) || (key4 === "clipboard"))) {
2831
2844
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions", schemaPath: "#/properties/entryPoints/items/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" }];
2832
2845
  return false;
2833
2846
  break;
2834
2847
  }
2835
2848
  }
2836
- if (_errs66 === errors) {
2837
- if (data29.sandbox !== undefined) {
2838
- let data30 = data29.sandbox;
2839
- const _errs67 = errors;
2840
- if (errors === _errs67) {
2841
- if (Array.isArray(data30)) {
2849
+ if (_errs68 === errors) {
2850
+ if (data30.sandbox !== undefined) {
2851
+ let data31 = data30.sandbox;
2852
+ const _errs69 = errors;
2853
+ if (errors === _errs69) {
2854
+ if (Array.isArray(data31)) {
2842
2855
  var valid9 = true;
2843
- const len3 = data30.length;
2856
+ const len3 = data31.length;
2844
2857
  for (let i3 = 0; i3 < len3; i3++) {
2845
- let data31 = data30[i3];
2846
- const _errs69 = errors;
2847
- if (errors === _errs69) {
2848
- if (typeof data31 === "string") {
2849
- if (!pattern4.test(data31)) {
2858
+ let data32 = data31[i3];
2859
+ const _errs71 = errors;
2860
+ if (errors === _errs71) {
2861
+ if (typeof data32 === "string") {
2862
+ if (!pattern4.test(data32)) {
2850
2863
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/sandbox/" + i3, schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/sandbox/items/pattern", keyword: "pattern", params: { pattern: "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox)$" }, message: "must match pattern \"" + "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox)$" + "\"" }];
2851
2864
  return false;
2852
2865
  }
@@ -2856,7 +2869,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2856
2869
  return false;
2857
2870
  }
2858
2871
  }
2859
- var valid9 = _errs69 === errors;
2872
+ var valid9 = _errs71 === errors;
2860
2873
  if (!valid9) {
2861
2874
  break;
2862
2875
  }
@@ -2867,26 +2880,26 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2867
2880
  return false;
2868
2881
  }
2869
2882
  }
2870
- var valid8 = _errs67 === errors;
2883
+ var valid8 = _errs69 === errors;
2871
2884
  }
2872
2885
  else {
2873
2886
  var valid8 = true;
2874
2887
  }
2875
2888
  if (valid8) {
2876
- if (data29.oauth !== undefined) {
2877
- let data32 = data29.oauth;
2878
- const _errs71 = errors;
2879
- if (errors === _errs71) {
2880
- if (Array.isArray(data32)) {
2889
+ if (data30.oauth !== undefined) {
2890
+ let data33 = data30.oauth;
2891
+ const _errs73 = errors;
2892
+ if (errors === _errs73) {
2893
+ if (Array.isArray(data33)) {
2881
2894
  var valid10 = true;
2882
- const len4 = data32.length;
2895
+ const len4 = data33.length;
2883
2896
  for (let i4 = 0; i4 < len4; i4++) {
2884
- const _errs73 = errors;
2885
- if (typeof data32[i4] !== "string") {
2897
+ const _errs75 = errors;
2898
+ if (typeof data33[i4] !== "string") {
2886
2899
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/oauth/" + i4, schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/oauth/items/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2887
2900
  return false;
2888
2901
  }
2889
- var valid10 = _errs73 === errors;
2902
+ var valid10 = _errs75 === errors;
2890
2903
  if (!valid10) {
2891
2904
  break;
2892
2905
  }
@@ -2897,49 +2910,49 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2897
2910
  return false;
2898
2911
  }
2899
2912
  }
2900
- var valid8 = _errs71 === errors;
2913
+ var valid8 = _errs73 === errors;
2901
2914
  }
2902
2915
  else {
2903
2916
  var valid8 = true;
2904
2917
  }
2905
2918
  if (valid8) {
2906
- if (data29.microphone !== undefined) {
2907
- const _errs75 = errors;
2908
- if (typeof data29.microphone !== "string") {
2919
+ if (data30.microphone !== undefined) {
2920
+ const _errs77 = errors;
2921
+ if (typeof data30.microphone !== "string") {
2909
2922
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/microphone", schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/microphone/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2910
2923
  return false;
2911
2924
  }
2912
- var valid8 = _errs75 === errors;
2925
+ var valid8 = _errs77 === errors;
2913
2926
  }
2914
2927
  else {
2915
2928
  var valid8 = true;
2916
2929
  }
2917
2930
  if (valid8) {
2918
- if (data29.camera !== undefined) {
2919
- const _errs77 = errors;
2920
- if (typeof data29.camera !== "string") {
2931
+ if (data30.camera !== undefined) {
2932
+ const _errs79 = errors;
2933
+ if (typeof data30.camera !== "string") {
2921
2934
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/camera", schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/camera/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
2922
2935
  return false;
2923
2936
  }
2924
- var valid8 = _errs77 === errors;
2937
+ var valid8 = _errs79 === errors;
2925
2938
  }
2926
2939
  else {
2927
2940
  var valid8 = true;
2928
2941
  }
2929
2942
  if (valid8) {
2930
- if (data29.clipboard !== undefined) {
2931
- let data36 = data29.clipboard;
2932
- const _errs79 = errors;
2933
- if (errors === _errs79) {
2934
- if (Array.isArray(data36)) {
2943
+ if (data30.clipboard !== undefined) {
2944
+ let data37 = data30.clipboard;
2945
+ const _errs81 = errors;
2946
+ if (errors === _errs81) {
2947
+ if (Array.isArray(data37)) {
2935
2948
  var valid11 = true;
2936
- const len5 = data36.length;
2949
+ const len5 = data37.length;
2937
2950
  for (let i5 = 0; i5 < len5; i5++) {
2938
- let data37 = data36[i5];
2939
- const _errs81 = errors;
2940
- if (errors === _errs81) {
2941
- if (typeof data37 === "string") {
2942
- if (!pattern16.test(data37)) {
2951
+ let data38 = data37[i5];
2952
+ const _errs83 = errors;
2953
+ if (errors === _errs83) {
2954
+ if (typeof data38 === "string") {
2955
+ if (!pattern16.test(data38)) {
2943
2956
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/clipboard/" + i5, schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/clipboard/items/pattern", keyword: "pattern", params: { pattern: "^(clipboard-write|clipboard-read)$" }, message: "must match pattern \"" + "^(clipboard-write|clipboard-read)$" + "\"" }];
2944
2957
  return false;
2945
2958
  }
@@ -2949,7 +2962,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2949
2962
  return false;
2950
2963
  }
2951
2964
  }
2952
- var valid11 = _errs81 === errors;
2965
+ var valid11 = _errs83 === errors;
2953
2966
  if (!valid11) {
2954
2967
  break;
2955
2968
  }
@@ -2960,7 +2973,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2960
2973
  return false;
2961
2974
  }
2962
2975
  }
2963
- var valid8 = _errs79 === errors;
2976
+ var valid8 = _errs81 === errors;
2964
2977
  }
2965
2978
  else {
2966
2979
  var valid8 = true;
@@ -2976,53 +2989,53 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
2976
2989
  return false;
2977
2990
  }
2978
2991
  }
2979
- var valid7 = _errs64 === errors;
2992
+ var valid7 = _errs66 === errors;
2980
2993
  }
2981
2994
  else {
2982
2995
  var valid7 = true;
2983
2996
  }
2984
2997
  if (valid7) {
2985
- if (data22.defaultSize !== undefined) {
2986
- let data38 = data22.defaultSize;
2987
- const _errs83 = errors;
2988
- if (errors === _errs83) {
2989
- if (data38 && typeof data38 == "object" && !Array.isArray(data38)) {
2998
+ if (data23.defaultSize !== undefined) {
2999
+ let data39 = data23.defaultSize;
3000
+ const _errs85 = errors;
3001
+ if (errors === _errs85) {
3002
+ if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
2990
3003
  let missing4;
2991
- if (((data38.width === undefined) && (missing4 = "width")) || ((data38.height === undefined) && (missing4 = "height"))) {
3004
+ if (((data39.width === undefined) && (missing4 = "width")) || ((data39.height === undefined) && (missing4 = "height"))) {
2992
3005
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/required", keyword: "required", params: { missingProperty: missing4 }, message: "must have required property '" + missing4 + "'" }];
2993
3006
  return false;
2994
3007
  }
2995
3008
  else {
2996
- const _errs85 = errors;
2997
- for (const key5 in data38) {
3009
+ const _errs87 = errors;
3010
+ for (const key5 in data39) {
2998
3011
  if (!((key5 === "width") || (key5 === "height"))) {
2999
3012
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key5 }, message: "must NOT have additional properties" }];
3000
3013
  return false;
3001
3014
  break;
3002
3015
  }
3003
3016
  }
3004
- if (_errs85 === errors) {
3005
- if (data38.width !== undefined) {
3006
- let data39 = data38.width;
3007
- const _errs86 = errors;
3008
- if (!((typeof data39 == "number") && (isFinite(data39)))) {
3017
+ if (_errs87 === errors) {
3018
+ if (data39.width !== undefined) {
3019
+ let data40 = data39.width;
3020
+ const _errs88 = errors;
3021
+ if (!((typeof data40 == "number") && (isFinite(data40)))) {
3009
3022
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize/width", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/properties/width/type", keyword: "type", params: { type: "number" }, message: "must be number" }];
3010
3023
  return false;
3011
3024
  }
3012
- var valid12 = _errs86 === errors;
3025
+ var valid12 = _errs88 === errors;
3013
3026
  }
3014
3027
  else {
3015
3028
  var valid12 = true;
3016
3029
  }
3017
3030
  if (valid12) {
3018
- if (data38.height !== undefined) {
3019
- let data40 = data38.height;
3020
- const _errs88 = errors;
3021
- if (!((typeof data40 == "number") && (isFinite(data40)))) {
3031
+ if (data39.height !== undefined) {
3032
+ let data41 = data39.height;
3033
+ const _errs90 = errors;
3034
+ if (!((typeof data41 == "number") && (isFinite(data41)))) {
3022
3035
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize/height", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/properties/height/type", keyword: "type", params: { type: "number" }, message: "must be number" }];
3023
3036
  return false;
3024
3037
  }
3025
- var valid12 = _errs88 === errors;
3038
+ var valid12 = _errs90 === errors;
3026
3039
  }
3027
3040
  else {
3028
3041
  var valid12 = true;
@@ -3036,19 +3049,19 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
3036
3049
  return false;
3037
3050
  }
3038
3051
  }
3039
- var valid7 = _errs83 === errors;
3052
+ var valid7 = _errs85 === errors;
3040
3053
  }
3041
3054
  else {
3042
3055
  var valid7 = true;
3043
3056
  }
3044
3057
  if (valid7) {
3045
- if (data22.discoverable !== undefined) {
3046
- const _errs90 = errors;
3047
- if (typeof data22.discoverable !== "boolean") {
3058
+ if (data23.discoverable !== undefined) {
3059
+ const _errs92 = errors;
3060
+ if (typeof data23.discoverable !== "boolean") {
3048
3061
  validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/discoverable", schemaPath: "#/properties/entryPoints/items/properties/discoverable/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
3049
3062
  return false;
3050
3063
  }
3051
- var valid7 = _errs90 === errors;
3064
+ var valid7 = _errs92 === errors;
3052
3065
  }
3053
3066
  else {
3054
3067
  var valid7 = true;
@@ -3069,7 +3082,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
3069
3082
  return false;
3070
3083
  }
3071
3084
  }
3072
- var valid6 = _errs49 === errors;
3085
+ var valid6 = _errs51 === errors;
3073
3086
  if (!valid6) {
3074
3087
  break;
3075
3088
  }
@@ -3080,7 +3093,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
3080
3093
  return false;
3081
3094
  }
3082
3095
  }
3083
- var valid0 = _errs47 === errors;
3096
+ var valid0 = _errs49 === errors;
3084
3097
  }
3085
3098
  else {
3086
3099
  var valid0 = true;