@dicebear/core 10.0.0-rc.1 → 10.0.0-rc.2

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.
@@ -2,41 +2,37 @@ import { OptionsValidationError } from '../Error/OptionsValidationError.js';
2
2
  function ucs2length(str) { let n = 0; for (const _ of str)
3
3
  n++; return n; }
4
4
  "use strict";
5
- const schema31 = { "$id": "https://cdn.hopjs.net/npm/@dicebear/schema@0.9.0/dist/options.min.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "DiceBear options schema", "type": "object", "$defs": { "flip": { "type": "string", "enum": ["none", "horizontal", "vertical", "both"] }, "rotate": { "type": "number", "minimum": -360, "maximum": 360 }, "scale": { "type": "number", "minimum": 0 }, "translate": { "type": "number", "minimum": -100, "maximum": 100 }, "borderRadius": { "type": "number", "minimum": 0, "maximum": 50 }, "color": { "type": "string", "pattern": "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" }, "colorFill": { "type": "string", "enum": ["solid", "linear", "radial"] }, "colorFillStops": { "type": "integer", "minimum": 1 }, "fontFamilyName": { "type": "string", "pattern": "^[a-zA-Z0-9 _\\-]+$" }, "fontWeight": { "type": "integer", "minimum": 1, "maximum": 1000 } }, "properties": { "seed": { "type": "string", "description": "The starting value for the pseudorandom number generator (PRNG) used in the avatar generation process. This option is essential for creating unique and consistent avatars. By setting a specific seed, you ensure that the same sequence of random characteristics is applied, allowing identical avatars to be reproduced. This is especially valuable for maintaining consistency across sessions and allowing users to share or recreate their personalized avatars.", "maxLength": 1024 }, "size": { "type": "integer", "description": "Specifies the dimensions of the avatar in pixels. If no size is specified, the avatar defaults to a responsive design or scales to 100% of its container. This flexibility allows the avatar to seamlessly adapt to different screen sizes and layouts, ensuring optimal display across devices and environments.", "minimum": 1 }, "idRandomization": { "type": "boolean", "description": "Generates random values for all IDs present in the SVG. This process ensures that while the avatar appears visually identical, the underlying code remains unique. This is particularly useful for embedding the same avatar multiple times in a document without running into duplicate ID conflicts that can interfere with styles and scripts." }, "title": { "type": "string", "description": "Specifies an accessible title for the avatar. When set, the SVG will include a <title> element and an aria-label attribute, allowing screen readers and other assistive technologies to describe the avatar to users.", "maxLength": 256 }, "flip": { "description": "Specifies how the avatar will be flipped. Options include `none` for no flip, `horizontal` for a left-to-right flip, `vertical` for an upside-down flip, and `both` for a complete flip. If specified as an array, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/$defs/flip" }, { "type": "array", "items": { "$ref": "#/$defs/flip" }, "maxItems": 128 }] }, "fontFamily": { "description": "Specifies the font family used for text rendering. If specified as an array, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/$defs/fontFamilyName" }, { "type": "array", "items": { "$ref": "#/$defs/fontFamilyName" }, "maxItems": 128 }] }, "fontWeight": { "description": "Specifies the font weight used for text rendering. The value must be an integer between 1 and 1000. If specified as an array, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/$defs/fontWeight" }, { "type": "array", "items": { "$ref": "#/$defs/fontWeight" }, "maxItems": 128 }] }, "scale": { "description": "Sets the scaling of the avatar. A value of `1` corresponds to the original size of the avatar. This setting affects the size of the avatar itself, but not the size of the avatar container; any excess content will be clipped. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/$defs/scale" }, { "type": "array", "items": { "$ref": "#/$defs/scale" }, "maxItems": 2 }] }, "borderRadius": { "description": "This is the radius of the corners of the avatar. This value can be a float or an integer. A value of 0 means that the avatar has sharp corners, while larger values result in more rounded corners. The maximum value is 50, which turns the avatar into a complete circle. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/$defs/borderRadius" }, { "type": "array", "items": { "$ref": "#/$defs/borderRadius" }, "maxItems": 2 }] } }, "patternProperties": { "^[a-z][a-zA-Z0-9]*Probability$": { "type": "number", "description": "Represents the probability that a component of the avatar will be displayed. The value can be either a float or an integer, but is interpreted as a percentage. For example, a value of 0 means the part will never be displayed, while a value of 100 means it will always be displayed.", "minimum": 0, "maximum": 100 }, "^[a-z][a-zA-Z0-9]*Variant$": { "description": "Specifies which variants of the avatar part can be selected by the PRNG and their relative weights. A string or array of strings filters which variants the PRNG can choose from. An object maps variant names to non-negative weights, simultaneously filtering and weighting selection.", "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 128 }, { "type": "object", "propertyNames": { "pattern": "^[a-z][a-zA-Z0-9]*$" }, "additionalProperties": { "type": "number", "minimum": 0 }, "maxProperties": 128 }] }, "^[a-z][a-zA-Z0-9]*Color$": { "description": "Specifies which colors for the avatar component can be selected by the PRNG. If specified as a string or array with only one value, the value is fixed. However, if specified as an array with multiple values, the PRNG will choose from the available options. The color must be specified as a hex value.", "oneOf": [{ "$ref": "#/$defs/color" }, { "type": "array", "items": { "$ref": "#/$defs/color" }, "maxItems": 128 }] }, "^[a-z][a-zA-Z0-9]*ColorFill$": { "description": "Specifies the color fill method for the avatar component. Options include `solid` for a flat color, `linear` for a linear gradient, and `radial` for a radial gradient. If specified as a string or array with only one value, the value is fixed. However, if specified as an array with multiple values, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/$defs/colorFill" }, { "type": "array", "items": { "$ref": "#/$defs/colorFill" }, "maxItems": 128 }] }, "^[a-z][a-zA-Z0-9]*ColorFillStops$": { "description": "Specifies the number of color stops for gradient fills. This value is only relevant when the color fill method is set to `linear` or `radial`. The minimum value is 1. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/$defs/colorFillStops" }, { "type": "array", "items": { "$ref": "#/$defs/colorFillStops" }, "maxItems": 2 }] }, "^[a-z][a-zA-Z0-9]*ColorAngle$": { "description": "Specifies the angle for the color gradient. This value can be an integer or a float. A value of 0 results in no rotation, while values between -360 and 360 define the degree of rotation. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/$defs/rotate" }, { "type": "array", "items": { "$ref": "#/$defs/rotate" }, "maxItems": 2 }] }, "^(r|[a-z][a-zA-Z0-9]*R)otate$": { "description": "This is the rotation angle for the avatar or its parts. This value can be an integer or a float. A value of 0 results in no rotation, while values between -360 and 360 define the degree of rotation in both directions. If specified as an array, the PRNG will select a value within the specified range, including the values themselves. If not preceded by an avatar part, the option applies to the entire avatar.", "oneOf": [{ "$ref": "#/$defs/rotate" }, { "type": "array", "items": { "$ref": "#/$defs/rotate" }, "maxItems": 2 }] }, "^(t|[a-z][a-zA-Z0-9]*T)ranslateY$": { "description": "This is the vertical translation of the avatar or its parts. This value can be an integer or a float. A value of 0 results in no translation, while positive values move the part down and negative values move it up. If specified as an array, the PRNG will select a value within the specified range, including the values themselves. If no avatar part is specified, the option applies to the entire avatar.", "oneOf": [{ "$ref": "#/$defs/translate" }, { "type": "array", "items": { "$ref": "#/$defs/translate" }, "maxItems": 2 }] }, "^(t|[a-z][a-zA-Z0-9]*T)ranslateX$": { "description": "This is the horizontal translation of the avatar or its parts. This value can be an integer or a float. A value of 0 results in no translation, while positive values move the part to the right and negative values move it to the left. If specified as an array, the PRNG will select a value within the specified range, including the values themselves. If no avatar part is specified, the option applies to the entire avatar.", "oneOf": [{ "$ref": "#/$defs/translate" }, { "type": "array", "items": { "$ref": "#/$defs/translate" }, "maxItems": 2 }] } }, "additionalProperties": false };
6
- const schema32 = { "type": "string", "enum": ["none", "horizontal", "vertical", "both"] };
7
- const schema34 = { "type": "string", "pattern": "^[a-zA-Z0-9 _\\-]+$" };
8
- const schema36 = { "type": "integer", "minimum": 1, "maximum": 1000 };
9
- const schema38 = { "type": "number", "minimum": 0 };
10
- const schema40 = { "type": "number", "minimum": 0, "maximum": 50 };
11
- const schema42 = { "type": "string", "pattern": "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" };
12
- const schema44 = { "type": "string", "enum": ["solid", "linear", "radial"] };
13
- const schema46 = { "type": "integer", "minimum": 1 };
14
- const schema48 = { "type": "number", "minimum": -360, "maximum": 360 };
15
- const schema52 = { "type": "number", "minimum": -100, "maximum": 100 };
16
- const func1 = Object.prototype.hasOwnProperty;
17
- const func2 = ucs2length;
18
- const pattern4 = new RegExp("^[a-z][a-zA-Z0-9]*Probability$", "u");
19
- const pattern5 = new RegExp("^[a-z][a-zA-Z0-9]*Variant$", "u");
20
- const pattern6 = new RegExp("^[a-z][a-zA-Z0-9]*Color$", "u");
21
- const pattern7 = new RegExp("^[a-z][a-zA-Z0-9]*ColorFill$", "u");
22
- const pattern8 = new RegExp("^[a-z][a-zA-Z0-9]*ColorFillStops$", "u");
23
- const pattern9 = new RegExp("^[a-z][a-zA-Z0-9]*ColorAngle$", "u");
24
- const pattern10 = new RegExp("^(r|[a-z][a-zA-Z0-9]*R)otate$", "u");
25
- const pattern11 = new RegExp("^(t|[a-z][a-zA-Z0-9]*T)ranslateY$", "u");
26
- const pattern12 = new RegExp("^(t|[a-z][a-zA-Z0-9]*T)ranslateX$", "u");
27
- const pattern13 = new RegExp("^[a-zA-Z0-9 _\\-]+$", "u");
28
- const pattern17 = new RegExp("^[a-z][a-zA-Z0-9]*$", "u");
29
- const pattern19 = new RegExp("^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$", "u");
30
- function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) { /*# sourceURL="https://cdn.hopjs.net/npm/@dicebear/schema@0.9.0/dist/options.min.json" */ ; let vErrors = null; let errors = 0; const evaluated0 = validate20.evaluated; if (evaluated0.dynamicProps) {
31
- evaluated0.props = undefined;
32
- } if (evaluated0.dynamicItems) {
33
- evaluated0.items = undefined;
34
- } if (errors === 0) {
5
+ const schema11 = { "$id": "https://cdn.hopjs.net/npm/@dicebear/schema@0.10.0/dist/options.min.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "DiceBear options schema", "type": "object", "definitions": { "flip": { "type": "string", "enum": ["none", "horizontal", "vertical", "both"] }, "rotate": { "type": "number", "minimum": -360, "maximum": 360 }, "scale": { "type": "number", "minimum": 0 }, "translate": { "type": "number", "minimum": -100, "maximum": 100 }, "borderRadius": { "type": "number", "minimum": 0, "maximum": 50 }, "color": { "type": "string", "pattern": "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" }, "colorFill": { "type": "string", "enum": ["solid", "linear", "radial"] }, "colorFillStops": { "type": "integer", "minimum": 2 }, "fontFamilyName": { "type": "string", "pattern": "^[a-zA-Z0-9 _\\-]+$" }, "fontWeight": { "type": "integer", "minimum": 1, "maximum": 1000 } }, "properties": { "seed": { "type": "string", "description": "The starting value for the pseudorandom number generator (PRNG) used in the avatar generation process. This option is essential for creating unique and consistent avatars. By setting a specific seed, you ensure that the same sequence of random characteristics is applied, allowing identical avatars to be reproduced. This is especially valuable for maintaining consistency across sessions and allowing users to share or recreate their personalized avatars.", "maxLength": 1024 }, "size": { "type": "integer", "description": "Specifies the dimensions of the avatar in pixels. If no size is specified, the avatar defaults to a responsive design or scales to 100% of its container. This flexibility allows the avatar to seamlessly adapt to different screen sizes and layouts, ensuring optimal display across devices and environments.", "minimum": 1 }, "idRandomization": { "type": "boolean", "description": "Generates random values for all IDs present in the SVG. This process ensures that while the avatar appears visually identical, the underlying code remains unique. This is particularly useful for embedding the same avatar multiple times in a document without running into duplicate ID conflicts that can interfere with styles and scripts." }, "title": { "type": "string", "description": "Specifies an accessible title for the avatar. When set, the SVG will include a <title> element and an aria-label attribute, allowing screen readers and other assistive technologies to describe the avatar to users.", "maxLength": 256 }, "flip": { "description": "Specifies how the avatar will be flipped. Options include `none` for no flip, `horizontal` for a left-to-right flip, `vertical` for an upside-down flip, and `both` for a complete flip. If specified as an array, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/definitions/flip" }, { "type": "array", "items": { "$ref": "#/definitions/flip" }, "maxItems": 128 }] }, "fontFamily": { "description": "Specifies the font family used for text rendering. If specified as an array, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/definitions/fontFamilyName" }, { "type": "array", "items": { "$ref": "#/definitions/fontFamilyName" }, "maxItems": 128 }] }, "fontWeight": { "description": "Specifies the font weight used for text rendering. The value must be an integer between 1 and 1000. If specified as an array, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/definitions/fontWeight" }, { "type": "array", "items": { "$ref": "#/definitions/fontWeight" }, "maxItems": 128 }] }, "scale": { "description": "Sets the scaling of the avatar. A value of `1` corresponds to the original size of the avatar. This setting affects the size of the avatar itself, but not the size of the avatar container; any excess content will be clipped. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/definitions/scale" }, { "type": "array", "items": { "$ref": "#/definitions/scale" }, "maxItems": 2 }] }, "borderRadius": { "description": "This is the radius of the corners of the avatar. This value can be a float or an integer. A value of 0 means that the avatar has sharp corners, while larger values result in more rounded corners. The maximum value is 50, which turns the avatar into a complete circle. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/definitions/borderRadius" }, { "type": "array", "items": { "$ref": "#/definitions/borderRadius" }, "maxItems": 2 }] } }, "patternProperties": { "^[a-z][a-zA-Z0-9]*Probability$": { "type": "number", "description": "Represents the probability that a component of the avatar will be displayed. The value can be either a float or an integer, but is interpreted as a percentage. For example, a value of 0 means the part will never be displayed, while a value of 100 means it will always be displayed.", "minimum": 0, "maximum": 100 }, "^[a-z][a-zA-Z0-9]*Variant$": { "description": "Specifies which variants of the avatar part can be selected by the PRNG and their relative weights. A string or array of strings filters which variants the PRNG can choose from. An object maps variant names to non-negative weights, simultaneously filtering and weighting selection.", "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" }, "maxItems": 128 }, { "type": "object", "propertyNames": { "pattern": "^[a-z][a-zA-Z0-9]*$" }, "additionalProperties": { "type": "number", "minimum": 0 }, "maxProperties": 128 }] }, "^[a-z][a-zA-Z0-9]*Color$": { "description": "Specifies which colors for the avatar component can be selected by the PRNG. If specified as a string or array with only one value, the value is fixed. However, if specified as an array with multiple values, the PRNG will choose from the available options. The color must be specified as a hex value.", "oneOf": [{ "$ref": "#/definitions/color" }, { "type": "array", "items": { "$ref": "#/definitions/color" }, "maxItems": 128 }] }, "^[a-z][a-zA-Z0-9]*ColorFill$": { "description": "Specifies the color fill method for the avatar component. Options include `solid` for a flat color, `linear` for a linear gradient, and `radial` for a radial gradient. If specified as a string or array with only one value, the value is fixed. However, if specified as an array with multiple values, the PRNG will choose from the available options.", "oneOf": [{ "$ref": "#/definitions/colorFill" }, { "type": "array", "items": { "$ref": "#/definitions/colorFill" }, "maxItems": 128 }] }, "^[a-z][a-zA-Z0-9]*ColorFillStops$": { "description": "Specifies the number of color stops for gradient fills. This value is only relevant when the color fill method is set to `linear` or `radial`. The minimum value is 1. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/definitions/colorFillStops" }, { "type": "array", "items": { "$ref": "#/definitions/colorFillStops" }, "maxItems": 2 }] }, "^[a-z][a-zA-Z0-9]*ColorAngle$": { "description": "Specifies the angle for the color gradient. This value can be an integer or a float. A value of 0 results in no rotation, while values between -360 and 360 define the degree of rotation. If specified as an array, the PRNG will select a value within the specified range, including the values themselves.", "oneOf": [{ "$ref": "#/definitions/rotate" }, { "type": "array", "items": { "$ref": "#/definitions/rotate" }, "maxItems": 2 }] }, "^(r|[a-z][a-zA-Z0-9]*R)otate$": { "description": "This is the rotation angle for the avatar or its parts. This value can be an integer or a float. A value of 0 results in no rotation, while values between -360 and 360 define the degree of rotation in both directions. If specified as an array, the PRNG will select a value within the specified range, including the values themselves. If not preceded by an avatar part, the option applies to the entire avatar.", "oneOf": [{ "$ref": "#/definitions/rotate" }, { "type": "array", "items": { "$ref": "#/definitions/rotate" }, "maxItems": 2 }] }, "^(t|[a-z][a-zA-Z0-9]*T)ranslateY$": { "description": "This is the vertical translation of the avatar or its parts. This value can be an integer or a float. A value of 0 results in no translation, while positive values move the part down and negative values move it up. If specified as an array, the PRNG will select a value within the specified range, including the values themselves. If no avatar part is specified, the option applies to the entire avatar.", "oneOf": [{ "$ref": "#/definitions/translate" }, { "type": "array", "items": { "$ref": "#/definitions/translate" }, "maxItems": 2 }] }, "^(t|[a-z][a-zA-Z0-9]*T)ranslateX$": { "description": "This is the horizontal translation of the avatar or its parts. This value can be an integer or a float. A value of 0 results in no translation, while positive values move the part to the right and negative values move it to the left. If specified as an array, the PRNG will select a value within the specified range, including the values themselves. If no avatar part is specified, the option applies to the entire avatar.", "oneOf": [{ "$ref": "#/definitions/translate" }, { "type": "array", "items": { "$ref": "#/definitions/translate" }, "maxItems": 2 }] } }, "additionalProperties": false };
6
+ const schema12 = { "type": "string", "enum": ["none", "horizontal", "vertical", "both"] };
7
+ const schema14 = { "type": "string", "pattern": "^[a-zA-Z0-9 _\\-]+$" };
8
+ const schema16 = { "type": "integer", "minimum": 1, "maximum": 1000 };
9
+ const schema18 = { "type": "number", "minimum": 0 };
10
+ const schema20 = { "type": "number", "minimum": 0, "maximum": 50 };
11
+ const schema22 = { "type": "string", "pattern": "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" };
12
+ const schema24 = { "type": "string", "enum": ["solid", "linear", "radial"] };
13
+ const schema26 = { "type": "integer", "minimum": 2 };
14
+ const schema28 = { "type": "number", "minimum": -360, "maximum": 360 };
15
+ const schema32 = { "type": "number", "minimum": -100, "maximum": 100 };
16
+ const func2 = Object.prototype.hasOwnProperty;
17
+ const func3 = ucs2length;
18
+ const pattern0 = new RegExp("^[a-z][a-zA-Z0-9]*Probability$", "u");
19
+ const pattern1 = new RegExp("^[a-z][a-zA-Z0-9]*Variant$", "u");
20
+ const pattern2 = new RegExp("^[a-z][a-zA-Z0-9]*Color$", "u");
21
+ const pattern3 = new RegExp("^[a-z][a-zA-Z0-9]*ColorFill$", "u");
22
+ const pattern4 = new RegExp("^[a-z][a-zA-Z0-9]*ColorFillStops$", "u");
23
+ const pattern5 = new RegExp("^[a-z][a-zA-Z0-9]*ColorAngle$", "u");
24
+ const pattern6 = new RegExp("^(r|[a-z][a-zA-Z0-9]*R)otate$", "u");
25
+ const pattern7 = new RegExp("^(t|[a-z][a-zA-Z0-9]*T)ranslateY$", "u");
26
+ const pattern8 = new RegExp("^(t|[a-z][a-zA-Z0-9]*T)ranslateX$", "u");
27
+ const pattern9 = new RegExp("^[a-zA-Z0-9 _\\-]+$", "u");
28
+ const pattern13 = new RegExp("^[a-z][a-zA-Z0-9]*$", "u");
29
+ const pattern15 = new RegExp("^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$", "u");
30
+ function validate10(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) { /*# sourceURL="https://cdn.hopjs.net/npm/@dicebear/schema@0.10.0/dist/options.min.json" */ ; let vErrors = null; let errors = 0; if (errors === 0) {
35
31
  if (data && typeof data == "object" && !Array.isArray(data)) {
36
32
  const _errs1 = errors;
37
33
  for (const key0 in data) {
38
- if (!((((((((((func1.call(schema31.properties, key0)) || (pattern4.test(key0))) || (pattern5.test(key0))) || (pattern6.test(key0))) || (pattern7.test(key0))) || (pattern8.test(key0))) || (pattern9.test(key0))) || (pattern10.test(key0))) || (pattern11.test(key0))) || (pattern12.test(key0)))) {
39
- validate20.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
34
+ if (!((((((((((func2.call(schema11.properties, key0)) || (pattern0.test(key0))) || (pattern1.test(key0))) || (pattern2.test(key0))) || (pattern3.test(key0))) || (pattern4.test(key0))) || (pattern5.test(key0))) || (pattern6.test(key0))) || (pattern7.test(key0))) || (pattern8.test(key0)))) {
35
+ validate10.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
40
36
  return false;
41
37
  break;
42
38
  }
@@ -47,13 +43,13 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
47
43
  const _errs2 = errors;
48
44
  if (errors === _errs2) {
49
45
  if (typeof data0 === "string") {
50
- if (func2(data0) > 1024) {
51
- validate20.errors = [{ instancePath: instancePath + "/seed", schemaPath: "#/properties/seed/maxLength", keyword: "maxLength", params: { limit: 1024 }, message: "must NOT have more than 1024 characters" }];
46
+ if (func3(data0) > 1024) {
47
+ validate10.errors = [{ instancePath: instancePath + "/seed", schemaPath: "#/properties/seed/maxLength", keyword: "maxLength", params: { limit: 1024 }, message: "must NOT have more than 1024 characters" }];
52
48
  return false;
53
49
  }
54
50
  }
55
51
  else {
56
- validate20.errors = [{ instancePath: instancePath + "/seed", schemaPath: "#/properties/seed/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
52
+ validate10.errors = [{ instancePath: instancePath + "/seed", schemaPath: "#/properties/seed/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
57
53
  return false;
58
54
  }
59
55
  }
@@ -67,13 +63,13 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
67
63
  let data1 = data.size;
68
64
  const _errs4 = errors;
69
65
  if (!(((typeof data1 == "number") && (!(data1 % 1) && !isNaN(data1))) && (isFinite(data1)))) {
70
- validate20.errors = [{ instancePath: instancePath + "/size", schemaPath: "#/properties/size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" }];
66
+ validate10.errors = [{ instancePath: instancePath + "/size", schemaPath: "#/properties/size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" }];
71
67
  return false;
72
68
  }
73
69
  if (errors === _errs4) {
74
70
  if ((typeof data1 == "number") && (isFinite(data1))) {
75
71
  if (data1 < 1 || isNaN(data1)) {
76
- validate20.errors = [{ instancePath: instancePath + "/size", schemaPath: "#/properties/size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" }];
72
+ validate10.errors = [{ instancePath: instancePath + "/size", schemaPath: "#/properties/size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" }];
77
73
  return false;
78
74
  }
79
75
  }
@@ -87,7 +83,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
87
83
  if (data.idRandomization !== undefined) {
88
84
  const _errs6 = errors;
89
85
  if (typeof data.idRandomization !== "boolean") {
90
- validate20.errors = [{ instancePath: instancePath + "/idRandomization", schemaPath: "#/properties/idRandomization/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
86
+ validate10.errors = [{ instancePath: instancePath + "/idRandomization", schemaPath: "#/properties/idRandomization/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
91
87
  return false;
92
88
  }
93
89
  var valid0 = _errs6 === errors;
@@ -101,13 +97,13 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
101
97
  const _errs8 = errors;
102
98
  if (errors === _errs8) {
103
99
  if (typeof data3 === "string") {
104
- if (func2(data3) > 256) {
105
- validate20.errors = [{ instancePath: instancePath + "/title", schemaPath: "#/properties/title/maxLength", keyword: "maxLength", params: { limit: 256 }, message: "must NOT have more than 256 characters" }];
100
+ if (func3(data3) > 256) {
101
+ validate10.errors = [{ instancePath: instancePath + "/title", schemaPath: "#/properties/title/maxLength", keyword: "maxLength", params: { limit: 256 }, message: "must NOT have more than 256 characters" }];
106
102
  return false;
107
103
  }
108
104
  }
109
105
  else {
110
- validate20.errors = [{ instancePath: instancePath + "/title", schemaPath: "#/properties/title/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
106
+ validate10.errors = [{ instancePath: instancePath + "/title", schemaPath: "#/properties/title/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
111
107
  return false;
112
108
  }
113
109
  }
@@ -125,7 +121,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
125
121
  let passing0 = null;
126
122
  const _errs12 = errors;
127
123
  if (typeof data4 !== "string") {
128
- const err0 = { instancePath: instancePath + "/flip", schemaPath: "#/$defs/flip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
124
+ const err0 = { instancePath: instancePath + "/flip", schemaPath: "#/definitions/flip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
129
125
  if (vErrors === null) {
130
126
  vErrors = [err0];
131
127
  }
@@ -135,7 +131,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
135
131
  errors++;
136
132
  }
137
133
  if (!((((data4 === "none") || (data4 === "horizontal")) || (data4 === "vertical")) || (data4 === "both"))) {
138
- const err1 = { instancePath: instancePath + "/flip", schemaPath: "#/$defs/flip/enum", keyword: "enum", params: { allowedValues: schema32.enum }, message: "must be equal to one of the allowed values" };
134
+ const err1 = { instancePath: instancePath + "/flip", schemaPath: "#/definitions/flip/enum", keyword: "enum", params: { allowedValues: schema12.enum }, message: "must be equal to one of the allowed values" };
139
135
  if (vErrors === null) {
140
136
  vErrors = [err1];
141
137
  }
@@ -169,7 +165,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
169
165
  let data5 = data4[i0];
170
166
  const _errs17 = errors;
171
167
  if (typeof data5 !== "string") {
172
- const err3 = { instancePath: instancePath + "/flip/" + i0, schemaPath: "#/$defs/flip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
168
+ const err3 = { instancePath: instancePath + "/flip/" + i0, schemaPath: "#/definitions/flip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
173
169
  if (vErrors === null) {
174
170
  vErrors = [err3];
175
171
  }
@@ -179,7 +175,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
179
175
  errors++;
180
176
  }
181
177
  if (!((((data5 === "none") || (data5 === "horizontal")) || (data5 === "vertical")) || (data5 === "both"))) {
182
- const err4 = { instancePath: instancePath + "/flip/" + i0, schemaPath: "#/$defs/flip/enum", keyword: "enum", params: { allowedValues: schema32.enum }, message: "must be equal to one of the allowed values" };
178
+ const err4 = { instancePath: instancePath + "/flip/" + i0, schemaPath: "#/definitions/flip/enum", keyword: "enum", params: { allowedValues: schema12.enum }, message: "must be equal to one of the allowed values" };
183
179
  if (vErrors === null) {
184
180
  vErrors = [err4];
185
181
  }
@@ -226,7 +222,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
226
222
  vErrors.push(err6);
227
223
  }
228
224
  errors++;
229
- validate20.errors = vErrors;
225
+ validate10.errors = vErrors;
230
226
  return false;
231
227
  }
232
228
  else {
@@ -256,8 +252,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
256
252
  const _errs23 = errors;
257
253
  if (errors === _errs23) {
258
254
  if (typeof data6 === "string") {
259
- if (!pattern13.test(data6)) {
260
- const err7 = { instancePath: instancePath + "/fontFamily", schemaPath: "#/$defs/fontFamilyName/pattern", keyword: "pattern", params: { pattern: "^[a-zA-Z0-9 _\\-]+$" }, message: "must match pattern \"" + "^[a-zA-Z0-9 _\\-]+$" + "\"" };
255
+ if (!pattern9.test(data6)) {
256
+ const err7 = { instancePath: instancePath + "/fontFamily", schemaPath: "#/definitions/fontFamilyName/pattern", keyword: "pattern", params: { pattern: "^[a-zA-Z0-9 _\\-]+$" }, message: "must match pattern \"" + "^[a-zA-Z0-9 _\\-]+$" + "\"" };
261
257
  if (vErrors === null) {
262
258
  vErrors = [err7];
263
259
  }
@@ -268,7 +264,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
268
264
  }
269
265
  }
270
266
  else {
271
- const err8 = { instancePath: instancePath + "/fontFamily", schemaPath: "#/$defs/fontFamilyName/type", keyword: "type", params: { type: "string" }, message: "must be string" };
267
+ const err8 = { instancePath: instancePath + "/fontFamily", schemaPath: "#/definitions/fontFamilyName/type", keyword: "type", params: { type: "string" }, message: "must be string" };
272
268
  if (vErrors === null) {
273
269
  vErrors = [err8];
274
270
  }
@@ -305,8 +301,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
305
301
  const _errs28 = errors;
306
302
  if (errors === _errs28) {
307
303
  if (typeof data7 === "string") {
308
- if (!pattern13.test(data7)) {
309
- const err10 = { instancePath: instancePath + "/fontFamily/" + i1, schemaPath: "#/$defs/fontFamilyName/pattern", keyword: "pattern", params: { pattern: "^[a-zA-Z0-9 _\\-]+$" }, message: "must match pattern \"" + "^[a-zA-Z0-9 _\\-]+$" + "\"" };
304
+ if (!pattern9.test(data7)) {
305
+ const err10 = { instancePath: instancePath + "/fontFamily/" + i1, schemaPath: "#/definitions/fontFamilyName/pattern", keyword: "pattern", params: { pattern: "^[a-zA-Z0-9 _\\-]+$" }, message: "must match pattern \"" + "^[a-zA-Z0-9 _\\-]+$" + "\"" };
310
306
  if (vErrors === null) {
311
307
  vErrors = [err10];
312
308
  }
@@ -317,7 +313,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
317
313
  }
318
314
  }
319
315
  else {
320
- const err11 = { instancePath: instancePath + "/fontFamily/" + i1, schemaPath: "#/$defs/fontFamilyName/type", keyword: "type", params: { type: "string" }, message: "must be string" };
316
+ const err11 = { instancePath: instancePath + "/fontFamily/" + i1, schemaPath: "#/definitions/fontFamilyName/type", keyword: "type", params: { type: "string" }, message: "must be string" };
321
317
  if (vErrors === null) {
322
318
  vErrors = [err11];
323
319
  }
@@ -365,7 +361,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
365
361
  vErrors.push(err13);
366
362
  }
367
363
  errors++;
368
- validate20.errors = vErrors;
364
+ validate10.errors = vErrors;
369
365
  return false;
370
366
  }
371
367
  else {
@@ -394,7 +390,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
394
390
  const _errs32 = errors;
395
391
  const _errs33 = errors;
396
392
  if (!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))) {
397
- const err14 = { instancePath: instancePath + "/fontWeight", schemaPath: "#/$defs/fontWeight/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
393
+ const err14 = { instancePath: instancePath + "/fontWeight", schemaPath: "#/definitions/fontWeight/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
398
394
  if (vErrors === null) {
399
395
  vErrors = [err14];
400
396
  }
@@ -406,7 +402,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
406
402
  if (errors === _errs33) {
407
403
  if ((typeof data8 == "number") && (isFinite(data8))) {
408
404
  if (data8 > 1000 || isNaN(data8)) {
409
- const err15 = { instancePath: instancePath + "/fontWeight", schemaPath: "#/$defs/fontWeight/maximum", keyword: "maximum", params: { comparison: "<=", limit: 1000 }, message: "must be <= 1000" };
405
+ const err15 = { instancePath: instancePath + "/fontWeight", schemaPath: "#/definitions/fontWeight/maximum", keyword: "maximum", params: { comparison: "<=", limit: 1000 }, message: "must be <= 1000" };
410
406
  if (vErrors === null) {
411
407
  vErrors = [err15];
412
408
  }
@@ -417,7 +413,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
417
413
  }
418
414
  else {
419
415
  if (data8 < 1 || isNaN(data8)) {
420
- const err16 = { instancePath: instancePath + "/fontWeight", schemaPath: "#/$defs/fontWeight/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
416
+ const err16 = { instancePath: instancePath + "/fontWeight", schemaPath: "#/definitions/fontWeight/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
421
417
  if (vErrors === null) {
422
418
  vErrors = [err16];
423
419
  }
@@ -455,7 +451,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
455
451
  const _errs37 = errors;
456
452
  const _errs38 = errors;
457
453
  if (!(((typeof data9 == "number") && (!(data9 % 1) && !isNaN(data9))) && (isFinite(data9)))) {
458
- const err18 = { instancePath: instancePath + "/fontWeight/" + i2, schemaPath: "#/$defs/fontWeight/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
454
+ const err18 = { instancePath: instancePath + "/fontWeight/" + i2, schemaPath: "#/definitions/fontWeight/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
459
455
  if (vErrors === null) {
460
456
  vErrors = [err18];
461
457
  }
@@ -467,7 +463,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
467
463
  if (errors === _errs38) {
468
464
  if ((typeof data9 == "number") && (isFinite(data9))) {
469
465
  if (data9 > 1000 || isNaN(data9)) {
470
- const err19 = { instancePath: instancePath + "/fontWeight/" + i2, schemaPath: "#/$defs/fontWeight/maximum", keyword: "maximum", params: { comparison: "<=", limit: 1000 }, message: "must be <= 1000" };
466
+ const err19 = { instancePath: instancePath + "/fontWeight/" + i2, schemaPath: "#/definitions/fontWeight/maximum", keyword: "maximum", params: { comparison: "<=", limit: 1000 }, message: "must be <= 1000" };
471
467
  if (vErrors === null) {
472
468
  vErrors = [err19];
473
469
  }
@@ -478,7 +474,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
478
474
  }
479
475
  else {
480
476
  if (data9 < 1 || isNaN(data9)) {
481
- const err20 = { instancePath: instancePath + "/fontWeight/" + i2, schemaPath: "#/$defs/fontWeight/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
477
+ const err20 = { instancePath: instancePath + "/fontWeight/" + i2, schemaPath: "#/definitions/fontWeight/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
482
478
  if (vErrors === null) {
483
479
  vErrors = [err20];
484
480
  }
@@ -528,7 +524,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
528
524
  vErrors.push(err22);
529
525
  }
530
526
  errors++;
531
- validate20.errors = vErrors;
527
+ validate10.errors = vErrors;
532
528
  return false;
533
529
  }
534
530
  else {
@@ -559,7 +555,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
559
555
  if (errors === _errs43) {
560
556
  if ((typeof data10 == "number") && (isFinite(data10))) {
561
557
  if (data10 < 0 || isNaN(data10)) {
562
- const err23 = { instancePath: instancePath + "/scale", schemaPath: "#/$defs/scale/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
558
+ const err23 = { instancePath: instancePath + "/scale", schemaPath: "#/definitions/scale/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
563
559
  if (vErrors === null) {
564
560
  vErrors = [err23];
565
561
  }
@@ -570,7 +566,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
570
566
  }
571
567
  }
572
568
  else {
573
- const err24 = { instancePath: instancePath + "/scale", schemaPath: "#/$defs/scale/type", keyword: "type", params: { type: "number" }, message: "must be number" };
569
+ const err24 = { instancePath: instancePath + "/scale", schemaPath: "#/definitions/scale/type", keyword: "type", params: { type: "number" }, message: "must be number" };
574
570
  if (vErrors === null) {
575
571
  vErrors = [err24];
576
572
  }
@@ -608,7 +604,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
608
604
  if (errors === _errs48) {
609
605
  if ((typeof data11 == "number") && (isFinite(data11))) {
610
606
  if (data11 < 0 || isNaN(data11)) {
611
- const err26 = { instancePath: instancePath + "/scale/" + i3, schemaPath: "#/$defs/scale/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
607
+ const err26 = { instancePath: instancePath + "/scale/" + i3, schemaPath: "#/definitions/scale/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
612
608
  if (vErrors === null) {
613
609
  vErrors = [err26];
614
610
  }
@@ -619,7 +615,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
619
615
  }
620
616
  }
621
617
  else {
622
- const err27 = { instancePath: instancePath + "/scale/" + i3, schemaPath: "#/$defs/scale/type", keyword: "type", params: { type: "number" }, message: "must be number" };
618
+ const err27 = { instancePath: instancePath + "/scale/" + i3, schemaPath: "#/definitions/scale/type", keyword: "type", params: { type: "number" }, message: "must be number" };
623
619
  if (vErrors === null) {
624
620
  vErrors = [err27];
625
621
  }
@@ -667,7 +663,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
667
663
  vErrors.push(err29);
668
664
  }
669
665
  errors++;
670
- validate20.errors = vErrors;
666
+ validate10.errors = vErrors;
671
667
  return false;
672
668
  }
673
669
  else {
@@ -698,7 +694,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
698
694
  if (errors === _errs53) {
699
695
  if ((typeof data12 == "number") && (isFinite(data12))) {
700
696
  if (data12 > 50 || isNaN(data12)) {
701
- const err30 = { instancePath: instancePath + "/borderRadius", schemaPath: "#/$defs/borderRadius/maximum", keyword: "maximum", params: { comparison: "<=", limit: 50 }, message: "must be <= 50" };
697
+ const err30 = { instancePath: instancePath + "/borderRadius", schemaPath: "#/definitions/borderRadius/maximum", keyword: "maximum", params: { comparison: "<=", limit: 50 }, message: "must be <= 50" };
702
698
  if (vErrors === null) {
703
699
  vErrors = [err30];
704
700
  }
@@ -709,7 +705,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
709
705
  }
710
706
  else {
711
707
  if (data12 < 0 || isNaN(data12)) {
712
- const err31 = { instancePath: instancePath + "/borderRadius", schemaPath: "#/$defs/borderRadius/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
708
+ const err31 = { instancePath: instancePath + "/borderRadius", schemaPath: "#/definitions/borderRadius/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
713
709
  if (vErrors === null) {
714
710
  vErrors = [err31];
715
711
  }
@@ -721,7 +717,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
721
717
  }
722
718
  }
723
719
  else {
724
- const err32 = { instancePath: instancePath + "/borderRadius", schemaPath: "#/$defs/borderRadius/type", keyword: "type", params: { type: "number" }, message: "must be number" };
720
+ const err32 = { instancePath: instancePath + "/borderRadius", schemaPath: "#/definitions/borderRadius/type", keyword: "type", params: { type: "number" }, message: "must be number" };
725
721
  if (vErrors === null) {
726
722
  vErrors = [err32];
727
723
  }
@@ -759,7 +755,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
759
755
  if (errors === _errs58) {
760
756
  if ((typeof data13 == "number") && (isFinite(data13))) {
761
757
  if (data13 > 50 || isNaN(data13)) {
762
- const err34 = { instancePath: instancePath + "/borderRadius/" + i4, schemaPath: "#/$defs/borderRadius/maximum", keyword: "maximum", params: { comparison: "<=", limit: 50 }, message: "must be <= 50" };
758
+ const err34 = { instancePath: instancePath + "/borderRadius/" + i4, schemaPath: "#/definitions/borderRadius/maximum", keyword: "maximum", params: { comparison: "<=", limit: 50 }, message: "must be <= 50" };
763
759
  if (vErrors === null) {
764
760
  vErrors = [err34];
765
761
  }
@@ -770,7 +766,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
770
766
  }
771
767
  else {
772
768
  if (data13 < 0 || isNaN(data13)) {
773
- const err35 = { instancePath: instancePath + "/borderRadius/" + i4, schemaPath: "#/$defs/borderRadius/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
769
+ const err35 = { instancePath: instancePath + "/borderRadius/" + i4, schemaPath: "#/definitions/borderRadius/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
774
770
  if (vErrors === null) {
775
771
  vErrors = [err35];
776
772
  }
@@ -782,7 +778,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
782
778
  }
783
779
  }
784
780
  else {
785
- const err36 = { instancePath: instancePath + "/borderRadius/" + i4, schemaPath: "#/$defs/borderRadius/type", keyword: "type", params: { type: "number" }, message: "must be number" };
781
+ const err36 = { instancePath: instancePath + "/borderRadius/" + i4, schemaPath: "#/definitions/borderRadius/type", keyword: "type", params: { type: "number" }, message: "must be number" };
786
782
  if (vErrors === null) {
787
783
  vErrors = [err36];
788
784
  }
@@ -830,7 +826,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
830
826
  vErrors.push(err38);
831
827
  }
832
828
  errors++;
833
- validate20.errors = vErrors;
829
+ validate10.errors = vErrors;
834
830
  return false;
835
831
  }
836
832
  else {
@@ -852,24 +848,24 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
852
848
  if (valid0) {
853
849
  var valid21 = true;
854
850
  for (const key1 in data) {
855
- if (pattern4.test(key1)) {
851
+ if (pattern0.test(key1)) {
856
852
  let data14 = data[key1];
857
853
  const _errs60 = errors;
858
854
  if (errors === _errs60) {
859
855
  if ((typeof data14 == "number") && (isFinite(data14))) {
860
856
  if (data14 > 100 || isNaN(data14)) {
861
- validate20.errors = [{ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" }];
857
+ validate10.errors = [{ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" }];
862
858
  return false;
863
859
  }
864
860
  else {
865
861
  if (data14 < 0 || isNaN(data14)) {
866
- validate20.errors = [{ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" }];
862
+ validate10.errors = [{ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" }];
867
863
  return false;
868
864
  }
869
865
  }
870
866
  }
871
867
  else {
872
- validate20.errors = [{ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/type", keyword: "type", params: { type: "number" }, message: "must be number" }];
868
+ validate10.errors = [{ instancePath: instancePath + "/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Probability%24/type", keyword: "type", params: { type: "number" }, message: "must be number" }];
873
869
  return false;
874
870
  }
875
871
  }
@@ -882,7 +878,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
882
878
  if (valid21) {
883
879
  var valid21 = true;
884
880
  for (const key2 in data) {
885
- if (pattern5.test(key2)) {
881
+ if (pattern1.test(key2)) {
886
882
  let data15 = data[key2];
887
883
  const _errs62 = errors;
888
884
  const _errs63 = errors;
@@ -977,7 +973,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
977
973
  for (const key3 in data15) {
978
974
  const _errs72 = errors;
979
975
  if (typeof key3 === "string") {
980
- if (!pattern17.test(key3)) {
976
+ if (!pattern13.test(key3)) {
981
977
  const err44 = { instancePath: instancePath + "/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/patternProperties/%5E%5Ba-z%5D%5Ba-zA-Z0-9%5D*Variant%24/oneOf/2/propertyNames/pattern", keyword: "pattern", params: { pattern: "^[a-z][a-zA-Z0-9]*$" }, message: "must match pattern \"" + "^[a-z][a-zA-Z0-9]*$" + "\"", propertyName: key3 };
982
978
  if (vErrors === null) {
983
979
  vErrors = [err44];
@@ -1069,7 +1065,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1069
1065
  vErrors.push(err49);
1070
1066
  }
1071
1067
  errors++;
1072
- validate20.errors = vErrors;
1068
+ validate10.errors = vErrors;
1073
1069
  return false;
1074
1070
  }
1075
1071
  else {
@@ -1092,7 +1088,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1092
1088
  if (valid21) {
1093
1089
  var valid21 = true;
1094
1090
  for (const key5 in data) {
1095
- if (pattern6.test(key5)) {
1091
+ if (pattern2.test(key5)) {
1096
1092
  let data18 = data[key5];
1097
1093
  const _errs76 = errors;
1098
1094
  const _errs77 = errors;
@@ -1102,8 +1098,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1102
1098
  const _errs79 = errors;
1103
1099
  if (errors === _errs79) {
1104
1100
  if (typeof data18 === "string") {
1105
- if (!pattern19.test(data18)) {
1106
- const err50 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/color/pattern", keyword: "pattern", params: { pattern: "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" }, message: "must match pattern \"" + "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" + "\"" };
1101
+ if (!pattern15.test(data18)) {
1102
+ const err50 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/color/pattern", keyword: "pattern", params: { pattern: "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" }, message: "must match pattern \"" + "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" + "\"" };
1107
1103
  if (vErrors === null) {
1108
1104
  vErrors = [err50];
1109
1105
  }
@@ -1114,7 +1110,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1114
1110
  }
1115
1111
  }
1116
1112
  else {
1117
- const err51 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/color/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1113
+ const err51 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/color/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1118
1114
  if (vErrors === null) {
1119
1115
  vErrors = [err51];
1120
1116
  }
@@ -1151,8 +1147,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1151
1147
  const _errs84 = errors;
1152
1148
  if (errors === _errs84) {
1153
1149
  if (typeof data19 === "string") {
1154
- if (!pattern19.test(data19)) {
1155
- const err53 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i6, schemaPath: "#/$defs/color/pattern", keyword: "pattern", params: { pattern: "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" }, message: "must match pattern \"" + "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" + "\"" };
1150
+ if (!pattern15.test(data19)) {
1151
+ const err53 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i6, schemaPath: "#/definitions/color/pattern", keyword: "pattern", params: { pattern: "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" }, message: "must match pattern \"" + "^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" + "\"" };
1156
1152
  if (vErrors === null) {
1157
1153
  vErrors = [err53];
1158
1154
  }
@@ -1163,7 +1159,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1163
1159
  }
1164
1160
  }
1165
1161
  else {
1166
- const err54 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i6, schemaPath: "#/$defs/color/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1162
+ const err54 = { instancePath: instancePath + "/" + key5.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i6, schemaPath: "#/definitions/color/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1167
1163
  if (vErrors === null) {
1168
1164
  vErrors = [err54];
1169
1165
  }
@@ -1211,7 +1207,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1211
1207
  vErrors.push(err56);
1212
1208
  }
1213
1209
  errors++;
1214
- validate20.errors = vErrors;
1210
+ validate10.errors = vErrors;
1215
1211
  return false;
1216
1212
  }
1217
1213
  else {
@@ -1234,7 +1230,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1234
1230
  if (valid21) {
1235
1231
  var valid21 = true;
1236
1232
  for (const key6 in data) {
1237
- if (pattern7.test(key6)) {
1233
+ if (pattern3.test(key6)) {
1238
1234
  let data20 = data[key6];
1239
1235
  const _errs86 = errors;
1240
1236
  const _errs87 = errors;
@@ -1242,7 +1238,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1242
1238
  let passing7 = null;
1243
1239
  const _errs88 = errors;
1244
1240
  if (typeof data20 !== "string") {
1245
- const err57 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/colorFill/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1241
+ const err57 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/colorFill/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1246
1242
  if (vErrors === null) {
1247
1243
  vErrors = [err57];
1248
1244
  }
@@ -1252,7 +1248,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1252
1248
  errors++;
1253
1249
  }
1254
1250
  if (!(((data20 === "solid") || (data20 === "linear")) || (data20 === "radial"))) {
1255
- const err58 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/colorFill/enum", keyword: "enum", params: { allowedValues: schema44.enum }, message: "must be equal to one of the allowed values" };
1251
+ const err58 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/colorFill/enum", keyword: "enum", params: { allowedValues: schema24.enum }, message: "must be equal to one of the allowed values" };
1256
1252
  if (vErrors === null) {
1257
1253
  vErrors = [err58];
1258
1254
  }
@@ -1286,7 +1282,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1286
1282
  let data21 = data20[i7];
1287
1283
  const _errs93 = errors;
1288
1284
  if (typeof data21 !== "string") {
1289
- const err60 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i7, schemaPath: "#/$defs/colorFill/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1285
+ const err60 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i7, schemaPath: "#/definitions/colorFill/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1290
1286
  if (vErrors === null) {
1291
1287
  vErrors = [err60];
1292
1288
  }
@@ -1296,7 +1292,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1296
1292
  errors++;
1297
1293
  }
1298
1294
  if (!(((data21 === "solid") || (data21 === "linear")) || (data21 === "radial"))) {
1299
- const err61 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i7, schemaPath: "#/$defs/colorFill/enum", keyword: "enum", params: { allowedValues: schema44.enum }, message: "must be equal to one of the allowed values" };
1295
+ const err61 = { instancePath: instancePath + "/" + key6.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i7, schemaPath: "#/definitions/colorFill/enum", keyword: "enum", params: { allowedValues: schema24.enum }, message: "must be equal to one of the allowed values" };
1300
1296
  if (vErrors === null) {
1301
1297
  vErrors = [err61];
1302
1298
  }
@@ -1343,7 +1339,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1343
1339
  vErrors.push(err63);
1344
1340
  }
1345
1341
  errors++;
1346
- validate20.errors = vErrors;
1342
+ validate10.errors = vErrors;
1347
1343
  return false;
1348
1344
  }
1349
1345
  else {
@@ -1366,7 +1362,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1366
1362
  if (valid21) {
1367
1363
  var valid21 = true;
1368
1364
  for (const key7 in data) {
1369
- if (pattern8.test(key7)) {
1365
+ if (pattern4.test(key7)) {
1370
1366
  let data22 = data[key7];
1371
1367
  const _errs96 = errors;
1372
1368
  const _errs97 = errors;
@@ -1375,7 +1371,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1375
1371
  const _errs98 = errors;
1376
1372
  const _errs99 = errors;
1377
1373
  if (!(((typeof data22 == "number") && (!(data22 % 1) && !isNaN(data22))) && (isFinite(data22)))) {
1378
- const err64 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/colorFillStops/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
1374
+ const err64 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/colorFillStops/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
1379
1375
  if (vErrors === null) {
1380
1376
  vErrors = [err64];
1381
1377
  }
@@ -1386,8 +1382,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1386
1382
  }
1387
1383
  if (errors === _errs99) {
1388
1384
  if ((typeof data22 == "number") && (isFinite(data22))) {
1389
- if (data22 < 1 || isNaN(data22)) {
1390
- const err65 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/colorFillStops/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
1385
+ if (data22 < 2 || isNaN(data22)) {
1386
+ const err65 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/colorFillStops/minimum", keyword: "minimum", params: { comparison: ">=", limit: 2 }, message: "must be >= 2" };
1391
1387
  if (vErrors === null) {
1392
1388
  vErrors = [err65];
1393
1389
  }
@@ -1424,7 +1420,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1424
1420
  const _errs103 = errors;
1425
1421
  const _errs104 = errors;
1426
1422
  if (!(((typeof data23 == "number") && (!(data23 % 1) && !isNaN(data23))) && (isFinite(data23)))) {
1427
- const err67 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i8, schemaPath: "#/$defs/colorFillStops/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
1423
+ const err67 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i8, schemaPath: "#/definitions/colorFillStops/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
1428
1424
  if (vErrors === null) {
1429
1425
  vErrors = [err67];
1430
1426
  }
@@ -1435,8 +1431,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1435
1431
  }
1436
1432
  if (errors === _errs104) {
1437
1433
  if ((typeof data23 == "number") && (isFinite(data23))) {
1438
- if (data23 < 1 || isNaN(data23)) {
1439
- const err68 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i8, schemaPath: "#/$defs/colorFillStops/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
1434
+ if (data23 < 2 || isNaN(data23)) {
1435
+ const err68 = { instancePath: instancePath + "/" + key7.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i8, schemaPath: "#/definitions/colorFillStops/minimum", keyword: "minimum", params: { comparison: ">=", limit: 2 }, message: "must be >= 2" };
1440
1436
  if (vErrors === null) {
1441
1437
  vErrors = [err68];
1442
1438
  }
@@ -1485,7 +1481,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1485
1481
  vErrors.push(err70);
1486
1482
  }
1487
1483
  errors++;
1488
- validate20.errors = vErrors;
1484
+ validate10.errors = vErrors;
1489
1485
  return false;
1490
1486
  }
1491
1487
  else {
@@ -1508,7 +1504,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1508
1504
  if (valid21) {
1509
1505
  var valid21 = true;
1510
1506
  for (const key8 in data) {
1511
- if (pattern9.test(key8)) {
1507
+ if (pattern5.test(key8)) {
1512
1508
  let data24 = data[key8];
1513
1509
  const _errs106 = errors;
1514
1510
  const _errs107 = errors;
@@ -1519,7 +1515,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1519
1515
  if (errors === _errs109) {
1520
1516
  if ((typeof data24 == "number") && (isFinite(data24))) {
1521
1517
  if (data24 > 360 || isNaN(data24)) {
1522
- const err71 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1518
+ const err71 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1523
1519
  if (vErrors === null) {
1524
1520
  vErrors = [err71];
1525
1521
  }
@@ -1530,7 +1526,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1530
1526
  }
1531
1527
  else {
1532
1528
  if (data24 < -360 || isNaN(data24)) {
1533
- const err72 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1529
+ const err72 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1534
1530
  if (vErrors === null) {
1535
1531
  vErrors = [err72];
1536
1532
  }
@@ -1542,7 +1538,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1542
1538
  }
1543
1539
  }
1544
1540
  else {
1545
- const err73 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1541
+ const err73 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1546
1542
  if (vErrors === null) {
1547
1543
  vErrors = [err73];
1548
1544
  }
@@ -1580,7 +1576,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1580
1576
  if (errors === _errs114) {
1581
1577
  if ((typeof data25 == "number") && (isFinite(data25))) {
1582
1578
  if (data25 > 360 || isNaN(data25)) {
1583
- const err75 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i9, schemaPath: "#/$defs/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1579
+ const err75 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i9, schemaPath: "#/definitions/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1584
1580
  if (vErrors === null) {
1585
1581
  vErrors = [err75];
1586
1582
  }
@@ -1591,7 +1587,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1591
1587
  }
1592
1588
  else {
1593
1589
  if (data25 < -360 || isNaN(data25)) {
1594
- const err76 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i9, schemaPath: "#/$defs/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1590
+ const err76 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i9, schemaPath: "#/definitions/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1595
1591
  if (vErrors === null) {
1596
1592
  vErrors = [err76];
1597
1593
  }
@@ -1603,7 +1599,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1603
1599
  }
1604
1600
  }
1605
1601
  else {
1606
- const err77 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i9, schemaPath: "#/$defs/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1602
+ const err77 = { instancePath: instancePath + "/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i9, schemaPath: "#/definitions/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1607
1603
  if (vErrors === null) {
1608
1604
  vErrors = [err77];
1609
1605
  }
@@ -1651,7 +1647,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1651
1647
  vErrors.push(err79);
1652
1648
  }
1653
1649
  errors++;
1654
- validate20.errors = vErrors;
1650
+ validate10.errors = vErrors;
1655
1651
  return false;
1656
1652
  }
1657
1653
  else {
@@ -1674,7 +1670,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1674
1670
  if (valid21) {
1675
1671
  var valid21 = true;
1676
1672
  for (const key9 in data) {
1677
- if (pattern10.test(key9)) {
1673
+ if (pattern6.test(key9)) {
1678
1674
  let data26 = data[key9];
1679
1675
  const _errs116 = errors;
1680
1676
  const _errs117 = errors;
@@ -1685,7 +1681,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1685
1681
  if (errors === _errs119) {
1686
1682
  if ((typeof data26 == "number") && (isFinite(data26))) {
1687
1683
  if (data26 > 360 || isNaN(data26)) {
1688
- const err80 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1684
+ const err80 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1689
1685
  if (vErrors === null) {
1690
1686
  vErrors = [err80];
1691
1687
  }
@@ -1696,7 +1692,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1696
1692
  }
1697
1693
  else {
1698
1694
  if (data26 < -360 || isNaN(data26)) {
1699
- const err81 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1695
+ const err81 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1700
1696
  if (vErrors === null) {
1701
1697
  vErrors = [err81];
1702
1698
  }
@@ -1708,7 +1704,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1708
1704
  }
1709
1705
  }
1710
1706
  else {
1711
- const err82 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1707
+ const err82 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1712
1708
  if (vErrors === null) {
1713
1709
  vErrors = [err82];
1714
1710
  }
@@ -1746,7 +1742,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1746
1742
  if (errors === _errs124) {
1747
1743
  if ((typeof data27 == "number") && (isFinite(data27))) {
1748
1744
  if (data27 > 360 || isNaN(data27)) {
1749
- const err84 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i10, schemaPath: "#/$defs/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1745
+ const err84 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i10, schemaPath: "#/definitions/rotate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 360 }, message: "must be <= 360" };
1750
1746
  if (vErrors === null) {
1751
1747
  vErrors = [err84];
1752
1748
  }
@@ -1757,7 +1753,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1757
1753
  }
1758
1754
  else {
1759
1755
  if (data27 < -360 || isNaN(data27)) {
1760
- const err85 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i10, schemaPath: "#/$defs/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1756
+ const err85 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i10, schemaPath: "#/definitions/rotate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -360 }, message: "must be >= -360" };
1761
1757
  if (vErrors === null) {
1762
1758
  vErrors = [err85];
1763
1759
  }
@@ -1769,7 +1765,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1769
1765
  }
1770
1766
  }
1771
1767
  else {
1772
- const err86 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i10, schemaPath: "#/$defs/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1768
+ const err86 = { instancePath: instancePath + "/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i10, schemaPath: "#/definitions/rotate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1773
1769
  if (vErrors === null) {
1774
1770
  vErrors = [err86];
1775
1771
  }
@@ -1817,7 +1813,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1817
1813
  vErrors.push(err88);
1818
1814
  }
1819
1815
  errors++;
1820
- validate20.errors = vErrors;
1816
+ validate10.errors = vErrors;
1821
1817
  return false;
1822
1818
  }
1823
1819
  else {
@@ -1840,7 +1836,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1840
1836
  if (valid21) {
1841
1837
  var valid21 = true;
1842
1838
  for (const key10 in data) {
1843
- if (pattern11.test(key10)) {
1839
+ if (pattern7.test(key10)) {
1844
1840
  let data28 = data[key10];
1845
1841
  const _errs126 = errors;
1846
1842
  const _errs127 = errors;
@@ -1851,7 +1847,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1851
1847
  if (errors === _errs129) {
1852
1848
  if ((typeof data28 == "number") && (isFinite(data28))) {
1853
1849
  if (data28 > 100 || isNaN(data28)) {
1854
- const err89 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
1850
+ const err89 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
1855
1851
  if (vErrors === null) {
1856
1852
  vErrors = [err89];
1857
1853
  }
@@ -1862,7 +1858,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1862
1858
  }
1863
1859
  else {
1864
1860
  if (data28 < -100 || isNaN(data28)) {
1865
- const err90 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
1861
+ const err90 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
1866
1862
  if (vErrors === null) {
1867
1863
  vErrors = [err90];
1868
1864
  }
@@ -1874,7 +1870,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1874
1870
  }
1875
1871
  }
1876
1872
  else {
1877
- const err91 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1873
+ const err91 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1878
1874
  if (vErrors === null) {
1879
1875
  vErrors = [err91];
1880
1876
  }
@@ -1912,7 +1908,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1912
1908
  if (errors === _errs134) {
1913
1909
  if ((typeof data29 == "number") && (isFinite(data29))) {
1914
1910
  if (data29 > 100 || isNaN(data29)) {
1915
- const err93 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i11, schemaPath: "#/$defs/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
1911
+ const err93 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i11, schemaPath: "#/definitions/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
1916
1912
  if (vErrors === null) {
1917
1913
  vErrors = [err93];
1918
1914
  }
@@ -1923,7 +1919,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1923
1919
  }
1924
1920
  else {
1925
1921
  if (data29 < -100 || isNaN(data29)) {
1926
- const err94 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i11, schemaPath: "#/$defs/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
1922
+ const err94 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i11, schemaPath: "#/definitions/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
1927
1923
  if (vErrors === null) {
1928
1924
  vErrors = [err94];
1929
1925
  }
@@ -1935,7 +1931,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1935
1931
  }
1936
1932
  }
1937
1933
  else {
1938
- const err95 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i11, schemaPath: "#/$defs/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1934
+ const err95 = { instancePath: instancePath + "/" + key10.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i11, schemaPath: "#/definitions/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1939
1935
  if (vErrors === null) {
1940
1936
  vErrors = [err95];
1941
1937
  }
@@ -1983,7 +1979,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
1983
1979
  vErrors.push(err97);
1984
1980
  }
1985
1981
  errors++;
1986
- validate20.errors = vErrors;
1982
+ validate10.errors = vErrors;
1987
1983
  return false;
1988
1984
  }
1989
1985
  else {
@@ -2006,7 +2002,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2006
2002
  if (valid21) {
2007
2003
  var valid21 = true;
2008
2004
  for (const key11 in data) {
2009
- if (pattern12.test(key11)) {
2005
+ if (pattern8.test(key11)) {
2010
2006
  let data30 = data[key11];
2011
2007
  const _errs136 = errors;
2012
2008
  const _errs137 = errors;
@@ -2017,7 +2013,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2017
2013
  if (errors === _errs139) {
2018
2014
  if ((typeof data30 == "number") && (isFinite(data30))) {
2019
2015
  if (data30 > 100 || isNaN(data30)) {
2020
- const err98 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
2016
+ const err98 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
2021
2017
  if (vErrors === null) {
2022
2018
  vErrors = [err98];
2023
2019
  }
@@ -2028,7 +2024,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2028
2024
  }
2029
2025
  else {
2030
2026
  if (data30 < -100 || isNaN(data30)) {
2031
- const err99 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
2027
+ const err99 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
2032
2028
  if (vErrors === null) {
2033
2029
  vErrors = [err99];
2034
2030
  }
@@ -2040,7 +2036,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2040
2036
  }
2041
2037
  }
2042
2038
  else {
2043
- const err100 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
2039
+ const err100 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
2044
2040
  if (vErrors === null) {
2045
2041
  vErrors = [err100];
2046
2042
  }
@@ -2078,7 +2074,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2078
2074
  if (errors === _errs144) {
2079
2075
  if ((typeof data31 == "number") && (isFinite(data31))) {
2080
2076
  if (data31 > 100 || isNaN(data31)) {
2081
- const err102 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i12, schemaPath: "#/$defs/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
2077
+ const err102 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i12, schemaPath: "#/definitions/translate/maximum", keyword: "maximum", params: { comparison: "<=", limit: 100 }, message: "must be <= 100" };
2082
2078
  if (vErrors === null) {
2083
2079
  vErrors = [err102];
2084
2080
  }
@@ -2089,7 +2085,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2089
2085
  }
2090
2086
  else {
2091
2087
  if (data31 < -100 || isNaN(data31)) {
2092
- const err103 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i12, schemaPath: "#/$defs/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
2088
+ const err103 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i12, schemaPath: "#/definitions/translate/minimum", keyword: "minimum", params: { comparison: ">=", limit: -100 }, message: "must be >= -100" };
2093
2089
  if (vErrors === null) {
2094
2090
  vErrors = [err103];
2095
2091
  }
@@ -2101,7 +2097,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2101
2097
  }
2102
2098
  }
2103
2099
  else {
2104
- const err104 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i12, schemaPath: "#/$defs/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
2100
+ const err104 = { instancePath: instancePath + "/" + key11.replace(/~/g, "~0").replace(/\//g, "~1") + "/" + i12, schemaPath: "#/definitions/translate/type", keyword: "type", params: { type: "number" }, message: "must be number" };
2105
2101
  if (vErrors === null) {
2106
2102
  vErrors = [err104];
2107
2103
  }
@@ -2149,7 +2145,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2149
2145
  vErrors.push(err106);
2150
2146
  }
2151
2147
  errors++;
2152
- validate20.errors = vErrors;
2148
+ validate10.errors = vErrors;
2153
2149
  return false;
2154
2150
  }
2155
2151
  else {
@@ -2189,15 +2185,14 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
2189
2185
  }
2190
2186
  }
2191
2187
  else {
2192
- validate20.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
2188
+ validate10.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
2193
2189
  return false;
2194
2190
  }
2195
- } validate20.errors = vErrors; return errors === 0; }
2196
- validate20.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
2191
+ } validate10.errors = vErrors; return errors === 0; }
2197
2192
  export class OptionsValidator {
2198
2193
  static validate(data) {
2199
- if (!validate20(data)) {
2200
- throw new OptionsValidationError(validate20.errors || []);
2194
+ if (!validate10(data)) {
2195
+ throw new OptionsValidationError(validate10.errors || []);
2201
2196
  }
2202
2197
  }
2203
2198
  }