@akashnetwork/chain-sdk 1.0.0-alpha.28 → 1.0.0-alpha.29

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.
@@ -53,274 +53,423 @@ var require_ucs2length = __commonJS({
53
53
  });
54
54
  var validate = validate11;
55
55
  var stdin_default = validate11;
56
- var schema12 = { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Schema for Akash Stack Definition Language (SDL) YAML input files.\n\nNote: This schema validates structure only. Semantic validations (cross-references,\nunused endpoints, profile references, etc.) are performed at runtime by the Go parser.\nSee README.md for details.\n", "definitions": { "stringArrayOrNull": { "description": "String array or null value (used for command args and env vars)", "oneOf": [{ "items": { "type": "string" }, "type": "array" }, { "type": "null" }] }, "portNumber": { "description": "Valid TCP/UDP port number (1-65535)", "type": "integer", "minimum": 1, "maximum": 65535 }, "httpErrorCode": { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" }, "priceCoin": { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "pattern": "^(uakt|uact|ibc/.*)$", "type": "string" } }, "required": ["denom", "amount"], "type": "object" }, "storageAttributesValidation": { "description": "Storage attributes validation:\n1. RAM class must not be persistent\n2. Non-RAM classes (beta1, beta2, beta3, default) require persistent=true\n", "additionalProperties": false, "properties": { "class": { "type": "string" }, "persistent": { "oneOf": [{ "type": "boolean" }, { "type": "string" }] } }, "not": { "properties": { "class": { "const": "ram" }, "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["class", "persistent"] }, "type": "object" }, "storageVolume": { "description": "Storage volume definition with size and optional attributes", "additionalProperties": false, "properties": { "attributes": { "$ref": "#/definitions/storageAttributesValidation" }, "name": { "type": "string" }, "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "absolutePath": { "description": "Absolute filesystem path starting with /", "type": "string", "minLength": 1, "pattern": "^/" }, "exposeToWithIpEnforcesGlobal": { "description": "Expose to with IP enforces global", "if": { "properties": { "ip": { "type": "string", "minLength": 1 } }, "required": ["ip"] }, "then": { "properties": { "global": { "const": true } }, "required": ["global"] } } }, "properties": { "deployment": { "additionalProperties": { "additionalProperties": { "additionalProperties": false, "properties": { "count": { "minimum": 1, "type": "integer" }, "profile": { "type": "string" } }, "required": ["profile", "count"], "type": "object" }, "type": "object" }, "type": "object" }, "endpoints": { "additionalProperties": false, "patternProperties": { "^[a-z]+[-_0-9a-z]+$": { "additionalProperties": false, "properties": { "kind": { "enum": ["ip"], "type": "string" } }, "required": ["kind"], "type": "object" } }, "type": "object" }, "include": { "description": "Optional list of files to include", "items": { "type": "string" }, "type": "array" }, "profiles": { "additionalProperties": false, "properties": { "compute": { "additionalProperties": { "additionalProperties": false, "properties": { "resources": { "additionalProperties": false, "properties": { "cpu": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "units": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "not": { "pattern": "^0+(\\.0+)?m?$" } }, { "type": "number", "exclusiveMinimum": 0 }] } }, "required": ["units"], "type": "object" }, "gpu": { "description": "GPU resource specification.\n- units defaults to 0 if omitted\n- Bidirectional validation: units > 0 requires attributes, and attributes require units > 0\n", "additionalProperties": false, "properties": { "attributes": { "additionalProperties": false, "properties": { "vendor": { "additionalProperties": false, "minProperties": 1, "properties": { "nvidia": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "interface": { "enum": ["pcie", "sxm"], "type": "string" }, "model": { "type": "string" }, "ram": { "type": "string" } }, "type": "object" } }, { "type": "null" }] } }, "type": "object" } }, "type": "object" }, "units": { "oneOf": [{ "type": "string" }, { "type": "number" }] } }, "required": ["units"], "type": "object" }, "memory": { "additionalProperties": false, "properties": { "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "storage": { "oneOf": [{ "$ref": "#/definitions/storageVolume" }, { "items": { "$ref": "#/definitions/storageVolume" }, "type": "array" }] } }, "required": ["cpu", "memory", "storage"], "type": "object" } }, "required": ["resources"], "type": "object" }, "type": "object" }, "placement": { "additionalProperties": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "pricing": { "additionalProperties": { "$ref": "#/definitions/priceCoin" }, "type": "object" }, "signedBy": { "additionalProperties": false, "properties": { "allOf": { "items": { "type": "string" }, "type": "array" }, "anyOf": { "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": ["pricing"], "type": "object" }, "type": "object" } }, "required": ["compute", "placement"], "type": "object" }, "services": { "additionalProperties": { "properties": { "args": { "$ref": "#/definitions/stringArrayOrNull" }, "command": { "$ref": "#/definitions/stringArrayOrNull" }, "credentials": { "additionalProperties": false, "properties": { "email": { "type": "string", "minLength": 5 }, "host": { "type": "string", "minLength": 1 }, "password": { "type": "string", "minLength": 6 }, "username": { "type": "string", "minLength": 1 } }, "required": ["host", "username", "password"], "type": "object" }, "dependencies": { "items": { "additionalProperties": false, "properties": { "service": { "type": "string" } }, "type": "object" }, "type": "array" }, "env": { "$ref": "#/definitions/stringArrayOrNull" }, "expose": { "items": { "additionalProperties": false, "properties": { "accept": { "items": { "type": "string" }, "type": "array" }, "as": { "$ref": "#/definitions/portNumber" }, "http_options": { "additionalProperties": false, "properties": { "max_body_size": { "type": "integer", "minimum": 0, "maximum": 104857600, "description": "Maximum body size in bytes (max 100 MB)" }, "next_cases": { "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "contains": { "const": "off" }, "maxItems": 1, "minItems": 1 }, { "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "not": { "contains": { "const": "off" } } }] }, "next_timeout": { "type": "integer", "minimum": 0 }, "next_tries": { "type": "integer", "minimum": 0 }, "read_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Read timeout in milliseconds (max 60 seconds)" }, "send_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Send timeout in milliseconds (max 60 seconds)" } }, "type": "object" }, "port": { "$ref": "#/definitions/portNumber" }, "proto": { "enum": ["TCP", "UDP", "tcp", "udp"], "type": "string" }, "to": { "items": { "additionalProperties": false, "properties": { "global": { "type": "boolean" }, "ip": { "minLength": 1, "type": "string" }, "service": { "type": "string" } }, "allOf": [{ "$ref": "#/definitions/exposeToWithIpEnforcesGlobal" }], "type": "object" }, "type": "array" } }, "required": ["port"], "type": "object" }, "type": "array" }, "image": { "type": "string", "minLength": 1 }, "params": { "additionalProperties": false, "properties": { "storage": { "additionalProperties": { "additionalProperties": false, "properties": { "mount": { "$ref": "#/definitions/absolutePath" }, "readOnly": { "type": "boolean" } }, "type": "object" }, "type": "object" }, "permissions": { "additionalProperties": false, "properties": { "read": { "items": { "type": "string", "enum": ["deployment", "logs"] }, "type": "array" } }, "type": "object" } }, "type": "object" } }, "required": ["image"], "type": "object", "additionalProperties": false }, "type": "object" }, "version": { "description": "SDL version", "enum": ["2.0", "2.1"], "type": "string" } }, "required": ["version", "services", "profiles", "deployment"], "title": "Akash SDL Input Schema", "type": "object" };
57
- var schema20 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
56
+ var schema12 = { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Schema for Akash Stack Definition Language (SDL) YAML input files.\n\nNote: This schema validates structure only. Semantic validations (cross-references,\nunused endpoints, profile references, etc.) are performed at runtime by the Go parser.\nSee README.md for details.\n", "definitions": { "stringArrayOrNull": { "description": "String array or null value (used for command args and env vars)", "oneOf": [{ "items": { "type": "string" }, "type": "array" }, { "type": "null" }] }, "portNumber": { "description": "Valid TCP/UDP port number (1-65535)", "type": "integer", "minimum": 1, "maximum": 65535 }, "httpErrorCode": { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" }, "priceCoin": { "description": "Price definition with amount and denomination", "additionalProperties": false, "properties": { "amount": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?$", "description": "Positive number as string" }, { "type": "number", "minimum": 0, "description": "Positive number" }] }, "denom": { "pattern": "^(uakt|uact|ibc/.*)$", "type": "string" } }, "required": ["denom", "amount"], "type": "object" }, "storageRamClassMustNotBePersistent": { "description": "RAM storage class must not have persistent=true", "not": { "properties": { "class": { "const": "ram" }, "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["class", "persistent"] } }, "storageNonRamClassRequiresPersistent": { "description": "Non-RAM storage classes (beta1, beta2, beta3, default) require persistent=true", "if": { "properties": { "class": { "enum": ["beta1", "beta2", "beta3", "default"] } }, "required": ["class"] }, "then": { "properties": { "persistent": { "oneOf": [{ "const": true }, { "const": "true" }] } }, "required": ["persistent"] } }, "storageAttributesValidation": { "description": "Storage attributes validation:\n1. RAM class must not be persistent\n2. Non-RAM classes (beta1, beta2, beta3, default) require persistent=true\n", "additionalProperties": false, "properties": { "class": { "type": "string" }, "persistent": { "oneOf": [{ "type": "boolean" }, { "type": "string" }] } }, "allOf": [{ "$ref": "#/definitions/storageRamClassMustNotBePersistent" }, { "$ref": "#/definitions/storageNonRamClassRequiresPersistent" }], "required": ["class", "persistent"], "type": "object" }, "storageVolume": { "description": "Storage volume definition with size and optional attributes", "additionalProperties": false, "properties": { "attributes": { "$ref": "#/definitions/storageAttributesValidation" }, "name": { "type": "string" }, "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "absolutePath": { "description": "Absolute filesystem path starting with /", "type": "string", "minLength": 1, "pattern": "^/" }, "gpuUnitsGt0RequiresAttributes": { "description": "GPU units > 0 requires attributes to be present", "if": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] }, "then": { "required": ["attributes"] } }, "gpuAttributesRequireUnitsGt0": { "description": "GPU attributes present requires units > 0", "if": { "required": ["attributes"] }, "then": { "properties": { "units": { "oneOf": [{ "type": "number", "exclusiveMinimum": 0 }, { "type": "string", "not": { "pattern": "^0+(\\.0+)?$" } }] } }, "required": ["units"] } }, "exposeToWithIpEnforcesGlobal": { "description": "Expose to with IP enforces global", "if": { "properties": { "ip": { "type": "string", "minLength": 1 } }, "required": ["ip"] }, "then": { "properties": { "global": { "const": true } }, "required": ["global"] } } }, "properties": { "deployment": { "additionalProperties": { "additionalProperties": { "additionalProperties": false, "properties": { "count": { "minimum": 1, "type": "integer" }, "profile": { "type": "string" } }, "required": ["profile", "count"], "type": "object" }, "type": "object" }, "type": "object" }, "endpoints": { "additionalProperties": false, "patternProperties": { "^[a-z]+[-_0-9a-z]+$": { "additionalProperties": false, "properties": { "kind": { "enum": ["ip"], "type": "string" } }, "required": ["kind"], "type": "object" } }, "type": "object" }, "include": { "description": "Optional list of files to include", "items": { "type": "string" }, "type": "array" }, "profiles": { "additionalProperties": false, "properties": { "compute": { "additionalProperties": { "additionalProperties": false, "properties": { "resources": { "additionalProperties": false, "properties": { "cpu": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "units": { "oneOf": [{ "type": "string", "pattern": "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "not": { "pattern": "^0+(\\.0+)?m?$" } }, { "type": "number", "exclusiveMinimum": 0 }] } }, "required": ["units"], "type": "object" }, "gpu": { "description": "GPU resource specification.\n- units defaults to 0 if omitted\n- Bidirectional validation: units > 0 requires attributes, and attributes require units > 0\n", "additionalProperties": false, "properties": { "attributes": { "additionalProperties": false, "properties": { "vendor": { "additionalProperties": false, "minProperties": 1, "properties": { "nvidia": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "interface": { "enum": ["pcie", "sxm"], "type": "string" }, "model": { "type": "string" }, "ram": { "type": "string" } }, "type": "object" } }, { "type": "null" }] } }, "type": "object" } }, "type": "object" }, "units": { "oneOf": [{ "type": "string" }, { "type": "number" }] } }, "allOf": [{ "$ref": "#/definitions/gpuUnitsGt0RequiresAttributes" }, { "$ref": "#/definitions/gpuAttributesRequireUnitsGt0" }], "type": "object" }, "memory": { "additionalProperties": false, "properties": { "size": { "type": "string" } }, "required": ["size"], "type": "object" }, "storage": { "oneOf": [{ "$ref": "#/definitions/storageVolume" }, { "items": { "$ref": "#/definitions/storageVolume" }, "type": "array" }] } }, "required": ["cpu", "memory", "storage"], "type": "object" } }, "required": ["resources"], "type": "object" }, "type": "object" }, "placement": { "additionalProperties": { "additionalProperties": false, "properties": { "attributes": { "type": "object" }, "pricing": { "additionalProperties": { "$ref": "#/definitions/priceCoin" }, "type": "object" }, "signedBy": { "additionalProperties": false, "properties": { "allOf": { "items": { "type": "string" }, "type": "array" }, "anyOf": { "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": ["pricing"], "type": "object" }, "type": "object" } }, "required": ["compute", "placement"], "type": "object" }, "services": { "additionalProperties": { "properties": { "args": { "$ref": "#/definitions/stringArrayOrNull" }, "command": { "$ref": "#/definitions/stringArrayOrNull" }, "credentials": { "additionalProperties": false, "properties": { "email": { "type": "string", "minLength": 5 }, "host": { "type": "string", "minLength": 1 }, "password": { "type": "string", "minLength": 6 }, "username": { "type": "string", "minLength": 1 } }, "required": ["host", "username", "password"], "type": "object" }, "dependencies": { "items": { "additionalProperties": false, "properties": { "service": { "type": "string" } }, "type": "object" }, "type": "array" }, "env": { "$ref": "#/definitions/stringArrayOrNull" }, "expose": { "oneOf": [{ "type": "array", "items": { "additionalProperties": false, "properties": { "accept": { "items": { "type": "string" }, "type": "array" }, "as": { "$ref": "#/definitions/portNumber" }, "http_options": { "additionalProperties": false, "properties": { "max_body_size": { "type": "integer", "minimum": 0, "maximum": 104857600, "description": "Maximum body size in bytes (max 100 MB)" }, "next_cases": { "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "contains": { "const": "off" }, "maxItems": 1, "minItems": 1 }, { "type": "array", "items": { "$ref": "#/definitions/httpErrorCode" }, "not": { "contains": { "const": "off" } } }] }, "next_timeout": { "type": "integer", "minimum": 0 }, "next_tries": { "type": "integer", "minimum": 0 }, "read_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Read timeout in milliseconds (max 60 seconds)" }, "send_timeout": { "type": "integer", "minimum": 0, "maximum": 6e4, "description": "Send timeout in milliseconds (max 60 seconds)" } }, "type": "object" }, "port": { "$ref": "#/definitions/portNumber" }, "proto": { "enum": ["TCP", "UDP", "tcp", "udp"], "type": "string" }, "to": { "items": { "additionalProperties": false, "properties": { "global": { "type": "boolean" }, "ip": { "minLength": 1, "type": "string" }, "service": { "type": "string" } }, "allOf": [{ "$ref": "#/definitions/exposeToWithIpEnforcesGlobal" }], "type": "object" }, "type": "array" } }, "required": ["port"], "type": "object" } }, { "type": "null" }] }, "image": { "type": "string", "minLength": 1 }, "params": { "additionalProperties": false, "properties": { "storage": { "additionalProperties": { "additionalProperties": false, "properties": { "mount": { "$ref": "#/definitions/absolutePath" }, "readOnly": { "type": "boolean" } }, "type": "object" }, "type": "object" }, "permissions": { "additionalProperties": false, "properties": { "read": { "items": { "type": "string", "enum": ["deployment", "logs"] }, "type": "array" } }, "type": "object" } }, "type": "object" } }, "required": ["image"], "type": "object", "additionalProperties": false }, "type": "object" }, "version": { "description": "SDL version", "enum": ["2.0", "2.1"], "type": "string" } }, "required": ["version", "services", "profiles", "deployment"], "title": "Akash SDL Input Schema", "type": "object" };
57
+ var schema24 = { "description": "HTTP error codes for proxy retry logic", "enum": ["error", "timeout", "500", "502", "503", "504", "403", "404", "429", "off"], "type": "string" };
58
58
  var pattern2 = new RegExp("^[a-z]+[-_0-9a-z]+$", "u");
59
59
  var pattern4 = new RegExp("^0+(\\.0+)?m?$", "u");
60
60
  var pattern5 = new RegExp("^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$", "u");
61
- var pattern6 = new RegExp("^[0-9]+(\\.[0-9]+)?$", "u");
62
- var pattern7 = new RegExp("^(uakt|uact|ibc/.*)$", "u");
63
- var pattern8 = new RegExp("^/", "u");
64
- function validate12(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
61
+ var pattern6 = new RegExp("^0+(\\.0+)?$", "u");
62
+ var pattern8 = new RegExp("^[0-9]+(\\.[0-9]+)?$", "u");
63
+ var pattern9 = new RegExp("^(uakt|uact|ibc/.*)$", "u");
64
+ var pattern10 = new RegExp("^/", "u");
65
+ function validate13(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
65
66
  let vErrors = null;
66
67
  let errors = 0;
68
+ const _errs3 = errors;
69
+ const _errs4 = errors;
67
70
  if (data && typeof data == "object" && !Array.isArray(data)) {
68
- if (data.size === void 0) {
69
- const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "size" }, message: "must have required property 'size'" };
71
+ let missing0;
72
+ if (data.class === void 0 && (missing0 = "class") || data.persistent === void 0 && (missing0 = "persistent")) {
73
+ const err0 = {};
70
74
  if (vErrors === null) {
71
75
  vErrors = [err0];
72
76
  } else {
73
77
  vErrors.push(err0);
74
78
  }
75
79
  errors++;
76
- }
77
- for (const key0 in data) {
78
- if (!(key0 === "attributes" || key0 === "name" || key0 === "size")) {
79
- const err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
80
- if (vErrors === null) {
81
- vErrors = [err1];
82
- } else {
83
- vErrors.push(err1);
84
- }
85
- errors++;
86
- }
87
- }
88
- if (data.attributes !== void 0) {
89
- let data0 = data.attributes;
90
- const _errs5 = errors;
91
- const _errs6 = errors;
92
- if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
93
- let missing0;
94
- if (data0.class === void 0 && (missing0 = "class") || data0.persistent === void 0 && (missing0 = "persistent")) {
95
- const err2 = {};
80
+ } else {
81
+ if (data.class !== void 0) {
82
+ const _errs5 = errors;
83
+ if ("ram" !== data.class) {
84
+ const err1 = {};
96
85
  if (vErrors === null) {
97
- vErrors = [err2];
86
+ vErrors = [err1];
98
87
  } else {
99
- vErrors.push(err2);
88
+ vErrors.push(err1);
100
89
  }
101
90
  errors++;
102
- } else {
103
- if (data0.class !== void 0) {
104
- const _errs7 = errors;
105
- if ("ram" !== data0.class) {
106
- const err3 = {};
107
- if (vErrors === null) {
108
- vErrors = [err3];
109
- } else {
110
- vErrors.push(err3);
111
- }
112
- errors++;
113
- }
114
- var valid3 = _errs7 === errors;
115
- } else {
116
- var valid3 = true;
117
- }
118
- if (valid3) {
119
- if (data0.persistent !== void 0) {
120
- let data2 = data0.persistent;
121
- const _errs8 = errors;
122
- const _errs9 = errors;
123
- let valid4 = false;
124
- let passing0 = null;
125
- const _errs10 = errors;
126
- if (true !== data2) {
127
- const err4 = {};
128
- if (vErrors === null) {
129
- vErrors = [err4];
130
- } else {
131
- vErrors.push(err4);
132
- }
133
- errors++;
134
- }
135
- var _valid0 = _errs10 === errors;
136
- if (_valid0) {
137
- valid4 = true;
138
- passing0 = 0;
139
- }
140
- const _errs11 = errors;
141
- if ("true" !== data2) {
142
- const err5 = {};
143
- if (vErrors === null) {
144
- vErrors = [err5];
145
- } else {
146
- vErrors.push(err5);
147
- }
148
- errors++;
149
- }
150
- var _valid0 = _errs11 === errors;
151
- if (_valid0 && valid4) {
152
- valid4 = false;
153
- passing0 = [passing0, 1];
154
- } else {
155
- if (_valid0) {
156
- valid4 = true;
157
- passing0 = 1;
158
- }
159
- }
160
- if (!valid4) {
161
- const err6 = {};
162
- if (vErrors === null) {
163
- vErrors = [err6];
164
- } else {
165
- vErrors.push(err6);
166
- }
167
- errors++;
168
- } else {
169
- errors = _errs9;
170
- if (vErrors !== null) {
171
- if (_errs9) {
172
- vErrors.length = _errs9;
173
- } else {
174
- vErrors = null;
175
- }
176
- }
177
- }
178
- var valid3 = _errs8 === errors;
179
- } else {
180
- var valid3 = true;
181
- }
182
- }
183
91
  }
184
- }
185
- var valid2 = _errs6 === errors;
186
- if (valid2) {
187
- const err7 = { instancePath: instancePath + "/attributes", schemaPath: "#/definitions/storageAttributesValidation/not", keyword: "not", params: {}, message: "must NOT be valid" };
188
- if (vErrors === null) {
189
- vErrors = [err7];
190
- } else {
191
- vErrors.push(err7);
192
- }
193
- errors++;
92
+ var valid3 = _errs5 === errors;
194
93
  } else {
195
- errors = _errs5;
196
- if (vErrors !== null) {
197
- if (_errs5) {
198
- vErrors.length = _errs5;
199
- } else {
200
- vErrors = null;
201
- }
202
- }
94
+ var valid3 = true;
203
95
  }
204
- if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
205
- for (const key1 in data0) {
206
- if (!(key1 === "class" || key1 === "persistent")) {
207
- const err8 = { instancePath: instancePath + "/attributes", schemaPath: "#/definitions/storageAttributesValidation/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
208
- if (vErrors === null) {
209
- vErrors = [err8];
210
- } else {
211
- vErrors.push(err8);
212
- }
213
- errors++;
214
- }
215
- }
216
- if (data0.class !== void 0) {
217
- if (typeof data0.class !== "string") {
218
- const err9 = { instancePath: instancePath + "/attributes/class", schemaPath: "#/definitions/storageAttributesValidation/properties/class/type", keyword: "type", params: { type: "string" }, message: "must be string" };
219
- if (vErrors === null) {
220
- vErrors = [err9];
221
- } else {
222
- vErrors.push(err9);
223
- }
224
- errors++;
225
- }
226
- }
227
- if (data0.persistent !== void 0) {
228
- let data4 = data0.persistent;
229
- const _errs16 = errors;
230
- let valid6 = false;
231
- let passing1 = null;
232
- const _errs17 = errors;
233
- if (typeof data4 !== "boolean") {
234
- const err10 = { instancePath: instancePath + "/attributes/persistent", schemaPath: "#/definitions/storageAttributesValidation/properties/persistent/oneOf/0/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
96
+ if (valid3) {
97
+ if (data.persistent !== void 0) {
98
+ let data1 = data.persistent;
99
+ const _errs6 = errors;
100
+ const _errs7 = errors;
101
+ let valid4 = false;
102
+ let passing0 = null;
103
+ const _errs8 = errors;
104
+ if (true !== data1) {
105
+ const err2 = {};
235
106
  if (vErrors === null) {
236
- vErrors = [err10];
107
+ vErrors = [err2];
237
108
  } else {
238
- vErrors.push(err10);
109
+ vErrors.push(err2);
239
110
  }
240
111
  errors++;
241
112
  }
242
- var _valid1 = _errs17 === errors;
243
- if (_valid1) {
244
- valid6 = true;
245
- passing1 = 0;
113
+ var _valid0 = _errs8 === errors;
114
+ if (_valid0) {
115
+ valid4 = true;
116
+ passing0 = 0;
246
117
  }
247
- const _errs19 = errors;
248
- if (typeof data4 !== "string") {
249
- const err11 = { instancePath: instancePath + "/attributes/persistent", schemaPath: "#/definitions/storageAttributesValidation/properties/persistent/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
118
+ const _errs9 = errors;
119
+ if ("true" !== data1) {
120
+ const err3 = {};
250
121
  if (vErrors === null) {
251
- vErrors = [err11];
122
+ vErrors = [err3];
252
123
  } else {
253
- vErrors.push(err11);
124
+ vErrors.push(err3);
254
125
  }
255
126
  errors++;
256
127
  }
257
- var _valid1 = _errs19 === errors;
258
- if (_valid1 && valid6) {
259
- valid6 = false;
260
- passing1 = [passing1, 1];
128
+ var _valid0 = _errs9 === errors;
129
+ if (_valid0 && valid4) {
130
+ valid4 = false;
131
+ passing0 = [passing0, 1];
261
132
  } else {
262
- if (_valid1) {
263
- valid6 = true;
264
- passing1 = 1;
133
+ if (_valid0) {
134
+ valid4 = true;
135
+ passing0 = 1;
265
136
  }
266
137
  }
267
- if (!valid6) {
268
- const err12 = { instancePath: instancePath + "/attributes/persistent", schemaPath: "#/definitions/storageAttributesValidation/properties/persistent/oneOf", keyword: "oneOf", params: { passingSchemas: passing1 }, message: "must match exactly one schema in oneOf" };
138
+ if (!valid4) {
139
+ const err4 = {};
269
140
  if (vErrors === null) {
270
- vErrors = [err12];
141
+ vErrors = [err4];
271
142
  } else {
272
- vErrors.push(err12);
143
+ vErrors.push(err4);
273
144
  }
274
145
  errors++;
275
146
  } else {
276
- errors = _errs16;
147
+ errors = _errs7;
277
148
  if (vErrors !== null) {
278
- if (_errs16) {
279
- vErrors.length = _errs16;
149
+ if (_errs7) {
150
+ vErrors.length = _errs7;
280
151
  } else {
281
152
  vErrors = null;
282
153
  }
283
154
  }
284
155
  }
156
+ var valid3 = _errs6 === errors;
157
+ } else {
158
+ var valid3 = true;
159
+ }
160
+ }
161
+ }
162
+ }
163
+ var valid2 = _errs4 === errors;
164
+ if (valid2) {
165
+ const err5 = { instancePath, schemaPath: "#/definitions/storageRamClassMustNotBePersistent/not", keyword: "not", params: {}, message: "must NOT be valid" };
166
+ if (vErrors === null) {
167
+ vErrors = [err5];
168
+ } else {
169
+ vErrors.push(err5);
170
+ }
171
+ errors++;
172
+ } else {
173
+ errors = _errs3;
174
+ if (vErrors !== null) {
175
+ if (_errs3) {
176
+ vErrors.length = _errs3;
177
+ } else {
178
+ vErrors = null;
179
+ }
180
+ }
181
+ }
182
+ const _errs12 = errors;
183
+ let valid6 = true;
184
+ const _errs13 = errors;
185
+ if (data && typeof data == "object" && !Array.isArray(data)) {
186
+ let missing1;
187
+ if (data.class === void 0 && (missing1 = "class")) {
188
+ const err6 = {};
189
+ if (vErrors === null) {
190
+ vErrors = [err6];
191
+ } else {
192
+ vErrors.push(err6);
193
+ }
194
+ errors++;
195
+ } else {
196
+ if (data.class !== void 0) {
197
+ let data2 = data.class;
198
+ if (!(data2 === "beta1" || data2 === "beta2" || data2 === "beta3" || data2 === "default")) {
199
+ const err7 = {};
200
+ if (vErrors === null) {
201
+ vErrors = [err7];
202
+ } else {
203
+ vErrors.push(err7);
204
+ }
205
+ errors++;
206
+ }
207
+ }
208
+ }
209
+ }
210
+ var _valid1 = _errs13 === errors;
211
+ errors = _errs12;
212
+ if (vErrors !== null) {
213
+ if (_errs12) {
214
+ vErrors.length = _errs12;
215
+ } else {
216
+ vErrors = null;
217
+ }
218
+ }
219
+ if (_valid1) {
220
+ const _errs15 = errors;
221
+ if (data && typeof data == "object" && !Array.isArray(data)) {
222
+ if (data.persistent === void 0) {
223
+ const err8 = { instancePath, schemaPath: "#/definitions/storageNonRamClassRequiresPersistent/then/required", keyword: "required", params: { missingProperty: "persistent" }, message: "must have required property 'persistent'" };
224
+ if (vErrors === null) {
225
+ vErrors = [err8];
226
+ } else {
227
+ vErrors.push(err8);
228
+ }
229
+ errors++;
230
+ }
231
+ if (data.persistent !== void 0) {
232
+ let data3 = data.persistent;
233
+ const _errs17 = errors;
234
+ let valid9 = false;
235
+ let passing1 = null;
236
+ const _errs18 = errors;
237
+ if (true !== data3) {
238
+ const err9 = { instancePath: instancePath + "/persistent", schemaPath: "#/definitions/storageNonRamClassRequiresPersistent/then/properties/persistent/oneOf/0/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
239
+ if (vErrors === null) {
240
+ vErrors = [err9];
241
+ } else {
242
+ vErrors.push(err9);
243
+ }
244
+ errors++;
245
+ }
246
+ var _valid2 = _errs18 === errors;
247
+ if (_valid2) {
248
+ valid9 = true;
249
+ passing1 = 0;
250
+ }
251
+ const _errs19 = errors;
252
+ if ("true" !== data3) {
253
+ const err10 = { instancePath: instancePath + "/persistent", schemaPath: "#/definitions/storageNonRamClassRequiresPersistent/then/properties/persistent/oneOf/1/const", keyword: "const", params: { allowedValue: "true" }, message: "must be equal to constant" };
254
+ if (vErrors === null) {
255
+ vErrors = [err10];
256
+ } else {
257
+ vErrors.push(err10);
258
+ }
259
+ errors++;
260
+ }
261
+ var _valid2 = _errs19 === errors;
262
+ if (_valid2 && valid9) {
263
+ valid9 = false;
264
+ passing1 = [passing1, 1];
265
+ } else {
266
+ if (_valid2) {
267
+ valid9 = true;
268
+ passing1 = 1;
269
+ }
270
+ }
271
+ if (!valid9) {
272
+ const err11 = { instancePath: instancePath + "/persistent", schemaPath: "#/definitions/storageNonRamClassRequiresPersistent/then/properties/persistent/oneOf", keyword: "oneOf", params: { passingSchemas: passing1 }, message: "must match exactly one schema in oneOf" };
273
+ if (vErrors === null) {
274
+ vErrors = [err11];
275
+ } else {
276
+ vErrors.push(err11);
277
+ }
278
+ errors++;
279
+ } else {
280
+ errors = _errs17;
281
+ if (vErrors !== null) {
282
+ if (_errs17) {
283
+ vErrors.length = _errs17;
284
+ } else {
285
+ vErrors = null;
286
+ }
287
+ }
288
+ }
289
+ }
290
+ }
291
+ var _valid1 = _errs15 === errors;
292
+ valid6 = _valid1;
293
+ }
294
+ if (!valid6) {
295
+ const err12 = { instancePath, schemaPath: "#/definitions/storageNonRamClassRequiresPersistent/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
296
+ if (vErrors === null) {
297
+ vErrors = [err12];
298
+ } else {
299
+ vErrors.push(err12);
300
+ }
301
+ errors++;
302
+ }
303
+ if (data && typeof data == "object" && !Array.isArray(data)) {
304
+ if (data.class === void 0) {
305
+ const err13 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "class" }, message: "must have required property 'class'" };
306
+ if (vErrors === null) {
307
+ vErrors = [err13];
308
+ } else {
309
+ vErrors.push(err13);
310
+ }
311
+ errors++;
312
+ }
313
+ if (data.persistent === void 0) {
314
+ const err14 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "persistent" }, message: "must have required property 'persistent'" };
315
+ if (vErrors === null) {
316
+ vErrors = [err14];
317
+ } else {
318
+ vErrors.push(err14);
319
+ }
320
+ errors++;
321
+ }
322
+ for (const key0 in data) {
323
+ if (!(key0 === "class" || key0 === "persistent")) {
324
+ const err15 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
325
+ if (vErrors === null) {
326
+ vErrors = [err15];
327
+ } else {
328
+ vErrors.push(err15);
329
+ }
330
+ errors++;
331
+ }
332
+ }
333
+ if (data.class !== void 0) {
334
+ if (typeof data.class !== "string") {
335
+ const err16 = { instancePath: instancePath + "/class", schemaPath: "#/properties/class/type", keyword: "type", params: { type: "string" }, message: "must be string" };
336
+ if (vErrors === null) {
337
+ vErrors = [err16];
338
+ } else {
339
+ vErrors.push(err16);
285
340
  }
341
+ errors++;
342
+ }
343
+ }
344
+ if (data.persistent !== void 0) {
345
+ let data5 = data.persistent;
346
+ const _errs24 = errors;
347
+ let valid11 = false;
348
+ let passing2 = null;
349
+ const _errs25 = errors;
350
+ if (typeof data5 !== "boolean") {
351
+ const err17 = { instancePath: instancePath + "/persistent", schemaPath: "#/properties/persistent/oneOf/0/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
352
+ if (vErrors === null) {
353
+ vErrors = [err17];
354
+ } else {
355
+ vErrors.push(err17);
356
+ }
357
+ errors++;
358
+ }
359
+ var _valid3 = _errs25 === errors;
360
+ if (_valid3) {
361
+ valid11 = true;
362
+ passing2 = 0;
363
+ }
364
+ const _errs27 = errors;
365
+ if (typeof data5 !== "string") {
366
+ const err18 = { instancePath: instancePath + "/persistent", schemaPath: "#/properties/persistent/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
367
+ if (vErrors === null) {
368
+ vErrors = [err18];
369
+ } else {
370
+ vErrors.push(err18);
371
+ }
372
+ errors++;
373
+ }
374
+ var _valid3 = _errs27 === errors;
375
+ if (_valid3 && valid11) {
376
+ valid11 = false;
377
+ passing2 = [passing2, 1];
286
378
  } else {
287
- const err13 = { instancePath: instancePath + "/attributes", schemaPath: "#/definitions/storageAttributesValidation/type", keyword: "type", params: { type: "object" }, message: "must be object" };
379
+ if (_valid3) {
380
+ valid11 = true;
381
+ passing2 = 1;
382
+ }
383
+ }
384
+ if (!valid11) {
385
+ const err19 = { instancePath: instancePath + "/persistent", schemaPath: "#/properties/persistent/oneOf", keyword: "oneOf", params: { passingSchemas: passing2 }, message: "must match exactly one schema in oneOf" };
288
386
  if (vErrors === null) {
289
- vErrors = [err13];
387
+ vErrors = [err19];
290
388
  } else {
291
- vErrors.push(err13);
389
+ vErrors.push(err19);
390
+ }
391
+ errors++;
392
+ } else {
393
+ errors = _errs24;
394
+ if (vErrors !== null) {
395
+ if (_errs24) {
396
+ vErrors.length = _errs24;
397
+ } else {
398
+ vErrors = null;
399
+ }
400
+ }
401
+ }
402
+ }
403
+ } else {
404
+ const err20 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
405
+ if (vErrors === null) {
406
+ vErrors = [err20];
407
+ } else {
408
+ vErrors.push(err20);
409
+ }
410
+ errors++;
411
+ }
412
+ validate13.errors = vErrors;
413
+ return errors === 0;
414
+ }
415
+ function validate12(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
416
+ let vErrors = null;
417
+ let errors = 0;
418
+ if (data && typeof data == "object" && !Array.isArray(data)) {
419
+ if (data.size === void 0) {
420
+ const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "size" }, message: "must have required property 'size'" };
421
+ if (vErrors === null) {
422
+ vErrors = [err0];
423
+ } else {
424
+ vErrors.push(err0);
425
+ }
426
+ errors++;
427
+ }
428
+ for (const key0 in data) {
429
+ if (!(key0 === "attributes" || key0 === "name" || key0 === "size")) {
430
+ const err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
431
+ if (vErrors === null) {
432
+ vErrors = [err1];
433
+ } else {
434
+ vErrors.push(err1);
292
435
  }
293
436
  errors++;
294
437
  }
295
438
  }
439
+ if (data.attributes !== void 0) {
440
+ if (!validate13(data.attributes, { instancePath: instancePath + "/attributes", parentData: data, parentDataProperty: "attributes", rootData })) {
441
+ vErrors = vErrors === null ? validate13.errors : vErrors.concat(validate13.errors);
442
+ errors = vErrors.length;
443
+ }
444
+ }
296
445
  if (data.name !== void 0) {
297
446
  if (typeof data.name !== "string") {
298
- const err14 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: "string" }, message: "must be string" };
447
+ const err2 = { instancePath: instancePath + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: "string" }, message: "must be string" };
299
448
  if (vErrors === null) {
300
- vErrors = [err14];
449
+ vErrors = [err2];
301
450
  } else {
302
- vErrors.push(err14);
451
+ vErrors.push(err2);
303
452
  }
304
453
  errors++;
305
454
  }
306
455
  }
307
456
  if (data.size !== void 0) {
308
457
  if (typeof data.size !== "string") {
309
- const err15 = { instancePath: instancePath + "/size", schemaPath: "#/properties/size/type", keyword: "type", params: { type: "string" }, message: "must be string" };
458
+ const err3 = { instancePath: instancePath + "/size", schemaPath: "#/properties/size/type", keyword: "type", params: { type: "string" }, message: "must be string" };
310
459
  if (vErrors === null) {
311
- vErrors = [err15];
460
+ vErrors = [err3];
312
461
  } else {
313
- vErrors.push(err15);
462
+ vErrors.push(err3);
314
463
  }
315
464
  errors++;
316
465
  }
317
466
  }
318
467
  } else {
319
- const err16 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
468
+ const err4 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
320
469
  if (vErrors === null) {
321
- vErrors = [err16];
470
+ vErrors = [err4];
322
471
  } else {
323
- vErrors.push(err16);
472
+ vErrors.push(err4);
324
473
  }
325
474
  errors++;
326
475
  }
@@ -754,275 +903,569 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
754
903
  if (_errs48) {
755
904
  vErrors.length = _errs48;
756
905
  } else {
757
- vErrors = null;
906
+ vErrors = null;
907
+ }
908
+ }
909
+ }
910
+ if (typeof data16 === "string") {
911
+ if (!pattern5.test(data16)) {
912
+ const err37 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/0/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$" }, message: 'must match pattern "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$"' };
913
+ if (vErrors === null) {
914
+ vErrors = [err37];
915
+ } else {
916
+ vErrors.push(err37);
917
+ }
918
+ errors++;
919
+ }
920
+ } else {
921
+ const err38 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
922
+ if (vErrors === null) {
923
+ vErrors = [err38];
924
+ } else {
925
+ vErrors.push(err38);
926
+ }
927
+ errors++;
928
+ }
929
+ var _valid0 = _errs46 === errors;
930
+ if (_valid0) {
931
+ valid13 = true;
932
+ passing0 = 0;
933
+ }
934
+ const _errs50 = errors;
935
+ if (typeof data16 == "number") {
936
+ if (data16 <= 0 || isNaN(data16)) {
937
+ const err39 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/1/exclusiveMinimum", keyword: "exclusiveMinimum", params: { comparison: ">", limit: 0 }, message: "must be > 0" };
938
+ if (vErrors === null) {
939
+ vErrors = [err39];
940
+ } else {
941
+ vErrors.push(err39);
942
+ }
943
+ errors++;
944
+ }
945
+ } else {
946
+ const err40 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/1/type", keyword: "type", params: { type: "number" }, message: "must be number" };
947
+ if (vErrors === null) {
948
+ vErrors = [err40];
949
+ } else {
950
+ vErrors.push(err40);
951
+ }
952
+ errors++;
953
+ }
954
+ var _valid0 = _errs50 === errors;
955
+ if (_valid0 && valid13) {
956
+ valid13 = false;
957
+ passing0 = [passing0, 1];
958
+ } else {
959
+ if (_valid0) {
960
+ valid13 = true;
961
+ passing0 = 1;
962
+ }
963
+ }
964
+ if (!valid13) {
965
+ const err41 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
966
+ if (vErrors === null) {
967
+ vErrors = [err41];
968
+ } else {
969
+ vErrors.push(err41);
970
+ }
971
+ errors++;
972
+ } else {
973
+ errors = _errs45;
974
+ if (vErrors !== null) {
975
+ if (_errs45) {
976
+ vErrors.length = _errs45;
977
+ } else {
978
+ vErrors = null;
979
+ }
980
+ }
981
+ }
982
+ }
983
+ } else {
984
+ const err42 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/type", keyword: "type", params: { type: "object" }, message: "must be object" };
985
+ if (vErrors === null) {
986
+ vErrors = [err42];
987
+ } else {
988
+ vErrors.push(err42);
989
+ }
990
+ errors++;
991
+ }
992
+ }
993
+ if (data13.gpu !== void 0) {
994
+ let data17 = data13.gpu;
995
+ const _errs56 = errors;
996
+ let valid17 = true;
997
+ const _errs57 = errors;
998
+ if (data17 && typeof data17 == "object" && !Array.isArray(data17)) {
999
+ let missing0;
1000
+ if (data17.units === void 0 && (missing0 = "units")) {
1001
+ const err43 = {};
1002
+ if (vErrors === null) {
1003
+ vErrors = [err43];
1004
+ } else {
1005
+ vErrors.push(err43);
1006
+ }
1007
+ errors++;
1008
+ } else {
1009
+ if (data17.units !== void 0) {
1010
+ let data18 = data17.units;
1011
+ const _errs59 = errors;
1012
+ let valid19 = false;
1013
+ let passing1 = null;
1014
+ const _errs60 = errors;
1015
+ if (errors === _errs60) {
1016
+ if (typeof data18 == "number") {
1017
+ if (data18 <= 0 || isNaN(data18)) {
1018
+ const err44 = {};
1019
+ if (vErrors === null) {
1020
+ vErrors = [err44];
1021
+ } else {
1022
+ vErrors.push(err44);
1023
+ }
1024
+ errors++;
1025
+ }
1026
+ } else {
1027
+ const err45 = {};
1028
+ if (vErrors === null) {
1029
+ vErrors = [err45];
1030
+ } else {
1031
+ vErrors.push(err45);
1032
+ }
1033
+ errors++;
1034
+ }
1035
+ }
1036
+ var _valid2 = _errs60 === errors;
1037
+ if (_valid2) {
1038
+ valid19 = true;
1039
+ passing1 = 0;
1040
+ }
1041
+ const _errs62 = errors;
1042
+ if (typeof data18 !== "string") {
1043
+ const err46 = {};
1044
+ if (vErrors === null) {
1045
+ vErrors = [err46];
1046
+ } else {
1047
+ vErrors.push(err46);
1048
+ }
1049
+ errors++;
1050
+ }
1051
+ const _errs64 = errors;
1052
+ const _errs65 = errors;
1053
+ if (typeof data18 === "string") {
1054
+ if (!pattern6.test(data18)) {
1055
+ const err47 = {};
1056
+ if (vErrors === null) {
1057
+ vErrors = [err47];
1058
+ } else {
1059
+ vErrors.push(err47);
1060
+ }
1061
+ errors++;
1062
+ }
1063
+ }
1064
+ var valid20 = _errs65 === errors;
1065
+ if (valid20) {
1066
+ const err48 = {};
1067
+ if (vErrors === null) {
1068
+ vErrors = [err48];
1069
+ } else {
1070
+ vErrors.push(err48);
1071
+ }
1072
+ errors++;
1073
+ } else {
1074
+ errors = _errs64;
1075
+ if (vErrors !== null) {
1076
+ if (_errs64) {
1077
+ vErrors.length = _errs64;
1078
+ } else {
1079
+ vErrors = null;
1080
+ }
1081
+ }
1082
+ }
1083
+ var _valid2 = _errs62 === errors;
1084
+ if (_valid2 && valid19) {
1085
+ valid19 = false;
1086
+ passing1 = [passing1, 1];
1087
+ } else {
1088
+ if (_valid2) {
1089
+ valid19 = true;
1090
+ passing1 = 1;
1091
+ }
1092
+ }
1093
+ if (!valid19) {
1094
+ const err49 = {};
1095
+ if (vErrors === null) {
1096
+ vErrors = [err49];
1097
+ } else {
1098
+ vErrors.push(err49);
1099
+ }
1100
+ errors++;
1101
+ } else {
1102
+ errors = _errs59;
1103
+ if (vErrors !== null) {
1104
+ if (_errs59) {
1105
+ vErrors.length = _errs59;
1106
+ } else {
1107
+ vErrors = null;
1108
+ }
1109
+ }
1110
+ }
1111
+ }
1112
+ }
1113
+ }
1114
+ var _valid1 = _errs57 === errors;
1115
+ errors = _errs56;
1116
+ if (vErrors !== null) {
1117
+ if (_errs56) {
1118
+ vErrors.length = _errs56;
1119
+ } else {
1120
+ vErrors = null;
1121
+ }
1122
+ }
1123
+ if (_valid1) {
1124
+ const _errs66 = errors;
1125
+ if (data17 && typeof data17 == "object" && !Array.isArray(data17)) {
1126
+ if (data17.attributes === void 0) {
1127
+ const err50 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/definitions/gpuUnitsGt0RequiresAttributes/then/required", keyword: "required", params: { missingProperty: "attributes" }, message: "must have required property 'attributes'" };
1128
+ if (vErrors === null) {
1129
+ vErrors = [err50];
1130
+ } else {
1131
+ vErrors.push(err50);
1132
+ }
1133
+ errors++;
1134
+ }
1135
+ }
1136
+ var _valid1 = _errs66 === errors;
1137
+ valid17 = _valid1;
1138
+ }
1139
+ if (!valid17) {
1140
+ const err51 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/definitions/gpuUnitsGt0RequiresAttributes/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
1141
+ if (vErrors === null) {
1142
+ vErrors = [err51];
1143
+ } else {
1144
+ vErrors.push(err51);
1145
+ }
1146
+ errors++;
1147
+ }
1148
+ const _errs69 = errors;
1149
+ let valid22 = true;
1150
+ const _errs70 = errors;
1151
+ if (data17 && typeof data17 == "object" && !Array.isArray(data17)) {
1152
+ let missing1;
1153
+ if (data17.attributes === void 0 && (missing1 = "attributes")) {
1154
+ const err52 = {};
1155
+ if (vErrors === null) {
1156
+ vErrors = [err52];
1157
+ } else {
1158
+ vErrors.push(err52);
1159
+ }
1160
+ errors++;
1161
+ }
1162
+ }
1163
+ var _valid3 = _errs70 === errors;
1164
+ errors = _errs69;
1165
+ if (vErrors !== null) {
1166
+ if (_errs69) {
1167
+ vErrors.length = _errs69;
1168
+ } else {
1169
+ vErrors = null;
1170
+ }
1171
+ }
1172
+ if (_valid3) {
1173
+ const _errs71 = errors;
1174
+ if (data17 && typeof data17 == "object" && !Array.isArray(data17)) {
1175
+ if (data17.units === void 0) {
1176
+ const err53 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/then/required", keyword: "required", params: { missingProperty: "units" }, message: "must have required property 'units'" };
1177
+ if (vErrors === null) {
1178
+ vErrors = [err53];
1179
+ } else {
1180
+ vErrors.push(err53);
1181
+ }
1182
+ errors++;
1183
+ }
1184
+ if (data17.units !== void 0) {
1185
+ let data19 = data17.units;
1186
+ const _errs73 = errors;
1187
+ let valid24 = false;
1188
+ let passing2 = null;
1189
+ const _errs74 = errors;
1190
+ if (typeof data19 == "number") {
1191
+ if (data19 <= 0 || isNaN(data19)) {
1192
+ const err54 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/then/properties/units/oneOf/0/exclusiveMinimum", keyword: "exclusiveMinimum", params: { comparison: ">", limit: 0 }, message: "must be > 0" };
1193
+ if (vErrors === null) {
1194
+ vErrors = [err54];
1195
+ } else {
1196
+ vErrors.push(err54);
1197
+ }
1198
+ errors++;
1199
+ }
1200
+ } else {
1201
+ const err55 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/then/properties/units/oneOf/0/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1202
+ if (vErrors === null) {
1203
+ vErrors = [err55];
1204
+ } else {
1205
+ vErrors.push(err55);
758
1206
  }
1207
+ errors++;
759
1208
  }
760
- }
761
- if (typeof data16 === "string") {
762
- if (!pattern5.test(data16)) {
763
- const err37 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/0/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$" }, message: 'must match pattern "^[0-9]+(\\.[0-9]+)?[a-zA-Z]*$"' };
1209
+ var _valid4 = _errs74 === errors;
1210
+ if (_valid4) {
1211
+ valid24 = true;
1212
+ passing2 = 0;
1213
+ }
1214
+ const _errs76 = errors;
1215
+ if (typeof data19 !== "string") {
1216
+ const err56 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/then/properties/units/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
764
1217
  if (vErrors === null) {
765
- vErrors = [err37];
1218
+ vErrors = [err56];
766
1219
  } else {
767
- vErrors.push(err37);
1220
+ vErrors.push(err56);
768
1221
  }
769
1222
  errors++;
770
1223
  }
771
- } else {
772
- const err38 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
773
- if (vErrors === null) {
774
- vErrors = [err38];
775
- } else {
776
- vErrors.push(err38);
1224
+ const _errs78 = errors;
1225
+ const _errs79 = errors;
1226
+ if (typeof data19 === "string") {
1227
+ if (!pattern6.test(data19)) {
1228
+ const err57 = {};
1229
+ if (vErrors === null) {
1230
+ vErrors = [err57];
1231
+ } else {
1232
+ vErrors.push(err57);
1233
+ }
1234
+ errors++;
1235
+ }
777
1236
  }
778
- errors++;
779
- }
780
- var _valid0 = _errs46 === errors;
781
- if (_valid0) {
782
- valid13 = true;
783
- passing0 = 0;
784
- }
785
- const _errs50 = errors;
786
- if (typeof data16 == "number") {
787
- if (data16 <= 0 || isNaN(data16)) {
788
- const err39 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/1/exclusiveMinimum", keyword: "exclusiveMinimum", params: { comparison: ">", limit: 0 }, message: "must be > 0" };
1237
+ var valid25 = _errs79 === errors;
1238
+ if (valid25) {
1239
+ const err58 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/then/properties/units/oneOf/1/not", keyword: "not", params: {}, message: "must NOT be valid" };
789
1240
  if (vErrors === null) {
790
- vErrors = [err39];
1241
+ vErrors = [err58];
791
1242
  } else {
792
- vErrors.push(err39);
1243
+ vErrors.push(err58);
793
1244
  }
794
1245
  errors++;
795
- }
796
- } else {
797
- const err40 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf/1/type", keyword: "type", params: { type: "number" }, message: "must be number" };
798
- if (vErrors === null) {
799
- vErrors = [err40];
800
1246
  } else {
801
- vErrors.push(err40);
802
- }
803
- errors++;
804
- }
805
- var _valid0 = _errs50 === errors;
806
- if (_valid0 && valid13) {
807
- valid13 = false;
808
- passing0 = [passing0, 1];
809
- } else {
810
- if (_valid0) {
811
- valid13 = true;
812
- passing0 = 1;
1247
+ errors = _errs78;
1248
+ if (vErrors !== null) {
1249
+ if (_errs78) {
1250
+ vErrors.length = _errs78;
1251
+ } else {
1252
+ vErrors = null;
1253
+ }
1254
+ }
813
1255
  }
814
- }
815
- if (!valid13) {
816
- const err41 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/properties/units/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
817
- if (vErrors === null) {
818
- vErrors = [err41];
1256
+ var _valid4 = _errs76 === errors;
1257
+ if (_valid4 && valid24) {
1258
+ valid24 = false;
1259
+ passing2 = [passing2, 1];
819
1260
  } else {
820
- vErrors.push(err41);
1261
+ if (_valid4) {
1262
+ valid24 = true;
1263
+ passing2 = 1;
1264
+ }
821
1265
  }
822
- errors++;
823
- } else {
824
- errors = _errs45;
825
- if (vErrors !== null) {
826
- if (_errs45) {
827
- vErrors.length = _errs45;
1266
+ if (!valid24) {
1267
+ const err59 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/then/properties/units/oneOf", keyword: "oneOf", params: { passingSchemas: passing2 }, message: "must match exactly one schema in oneOf" };
1268
+ if (vErrors === null) {
1269
+ vErrors = [err59];
828
1270
  } else {
829
- vErrors = null;
1271
+ vErrors.push(err59);
1272
+ }
1273
+ errors++;
1274
+ } else {
1275
+ errors = _errs73;
1276
+ if (vErrors !== null) {
1277
+ if (_errs73) {
1278
+ vErrors.length = _errs73;
1279
+ } else {
1280
+ vErrors = null;
1281
+ }
830
1282
  }
831
1283
  }
832
1284
  }
833
1285
  }
834
- } else {
835
- const err42 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/cpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/cpu/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1286
+ var _valid3 = _errs71 === errors;
1287
+ valid22 = _valid3;
1288
+ }
1289
+ if (!valid22) {
1290
+ const err60 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/definitions/gpuAttributesRequireUnitsGt0/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
836
1291
  if (vErrors === null) {
837
- vErrors = [err42];
1292
+ vErrors = [err60];
838
1293
  } else {
839
- vErrors.push(err42);
1294
+ vErrors.push(err60);
840
1295
  }
841
1296
  errors++;
842
1297
  }
843
- }
844
- if (data13.gpu !== void 0) {
845
- let data17 = data13.gpu;
846
1298
  if (data17 && typeof data17 == "object" && !Array.isArray(data17)) {
847
- if (data17.units === void 0) {
848
- const err43 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/required", keyword: "required", params: { missingProperty: "units" }, message: "must have required property 'units'" };
849
- if (vErrors === null) {
850
- vErrors = [err43];
851
- } else {
852
- vErrors.push(err43);
853
- }
854
- errors++;
855
- }
856
1299
  for (const key12 in data17) {
857
1300
  if (!(key12 === "attributes" || key12 === "units")) {
858
- const err44 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key12 }, message: "must NOT have additional properties" };
1301
+ const err61 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key12 }, message: "must NOT have additional properties" };
859
1302
  if (vErrors === null) {
860
- vErrors = [err44];
1303
+ vErrors = [err61];
861
1304
  } else {
862
- vErrors.push(err44);
1305
+ vErrors.push(err61);
863
1306
  }
864
1307
  errors++;
865
1308
  }
866
1309
  }
867
1310
  if (data17.attributes !== void 0) {
868
- let data18 = data17.attributes;
869
- if (data18 && typeof data18 == "object" && !Array.isArray(data18)) {
870
- for (const key13 in data18) {
1311
+ let data20 = data17.attributes;
1312
+ if (data20 && typeof data20 == "object" && !Array.isArray(data20)) {
1313
+ for (const key13 in data20) {
871
1314
  if (!(key13 === "vendor")) {
872
- const err45 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key13 }, message: "must NOT have additional properties" };
1315
+ const err62 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key13 }, message: "must NOT have additional properties" };
873
1316
  if (vErrors === null) {
874
- vErrors = [err45];
1317
+ vErrors = [err62];
875
1318
  } else {
876
- vErrors.push(err45);
1319
+ vErrors.push(err62);
877
1320
  }
878
1321
  errors++;
879
1322
  }
880
1323
  }
881
- if (data18.vendor !== void 0) {
882
- let data19 = data18.vendor;
883
- if (data19 && typeof data19 == "object" && !Array.isArray(data19)) {
884
- if (Object.keys(data19).length < 1) {
885
- const err46 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/minProperties", keyword: "minProperties", params: { limit: 1 }, message: "must NOT have fewer than 1 properties" };
1324
+ if (data20.vendor !== void 0) {
1325
+ let data21 = data20.vendor;
1326
+ if (data21 && typeof data21 == "object" && !Array.isArray(data21)) {
1327
+ if (Object.keys(data21).length < 1) {
1328
+ const err63 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/minProperties", keyword: "minProperties", params: { limit: 1 }, message: "must NOT have fewer than 1 properties" };
886
1329
  if (vErrors === null) {
887
- vErrors = [err46];
1330
+ vErrors = [err63];
888
1331
  } else {
889
- vErrors.push(err46);
1332
+ vErrors.push(err63);
890
1333
  }
891
1334
  errors++;
892
1335
  }
893
- for (const key14 in data19) {
1336
+ for (const key14 in data21) {
894
1337
  if (!(key14 === "nvidia")) {
895
- const err47 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key14 }, message: "must NOT have additional properties" };
1338
+ const err64 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key14 }, message: "must NOT have additional properties" };
896
1339
  if (vErrors === null) {
897
- vErrors = [err47];
1340
+ vErrors = [err64];
898
1341
  } else {
899
- vErrors.push(err47);
1342
+ vErrors.push(err64);
900
1343
  }
901
1344
  errors++;
902
1345
  }
903
1346
  }
904
- if (data19.nvidia !== void 0) {
905
- let data20 = data19.nvidia;
906
- const _errs62 = errors;
907
- let valid18 = false;
908
- let passing1 = null;
909
- const _errs63 = errors;
910
- if (Array.isArray(data20)) {
911
- const len1 = data20.length;
1347
+ if (data21.nvidia !== void 0) {
1348
+ let data22 = data21.nvidia;
1349
+ const _errs88 = errors;
1350
+ let valid29 = false;
1351
+ let passing3 = null;
1352
+ const _errs89 = errors;
1353
+ if (Array.isArray(data22)) {
1354
+ const len1 = data22.length;
912
1355
  for (let i1 = 0; i1 < len1; i1++) {
913
- let data21 = data20[i1];
914
- if (data21 && typeof data21 == "object" && !Array.isArray(data21)) {
915
- for (const key15 in data21) {
1356
+ let data23 = data22[i1];
1357
+ if (data23 && typeof data23 == "object" && !Array.isArray(data23)) {
1358
+ for (const key15 in data23) {
916
1359
  if (!(key15 === "interface" || key15 === "model" || key15 === "ram")) {
917
- const err48 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1, schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key15 }, message: "must NOT have additional properties" };
1360
+ const err65 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1, schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key15 }, message: "must NOT have additional properties" };
918
1361
  if (vErrors === null) {
919
- vErrors = [err48];
1362
+ vErrors = [err65];
920
1363
  } else {
921
- vErrors.push(err48);
1364
+ vErrors.push(err65);
922
1365
  }
923
1366
  errors++;
924
1367
  }
925
1368
  }
926
- if (data21.interface !== void 0) {
927
- let data22 = data21.interface;
928
- if (typeof data22 !== "string") {
929
- const err49 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/interface", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/interface/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1369
+ if (data23.interface !== void 0) {
1370
+ let data24 = data23.interface;
1371
+ if (typeof data24 !== "string") {
1372
+ const err66 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/interface", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/interface/type", keyword: "type", params: { type: "string" }, message: "must be string" };
930
1373
  if (vErrors === null) {
931
- vErrors = [err49];
1374
+ vErrors = [err66];
932
1375
  } else {
933
- vErrors.push(err49);
1376
+ vErrors.push(err66);
934
1377
  }
935
1378
  errors++;
936
1379
  }
937
- if (!(data22 === "pcie" || data22 === "sxm")) {
938
- const err50 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/interface", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/interface/enum", keyword: "enum", params: { allowedValues: schema12.properties.profiles.properties.compute.additionalProperties.properties.resources.properties.gpu.properties.attributes.properties.vendor.properties.nvidia.oneOf[0].items.properties.interface.enum }, message: "must be equal to one of the allowed values" };
1380
+ if (!(data24 === "pcie" || data24 === "sxm")) {
1381
+ const err67 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/interface", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/interface/enum", keyword: "enum", params: { allowedValues: schema12.properties.profiles.properties.compute.additionalProperties.properties.resources.properties.gpu.properties.attributes.properties.vendor.properties.nvidia.oneOf[0].items.properties.interface.enum }, message: "must be equal to one of the allowed values" };
939
1382
  if (vErrors === null) {
940
- vErrors = [err50];
1383
+ vErrors = [err67];
941
1384
  } else {
942
- vErrors.push(err50);
1385
+ vErrors.push(err67);
943
1386
  }
944
1387
  errors++;
945
1388
  }
946
1389
  }
947
- if (data21.model !== void 0) {
948
- if (typeof data21.model !== "string") {
949
- const err51 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/model", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/model/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1390
+ if (data23.model !== void 0) {
1391
+ if (typeof data23.model !== "string") {
1392
+ const err68 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/model", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/model/type", keyword: "type", params: { type: "string" }, message: "must be string" };
950
1393
  if (vErrors === null) {
951
- vErrors = [err51];
1394
+ vErrors = [err68];
952
1395
  } else {
953
- vErrors.push(err51);
1396
+ vErrors.push(err68);
954
1397
  }
955
1398
  errors++;
956
1399
  }
957
1400
  }
958
- if (data21.ram !== void 0) {
959
- if (typeof data21.ram !== "string") {
960
- const err52 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/ram", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/ram/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1401
+ if (data23.ram !== void 0) {
1402
+ if (typeof data23.ram !== "string") {
1403
+ const err69 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1 + "/ram", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/properties/ram/type", keyword: "type", params: { type: "string" }, message: "must be string" };
961
1404
  if (vErrors === null) {
962
- vErrors = [err52];
1405
+ vErrors = [err69];
963
1406
  } else {
964
- vErrors.push(err52);
1407
+ vErrors.push(err69);
965
1408
  }
966
1409
  errors++;
967
1410
  }
968
1411
  }
969
1412
  } else {
970
- const err53 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1, schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1413
+ const err70 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia/" + i1, schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
971
1414
  if (vErrors === null) {
972
- vErrors = [err53];
1415
+ vErrors = [err70];
973
1416
  } else {
974
- vErrors.push(err53);
1417
+ vErrors.push(err70);
975
1418
  }
976
1419
  errors++;
977
1420
  }
978
1421
  }
979
1422
  } else {
980
- const err54 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1423
+ const err71 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
981
1424
  if (vErrors === null) {
982
- vErrors = [err54];
1425
+ vErrors = [err71];
983
1426
  } else {
984
- vErrors.push(err54);
1427
+ vErrors.push(err71);
985
1428
  }
986
1429
  errors++;
987
1430
  }
988
- var _valid1 = _errs63 === errors;
989
- if (_valid1) {
990
- valid18 = true;
991
- passing1 = 0;
1431
+ var _valid5 = _errs89 === errors;
1432
+ if (_valid5) {
1433
+ valid29 = true;
1434
+ passing3 = 0;
992
1435
  }
993
- const _errs74 = errors;
994
- if (data20 !== null) {
995
- const err55 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
1436
+ const _errs100 = errors;
1437
+ if (data22 !== null) {
1438
+ const err72 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
996
1439
  if (vErrors === null) {
997
- vErrors = [err55];
1440
+ vErrors = [err72];
998
1441
  } else {
999
- vErrors.push(err55);
1442
+ vErrors.push(err72);
1000
1443
  }
1001
1444
  errors++;
1002
1445
  }
1003
- var _valid1 = _errs74 === errors;
1004
- if (_valid1 && valid18) {
1005
- valid18 = false;
1006
- passing1 = [passing1, 1];
1446
+ var _valid5 = _errs100 === errors;
1447
+ if (_valid5 && valid29) {
1448
+ valid29 = false;
1449
+ passing3 = [passing3, 1];
1007
1450
  } else {
1008
- if (_valid1) {
1009
- valid18 = true;
1010
- passing1 = 1;
1451
+ if (_valid5) {
1452
+ valid29 = true;
1453
+ passing3 = 1;
1011
1454
  }
1012
1455
  }
1013
- if (!valid18) {
1014
- const err56 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf", keyword: "oneOf", params: { passingSchemas: passing1 }, message: "must match exactly one schema in oneOf" };
1456
+ if (!valid29) {
1457
+ const err73 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor/nvidia", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/properties/nvidia/oneOf", keyword: "oneOf", params: { passingSchemas: passing3 }, message: "must match exactly one schema in oneOf" };
1015
1458
  if (vErrors === null) {
1016
- vErrors = [err56];
1459
+ vErrors = [err73];
1017
1460
  } else {
1018
- vErrors.push(err56);
1461
+ vErrors.push(err73);
1019
1462
  }
1020
1463
  errors++;
1021
1464
  } else {
1022
- errors = _errs62;
1465
+ errors = _errs88;
1023
1466
  if (vErrors !== null) {
1024
- if (_errs62) {
1025
- vErrors.length = _errs62;
1467
+ if (_errs88) {
1468
+ vErrors.length = _errs88;
1026
1469
  } else {
1027
1470
  vErrors = null;
1028
1471
  }
@@ -1030,78 +1473,78 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
1030
1473
  }
1031
1474
  }
1032
1475
  } else {
1033
- const err57 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1476
+ const err74 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes/vendor", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/properties/vendor/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1034
1477
  if (vErrors === null) {
1035
- vErrors = [err57];
1478
+ vErrors = [err74];
1036
1479
  } else {
1037
- vErrors.push(err57);
1480
+ vErrors.push(err74);
1038
1481
  }
1039
1482
  errors++;
1040
1483
  }
1041
1484
  }
1042
1485
  } else {
1043
- const err58 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1486
+ const err75 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/attributes", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/attributes/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1044
1487
  if (vErrors === null) {
1045
- vErrors = [err58];
1488
+ vErrors = [err75];
1046
1489
  } else {
1047
- vErrors.push(err58);
1490
+ vErrors.push(err75);
1048
1491
  }
1049
1492
  errors++;
1050
1493
  }
1051
1494
  }
1052
1495
  if (data17.units !== void 0) {
1053
- let data25 = data17.units;
1054
- const _errs77 = errors;
1055
- let valid22 = false;
1056
- let passing2 = null;
1057
- const _errs78 = errors;
1058
- if (typeof data25 !== "string") {
1059
- const err59 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/units/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1496
+ let data27 = data17.units;
1497
+ const _errs103 = errors;
1498
+ let valid33 = false;
1499
+ let passing4 = null;
1500
+ const _errs104 = errors;
1501
+ if (typeof data27 !== "string") {
1502
+ const err76 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/units/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1060
1503
  if (vErrors === null) {
1061
- vErrors = [err59];
1504
+ vErrors = [err76];
1062
1505
  } else {
1063
- vErrors.push(err59);
1506
+ vErrors.push(err76);
1064
1507
  }
1065
1508
  errors++;
1066
1509
  }
1067
- var _valid2 = _errs78 === errors;
1068
- if (_valid2) {
1069
- valid22 = true;
1070
- passing2 = 0;
1510
+ var _valid6 = _errs104 === errors;
1511
+ if (_valid6) {
1512
+ valid33 = true;
1513
+ passing4 = 0;
1071
1514
  }
1072
- const _errs80 = errors;
1073
- if (!(typeof data25 == "number")) {
1074
- const err60 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/units/oneOf/1/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1515
+ const _errs106 = errors;
1516
+ if (!(typeof data27 == "number")) {
1517
+ const err77 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/units/oneOf/1/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1075
1518
  if (vErrors === null) {
1076
- vErrors = [err60];
1519
+ vErrors = [err77];
1077
1520
  } else {
1078
- vErrors.push(err60);
1521
+ vErrors.push(err77);
1079
1522
  }
1080
1523
  errors++;
1081
1524
  }
1082
- var _valid2 = _errs80 === errors;
1083
- if (_valid2 && valid22) {
1084
- valid22 = false;
1085
- passing2 = [passing2, 1];
1525
+ var _valid6 = _errs106 === errors;
1526
+ if (_valid6 && valid33) {
1527
+ valid33 = false;
1528
+ passing4 = [passing4, 1];
1086
1529
  } else {
1087
- if (_valid2) {
1088
- valid22 = true;
1089
- passing2 = 1;
1530
+ if (_valid6) {
1531
+ valid33 = true;
1532
+ passing4 = 1;
1090
1533
  }
1091
1534
  }
1092
- if (!valid22) {
1093
- const err61 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/units/oneOf", keyword: "oneOf", params: { passingSchemas: passing2 }, message: "must match exactly one schema in oneOf" };
1535
+ if (!valid33) {
1536
+ const err78 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu/units", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/properties/units/oneOf", keyword: "oneOf", params: { passingSchemas: passing4 }, message: "must match exactly one schema in oneOf" };
1094
1537
  if (vErrors === null) {
1095
- vErrors = [err61];
1538
+ vErrors = [err78];
1096
1539
  } else {
1097
- vErrors.push(err61);
1540
+ vErrors.push(err78);
1098
1541
  }
1099
1542
  errors++;
1100
1543
  } else {
1101
- errors = _errs77;
1544
+ errors = _errs103;
1102
1545
  if (vErrors !== null) {
1103
- if (_errs77) {
1104
- vErrors.length = _errs77;
1546
+ if (_errs103) {
1547
+ vErrors.length = _errs103;
1105
1548
  } else {
1106
1549
  vErrors = null;
1107
1550
  }
@@ -1109,115 +1552,115 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
1109
1552
  }
1110
1553
  }
1111
1554
  } else {
1112
- const err62 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1555
+ const err79 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/gpu", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/gpu/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1113
1556
  if (vErrors === null) {
1114
- vErrors = [err62];
1557
+ vErrors = [err79];
1115
1558
  } else {
1116
- vErrors.push(err62);
1559
+ vErrors.push(err79);
1117
1560
  }
1118
1561
  errors++;
1119
1562
  }
1120
1563
  }
1121
1564
  if (data13.memory !== void 0) {
1122
- let data26 = data13.memory;
1123
- if (data26 && typeof data26 == "object" && !Array.isArray(data26)) {
1124
- if (data26.size === void 0) {
1125
- const err63 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/required", keyword: "required", params: { missingProperty: "size" }, message: "must have required property 'size'" };
1565
+ let data28 = data13.memory;
1566
+ if (data28 && typeof data28 == "object" && !Array.isArray(data28)) {
1567
+ if (data28.size === void 0) {
1568
+ const err80 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/required", keyword: "required", params: { missingProperty: "size" }, message: "must have required property 'size'" };
1126
1569
  if (vErrors === null) {
1127
- vErrors = [err63];
1570
+ vErrors = [err80];
1128
1571
  } else {
1129
- vErrors.push(err63);
1572
+ vErrors.push(err80);
1130
1573
  }
1131
1574
  errors++;
1132
1575
  }
1133
- for (const key16 in data26) {
1576
+ for (const key16 in data28) {
1134
1577
  if (!(key16 === "size")) {
1135
- const err64 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key16 }, message: "must NOT have additional properties" };
1578
+ const err81 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key16 }, message: "must NOT have additional properties" };
1136
1579
  if (vErrors === null) {
1137
- vErrors = [err64];
1580
+ vErrors = [err81];
1138
1581
  } else {
1139
- vErrors.push(err64);
1582
+ vErrors.push(err81);
1140
1583
  }
1141
1584
  errors++;
1142
1585
  }
1143
1586
  }
1144
- if (data26.size !== void 0) {
1145
- if (typeof data26.size !== "string") {
1146
- const err65 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory/size", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/properties/size/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1587
+ if (data28.size !== void 0) {
1588
+ if (typeof data28.size !== "string") {
1589
+ const err82 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory/size", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/properties/size/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1147
1590
  if (vErrors === null) {
1148
- vErrors = [err65];
1591
+ vErrors = [err82];
1149
1592
  } else {
1150
- vErrors.push(err65);
1593
+ vErrors.push(err82);
1151
1594
  }
1152
1595
  errors++;
1153
1596
  }
1154
1597
  }
1155
1598
  } else {
1156
- const err66 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1599
+ const err83 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/memory", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/memory/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1157
1600
  if (vErrors === null) {
1158
- vErrors = [err66];
1601
+ vErrors = [err83];
1159
1602
  } else {
1160
- vErrors.push(err66);
1603
+ vErrors.push(err83);
1161
1604
  }
1162
1605
  errors++;
1163
1606
  }
1164
1607
  }
1165
1608
  if (data13.storage !== void 0) {
1166
- let data28 = data13.storage;
1167
- const _errs88 = errors;
1168
- let valid24 = false;
1169
- let passing3 = null;
1170
- const _errs89 = errors;
1171
- if (!validate12(data28, { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage", parentData: data13, parentDataProperty: "storage", rootData })) {
1609
+ let data30 = data13.storage;
1610
+ const _errs114 = errors;
1611
+ let valid35 = false;
1612
+ let passing5 = null;
1613
+ const _errs115 = errors;
1614
+ if (!validate12(data30, { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage", parentData: data13, parentDataProperty: "storage", rootData })) {
1172
1615
  vErrors = vErrors === null ? validate12.errors : vErrors.concat(validate12.errors);
1173
1616
  errors = vErrors.length;
1174
1617
  }
1175
- var _valid3 = _errs89 === errors;
1176
- if (_valid3) {
1177
- valid24 = true;
1178
- passing3 = 0;
1618
+ var _valid7 = _errs115 === errors;
1619
+ if (_valid7) {
1620
+ valid35 = true;
1621
+ passing5 = 0;
1179
1622
  }
1180
- const _errs90 = errors;
1181
- if (Array.isArray(data28)) {
1182
- const len2 = data28.length;
1623
+ const _errs116 = errors;
1624
+ if (Array.isArray(data30)) {
1625
+ const len2 = data30.length;
1183
1626
  for (let i2 = 0; i2 < len2; i2++) {
1184
- if (!validate12(data28[i2], { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage/" + i2, parentData: data28, parentDataProperty: i2, rootData })) {
1627
+ if (!validate12(data30[i2], { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage/" + i2, parentData: data30, parentDataProperty: i2, rootData })) {
1185
1628
  vErrors = vErrors === null ? validate12.errors : vErrors.concat(validate12.errors);
1186
1629
  errors = vErrors.length;
1187
1630
  }
1188
1631
  }
1189
1632
  } else {
1190
- const err67 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/storage/oneOf/1/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1633
+ const err84 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/storage/oneOf/1/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1191
1634
  if (vErrors === null) {
1192
- vErrors = [err67];
1635
+ vErrors = [err84];
1193
1636
  } else {
1194
- vErrors.push(err67);
1637
+ vErrors.push(err84);
1195
1638
  }
1196
1639
  errors++;
1197
1640
  }
1198
- var _valid3 = _errs90 === errors;
1199
- if (_valid3 && valid24) {
1200
- valid24 = false;
1201
- passing3 = [passing3, 1];
1641
+ var _valid7 = _errs116 === errors;
1642
+ if (_valid7 && valid35) {
1643
+ valid35 = false;
1644
+ passing5 = [passing5, 1];
1202
1645
  } else {
1203
- if (_valid3) {
1204
- valid24 = true;
1205
- passing3 = 1;
1646
+ if (_valid7) {
1647
+ valid35 = true;
1648
+ passing5 = 1;
1206
1649
  }
1207
1650
  }
1208
- if (!valid24) {
1209
- const err68 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/storage/oneOf", keyword: "oneOf", params: { passingSchemas: passing3 }, message: "must match exactly one schema in oneOf" };
1651
+ if (!valid35) {
1652
+ const err85 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources/storage", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/properties/storage/oneOf", keyword: "oneOf", params: { passingSchemas: passing5 }, message: "must match exactly one schema in oneOf" };
1210
1653
  if (vErrors === null) {
1211
- vErrors = [err68];
1654
+ vErrors = [err85];
1212
1655
  } else {
1213
- vErrors.push(err68);
1656
+ vErrors.push(err85);
1214
1657
  }
1215
1658
  errors++;
1216
1659
  } else {
1217
- errors = _errs88;
1660
+ errors = _errs114;
1218
1661
  if (vErrors !== null) {
1219
- if (_errs88) {
1220
- vErrors.length = _errs88;
1662
+ if (_errs114) {
1663
+ vErrors.length = _errs114;
1221
1664
  } else {
1222
1665
  vErrors = null;
1223
1666
  }
@@ -1225,1324 +1668,1328 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
1225
1668
  }
1226
1669
  }
1227
1670
  } else {
1228
- const err69 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1671
+ const err86 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1") + "/resources", schemaPath: "#/properties/profiles/properties/compute/additionalProperties/properties/resources/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1229
1672
  if (vErrors === null) {
1230
- vErrors = [err69];
1673
+ vErrors = [err86];
1231
1674
  } else {
1232
- vErrors.push(err69);
1675
+ vErrors.push(err86);
1233
1676
  }
1234
1677
  errors++;
1235
1678
  }
1236
1679
  }
1237
1680
  } else {
1238
- const err70 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/compute/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1681
+ const err87 = { instancePath: instancePath + "/profiles/compute/" + key8.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/compute/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1239
1682
  if (vErrors === null) {
1240
- vErrors = [err70];
1683
+ vErrors = [err87];
1241
1684
  } else {
1242
- vErrors.push(err70);
1685
+ vErrors.push(err87);
1243
1686
  }
1244
1687
  errors++;
1245
1688
  }
1246
1689
  }
1247
1690
  } else {
1248
- const err71 = { instancePath: instancePath + "/profiles/compute", schemaPath: "#/properties/profiles/properties/compute/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1691
+ const err88 = { instancePath: instancePath + "/profiles/compute", schemaPath: "#/properties/profiles/properties/compute/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1249
1692
  if (vErrors === null) {
1250
- vErrors = [err71];
1693
+ vErrors = [err88];
1251
1694
  } else {
1252
- vErrors.push(err71);
1695
+ vErrors.push(err88);
1253
1696
  }
1254
1697
  errors++;
1255
1698
  }
1256
1699
  }
1257
1700
  if (data10.placement !== void 0) {
1258
- let data30 = data10.placement;
1259
- if (data30 && typeof data30 == "object" && !Array.isArray(data30)) {
1260
- for (const key17 in data30) {
1261
- let data31 = data30[key17];
1262
- if (data31 && typeof data31 == "object" && !Array.isArray(data31)) {
1263
- if (data31.pricing === void 0) {
1264
- const err72 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/required", keyword: "required", params: { missingProperty: "pricing" }, message: "must have required property 'pricing'" };
1701
+ let data32 = data10.placement;
1702
+ if (data32 && typeof data32 == "object" && !Array.isArray(data32)) {
1703
+ for (const key17 in data32) {
1704
+ let data33 = data32[key17];
1705
+ if (data33 && typeof data33 == "object" && !Array.isArray(data33)) {
1706
+ if (data33.pricing === void 0) {
1707
+ const err89 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/required", keyword: "required", params: { missingProperty: "pricing" }, message: "must have required property 'pricing'" };
1265
1708
  if (vErrors === null) {
1266
- vErrors = [err72];
1709
+ vErrors = [err89];
1267
1710
  } else {
1268
- vErrors.push(err72);
1711
+ vErrors.push(err89);
1269
1712
  }
1270
1713
  errors++;
1271
1714
  }
1272
- for (const key18 in data31) {
1715
+ for (const key18 in data33) {
1273
1716
  if (!(key18 === "attributes" || key18 === "pricing" || key18 === "signedBy")) {
1274
- const err73 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key18 }, message: "must NOT have additional properties" };
1717
+ const err90 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key18 }, message: "must NOT have additional properties" };
1275
1718
  if (vErrors === null) {
1276
- vErrors = [err73];
1719
+ vErrors = [err90];
1277
1720
  } else {
1278
- vErrors.push(err73);
1721
+ vErrors.push(err90);
1279
1722
  }
1280
1723
  errors++;
1281
1724
  }
1282
1725
  }
1283
- if (data31.attributes !== void 0) {
1284
- let data32 = data31.attributes;
1285
- if (!(data32 && typeof data32 == "object" && !Array.isArray(data32))) {
1286
- const err74 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/attributes", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/attributes/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1726
+ if (data33.attributes !== void 0) {
1727
+ let data34 = data33.attributes;
1728
+ if (!(data34 && typeof data34 == "object" && !Array.isArray(data34))) {
1729
+ const err91 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/attributes", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/attributes/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1287
1730
  if (vErrors === null) {
1288
- vErrors = [err74];
1731
+ vErrors = [err91];
1289
1732
  } else {
1290
- vErrors.push(err74);
1733
+ vErrors.push(err91);
1291
1734
  }
1292
1735
  errors++;
1293
1736
  }
1294
1737
  }
1295
- if (data31.pricing !== void 0) {
1296
- let data33 = data31.pricing;
1297
- if (data33 && typeof data33 == "object" && !Array.isArray(data33)) {
1298
- for (const key19 in data33) {
1299
- let data34 = data33[key19];
1300
- if (data34 && typeof data34 == "object" && !Array.isArray(data34)) {
1301
- if (data34.denom === void 0) {
1302
- const err75 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/required", keyword: "required", params: { missingProperty: "denom" }, message: "must have required property 'denom'" };
1738
+ if (data33.pricing !== void 0) {
1739
+ let data35 = data33.pricing;
1740
+ if (data35 && typeof data35 == "object" && !Array.isArray(data35)) {
1741
+ for (const key19 in data35) {
1742
+ let data36 = data35[key19];
1743
+ if (data36 && typeof data36 == "object" && !Array.isArray(data36)) {
1744
+ if (data36.denom === void 0) {
1745
+ const err92 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/required", keyword: "required", params: { missingProperty: "denom" }, message: "must have required property 'denom'" };
1303
1746
  if (vErrors === null) {
1304
- vErrors = [err75];
1747
+ vErrors = [err92];
1305
1748
  } else {
1306
- vErrors.push(err75);
1749
+ vErrors.push(err92);
1307
1750
  }
1308
1751
  errors++;
1309
1752
  }
1310
- if (data34.amount === void 0) {
1311
- const err76 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/required", keyword: "required", params: { missingProperty: "amount" }, message: "must have required property 'amount'" };
1753
+ if (data36.amount === void 0) {
1754
+ const err93 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/required", keyword: "required", params: { missingProperty: "amount" }, message: "must have required property 'amount'" };
1312
1755
  if (vErrors === null) {
1313
- vErrors = [err76];
1756
+ vErrors = [err93];
1314
1757
  } else {
1315
- vErrors.push(err76);
1758
+ vErrors.push(err93);
1316
1759
  }
1317
1760
  errors++;
1318
1761
  }
1319
- for (const key20 in data34) {
1762
+ for (const key20 in data36) {
1320
1763
  if (!(key20 === "amount" || key20 === "denom")) {
1321
- const err77 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key20 }, message: "must NOT have additional properties" };
1764
+ const err94 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key20 }, message: "must NOT have additional properties" };
1322
1765
  if (vErrors === null) {
1323
- vErrors = [err77];
1766
+ vErrors = [err94];
1324
1767
  } else {
1325
- vErrors.push(err77);
1768
+ vErrors.push(err94);
1326
1769
  }
1327
1770
  errors++;
1328
1771
  }
1329
1772
  }
1330
- if (data34.amount !== void 0) {
1331
- let data35 = data34.amount;
1332
- const _errs109 = errors;
1333
- let valid32 = false;
1334
- let passing4 = null;
1335
- const _errs110 = errors;
1336
- if (typeof data35 === "string") {
1337
- if (!pattern6.test(data35)) {
1338
- const err78 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/0/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(\\.[0-9]+)?$" }, message: 'must match pattern "^[0-9]+(\\.[0-9]+)?$"' };
1773
+ if (data36.amount !== void 0) {
1774
+ let data37 = data36.amount;
1775
+ const _errs135 = errors;
1776
+ let valid43 = false;
1777
+ let passing6 = null;
1778
+ const _errs136 = errors;
1779
+ if (typeof data37 === "string") {
1780
+ if (!pattern8.test(data37)) {
1781
+ const err95 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/0/pattern", keyword: "pattern", params: { pattern: "^[0-9]+(\\.[0-9]+)?$" }, message: 'must match pattern "^[0-9]+(\\.[0-9]+)?$"' };
1339
1782
  if (vErrors === null) {
1340
- vErrors = [err78];
1783
+ vErrors = [err95];
1341
1784
  } else {
1342
- vErrors.push(err78);
1785
+ vErrors.push(err95);
1343
1786
  }
1344
1787
  errors++;
1345
1788
  }
1346
1789
  } else {
1347
- const err79 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1790
+ const err96 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/0/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1348
1791
  if (vErrors === null) {
1349
- vErrors = [err79];
1792
+ vErrors = [err96];
1350
1793
  } else {
1351
- vErrors.push(err79);
1794
+ vErrors.push(err96);
1352
1795
  }
1353
1796
  errors++;
1354
1797
  }
1355
- var _valid4 = _errs110 === errors;
1356
- if (_valid4) {
1357
- valid32 = true;
1358
- passing4 = 0;
1798
+ var _valid8 = _errs136 === errors;
1799
+ if (_valid8) {
1800
+ valid43 = true;
1801
+ passing6 = 0;
1359
1802
  }
1360
- const _errs112 = errors;
1361
- if (typeof data35 == "number") {
1362
- if (data35 < 0 || isNaN(data35)) {
1363
- const err80 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/1/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
1803
+ const _errs138 = errors;
1804
+ if (typeof data37 == "number") {
1805
+ if (data37 < 0 || isNaN(data37)) {
1806
+ const err97 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/1/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
1364
1807
  if (vErrors === null) {
1365
- vErrors = [err80];
1808
+ vErrors = [err97];
1366
1809
  } else {
1367
- vErrors.push(err80);
1810
+ vErrors.push(err97);
1368
1811
  }
1369
1812
  errors++;
1370
1813
  }
1371
1814
  } else {
1372
- const err81 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/1/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1815
+ const err98 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf/1/type", keyword: "type", params: { type: "number" }, message: "must be number" };
1373
1816
  if (vErrors === null) {
1374
- vErrors = [err81];
1817
+ vErrors = [err98];
1375
1818
  } else {
1376
- vErrors.push(err81);
1819
+ vErrors.push(err98);
1377
1820
  }
1378
1821
  errors++;
1379
1822
  }
1380
- var _valid4 = _errs112 === errors;
1381
- if (_valid4 && valid32) {
1382
- valid32 = false;
1383
- passing4 = [passing4, 1];
1823
+ var _valid8 = _errs138 === errors;
1824
+ if (_valid8 && valid43) {
1825
+ valid43 = false;
1826
+ passing6 = [passing6, 1];
1384
1827
  } else {
1385
- if (_valid4) {
1386
- valid32 = true;
1387
- passing4 = 1;
1828
+ if (_valid8) {
1829
+ valid43 = true;
1830
+ passing6 = 1;
1388
1831
  }
1389
1832
  }
1390
- if (!valid32) {
1391
- const err82 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf", keyword: "oneOf", params: { passingSchemas: passing4 }, message: "must match exactly one schema in oneOf" };
1833
+ if (!valid43) {
1834
+ const err99 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/amount", schemaPath: "#/definitions/priceCoin/properties/amount/oneOf", keyword: "oneOf", params: { passingSchemas: passing6 }, message: "must match exactly one schema in oneOf" };
1392
1835
  if (vErrors === null) {
1393
- vErrors = [err82];
1836
+ vErrors = [err99];
1394
1837
  } else {
1395
- vErrors.push(err82);
1838
+ vErrors.push(err99);
1396
1839
  }
1397
1840
  errors++;
1398
1841
  } else {
1399
- errors = _errs109;
1842
+ errors = _errs135;
1400
1843
  if (vErrors !== null) {
1401
- if (_errs109) {
1402
- vErrors.length = _errs109;
1844
+ if (_errs135) {
1845
+ vErrors.length = _errs135;
1403
1846
  } else {
1404
1847
  vErrors = null;
1405
1848
  }
1406
1849
  }
1407
1850
  }
1408
1851
  }
1409
- if (data34.denom !== void 0) {
1410
- let data36 = data34.denom;
1411
- if (typeof data36 === "string") {
1412
- if (!pattern7.test(data36)) {
1413
- const err83 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/denom", schemaPath: "#/definitions/priceCoin/properties/denom/pattern", keyword: "pattern", params: { pattern: "^(uakt|uact|ibc/.*)$" }, message: 'must match pattern "^(uakt|uact|ibc/.*)$"' };
1852
+ if (data36.denom !== void 0) {
1853
+ let data38 = data36.denom;
1854
+ if (typeof data38 === "string") {
1855
+ if (!pattern9.test(data38)) {
1856
+ const err100 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/denom", schemaPath: "#/definitions/priceCoin/properties/denom/pattern", keyword: "pattern", params: { pattern: "^(uakt|uact|ibc/.*)$" }, message: 'must match pattern "^(uakt|uact|ibc/.*)$"' };
1414
1857
  if (vErrors === null) {
1415
- vErrors = [err83];
1858
+ vErrors = [err100];
1416
1859
  } else {
1417
- vErrors.push(err83);
1860
+ vErrors.push(err100);
1418
1861
  }
1419
1862
  errors++;
1420
1863
  }
1421
1864
  } else {
1422
- const err84 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/denom", schemaPath: "#/definitions/priceCoin/properties/denom/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1865
+ const err101 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1") + "/denom", schemaPath: "#/definitions/priceCoin/properties/denom/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1423
1866
  if (vErrors === null) {
1424
- vErrors = [err84];
1867
+ vErrors = [err101];
1425
1868
  } else {
1426
- vErrors.push(err84);
1869
+ vErrors.push(err101);
1427
1870
  }
1428
1871
  errors++;
1429
1872
  }
1430
1873
  }
1431
1874
  } else {
1432
- const err85 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1875
+ const err102 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing/" + key19.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/definitions/priceCoin/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1433
1876
  if (vErrors === null) {
1434
- vErrors = [err85];
1877
+ vErrors = [err102];
1435
1878
  } else {
1436
- vErrors.push(err85);
1879
+ vErrors.push(err102);
1437
1880
  }
1438
1881
  errors++;
1439
1882
  }
1440
1883
  }
1441
1884
  } else {
1442
- const err86 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/pricing/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1885
+ const err103 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/pricing", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/pricing/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1443
1886
  if (vErrors === null) {
1444
- vErrors = [err86];
1887
+ vErrors = [err103];
1445
1888
  } else {
1446
- vErrors.push(err86);
1889
+ vErrors.push(err103);
1447
1890
  }
1448
1891
  errors++;
1449
1892
  }
1450
1893
  }
1451
- if (data31.signedBy !== void 0) {
1452
- let data37 = data31.signedBy;
1453
- if (data37 && typeof data37 == "object" && !Array.isArray(data37)) {
1454
- for (const key21 in data37) {
1894
+ if (data33.signedBy !== void 0) {
1895
+ let data39 = data33.signedBy;
1896
+ if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
1897
+ for (const key21 in data39) {
1455
1898
  if (!(key21 === "allOf" || key21 === "anyOf")) {
1456
- const err87 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key21 }, message: "must NOT have additional properties" };
1899
+ const err104 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key21 }, message: "must NOT have additional properties" };
1457
1900
  if (vErrors === null) {
1458
- vErrors = [err87];
1901
+ vErrors = [err104];
1459
1902
  } else {
1460
- vErrors.push(err87);
1903
+ vErrors.push(err104);
1461
1904
  }
1462
1905
  errors++;
1463
1906
  }
1464
1907
  }
1465
- if (data37.allOf !== void 0) {
1466
- let data38 = data37.allOf;
1467
- if (Array.isArray(data38)) {
1468
- const len3 = data38.length;
1908
+ if (data39.allOf !== void 0) {
1909
+ let data40 = data39.allOf;
1910
+ if (Array.isArray(data40)) {
1911
+ const len3 = data40.length;
1469
1912
  for (let i3 = 0; i3 < len3; i3++) {
1470
- if (typeof data38[i3] !== "string") {
1471
- const err88 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/allOf/" + i3, schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/allOf/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1913
+ if (typeof data40[i3] !== "string") {
1914
+ const err105 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/allOf/" + i3, schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/allOf/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1472
1915
  if (vErrors === null) {
1473
- vErrors = [err88];
1916
+ vErrors = [err105];
1474
1917
  } else {
1475
- vErrors.push(err88);
1918
+ vErrors.push(err105);
1476
1919
  }
1477
1920
  errors++;
1478
1921
  }
1479
1922
  }
1480
1923
  } else {
1481
- const err89 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/allOf", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/allOf/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1924
+ const err106 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/allOf", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/allOf/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1482
1925
  if (vErrors === null) {
1483
- vErrors = [err89];
1926
+ vErrors = [err106];
1484
1927
  } else {
1485
- vErrors.push(err89);
1928
+ vErrors.push(err106);
1486
1929
  }
1487
1930
  errors++;
1488
1931
  }
1489
1932
  }
1490
- if (data37.anyOf !== void 0) {
1491
- let data40 = data37.anyOf;
1492
- if (Array.isArray(data40)) {
1493
- const len4 = data40.length;
1933
+ if (data39.anyOf !== void 0) {
1934
+ let data42 = data39.anyOf;
1935
+ if (Array.isArray(data42)) {
1936
+ const len4 = data42.length;
1494
1937
  for (let i4 = 0; i4 < len4; i4++) {
1495
- if (typeof data40[i4] !== "string") {
1496
- const err90 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/anyOf/" + i4, schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/anyOf/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1938
+ if (typeof data42[i4] !== "string") {
1939
+ const err107 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/anyOf/" + i4, schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/anyOf/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1497
1940
  if (vErrors === null) {
1498
- vErrors = [err90];
1941
+ vErrors = [err107];
1499
1942
  } else {
1500
- vErrors.push(err90);
1943
+ vErrors.push(err107);
1501
1944
  }
1502
1945
  errors++;
1503
1946
  }
1504
1947
  }
1505
1948
  } else {
1506
- const err91 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/anyOf", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/anyOf/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1949
+ const err108 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy/anyOf", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/properties/anyOf/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1507
1950
  if (vErrors === null) {
1508
- vErrors = [err91];
1951
+ vErrors = [err108];
1509
1952
  } else {
1510
- vErrors.push(err91);
1953
+ vErrors.push(err108);
1511
1954
  }
1512
1955
  errors++;
1513
1956
  }
1514
1957
  }
1515
1958
  } else {
1516
- const err92 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1959
+ const err109 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1") + "/signedBy", schemaPath: "#/properties/profiles/properties/placement/additionalProperties/properties/signedBy/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1517
1960
  if (vErrors === null) {
1518
- vErrors = [err92];
1961
+ vErrors = [err109];
1519
1962
  } else {
1520
- vErrors.push(err92);
1963
+ vErrors.push(err109);
1521
1964
  }
1522
1965
  errors++;
1523
1966
  }
1524
1967
  }
1525
1968
  } else {
1526
- const err93 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1969
+ const err110 = { instancePath: instancePath + "/profiles/placement/" + key17.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/profiles/properties/placement/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1527
1970
  if (vErrors === null) {
1528
- vErrors = [err93];
1971
+ vErrors = [err110];
1529
1972
  } else {
1530
- vErrors.push(err93);
1973
+ vErrors.push(err110);
1531
1974
  }
1532
1975
  errors++;
1533
1976
  }
1534
1977
  }
1535
1978
  } else {
1536
- const err94 = { instancePath: instancePath + "/profiles/placement", schemaPath: "#/properties/profiles/properties/placement/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1979
+ const err111 = { instancePath: instancePath + "/profiles/placement", schemaPath: "#/properties/profiles/properties/placement/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1537
1980
  if (vErrors === null) {
1538
- vErrors = [err94];
1981
+ vErrors = [err111];
1539
1982
  } else {
1540
- vErrors.push(err94);
1983
+ vErrors.push(err111);
1541
1984
  }
1542
1985
  errors++;
1543
1986
  }
1544
1987
  }
1545
1988
  } else {
1546
- const err95 = { instancePath: instancePath + "/profiles", schemaPath: "#/properties/profiles/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1989
+ const err112 = { instancePath: instancePath + "/profiles", schemaPath: "#/properties/profiles/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1547
1990
  if (vErrors === null) {
1548
- vErrors = [err95];
1991
+ vErrors = [err112];
1549
1992
  } else {
1550
- vErrors.push(err95);
1993
+ vErrors.push(err112);
1551
1994
  }
1552
1995
  errors++;
1553
1996
  }
1554
1997
  }
1555
1998
  if (data.services !== void 0) {
1556
- let data42 = data.services;
1557
- if (data42 && typeof data42 == "object" && !Array.isArray(data42)) {
1558
- for (const key22 in data42) {
1559
- let data43 = data42[key22];
1560
- if (data43 && typeof data43 == "object" && !Array.isArray(data43)) {
1561
- if (data43.image === void 0) {
1562
- const err96 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/required", keyword: "required", params: { missingProperty: "image" }, message: "must have required property 'image'" };
1999
+ let data44 = data.services;
2000
+ if (data44 && typeof data44 == "object" && !Array.isArray(data44)) {
2001
+ for (const key22 in data44) {
2002
+ let data45 = data44[key22];
2003
+ if (data45 && typeof data45 == "object" && !Array.isArray(data45)) {
2004
+ if (data45.image === void 0) {
2005
+ const err113 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/required", keyword: "required", params: { missingProperty: "image" }, message: "must have required property 'image'" };
1563
2006
  if (vErrors === null) {
1564
- vErrors = [err96];
2007
+ vErrors = [err113];
1565
2008
  } else {
1566
- vErrors.push(err96);
2009
+ vErrors.push(err113);
1567
2010
  }
1568
2011
  errors++;
1569
2012
  }
1570
- for (const key23 in data43) {
2013
+ for (const key23 in data45) {
1571
2014
  if (!(key23 === "args" || key23 === "command" || key23 === "credentials" || key23 === "dependencies" || key23 === "env" || key23 === "expose" || key23 === "image" || key23 === "params")) {
1572
- const err97 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key23 }, message: "must NOT have additional properties" };
2015
+ const err114 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key23 }, message: "must NOT have additional properties" };
1573
2016
  if (vErrors === null) {
1574
- vErrors = [err97];
2017
+ vErrors = [err114];
1575
2018
  } else {
1576
- vErrors.push(err97);
2019
+ vErrors.push(err114);
1577
2020
  }
1578
2021
  errors++;
1579
2022
  }
1580
2023
  }
1581
- if (data43.args !== void 0) {
1582
- let data44 = data43.args;
1583
- const _errs135 = errors;
1584
- let valid41 = false;
1585
- let passing5 = null;
1586
- const _errs136 = errors;
1587
- if (Array.isArray(data44)) {
1588
- const len5 = data44.length;
2024
+ if (data45.args !== void 0) {
2025
+ let data46 = data45.args;
2026
+ const _errs161 = errors;
2027
+ let valid52 = false;
2028
+ let passing7 = null;
2029
+ const _errs162 = errors;
2030
+ if (Array.isArray(data46)) {
2031
+ const len5 = data46.length;
1589
2032
  for (let i5 = 0; i5 < len5; i5++) {
1590
- if (typeof data44[i5] !== "string") {
1591
- const err98 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args/" + i5, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2033
+ if (typeof data46[i5] !== "string") {
2034
+ const err115 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args/" + i5, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1592
2035
  if (vErrors === null) {
1593
- vErrors = [err98];
2036
+ vErrors = [err115];
1594
2037
  } else {
1595
- vErrors.push(err98);
2038
+ vErrors.push(err115);
1596
2039
  }
1597
2040
  errors++;
1598
2041
  }
1599
2042
  }
1600
2043
  } else {
1601
- const err99 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2044
+ const err116 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1602
2045
  if (vErrors === null) {
1603
- vErrors = [err99];
2046
+ vErrors = [err116];
1604
2047
  } else {
1605
- vErrors.push(err99);
2048
+ vErrors.push(err116);
1606
2049
  }
1607
2050
  errors++;
1608
2051
  }
1609
- var _valid5 = _errs136 === errors;
1610
- if (_valid5) {
1611
- valid41 = true;
1612
- passing5 = 0;
2052
+ var _valid9 = _errs162 === errors;
2053
+ if (_valid9) {
2054
+ valid52 = true;
2055
+ passing7 = 0;
1613
2056
  }
1614
- const _errs140 = errors;
1615
- if (data44 !== null) {
1616
- const err100 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2057
+ const _errs166 = errors;
2058
+ if (data46 !== null) {
2059
+ const err117 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
1617
2060
  if (vErrors === null) {
1618
- vErrors = [err100];
2061
+ vErrors = [err117];
1619
2062
  } else {
1620
- vErrors.push(err100);
2063
+ vErrors.push(err117);
1621
2064
  }
1622
2065
  errors++;
1623
2066
  }
1624
- var _valid5 = _errs140 === errors;
1625
- if (_valid5 && valid41) {
1626
- valid41 = false;
1627
- passing5 = [passing5, 1];
2067
+ var _valid9 = _errs166 === errors;
2068
+ if (_valid9 && valid52) {
2069
+ valid52 = false;
2070
+ passing7 = [passing7, 1];
1628
2071
  } else {
1629
- if (_valid5) {
1630
- valid41 = true;
1631
- passing5 = 1;
2072
+ if (_valid9) {
2073
+ valid52 = true;
2074
+ passing7 = 1;
1632
2075
  }
1633
2076
  }
1634
- if (!valid41) {
1635
- const err101 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf", keyword: "oneOf", params: { passingSchemas: passing5 }, message: "must match exactly one schema in oneOf" };
2077
+ if (!valid52) {
2078
+ const err118 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/args", schemaPath: "#/definitions/stringArrayOrNull/oneOf", keyword: "oneOf", params: { passingSchemas: passing7 }, message: "must match exactly one schema in oneOf" };
1636
2079
  if (vErrors === null) {
1637
- vErrors = [err101];
2080
+ vErrors = [err118];
1638
2081
  } else {
1639
- vErrors.push(err101);
2082
+ vErrors.push(err118);
1640
2083
  }
1641
2084
  errors++;
1642
2085
  } else {
1643
- errors = _errs135;
2086
+ errors = _errs161;
1644
2087
  if (vErrors !== null) {
1645
- if (_errs135) {
1646
- vErrors.length = _errs135;
2088
+ if (_errs161) {
2089
+ vErrors.length = _errs161;
1647
2090
  } else {
1648
2091
  vErrors = null;
1649
2092
  }
1650
2093
  }
1651
2094
  }
1652
2095
  }
1653
- if (data43.command !== void 0) {
1654
- let data46 = data43.command;
1655
- const _errs144 = errors;
1656
- let valid45 = false;
1657
- let passing6 = null;
1658
- const _errs145 = errors;
1659
- if (Array.isArray(data46)) {
1660
- const len6 = data46.length;
2096
+ if (data45.command !== void 0) {
2097
+ let data48 = data45.command;
2098
+ const _errs170 = errors;
2099
+ let valid56 = false;
2100
+ let passing8 = null;
2101
+ const _errs171 = errors;
2102
+ if (Array.isArray(data48)) {
2103
+ const len6 = data48.length;
1661
2104
  for (let i6 = 0; i6 < len6; i6++) {
1662
- if (typeof data46[i6] !== "string") {
1663
- const err102 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command/" + i6, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2105
+ if (typeof data48[i6] !== "string") {
2106
+ const err119 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command/" + i6, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1664
2107
  if (vErrors === null) {
1665
- vErrors = [err102];
2108
+ vErrors = [err119];
1666
2109
  } else {
1667
- vErrors.push(err102);
2110
+ vErrors.push(err119);
1668
2111
  }
1669
2112
  errors++;
1670
2113
  }
1671
2114
  }
1672
2115
  } else {
1673
- const err103 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2116
+ const err120 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1674
2117
  if (vErrors === null) {
1675
- vErrors = [err103];
2118
+ vErrors = [err120];
1676
2119
  } else {
1677
- vErrors.push(err103);
2120
+ vErrors.push(err120);
1678
2121
  }
1679
2122
  errors++;
1680
2123
  }
1681
- var _valid6 = _errs145 === errors;
1682
- if (_valid6) {
1683
- valid45 = true;
1684
- passing6 = 0;
2124
+ var _valid10 = _errs171 === errors;
2125
+ if (_valid10) {
2126
+ valid56 = true;
2127
+ passing8 = 0;
1685
2128
  }
1686
- const _errs149 = errors;
1687
- if (data46 !== null) {
1688
- const err104 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2129
+ const _errs175 = errors;
2130
+ if (data48 !== null) {
2131
+ const err121 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
1689
2132
  if (vErrors === null) {
1690
- vErrors = [err104];
2133
+ vErrors = [err121];
1691
2134
  } else {
1692
- vErrors.push(err104);
2135
+ vErrors.push(err121);
1693
2136
  }
1694
2137
  errors++;
1695
2138
  }
1696
- var _valid6 = _errs149 === errors;
1697
- if (_valid6 && valid45) {
1698
- valid45 = false;
1699
- passing6 = [passing6, 1];
2139
+ var _valid10 = _errs175 === errors;
2140
+ if (_valid10 && valid56) {
2141
+ valid56 = false;
2142
+ passing8 = [passing8, 1];
1700
2143
  } else {
1701
- if (_valid6) {
1702
- valid45 = true;
1703
- passing6 = 1;
2144
+ if (_valid10) {
2145
+ valid56 = true;
2146
+ passing8 = 1;
1704
2147
  }
1705
2148
  }
1706
- if (!valid45) {
1707
- const err105 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf", keyword: "oneOf", params: { passingSchemas: passing6 }, message: "must match exactly one schema in oneOf" };
2149
+ if (!valid56) {
2150
+ const err122 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/command", schemaPath: "#/definitions/stringArrayOrNull/oneOf", keyword: "oneOf", params: { passingSchemas: passing8 }, message: "must match exactly one schema in oneOf" };
1708
2151
  if (vErrors === null) {
1709
- vErrors = [err105];
2152
+ vErrors = [err122];
1710
2153
  } else {
1711
- vErrors.push(err105);
2154
+ vErrors.push(err122);
1712
2155
  }
1713
2156
  errors++;
1714
2157
  } else {
1715
- errors = _errs144;
2158
+ errors = _errs170;
1716
2159
  if (vErrors !== null) {
1717
- if (_errs144) {
1718
- vErrors.length = _errs144;
2160
+ if (_errs170) {
2161
+ vErrors.length = _errs170;
1719
2162
  } else {
1720
2163
  vErrors = null;
1721
2164
  }
1722
2165
  }
1723
2166
  }
1724
2167
  }
1725
- if (data43.credentials !== void 0) {
1726
- let data48 = data43.credentials;
1727
- if (data48 && typeof data48 == "object" && !Array.isArray(data48)) {
1728
- if (data48.host === void 0) {
1729
- const err106 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "host" }, message: "must have required property 'host'" };
2168
+ if (data45.credentials !== void 0) {
2169
+ let data50 = data45.credentials;
2170
+ if (data50 && typeof data50 == "object" && !Array.isArray(data50)) {
2171
+ if (data50.host === void 0) {
2172
+ const err123 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "host" }, message: "must have required property 'host'" };
1730
2173
  if (vErrors === null) {
1731
- vErrors = [err106];
2174
+ vErrors = [err123];
1732
2175
  } else {
1733
- vErrors.push(err106);
2176
+ vErrors.push(err123);
1734
2177
  }
1735
2178
  errors++;
1736
2179
  }
1737
- if (data48.username === void 0) {
1738
- const err107 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "username" }, message: "must have required property 'username'" };
2180
+ if (data50.username === void 0) {
2181
+ const err124 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "username" }, message: "must have required property 'username'" };
1739
2182
  if (vErrors === null) {
1740
- vErrors = [err107];
2183
+ vErrors = [err124];
1741
2184
  } else {
1742
- vErrors.push(err107);
2185
+ vErrors.push(err124);
1743
2186
  }
1744
2187
  errors++;
1745
2188
  }
1746
- if (data48.password === void 0) {
1747
- const err108 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "password" }, message: "must have required property 'password'" };
2189
+ if (data50.password === void 0) {
2190
+ const err125 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/required", keyword: "required", params: { missingProperty: "password" }, message: "must have required property 'password'" };
1748
2191
  if (vErrors === null) {
1749
- vErrors = [err108];
2192
+ vErrors = [err125];
1750
2193
  } else {
1751
- vErrors.push(err108);
2194
+ vErrors.push(err125);
1752
2195
  }
1753
2196
  errors++;
1754
2197
  }
1755
- for (const key24 in data48) {
2198
+ for (const key24 in data50) {
1756
2199
  if (!(key24 === "email" || key24 === "host" || key24 === "password" || key24 === "username")) {
1757
- const err109 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key24 }, message: "must NOT have additional properties" };
2200
+ const err126 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key24 }, message: "must NOT have additional properties" };
1758
2201
  if (vErrors === null) {
1759
- vErrors = [err109];
2202
+ vErrors = [err126];
1760
2203
  } else {
1761
- vErrors.push(err109);
2204
+ vErrors.push(err126);
1762
2205
  }
1763
2206
  errors++;
1764
2207
  }
1765
2208
  }
1766
- if (data48.email !== void 0) {
1767
- let data49 = data48.email;
1768
- if (typeof data49 === "string") {
1769
- if (func2(data49) < 5) {
1770
- const err110 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/email", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/email/minLength", keyword: "minLength", params: { limit: 5 }, message: "must NOT have fewer than 5 characters" };
2209
+ if (data50.email !== void 0) {
2210
+ let data51 = data50.email;
2211
+ if (typeof data51 === "string") {
2212
+ if (func2(data51) < 5) {
2213
+ const err127 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/email", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/email/minLength", keyword: "minLength", params: { limit: 5 }, message: "must NOT have fewer than 5 characters" };
1771
2214
  if (vErrors === null) {
1772
- vErrors = [err110];
2215
+ vErrors = [err127];
1773
2216
  } else {
1774
- vErrors.push(err110);
2217
+ vErrors.push(err127);
1775
2218
  }
1776
2219
  errors++;
1777
2220
  }
1778
2221
  } else {
1779
- const err111 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/email", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/email/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2222
+ const err128 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/email", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/email/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1780
2223
  if (vErrors === null) {
1781
- vErrors = [err111];
2224
+ vErrors = [err128];
1782
2225
  } else {
1783
- vErrors.push(err111);
2226
+ vErrors.push(err128);
1784
2227
  }
1785
2228
  errors++;
1786
2229
  }
1787
2230
  }
1788
- if (data48.host !== void 0) {
1789
- let data50 = data48.host;
1790
- if (typeof data50 === "string") {
1791
- if (func2(data50) < 1) {
1792
- const err112 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/host", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/host/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2231
+ if (data50.host !== void 0) {
2232
+ let data52 = data50.host;
2233
+ if (typeof data52 === "string") {
2234
+ if (func2(data52) < 1) {
2235
+ const err129 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/host", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/host/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
1793
2236
  if (vErrors === null) {
1794
- vErrors = [err112];
2237
+ vErrors = [err129];
1795
2238
  } else {
1796
- vErrors.push(err112);
2239
+ vErrors.push(err129);
1797
2240
  }
1798
2241
  errors++;
1799
2242
  }
1800
2243
  } else {
1801
- const err113 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/host", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/host/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2244
+ const err130 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/host", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/host/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1802
2245
  if (vErrors === null) {
1803
- vErrors = [err113];
2246
+ vErrors = [err130];
1804
2247
  } else {
1805
- vErrors.push(err113);
2248
+ vErrors.push(err130);
1806
2249
  }
1807
2250
  errors++;
1808
2251
  }
1809
2252
  }
1810
- if (data48.password !== void 0) {
1811
- let data51 = data48.password;
1812
- if (typeof data51 === "string") {
1813
- if (func2(data51) < 6) {
1814
- const err114 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/password", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/password/minLength", keyword: "minLength", params: { limit: 6 }, message: "must NOT have fewer than 6 characters" };
2253
+ if (data50.password !== void 0) {
2254
+ let data53 = data50.password;
2255
+ if (typeof data53 === "string") {
2256
+ if (func2(data53) < 6) {
2257
+ const err131 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/password", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/password/minLength", keyword: "minLength", params: { limit: 6 }, message: "must NOT have fewer than 6 characters" };
1815
2258
  if (vErrors === null) {
1816
- vErrors = [err114];
2259
+ vErrors = [err131];
1817
2260
  } else {
1818
- vErrors.push(err114);
2261
+ vErrors.push(err131);
1819
2262
  }
1820
2263
  errors++;
1821
2264
  }
1822
2265
  } else {
1823
- const err115 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/password", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/password/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2266
+ const err132 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/password", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/password/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1824
2267
  if (vErrors === null) {
1825
- vErrors = [err115];
2268
+ vErrors = [err132];
1826
2269
  } else {
1827
- vErrors.push(err115);
2270
+ vErrors.push(err132);
1828
2271
  }
1829
2272
  errors++;
1830
2273
  }
1831
2274
  }
1832
- if (data48.username !== void 0) {
1833
- let data52 = data48.username;
1834
- if (typeof data52 === "string") {
1835
- if (func2(data52) < 1) {
1836
- const err116 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/username", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/username/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2275
+ if (data50.username !== void 0) {
2276
+ let data54 = data50.username;
2277
+ if (typeof data54 === "string") {
2278
+ if (func2(data54) < 1) {
2279
+ const err133 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/username", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/username/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
1837
2280
  if (vErrors === null) {
1838
- vErrors = [err116];
2281
+ vErrors = [err133];
1839
2282
  } else {
1840
- vErrors.push(err116);
2283
+ vErrors.push(err133);
1841
2284
  }
1842
2285
  errors++;
1843
2286
  }
1844
2287
  } else {
1845
- const err117 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/username", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/username/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2288
+ const err134 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials/username", schemaPath: "#/properties/services/additionalProperties/properties/credentials/properties/username/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1846
2289
  if (vErrors === null) {
1847
- vErrors = [err117];
2290
+ vErrors = [err134];
1848
2291
  } else {
1849
- vErrors.push(err117);
2292
+ vErrors.push(err134);
1850
2293
  }
1851
2294
  errors++;
1852
2295
  }
1853
2296
  }
1854
2297
  } else {
1855
- const err118 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2298
+ const err135 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/credentials", schemaPath: "#/properties/services/additionalProperties/properties/credentials/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1856
2299
  if (vErrors === null) {
1857
- vErrors = [err118];
2300
+ vErrors = [err135];
1858
2301
  } else {
1859
- vErrors.push(err118);
2302
+ vErrors.push(err135);
1860
2303
  }
1861
2304
  errors++;
1862
2305
  }
1863
2306
  }
1864
- if (data43.dependencies !== void 0) {
1865
- let data53 = data43.dependencies;
1866
- if (Array.isArray(data53)) {
1867
- const len7 = data53.length;
2307
+ if (data45.dependencies !== void 0) {
2308
+ let data55 = data45.dependencies;
2309
+ if (Array.isArray(data55)) {
2310
+ const len7 = data55.length;
1868
2311
  for (let i7 = 0; i7 < len7; i7++) {
1869
- let data54 = data53[i7];
1870
- if (data54 && typeof data54 == "object" && !Array.isArray(data54)) {
1871
- for (const key25 in data54) {
2312
+ let data56 = data55[i7];
2313
+ if (data56 && typeof data56 == "object" && !Array.isArray(data56)) {
2314
+ for (const key25 in data56) {
1872
2315
  if (!(key25 === "service")) {
1873
- const err119 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7, schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key25 }, message: "must NOT have additional properties" };
2316
+ const err136 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7, schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key25 }, message: "must NOT have additional properties" };
1874
2317
  if (vErrors === null) {
1875
- vErrors = [err119];
2318
+ vErrors = [err136];
1876
2319
  } else {
1877
- vErrors.push(err119);
2320
+ vErrors.push(err136);
1878
2321
  }
1879
2322
  errors++;
1880
2323
  }
1881
2324
  }
1882
- if (data54.service !== void 0) {
1883
- if (typeof data54.service !== "string") {
1884
- const err120 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2325
+ if (data56.service !== void 0) {
2326
+ if (typeof data56.service !== "string") {
2327
+ const err137 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1885
2328
  if (vErrors === null) {
1886
- vErrors = [err120];
2329
+ vErrors = [err137];
1887
2330
  } else {
1888
- vErrors.push(err120);
2331
+ vErrors.push(err137);
1889
2332
  }
1890
2333
  errors++;
1891
2334
  }
1892
2335
  }
1893
2336
  } else {
1894
- const err121 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7, schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2337
+ const err138 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies/" + i7, schemaPath: "#/properties/services/additionalProperties/properties/dependencies/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
1895
2338
  if (vErrors === null) {
1896
- vErrors = [err121];
2339
+ vErrors = [err138];
1897
2340
  } else {
1898
- vErrors.push(err121);
2341
+ vErrors.push(err138);
1899
2342
  }
1900
2343
  errors++;
1901
2344
  }
1902
2345
  }
1903
2346
  } else {
1904
- const err122 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies", schemaPath: "#/properties/services/additionalProperties/properties/dependencies/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2347
+ const err139 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/dependencies", schemaPath: "#/properties/services/additionalProperties/properties/dependencies/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1905
2348
  if (vErrors === null) {
1906
- vErrors = [err122];
2349
+ vErrors = [err139];
1907
2350
  } else {
1908
- vErrors.push(err122);
2351
+ vErrors.push(err139);
1909
2352
  }
1910
2353
  errors++;
1911
2354
  }
1912
2355
  }
1913
- if (data43.env !== void 0) {
1914
- let data56 = data43.env;
1915
- const _errs171 = errors;
1916
- let valid53 = false;
1917
- let passing7 = null;
1918
- const _errs172 = errors;
1919
- if (Array.isArray(data56)) {
1920
- const len8 = data56.length;
2356
+ if (data45.env !== void 0) {
2357
+ let data58 = data45.env;
2358
+ const _errs197 = errors;
2359
+ let valid64 = false;
2360
+ let passing9 = null;
2361
+ const _errs198 = errors;
2362
+ if (Array.isArray(data58)) {
2363
+ const len8 = data58.length;
1921
2364
  for (let i8 = 0; i8 < len8; i8++) {
1922
- if (typeof data56[i8] !== "string") {
1923
- const err123 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env/" + i8, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2365
+ if (typeof data58[i8] !== "string") {
2366
+ const err140 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env/" + i8, schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
1924
2367
  if (vErrors === null) {
1925
- vErrors = [err123];
2368
+ vErrors = [err140];
1926
2369
  } else {
1927
- vErrors.push(err123);
2370
+ vErrors.push(err140);
1928
2371
  }
1929
2372
  errors++;
1930
2373
  }
1931
2374
  }
1932
2375
  } else {
1933
- const err124 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2376
+ const err141 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
1934
2377
  if (vErrors === null) {
1935
- vErrors = [err124];
2378
+ vErrors = [err141];
1936
2379
  } else {
1937
- vErrors.push(err124);
2380
+ vErrors.push(err141);
1938
2381
  }
1939
2382
  errors++;
1940
2383
  }
1941
- var _valid7 = _errs172 === errors;
1942
- if (_valid7) {
1943
- valid53 = true;
1944
- passing7 = 0;
2384
+ var _valid11 = _errs198 === errors;
2385
+ if (_valid11) {
2386
+ valid64 = true;
2387
+ passing9 = 0;
1945
2388
  }
1946
- const _errs176 = errors;
1947
- if (data56 !== null) {
1948
- const err125 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
2389
+ const _errs202 = errors;
2390
+ if (data58 !== null) {
2391
+ const err142 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
1949
2392
  if (vErrors === null) {
1950
- vErrors = [err125];
2393
+ vErrors = [err142];
1951
2394
  } else {
1952
- vErrors.push(err125);
2395
+ vErrors.push(err142);
1953
2396
  }
1954
2397
  errors++;
1955
2398
  }
1956
- var _valid7 = _errs176 === errors;
1957
- if (_valid7 && valid53) {
1958
- valid53 = false;
1959
- passing7 = [passing7, 1];
2399
+ var _valid11 = _errs202 === errors;
2400
+ if (_valid11 && valid64) {
2401
+ valid64 = false;
2402
+ passing9 = [passing9, 1];
1960
2403
  } else {
1961
- if (_valid7) {
1962
- valid53 = true;
1963
- passing7 = 1;
2404
+ if (_valid11) {
2405
+ valid64 = true;
2406
+ passing9 = 1;
1964
2407
  }
1965
2408
  }
1966
- if (!valid53) {
1967
- const err126 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf", keyword: "oneOf", params: { passingSchemas: passing7 }, message: "must match exactly one schema in oneOf" };
2409
+ if (!valid64) {
2410
+ const err143 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/env", schemaPath: "#/definitions/stringArrayOrNull/oneOf", keyword: "oneOf", params: { passingSchemas: passing9 }, message: "must match exactly one schema in oneOf" };
1968
2411
  if (vErrors === null) {
1969
- vErrors = [err126];
2412
+ vErrors = [err143];
1970
2413
  } else {
1971
- vErrors.push(err126);
2414
+ vErrors.push(err143);
1972
2415
  }
1973
2416
  errors++;
1974
2417
  } else {
1975
- errors = _errs171;
2418
+ errors = _errs197;
1976
2419
  if (vErrors !== null) {
1977
- if (_errs171) {
1978
- vErrors.length = _errs171;
2420
+ if (_errs197) {
2421
+ vErrors.length = _errs197;
1979
2422
  } else {
1980
2423
  vErrors = null;
1981
2424
  }
1982
2425
  }
1983
2426
  }
1984
2427
  }
1985
- if (data43.expose !== void 0) {
1986
- let data58 = data43.expose;
1987
- if (Array.isArray(data58)) {
1988
- const len9 = data58.length;
2428
+ if (data45.expose !== void 0) {
2429
+ let data60 = data45.expose;
2430
+ const _errs205 = errors;
2431
+ let valid67 = false;
2432
+ let passing10 = null;
2433
+ const _errs206 = errors;
2434
+ if (Array.isArray(data60)) {
2435
+ const len9 = data60.length;
1989
2436
  for (let i9 = 0; i9 < len9; i9++) {
1990
- let data59 = data58[i9];
1991
- if (data59 && typeof data59 == "object" && !Array.isArray(data59)) {
1992
- if (data59.port === void 0) {
1993
- const err127 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/required", keyword: "required", params: { missingProperty: "port" }, message: "must have required property 'port'" };
2437
+ let data61 = data60[i9];
2438
+ if (data61 && typeof data61 == "object" && !Array.isArray(data61)) {
2439
+ if (data61.port === void 0) {
2440
+ const err144 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/required", keyword: "required", params: { missingProperty: "port" }, message: "must have required property 'port'" };
1994
2441
  if (vErrors === null) {
1995
- vErrors = [err127];
2442
+ vErrors = [err144];
1996
2443
  } else {
1997
- vErrors.push(err127);
2444
+ vErrors.push(err144);
1998
2445
  }
1999
2446
  errors++;
2000
2447
  }
2001
- for (const key26 in data59) {
2448
+ for (const key26 in data61) {
2002
2449
  if (!(key26 === "accept" || key26 === "as" || key26 === "http_options" || key26 === "port" || key26 === "proto" || key26 === "to")) {
2003
- const err128 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key26 }, message: "must NOT have additional properties" };
2450
+ const err145 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key26 }, message: "must NOT have additional properties" };
2004
2451
  if (vErrors === null) {
2005
- vErrors = [err128];
2452
+ vErrors = [err145];
2006
2453
  } else {
2007
- vErrors.push(err128);
2454
+ vErrors.push(err145);
2008
2455
  }
2009
2456
  errors++;
2010
2457
  }
2011
2458
  }
2012
- if (data59.accept !== void 0) {
2013
- let data60 = data59.accept;
2014
- if (Array.isArray(data60)) {
2015
- const len10 = data60.length;
2459
+ if (data61.accept !== void 0) {
2460
+ let data62 = data61.accept;
2461
+ if (Array.isArray(data62)) {
2462
+ const len10 = data62.length;
2016
2463
  for (let i10 = 0; i10 < len10; i10++) {
2017
- if (typeof data60[i10] !== "string") {
2018
- const err129 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/accept/" + i10, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/accept/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2464
+ if (typeof data62[i10] !== "string") {
2465
+ const err146 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/accept/" + i10, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/accept/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2019
2466
  if (vErrors === null) {
2020
- vErrors = [err129];
2467
+ vErrors = [err146];
2021
2468
  } else {
2022
- vErrors.push(err129);
2469
+ vErrors.push(err146);
2023
2470
  }
2024
2471
  errors++;
2025
2472
  }
2026
2473
  }
2027
2474
  } else {
2028
- const err130 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/accept", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/accept/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2475
+ const err147 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/accept", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/accept/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2029
2476
  if (vErrors === null) {
2030
- vErrors = [err130];
2477
+ vErrors = [err147];
2031
2478
  } else {
2032
- vErrors.push(err130);
2479
+ vErrors.push(err147);
2033
2480
  }
2034
2481
  errors++;
2035
2482
  }
2036
2483
  }
2037
- if (data59.as !== void 0) {
2038
- let data62 = data59.as;
2039
- if (!(typeof data62 == "number" && (!(data62 % 1) && !isNaN(data62)))) {
2040
- const err131 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2484
+ if (data61.as !== void 0) {
2485
+ let data64 = data61.as;
2486
+ if (!(typeof data64 == "number" && (!(data64 % 1) && !isNaN(data64)))) {
2487
+ const err148 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2041
2488
  if (vErrors === null) {
2042
- vErrors = [err131];
2489
+ vErrors = [err148];
2043
2490
  } else {
2044
- vErrors.push(err131);
2491
+ vErrors.push(err148);
2045
2492
  }
2046
2493
  errors++;
2047
2494
  }
2048
- if (typeof data62 == "number") {
2049
- if (data62 > 65535 || isNaN(data62)) {
2050
- const err132 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
2495
+ if (typeof data64 == "number") {
2496
+ if (data64 > 65535 || isNaN(data64)) {
2497
+ const err149 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
2051
2498
  if (vErrors === null) {
2052
- vErrors = [err132];
2499
+ vErrors = [err149];
2053
2500
  } else {
2054
- vErrors.push(err132);
2501
+ vErrors.push(err149);
2055
2502
  }
2056
2503
  errors++;
2057
2504
  }
2058
- if (data62 < 1 || isNaN(data62)) {
2059
- const err133 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
2505
+ if (data64 < 1 || isNaN(data64)) {
2506
+ const err150 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/as", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
2060
2507
  if (vErrors === null) {
2061
- vErrors = [err133];
2508
+ vErrors = [err150];
2062
2509
  } else {
2063
- vErrors.push(err133);
2510
+ vErrors.push(err150);
2064
2511
  }
2065
2512
  errors++;
2066
2513
  }
2067
2514
  }
2068
2515
  }
2069
- if (data59.http_options !== void 0) {
2070
- let data63 = data59.http_options;
2071
- if (data63 && typeof data63 == "object" && !Array.isArray(data63)) {
2072
- for (const key27 in data63) {
2516
+ if (data61.http_options !== void 0) {
2517
+ let data65 = data61.http_options;
2518
+ if (data65 && typeof data65 == "object" && !Array.isArray(data65)) {
2519
+ for (const key27 in data65) {
2073
2520
  if (!(key27 === "max_body_size" || key27 === "next_cases" || key27 === "next_timeout" || key27 === "next_tries" || key27 === "read_timeout" || key27 === "send_timeout")) {
2074
- const err134 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key27 }, message: "must NOT have additional properties" };
2521
+ const err151 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key27 }, message: "must NOT have additional properties" };
2075
2522
  if (vErrors === null) {
2076
- vErrors = [err134];
2523
+ vErrors = [err151];
2077
2524
  } else {
2078
- vErrors.push(err134);
2525
+ vErrors.push(err151);
2079
2526
  }
2080
2527
  errors++;
2081
2528
  }
2082
2529
  }
2083
- if (data63.max_body_size !== void 0) {
2084
- let data64 = data63.max_body_size;
2085
- if (!(typeof data64 == "number" && (!(data64 % 1) && !isNaN(data64)))) {
2086
- const err135 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/max_body_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2530
+ if (data65.max_body_size !== void 0) {
2531
+ let data66 = data65.max_body_size;
2532
+ if (!(typeof data66 == "number" && (!(data66 % 1) && !isNaN(data66)))) {
2533
+ const err152 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2087
2534
  if (vErrors === null) {
2088
- vErrors = [err135];
2535
+ vErrors = [err152];
2089
2536
  } else {
2090
- vErrors.push(err135);
2537
+ vErrors.push(err152);
2091
2538
  }
2092
2539
  errors++;
2093
2540
  }
2094
- if (typeof data64 == "number") {
2095
- if (data64 > 104857600 || isNaN(data64)) {
2096
- const err136 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/max_body_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 104857600 }, message: "must be <= 104857600" };
2541
+ if (typeof data66 == "number") {
2542
+ if (data66 > 104857600 || isNaN(data66)) {
2543
+ const err153 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/maximum", keyword: "maximum", params: { comparison: "<=", limit: 104857600 }, message: "must be <= 104857600" };
2097
2544
  if (vErrors === null) {
2098
- vErrors = [err136];
2545
+ vErrors = [err153];
2099
2546
  } else {
2100
- vErrors.push(err136);
2547
+ vErrors.push(err153);
2101
2548
  }
2102
2549
  errors++;
2103
2550
  }
2104
- if (data64 < 0 || isNaN(data64)) {
2105
- const err137 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/max_body_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2551
+ if (data66 < 0 || isNaN(data66)) {
2552
+ const err154 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/max_body_size", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/max_body_size/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2106
2553
  if (vErrors === null) {
2107
- vErrors = [err137];
2554
+ vErrors = [err154];
2108
2555
  } else {
2109
- vErrors.push(err137);
2556
+ vErrors.push(err154);
2110
2557
  }
2111
2558
  errors++;
2112
2559
  }
2113
2560
  }
2114
2561
  }
2115
- if (data63.next_cases !== void 0) {
2116
- let data65 = data63.next_cases;
2117
- const _errs196 = errors;
2118
- let valid63 = false;
2119
- let passing8 = null;
2120
- const _errs197 = errors;
2121
- if (Array.isArray(data65)) {
2122
- if (data65.length > 1) {
2123
- const err138 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/0/maxItems", keyword: "maxItems", params: { limit: 1 }, message: "must NOT have more than 1 items" };
2562
+ if (data65.next_cases !== void 0) {
2563
+ let data67 = data65.next_cases;
2564
+ const _errs224 = errors;
2565
+ let valid75 = false;
2566
+ let passing11 = null;
2567
+ const _errs225 = errors;
2568
+ if (Array.isArray(data67)) {
2569
+ if (data67.length > 1) {
2570
+ const err155 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/maxItems", keyword: "maxItems", params: { limit: 1 }, message: "must NOT have more than 1 items" };
2124
2571
  if (vErrors === null) {
2125
- vErrors = [err138];
2572
+ vErrors = [err155];
2126
2573
  } else {
2127
- vErrors.push(err138);
2574
+ vErrors.push(err155);
2128
2575
  }
2129
2576
  errors++;
2130
2577
  }
2131
- if (data65.length < 1) {
2132
- const err139 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/0/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
2578
+ if (data67.length < 1) {
2579
+ const err156 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/minItems", keyword: "minItems", params: { limit: 1 }, message: "must NOT have fewer than 1 items" };
2133
2580
  if (vErrors === null) {
2134
- vErrors = [err139];
2581
+ vErrors = [err156];
2135
2582
  } else {
2136
- vErrors.push(err139);
2583
+ vErrors.push(err156);
2137
2584
  }
2138
2585
  errors++;
2139
2586
  }
2140
- const len11 = data65.length;
2587
+ const len11 = data67.length;
2141
2588
  for (let i11 = 0; i11 < len11; i11++) {
2142
- let data66 = data65[i11];
2143
- if (typeof data66 !== "string") {
2144
- const err140 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2589
+ let data68 = data67[i11];
2590
+ if (typeof data68 !== "string") {
2591
+ const err157 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2145
2592
  if (vErrors === null) {
2146
- vErrors = [err140];
2593
+ vErrors = [err157];
2147
2594
  } else {
2148
- vErrors.push(err140);
2595
+ vErrors.push(err157);
2149
2596
  }
2150
2597
  errors++;
2151
2598
  }
2152
- if (!(data66 === "error" || data66 === "timeout" || data66 === "500" || data66 === "502" || data66 === "503" || data66 === "504" || data66 === "403" || data66 === "404" || data66 === "429" || data66 === "off")) {
2153
- const err141 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema20.enum }, message: "must be equal to one of the allowed values" };
2599
+ if (!(data68 === "error" || data68 === "timeout" || data68 === "500" || data68 === "502" || data68 === "503" || data68 === "504" || data68 === "403" || data68 === "404" || data68 === "429" || data68 === "off")) {
2600
+ const err158 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i11, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema24.enum }, message: "must be equal to one of the allowed values" };
2154
2601
  if (vErrors === null) {
2155
- vErrors = [err141];
2602
+ vErrors = [err158];
2156
2603
  } else {
2157
- vErrors.push(err141);
2604
+ vErrors.push(err158);
2158
2605
  }
2159
2606
  errors++;
2160
2607
  }
2161
2608
  }
2162
- const _errs202 = errors;
2163
- const len12 = data65.length;
2609
+ const _errs230 = errors;
2610
+ const len12 = data67.length;
2164
2611
  for (let i12 = 0; i12 < len12; i12++) {
2165
- const _errs203 = errors;
2166
- if ("off" !== data65[i12]) {
2167
- const err142 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i12, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/0/contains/const", keyword: "const", params: { allowedValue: "off" }, message: "must be equal to constant" };
2612
+ const _errs231 = errors;
2613
+ if ("off" !== data67[i12]) {
2614
+ const err159 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i12, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/contains/const", keyword: "const", params: { allowedValue: "off" }, message: "must be equal to constant" };
2168
2615
  if (vErrors === null) {
2169
- vErrors = [err142];
2616
+ vErrors = [err159];
2170
2617
  } else {
2171
- vErrors.push(err142);
2618
+ vErrors.push(err159);
2172
2619
  }
2173
2620
  errors++;
2174
2621
  }
2175
- var valid67 = _errs203 === errors;
2176
- if (valid67) {
2622
+ var valid79 = _errs231 === errors;
2623
+ if (valid79) {
2177
2624
  break;
2178
2625
  }
2179
2626
  }
2180
- if (!valid67) {
2181
- const err143 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/0/contains", keyword: "contains", params: { minContains: 1 }, message: "must contain at least 1 valid item(s)" };
2627
+ if (!valid79) {
2628
+ const err160 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/contains", keyword: "contains", params: { minContains: 1 }, message: "must contain at least 1 valid item(s)" };
2182
2629
  if (vErrors === null) {
2183
- vErrors = [err143];
2630
+ vErrors = [err160];
2184
2631
  } else {
2185
- vErrors.push(err143);
2632
+ vErrors.push(err160);
2186
2633
  }
2187
2634
  errors++;
2188
2635
  } else {
2189
- errors = _errs202;
2636
+ errors = _errs230;
2190
2637
  if (vErrors !== null) {
2191
- if (_errs202) {
2192
- vErrors.length = _errs202;
2638
+ if (_errs230) {
2639
+ vErrors.length = _errs230;
2193
2640
  } else {
2194
2641
  vErrors = null;
2195
2642
  }
2196
2643
  }
2197
2644
  }
2198
2645
  } else {
2199
- const err144 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2646
+ const err161 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2200
2647
  if (vErrors === null) {
2201
- vErrors = [err144];
2648
+ vErrors = [err161];
2202
2649
  } else {
2203
- vErrors.push(err144);
2650
+ vErrors.push(err161);
2204
2651
  }
2205
2652
  errors++;
2206
2653
  }
2207
- var _valid8 = _errs197 === errors;
2208
- if (_valid8) {
2209
- valid63 = true;
2210
- passing8 = 0;
2211
- }
2212
- const _errs204 = errors;
2213
- const _errs206 = errors;
2214
- const _errs207 = errors;
2215
- if (Array.isArray(data65)) {
2216
- const _errs208 = errors;
2217
- const len13 = data65.length;
2654
+ var _valid13 = _errs225 === errors;
2655
+ if (_valid13) {
2656
+ valid75 = true;
2657
+ passing11 = 0;
2658
+ }
2659
+ const _errs232 = errors;
2660
+ const _errs234 = errors;
2661
+ const _errs235 = errors;
2662
+ if (Array.isArray(data67)) {
2663
+ const _errs236 = errors;
2664
+ const len13 = data67.length;
2218
2665
  for (let i13 = 0; i13 < len13; i13++) {
2219
- const _errs209 = errors;
2220
- if ("off" !== data65[i13]) {
2221
- const err145 = {};
2666
+ const _errs237 = errors;
2667
+ if ("off" !== data67[i13]) {
2668
+ const err162 = {};
2222
2669
  if (vErrors === null) {
2223
- vErrors = [err145];
2670
+ vErrors = [err162];
2224
2671
  } else {
2225
- vErrors.push(err145);
2672
+ vErrors.push(err162);
2226
2673
  }
2227
2674
  errors++;
2228
2675
  }
2229
- var valid69 = _errs209 === errors;
2230
- if (valid69) {
2676
+ var valid81 = _errs237 === errors;
2677
+ if (valid81) {
2231
2678
  break;
2232
2679
  }
2233
2680
  }
2234
- if (!valid69) {
2235
- const err146 = {};
2681
+ if (!valid81) {
2682
+ const err163 = {};
2236
2683
  if (vErrors === null) {
2237
- vErrors = [err146];
2684
+ vErrors = [err163];
2238
2685
  } else {
2239
- vErrors.push(err146);
2686
+ vErrors.push(err163);
2240
2687
  }
2241
2688
  errors++;
2242
2689
  } else {
2243
- errors = _errs208;
2690
+ errors = _errs236;
2244
2691
  if (vErrors !== null) {
2245
- if (_errs208) {
2246
- vErrors.length = _errs208;
2692
+ if (_errs236) {
2693
+ vErrors.length = _errs236;
2247
2694
  } else {
2248
2695
  vErrors = null;
2249
2696
  }
2250
2697
  }
2251
2698
  }
2252
2699
  }
2253
- var valid68 = _errs207 === errors;
2254
- if (valid68) {
2255
- const err147 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/1/not", keyword: "not", params: {}, message: "must NOT be valid" };
2700
+ var valid80 = _errs235 === errors;
2701
+ if (valid80) {
2702
+ const err164 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/1/not", keyword: "not", params: {}, message: "must NOT be valid" };
2256
2703
  if (vErrors === null) {
2257
- vErrors = [err147];
2704
+ vErrors = [err164];
2258
2705
  } else {
2259
- vErrors.push(err147);
2706
+ vErrors.push(err164);
2260
2707
  }
2261
2708
  errors++;
2262
2709
  } else {
2263
- errors = _errs206;
2710
+ errors = _errs234;
2264
2711
  if (vErrors !== null) {
2265
- if (_errs206) {
2266
- vErrors.length = _errs206;
2712
+ if (_errs234) {
2713
+ vErrors.length = _errs234;
2267
2714
  } else {
2268
2715
  vErrors = null;
2269
2716
  }
2270
2717
  }
2271
2718
  }
2272
- if (Array.isArray(data65)) {
2273
- const len14 = data65.length;
2719
+ if (Array.isArray(data67)) {
2720
+ const len14 = data67.length;
2274
2721
  for (let i14 = 0; i14 < len14; i14++) {
2275
- let data69 = data65[i14];
2276
- if (typeof data69 !== "string") {
2277
- const err148 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2722
+ let data71 = data67[i14];
2723
+ if (typeof data71 !== "string") {
2724
+ const err165 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2278
2725
  if (vErrors === null) {
2279
- vErrors = [err148];
2726
+ vErrors = [err165];
2280
2727
  } else {
2281
- vErrors.push(err148);
2728
+ vErrors.push(err165);
2282
2729
  }
2283
2730
  errors++;
2284
2731
  }
2285
- if (!(data69 === "error" || data69 === "timeout" || data69 === "500" || data69 === "502" || data69 === "503" || data69 === "504" || data69 === "403" || data69 === "404" || data69 === "429" || data69 === "off")) {
2286
- const err149 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema20.enum }, message: "must be equal to one of the allowed values" };
2732
+ if (!(data71 === "error" || data71 === "timeout" || data71 === "500" || data71 === "502" || data71 === "503" || data71 === "504" || data71 === "403" || data71 === "404" || data71 === "429" || data71 === "off")) {
2733
+ const err166 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases/" + i14, schemaPath: "#/definitions/httpErrorCode/enum", keyword: "enum", params: { allowedValues: schema24.enum }, message: "must be equal to one of the allowed values" };
2287
2734
  if (vErrors === null) {
2288
- vErrors = [err149];
2735
+ vErrors = [err166];
2289
2736
  } else {
2290
- vErrors.push(err149);
2737
+ vErrors.push(err166);
2291
2738
  }
2292
2739
  errors++;
2293
2740
  }
2294
2741
  }
2295
2742
  } else {
2296
- const err150 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf/1/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2743
+ const err167 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf/1/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2297
2744
  if (vErrors === null) {
2298
- vErrors = [err150];
2745
+ vErrors = [err167];
2299
2746
  } else {
2300
- vErrors.push(err150);
2747
+ vErrors.push(err167);
2301
2748
  }
2302
2749
  errors++;
2303
2750
  }
2304
- var _valid8 = _errs204 === errors;
2305
- if (_valid8 && valid63) {
2306
- valid63 = false;
2307
- passing8 = [passing8, 1];
2751
+ var _valid13 = _errs232 === errors;
2752
+ if (_valid13 && valid75) {
2753
+ valid75 = false;
2754
+ passing11 = [passing11, 1];
2308
2755
  } else {
2309
- if (_valid8) {
2310
- valid63 = true;
2311
- passing8 = 1;
2756
+ if (_valid13) {
2757
+ valid75 = true;
2758
+ passing11 = 1;
2312
2759
  }
2313
2760
  }
2314
- if (!valid63) {
2315
- const err151 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_cases/oneOf", keyword: "oneOf", params: { passingSchemas: passing8 }, message: "must match exactly one schema in oneOf" };
2761
+ if (!valid75) {
2762
+ const err168 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_cases", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_cases/oneOf", keyword: "oneOf", params: { passingSchemas: passing11 }, message: "must match exactly one schema in oneOf" };
2316
2763
  if (vErrors === null) {
2317
- vErrors = [err151];
2764
+ vErrors = [err168];
2318
2765
  } else {
2319
- vErrors.push(err151);
2766
+ vErrors.push(err168);
2320
2767
  }
2321
2768
  errors++;
2322
2769
  } else {
2323
- errors = _errs196;
2770
+ errors = _errs224;
2324
2771
  if (vErrors !== null) {
2325
- if (_errs196) {
2326
- vErrors.length = _errs196;
2772
+ if (_errs224) {
2773
+ vErrors.length = _errs224;
2327
2774
  } else {
2328
2775
  vErrors = null;
2329
2776
  }
2330
2777
  }
2331
2778
  }
2332
2779
  }
2333
- if (data63.next_timeout !== void 0) {
2334
- let data70 = data63.next_timeout;
2335
- if (!(typeof data70 == "number" && (!(data70 % 1) && !isNaN(data70)))) {
2336
- const err152 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2780
+ if (data65.next_timeout !== void 0) {
2781
+ let data72 = data65.next_timeout;
2782
+ if (!(typeof data72 == "number" && (!(data72 % 1) && !isNaN(data72)))) {
2783
+ const err169 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2337
2784
  if (vErrors === null) {
2338
- vErrors = [err152];
2785
+ vErrors = [err169];
2339
2786
  } else {
2340
- vErrors.push(err152);
2787
+ vErrors.push(err169);
2341
2788
  }
2342
2789
  errors++;
2343
2790
  }
2344
- if (typeof data70 == "number") {
2345
- if (data70 < 0 || isNaN(data70)) {
2346
- const err153 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2791
+ if (typeof data72 == "number") {
2792
+ if (data72 < 0 || isNaN(data72)) {
2793
+ const err170 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2347
2794
  if (vErrors === null) {
2348
- vErrors = [err153];
2795
+ vErrors = [err170];
2349
2796
  } else {
2350
- vErrors.push(err153);
2797
+ vErrors.push(err170);
2351
2798
  }
2352
2799
  errors++;
2353
2800
  }
2354
2801
  }
2355
2802
  }
2356
- if (data63.next_tries !== void 0) {
2357
- let data71 = data63.next_tries;
2358
- if (!(typeof data71 == "number" && (!(data71 % 1) && !isNaN(data71)))) {
2359
- const err154 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_tries/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2803
+ if (data65.next_tries !== void 0) {
2804
+ let data73 = data65.next_tries;
2805
+ if (!(typeof data73 == "number" && (!(data73 % 1) && !isNaN(data73)))) {
2806
+ const err171 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_tries/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2360
2807
  if (vErrors === null) {
2361
- vErrors = [err154];
2808
+ vErrors = [err171];
2362
2809
  } else {
2363
- vErrors.push(err154);
2810
+ vErrors.push(err171);
2364
2811
  }
2365
2812
  errors++;
2366
2813
  }
2367
- if (typeof data71 == "number") {
2368
- if (data71 < 0 || isNaN(data71)) {
2369
- const err155 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/next_tries/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2814
+ if (typeof data73 == "number") {
2815
+ if (data73 < 0 || isNaN(data73)) {
2816
+ const err172 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/next_tries", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/next_tries/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2370
2817
  if (vErrors === null) {
2371
- vErrors = [err155];
2818
+ vErrors = [err172];
2372
2819
  } else {
2373
- vErrors.push(err155);
2820
+ vErrors.push(err172);
2374
2821
  }
2375
2822
  errors++;
2376
2823
  }
2377
2824
  }
2378
2825
  }
2379
- if (data63.read_timeout !== void 0) {
2380
- let data72 = data63.read_timeout;
2381
- if (!(typeof data72 == "number" && (!(data72 % 1) && !isNaN(data72)))) {
2382
- const err156 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/read_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2826
+ if (data65.read_timeout !== void 0) {
2827
+ let data74 = data65.read_timeout;
2828
+ if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
2829
+ const err173 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2383
2830
  if (vErrors === null) {
2384
- vErrors = [err156];
2831
+ vErrors = [err173];
2385
2832
  } else {
2386
- vErrors.push(err156);
2833
+ vErrors.push(err173);
2387
2834
  }
2388
2835
  errors++;
2389
2836
  }
2390
- if (typeof data72 == "number") {
2391
- if (data72 > 6e4 || isNaN(data72)) {
2392
- const err157 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/read_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
2837
+ if (typeof data74 == "number") {
2838
+ if (data74 > 6e4 || isNaN(data74)) {
2839
+ const err174 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
2393
2840
  if (vErrors === null) {
2394
- vErrors = [err157];
2841
+ vErrors = [err174];
2395
2842
  } else {
2396
- vErrors.push(err157);
2843
+ vErrors.push(err174);
2397
2844
  }
2398
2845
  errors++;
2399
2846
  }
2400
- if (data72 < 0 || isNaN(data72)) {
2401
- const err158 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/read_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2847
+ if (data74 < 0 || isNaN(data74)) {
2848
+ const err175 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/read_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/read_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2402
2849
  if (vErrors === null) {
2403
- vErrors = [err158];
2850
+ vErrors = [err175];
2404
2851
  } else {
2405
- vErrors.push(err158);
2852
+ vErrors.push(err175);
2406
2853
  }
2407
2854
  errors++;
2408
2855
  }
2409
2856
  }
2410
2857
  }
2411
- if (data63.send_timeout !== void 0) {
2412
- let data73 = data63.send_timeout;
2413
- if (!(typeof data73 == "number" && (!(data73 % 1) && !isNaN(data73)))) {
2414
- const err159 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/send_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2858
+ if (data65.send_timeout !== void 0) {
2859
+ let data75 = data65.send_timeout;
2860
+ if (!(typeof data75 == "number" && (!(data75 % 1) && !isNaN(data75)))) {
2861
+ const err176 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2415
2862
  if (vErrors === null) {
2416
- vErrors = [err159];
2863
+ vErrors = [err176];
2417
2864
  } else {
2418
- vErrors.push(err159);
2865
+ vErrors.push(err176);
2419
2866
  }
2420
2867
  errors++;
2421
2868
  }
2422
- if (typeof data73 == "number") {
2423
- if (data73 > 6e4 || isNaN(data73)) {
2424
- const err160 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/send_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
2869
+ if (typeof data75 == "number") {
2870
+ if (data75 > 6e4 || isNaN(data75)) {
2871
+ const err177 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/maximum", keyword: "maximum", params: { comparison: "<=", limit: 6e4 }, message: "must be <= 60000" };
2425
2872
  if (vErrors === null) {
2426
- vErrors = [err160];
2873
+ vErrors = [err177];
2427
2874
  } else {
2428
- vErrors.push(err160);
2875
+ vErrors.push(err177);
2429
2876
  }
2430
2877
  errors++;
2431
2878
  }
2432
- if (data73 < 0 || isNaN(data73)) {
2433
- const err161 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/properties/send_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2879
+ if (data75 < 0 || isNaN(data75)) {
2880
+ const err178 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options/send_timeout", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/properties/send_timeout/minimum", keyword: "minimum", params: { comparison: ">=", limit: 0 }, message: "must be >= 0" };
2434
2881
  if (vErrors === null) {
2435
- vErrors = [err161];
2882
+ vErrors = [err178];
2436
2883
  } else {
2437
- vErrors.push(err161);
2884
+ vErrors.push(err178);
2438
2885
  }
2439
2886
  errors++;
2440
2887
  }
2441
2888
  }
2442
2889
  }
2443
2890
  } else {
2444
- const err162 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/http_options/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2891
+ const err179 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/http_options", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/http_options/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2445
2892
  if (vErrors === null) {
2446
- vErrors = [err162];
2893
+ vErrors = [err179];
2447
2894
  } else {
2448
- vErrors.push(err162);
2895
+ vErrors.push(err179);
2449
2896
  }
2450
2897
  errors++;
2451
2898
  }
2452
2899
  }
2453
- if (data59.port !== void 0) {
2454
- let data74 = data59.port;
2455
- if (!(typeof data74 == "number" && (!(data74 % 1) && !isNaN(data74)))) {
2456
- const err163 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2900
+ if (data61.port !== void 0) {
2901
+ let data76 = data61.port;
2902
+ if (!(typeof data76 == "number" && (!(data76 % 1) && !isNaN(data76)))) {
2903
+ const err180 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/type", keyword: "type", params: { type: "integer" }, message: "must be integer" };
2457
2904
  if (vErrors === null) {
2458
- vErrors = [err163];
2905
+ vErrors = [err180];
2459
2906
  } else {
2460
- vErrors.push(err163);
2907
+ vErrors.push(err180);
2461
2908
  }
2462
2909
  errors++;
2463
2910
  }
2464
- if (typeof data74 == "number") {
2465
- if (data74 > 65535 || isNaN(data74)) {
2466
- const err164 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
2911
+ if (typeof data76 == "number") {
2912
+ if (data76 > 65535 || isNaN(data76)) {
2913
+ const err181 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/maximum", keyword: "maximum", params: { comparison: "<=", limit: 65535 }, message: "must be <= 65535" };
2467
2914
  if (vErrors === null) {
2468
- vErrors = [err164];
2915
+ vErrors = [err181];
2469
2916
  } else {
2470
- vErrors.push(err164);
2917
+ vErrors.push(err181);
2471
2918
  }
2472
2919
  errors++;
2473
2920
  }
2474
- if (data74 < 1 || isNaN(data74)) {
2475
- const err165 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
2921
+ if (data76 < 1 || isNaN(data76)) {
2922
+ const err182 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/port", schemaPath: "#/definitions/portNumber/minimum", keyword: "minimum", params: { comparison: ">=", limit: 1 }, message: "must be >= 1" };
2476
2923
  if (vErrors === null) {
2477
- vErrors = [err165];
2924
+ vErrors = [err182];
2478
2925
  } else {
2479
- vErrors.push(err165);
2926
+ vErrors.push(err182);
2480
2927
  }
2481
2928
  errors++;
2482
2929
  }
2483
2930
  }
2484
2931
  }
2485
- if (data59.proto !== void 0) {
2486
- let data75 = data59.proto;
2487
- if (typeof data75 !== "string") {
2488
- const err166 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/proto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2932
+ if (data61.proto !== void 0) {
2933
+ let data77 = data61.proto;
2934
+ if (typeof data77 !== "string") {
2935
+ const err183 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2489
2936
  if (vErrors === null) {
2490
- vErrors = [err166];
2937
+ vErrors = [err183];
2491
2938
  } else {
2492
- vErrors.push(err166);
2939
+ vErrors.push(err183);
2493
2940
  }
2494
2941
  errors++;
2495
2942
  }
2496
- if (!(data75 === "TCP" || data75 === "UDP" || data75 === "tcp" || data75 === "udp")) {
2497
- const err167 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/proto/enum", keyword: "enum", params: { allowedValues: schema12.properties.services.additionalProperties.properties.expose.items.properties.proto.enum }, message: "must be equal to one of the allowed values" };
2943
+ if (!(data77 === "TCP" || data77 === "UDP" || data77 === "tcp" || data77 === "udp")) {
2944
+ const err184 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/proto", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/proto/enum", keyword: "enum", params: { allowedValues: schema12.properties.services.additionalProperties.properties.expose.oneOf[0].items.properties.proto.enum }, message: "must be equal to one of the allowed values" };
2498
2945
  if (vErrors === null) {
2499
- vErrors = [err167];
2946
+ vErrors = [err184];
2500
2947
  } else {
2501
- vErrors.push(err167);
2948
+ vErrors.push(err184);
2502
2949
  }
2503
2950
  errors++;
2504
2951
  }
2505
2952
  }
2506
- if (data59.to !== void 0) {
2507
- let data76 = data59.to;
2508
- if (Array.isArray(data76)) {
2509
- const len15 = data76.length;
2953
+ if (data61.to !== void 0) {
2954
+ let data78 = data61.to;
2955
+ if (Array.isArray(data78)) {
2956
+ const len15 = data78.length;
2510
2957
  for (let i15 = 0; i15 < len15; i15++) {
2511
- let data77 = data76[i15];
2512
- const _errs232 = errors;
2513
- let valid78 = true;
2514
- const _errs233 = errors;
2515
- if (data77 && typeof data77 == "object" && !Array.isArray(data77)) {
2516
- let missing0;
2517
- if (data77.ip === void 0 && (missing0 = "ip")) {
2518
- const err168 = {};
2958
+ let data79 = data78[i15];
2959
+ const _errs260 = errors;
2960
+ let valid90 = true;
2961
+ const _errs261 = errors;
2962
+ if (data79 && typeof data79 == "object" && !Array.isArray(data79)) {
2963
+ let missing2;
2964
+ if (data79.ip === void 0 && (missing2 = "ip")) {
2965
+ const err185 = {};
2519
2966
  if (vErrors === null) {
2520
- vErrors = [err168];
2967
+ vErrors = [err185];
2521
2968
  } else {
2522
- vErrors.push(err168);
2969
+ vErrors.push(err185);
2523
2970
  }
2524
2971
  errors++;
2525
2972
  } else {
2526
- if (data77.ip !== void 0) {
2527
- let data78 = data77.ip;
2528
- const _errs234 = errors;
2529
- if (errors === _errs234) {
2530
- if (typeof data78 === "string") {
2531
- if (func2(data78) < 1) {
2532
- const err169 = {};
2973
+ if (data79.ip !== void 0) {
2974
+ let data80 = data79.ip;
2975
+ const _errs262 = errors;
2976
+ if (errors === _errs262) {
2977
+ if (typeof data80 === "string") {
2978
+ if (func2(data80) < 1) {
2979
+ const err186 = {};
2533
2980
  if (vErrors === null) {
2534
- vErrors = [err169];
2981
+ vErrors = [err186];
2535
2982
  } else {
2536
- vErrors.push(err169);
2983
+ vErrors.push(err186);
2537
2984
  }
2538
2985
  errors++;
2539
2986
  }
2540
2987
  } else {
2541
- const err170 = {};
2988
+ const err187 = {};
2542
2989
  if (vErrors === null) {
2543
- vErrors = [err170];
2990
+ vErrors = [err187];
2544
2991
  } else {
2545
- vErrors.push(err170);
2992
+ vErrors.push(err187);
2546
2993
  }
2547
2994
  errors++;
2548
2995
  }
@@ -2550,378 +2997,421 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
2550
2997
  }
2551
2998
  }
2552
2999
  }
2553
- var _valid9 = _errs233 === errors;
2554
- errors = _errs232;
3000
+ var _valid14 = _errs261 === errors;
3001
+ errors = _errs260;
2555
3002
  if (vErrors !== null) {
2556
- if (_errs232) {
2557
- vErrors.length = _errs232;
3003
+ if (_errs260) {
3004
+ vErrors.length = _errs260;
2558
3005
  } else {
2559
3006
  vErrors = null;
2560
3007
  }
2561
3008
  }
2562
- if (_valid9) {
2563
- const _errs236 = errors;
2564
- if (data77 && typeof data77 == "object" && !Array.isArray(data77)) {
2565
- if (data77.global === void 0) {
2566
- const err171 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/required", keyword: "required", params: { missingProperty: "global" }, message: "must have required property 'global'" };
3009
+ if (_valid14) {
3010
+ const _errs264 = errors;
3011
+ if (data79 && typeof data79 == "object" && !Array.isArray(data79)) {
3012
+ if (data79.global === void 0) {
3013
+ const err188 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/required", keyword: "required", params: { missingProperty: "global" }, message: "must have required property 'global'" };
2567
3014
  if (vErrors === null) {
2568
- vErrors = [err171];
3015
+ vErrors = [err188];
2569
3016
  } else {
2570
- vErrors.push(err171);
3017
+ vErrors.push(err188);
2571
3018
  }
2572
3019
  errors++;
2573
3020
  }
2574
- if (data77.global !== void 0) {
2575
- if (true !== data77.global) {
2576
- const err172 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/properties/global/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
3021
+ if (data79.global !== void 0) {
3022
+ if (true !== data79.global) {
3023
+ const err189 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/then/properties/global/const", keyword: "const", params: { allowedValue: true }, message: "must be equal to constant" };
2577
3024
  if (vErrors === null) {
2578
- vErrors = [err172];
3025
+ vErrors = [err189];
2579
3026
  } else {
2580
- vErrors.push(err172);
3027
+ vErrors.push(err189);
2581
3028
  }
2582
3029
  errors++;
2583
3030
  }
2584
3031
  }
2585
3032
  }
2586
- var _valid9 = _errs236 === errors;
2587
- valid78 = _valid9;
3033
+ var _valid14 = _errs264 === errors;
3034
+ valid90 = _valid14;
2588
3035
  }
2589
- if (!valid78) {
2590
- const err173 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
3036
+ if (!valid90) {
3037
+ const err190 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/definitions/exposeToWithIpEnforcesGlobal/if", keyword: "if", params: { failingKeyword: "then" }, message: 'must match "then" schema' };
2591
3038
  if (vErrors === null) {
2592
- vErrors = [err173];
3039
+ vErrors = [err190];
2593
3040
  } else {
2594
- vErrors.push(err173);
3041
+ vErrors.push(err190);
2595
3042
  }
2596
3043
  errors++;
2597
3044
  }
2598
- if (data77 && typeof data77 == "object" && !Array.isArray(data77)) {
2599
- for (const key28 in data77) {
3045
+ if (data79 && typeof data79 == "object" && !Array.isArray(data79)) {
3046
+ for (const key28 in data79) {
2600
3047
  if (!(key28 === "global" || key28 === "ip" || key28 === "service")) {
2601
- const err174 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key28 }, message: "must NOT have additional properties" };
3048
+ const err191 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key28 }, message: "must NOT have additional properties" };
2602
3049
  if (vErrors === null) {
2603
- vErrors = [err174];
3050
+ vErrors = [err191];
2604
3051
  } else {
2605
- vErrors.push(err174);
3052
+ vErrors.push(err191);
2606
3053
  }
2607
3054
  errors++;
2608
3055
  }
2609
3056
  }
2610
- if (data77.global !== void 0) {
2611
- if (typeof data77.global !== "boolean") {
2612
- const err175 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/items/properties/global/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3057
+ if (data79.global !== void 0) {
3058
+ if (typeof data79.global !== "boolean") {
3059
+ const err192 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/global", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/global/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
2613
3060
  if (vErrors === null) {
2614
- vErrors = [err175];
3061
+ vErrors = [err192];
2615
3062
  } else {
2616
- vErrors.push(err175);
3063
+ vErrors.push(err192);
2617
3064
  }
2618
3065
  errors++;
2619
3066
  }
2620
3067
  }
2621
- if (data77.ip !== void 0) {
2622
- let data81 = data77.ip;
2623
- if (typeof data81 === "string") {
2624
- if (func2(data81) < 1) {
2625
- const err176 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/items/properties/ip/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3068
+ if (data79.ip !== void 0) {
3069
+ let data83 = data79.ip;
3070
+ if (typeof data83 === "string") {
3071
+ if (func2(data83) < 1) {
3072
+ const err193 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2626
3073
  if (vErrors === null) {
2627
- vErrors = [err176];
3074
+ vErrors = [err193];
2628
3075
  } else {
2629
- vErrors.push(err176);
3076
+ vErrors.push(err193);
2630
3077
  }
2631
3078
  errors++;
2632
3079
  }
2633
3080
  } else {
2634
- const err177 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/items/properties/ip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3081
+ const err194 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/ip", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/ip/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2635
3082
  if (vErrors === null) {
2636
- vErrors = [err177];
3083
+ vErrors = [err194];
2637
3084
  } else {
2638
- vErrors.push(err177);
3085
+ vErrors.push(err194);
2639
3086
  }
2640
3087
  errors++;
2641
3088
  }
2642
3089
  }
2643
- if (data77.service !== void 0) {
2644
- if (typeof data77.service !== "string") {
2645
- const err178 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3090
+ if (data79.service !== void 0) {
3091
+ if (typeof data79.service !== "string") {
3092
+ const err195 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15 + "/service", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/properties/service/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2646
3093
  if (vErrors === null) {
2647
- vErrors = [err178];
3094
+ vErrors = [err195];
2648
3095
  } else {
2649
- vErrors.push(err178);
3096
+ vErrors.push(err195);
2650
3097
  }
2651
3098
  errors++;
2652
3099
  }
2653
3100
  }
2654
3101
  } else {
2655
- const err179 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3102
+ const err196 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to/" + i15, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2656
3103
  if (vErrors === null) {
2657
- vErrors = [err179];
3104
+ vErrors = [err196];
2658
3105
  } else {
2659
- vErrors.push(err179);
3106
+ vErrors.push(err196);
2660
3107
  }
2661
3108
  errors++;
2662
3109
  }
2663
3110
  }
2664
3111
  } else {
2665
- const err180 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to", schemaPath: "#/properties/services/additionalProperties/properties/expose/items/properties/to/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3112
+ const err197 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9 + "/to", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/properties/to/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2666
3113
  if (vErrors === null) {
2667
- vErrors = [err180];
3114
+ vErrors = [err197];
2668
3115
  } else {
2669
- vErrors.push(err180);
3116
+ vErrors.push(err197);
2670
3117
  }
2671
3118
  errors++;
2672
3119
  }
2673
3120
  }
2674
3121
  } else {
2675
- const err181 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3122
+ const err198 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose/" + i9, schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/items/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2676
3123
  if (vErrors === null) {
2677
- vErrors = [err181];
3124
+ vErrors = [err198];
2678
3125
  } else {
2679
- vErrors.push(err181);
3126
+ vErrors.push(err198);
2680
3127
  }
2681
3128
  errors++;
2682
3129
  }
2683
3130
  }
2684
3131
  } else {
2685
- const err182 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3132
+ const err199 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/0/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3133
+ if (vErrors === null) {
3134
+ vErrors = [err199];
3135
+ } else {
3136
+ vErrors.push(err199);
3137
+ }
3138
+ errors++;
3139
+ }
3140
+ var _valid12 = _errs206 === errors;
3141
+ if (_valid12) {
3142
+ valid67 = true;
3143
+ passing10 = 0;
3144
+ }
3145
+ const _errs273 = errors;
3146
+ if (data60 !== null) {
3147
+ const err200 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf/1/type", keyword: "type", params: { type: "null" }, message: "must be null" };
3148
+ if (vErrors === null) {
3149
+ vErrors = [err200];
3150
+ } else {
3151
+ vErrors.push(err200);
3152
+ }
3153
+ errors++;
3154
+ }
3155
+ var _valid12 = _errs273 === errors;
3156
+ if (_valid12 && valid67) {
3157
+ valid67 = false;
3158
+ passing10 = [passing10, 1];
3159
+ } else {
3160
+ if (_valid12) {
3161
+ valid67 = true;
3162
+ passing10 = 1;
3163
+ }
3164
+ }
3165
+ if (!valid67) {
3166
+ const err201 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/expose", schemaPath: "#/properties/services/additionalProperties/properties/expose/oneOf", keyword: "oneOf", params: { passingSchemas: passing10 }, message: "must match exactly one schema in oneOf" };
2686
3167
  if (vErrors === null) {
2687
- vErrors = [err182];
3168
+ vErrors = [err201];
2688
3169
  } else {
2689
- vErrors.push(err182);
3170
+ vErrors.push(err201);
2690
3171
  }
2691
3172
  errors++;
3173
+ } else {
3174
+ errors = _errs205;
3175
+ if (vErrors !== null) {
3176
+ if (_errs205) {
3177
+ vErrors.length = _errs205;
3178
+ } else {
3179
+ vErrors = null;
3180
+ }
3181
+ }
2692
3182
  }
2693
3183
  }
2694
- if (data43.image !== void 0) {
2695
- let data83 = data43.image;
2696
- if (typeof data83 === "string") {
2697
- if (func2(data83) < 1) {
2698
- const err183 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3184
+ if (data45.image !== void 0) {
3185
+ let data85 = data45.image;
3186
+ if (typeof data85 === "string") {
3187
+ if (func2(data85) < 1) {
3188
+ const err202 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2699
3189
  if (vErrors === null) {
2700
- vErrors = [err183];
3190
+ vErrors = [err202];
2701
3191
  } else {
2702
- vErrors.push(err183);
3192
+ vErrors.push(err202);
2703
3193
  }
2704
3194
  errors++;
2705
3195
  }
2706
3196
  } else {
2707
- const err184 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3197
+ const err203 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/image", schemaPath: "#/properties/services/additionalProperties/properties/image/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2708
3198
  if (vErrors === null) {
2709
- vErrors = [err184];
3199
+ vErrors = [err203];
2710
3200
  } else {
2711
- vErrors.push(err184);
3201
+ vErrors.push(err203);
2712
3202
  }
2713
3203
  errors++;
2714
3204
  }
2715
3205
  }
2716
- if (data43.params !== void 0) {
2717
- let data84 = data43.params;
2718
- if (data84 && typeof data84 == "object" && !Array.isArray(data84)) {
2719
- for (const key29 in data84) {
3206
+ if (data45.params !== void 0) {
3207
+ let data86 = data45.params;
3208
+ if (data86 && typeof data86 == "object" && !Array.isArray(data86)) {
3209
+ for (const key29 in data86) {
2720
3210
  if (!(key29 === "storage" || key29 === "permissions")) {
2721
- const err185 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
3211
+ const err204 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key29 }, message: "must NOT have additional properties" };
2722
3212
  if (vErrors === null) {
2723
- vErrors = [err185];
3213
+ vErrors = [err204];
2724
3214
  } else {
2725
- vErrors.push(err185);
3215
+ vErrors.push(err204);
2726
3216
  }
2727
3217
  errors++;
2728
3218
  }
2729
3219
  }
2730
- if (data84.storage !== void 0) {
2731
- let data85 = data84.storage;
2732
- if (data85 && typeof data85 == "object" && !Array.isArray(data85)) {
2733
- for (const key30 in data85) {
2734
- let data86 = data85[key30];
2735
- if (data86 && typeof data86 == "object" && !Array.isArray(data86)) {
2736
- for (const key31 in data86) {
3220
+ if (data86.storage !== void 0) {
3221
+ let data87 = data86.storage;
3222
+ if (data87 && typeof data87 == "object" && !Array.isArray(data87)) {
3223
+ for (const key30 in data87) {
3224
+ let data88 = data87[key30];
3225
+ if (data88 && typeof data88 == "object" && !Array.isArray(data88)) {
3226
+ for (const key31 in data88) {
2737
3227
  if (!(key31 === "mount" || key31 === "readOnly")) {
2738
- const err186 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key31 }, message: "must NOT have additional properties" };
3228
+ const err205 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key31 }, message: "must NOT have additional properties" };
2739
3229
  if (vErrors === null) {
2740
- vErrors = [err186];
3230
+ vErrors = [err205];
2741
3231
  } else {
2742
- vErrors.push(err186);
3232
+ vErrors.push(err205);
2743
3233
  }
2744
3234
  errors++;
2745
3235
  }
2746
3236
  }
2747
- if (data86.mount !== void 0) {
2748
- let data87 = data86.mount;
2749
- if (typeof data87 === "string") {
2750
- if (func2(data87) < 1) {
2751
- const err187 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
3237
+ if (data88.mount !== void 0) {
3238
+ let data89 = data88.mount;
3239
+ if (typeof data89 === "string") {
3240
+ if (func2(data89) < 1) {
3241
+ const err206 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
2752
3242
  if (vErrors === null) {
2753
- vErrors = [err187];
3243
+ vErrors = [err206];
2754
3244
  } else {
2755
- vErrors.push(err187);
3245
+ vErrors.push(err206);
2756
3246
  }
2757
3247
  errors++;
2758
3248
  }
2759
- if (!pattern8.test(data87)) {
2760
- const err188 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
3249
+ if (!pattern10.test(data89)) {
3250
+ const err207 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/pattern", keyword: "pattern", params: { pattern: "^/" }, message: 'must match pattern "^/"' };
2761
3251
  if (vErrors === null) {
2762
- vErrors = [err188];
3252
+ vErrors = [err207];
2763
3253
  } else {
2764
- vErrors.push(err188);
3254
+ vErrors.push(err207);
2765
3255
  }
2766
3256
  errors++;
2767
3257
  }
2768
3258
  } else {
2769
- const err189 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3259
+ const err208 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/mount", schemaPath: "#/definitions/absolutePath/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2770
3260
  if (vErrors === null) {
2771
- vErrors = [err189];
3261
+ vErrors = [err208];
2772
3262
  } else {
2773
- vErrors.push(err189);
3263
+ vErrors.push(err208);
2774
3264
  }
2775
3265
  errors++;
2776
3266
  }
2777
3267
  }
2778
- if (data86.readOnly !== void 0) {
2779
- if (typeof data86.readOnly !== "boolean") {
2780
- const err190 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/readOnly", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/properties/readOnly/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
3268
+ if (data88.readOnly !== void 0) {
3269
+ if (typeof data88.readOnly !== "boolean") {
3270
+ const err209 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1") + "/readOnly", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/properties/readOnly/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
2781
3271
  if (vErrors === null) {
2782
- vErrors = [err190];
3272
+ vErrors = [err209];
2783
3273
  } else {
2784
- vErrors.push(err190);
3274
+ vErrors.push(err209);
2785
3275
  }
2786
3276
  errors++;
2787
3277
  }
2788
3278
  }
2789
3279
  } else {
2790
- const err191 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3280
+ const err210 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage/" + key30.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2791
3281
  if (vErrors === null) {
2792
- vErrors = [err191];
3282
+ vErrors = [err210];
2793
3283
  } else {
2794
- vErrors.push(err191);
3284
+ vErrors.push(err210);
2795
3285
  }
2796
3286
  errors++;
2797
3287
  }
2798
3288
  }
2799
3289
  } else {
2800
- const err192 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3290
+ const err211 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/storage", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/storage/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2801
3291
  if (vErrors === null) {
2802
- vErrors = [err192];
3292
+ vErrors = [err211];
2803
3293
  } else {
2804
- vErrors.push(err192);
3294
+ vErrors.push(err211);
2805
3295
  }
2806
3296
  errors++;
2807
3297
  }
2808
3298
  }
2809
- if (data84.permissions !== void 0) {
2810
- let data89 = data84.permissions;
2811
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
2812
- for (const key32 in data89) {
3299
+ if (data86.permissions !== void 0) {
3300
+ let data91 = data86.permissions;
3301
+ if (data91 && typeof data91 == "object" && !Array.isArray(data91)) {
3302
+ for (const key32 in data91) {
2813
3303
  if (!(key32 === "read")) {
2814
- const err193 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key32 }, message: "must NOT have additional properties" };
3304
+ const err212 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key32 }, message: "must NOT have additional properties" };
2815
3305
  if (vErrors === null) {
2816
- vErrors = [err193];
3306
+ vErrors = [err212];
2817
3307
  } else {
2818
- vErrors.push(err193);
3308
+ vErrors.push(err212);
2819
3309
  }
2820
3310
  errors++;
2821
3311
  }
2822
3312
  }
2823
- if (data89.read !== void 0) {
2824
- let data90 = data89.read;
2825
- if (Array.isArray(data90)) {
2826
- const len16 = data90.length;
3313
+ if (data91.read !== void 0) {
3314
+ let data92 = data91.read;
3315
+ if (Array.isArray(data92)) {
3316
+ const len16 = data92.length;
2827
3317
  for (let i16 = 0; i16 < len16; i16++) {
2828
- let data91 = data90[i16];
2829
- if (typeof data91 !== "string") {
2830
- const err194 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3318
+ let data93 = data92[i16];
3319
+ if (typeof data93 !== "string") {
3320
+ const err213 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2831
3321
  if (vErrors === null) {
2832
- vErrors = [err194];
3322
+ vErrors = [err213];
2833
3323
  } else {
2834
- vErrors.push(err194);
3324
+ vErrors.push(err213);
2835
3325
  }
2836
3326
  errors++;
2837
3327
  }
2838
- if (!(data91 === "deployment" || data91 === "logs")) {
2839
- const err195 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/enum", keyword: "enum", params: { allowedValues: schema12.properties.services.additionalProperties.properties.params.properties.permissions.properties.read.items.enum }, message: "must be equal to one of the allowed values" };
3328
+ if (!(data93 === "deployment" || data93 === "logs")) {
3329
+ const err214 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read/" + i16, schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/items/enum", keyword: "enum", params: { allowedValues: schema12.properties.services.additionalProperties.properties.params.properties.permissions.properties.read.items.enum }, message: "must be equal to one of the allowed values" };
2840
3330
  if (vErrors === null) {
2841
- vErrors = [err195];
3331
+ vErrors = [err214];
2842
3332
  } else {
2843
- vErrors.push(err195);
3333
+ vErrors.push(err214);
2844
3334
  }
2845
3335
  errors++;
2846
3336
  }
2847
3337
  }
2848
3338
  } else {
2849
- const err196 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/type", keyword: "type", params: { type: "array" }, message: "must be array" };
3339
+ const err215 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions/read", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/properties/read/type", keyword: "type", params: { type: "array" }, message: "must be array" };
2850
3340
  if (vErrors === null) {
2851
- vErrors = [err196];
3341
+ vErrors = [err215];
2852
3342
  } else {
2853
- vErrors.push(err196);
3343
+ vErrors.push(err215);
2854
3344
  }
2855
3345
  errors++;
2856
3346
  }
2857
3347
  }
2858
3348
  } else {
2859
- const err197 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3349
+ const err216 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params/permissions", schemaPath: "#/properties/services/additionalProperties/properties/params/properties/permissions/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2860
3350
  if (vErrors === null) {
2861
- vErrors = [err197];
3351
+ vErrors = [err216];
2862
3352
  } else {
2863
- vErrors.push(err197);
3353
+ vErrors.push(err216);
2864
3354
  }
2865
3355
  errors++;
2866
3356
  }
2867
3357
  }
2868
3358
  } else {
2869
- const err198 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3359
+ const err217 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1") + "/params", schemaPath: "#/properties/services/additionalProperties/properties/params/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2870
3360
  if (vErrors === null) {
2871
- vErrors = [err198];
3361
+ vErrors = [err217];
2872
3362
  } else {
2873
- vErrors.push(err198);
3363
+ vErrors.push(err217);
2874
3364
  }
2875
3365
  errors++;
2876
3366
  }
2877
3367
  }
2878
3368
  } else {
2879
- const err199 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3369
+ const err218 = { instancePath: instancePath + "/services/" + key22.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/properties/services/additionalProperties/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2880
3370
  if (vErrors === null) {
2881
- vErrors = [err199];
3371
+ vErrors = [err218];
2882
3372
  } else {
2883
- vErrors.push(err199);
3373
+ vErrors.push(err218);
2884
3374
  }
2885
3375
  errors++;
2886
3376
  }
2887
3377
  }
2888
3378
  } else {
2889
- const err200 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3379
+ const err219 = { instancePath: instancePath + "/services", schemaPath: "#/properties/services/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2890
3380
  if (vErrors === null) {
2891
- vErrors = [err200];
3381
+ vErrors = [err219];
2892
3382
  } else {
2893
- vErrors.push(err200);
3383
+ vErrors.push(err219);
2894
3384
  }
2895
3385
  errors++;
2896
3386
  }
2897
3387
  }
2898
3388
  if (data.version !== void 0) {
2899
- let data92 = data.version;
2900
- if (typeof data92 !== "string") {
2901
- const err201 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
3389
+ let data94 = data.version;
3390
+ if (typeof data94 !== "string") {
3391
+ const err220 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" };
2902
3392
  if (vErrors === null) {
2903
- vErrors = [err201];
3393
+ vErrors = [err220];
2904
3394
  } else {
2905
- vErrors.push(err201);
3395
+ vErrors.push(err220);
2906
3396
  }
2907
3397
  errors++;
2908
3398
  }
2909
- if (!(data92 === "2.0" || data92 === "2.1")) {
2910
- const err202 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/enum", keyword: "enum", params: { allowedValues: schema12.properties.version.enum }, message: "must be equal to one of the allowed values" };
3399
+ if (!(data94 === "2.0" || data94 === "2.1")) {
3400
+ const err221 = { instancePath: instancePath + "/version", schemaPath: "#/properties/version/enum", keyword: "enum", params: { allowedValues: schema12.properties.version.enum }, message: "must be equal to one of the allowed values" };
2911
3401
  if (vErrors === null) {
2912
- vErrors = [err202];
3402
+ vErrors = [err221];
2913
3403
  } else {
2914
- vErrors.push(err202);
3404
+ vErrors.push(err221);
2915
3405
  }
2916
3406
  errors++;
2917
3407
  }
2918
3408
  }
2919
3409
  } else {
2920
- const err203 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
3410
+ const err222 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
2921
3411
  if (vErrors === null) {
2922
- vErrors = [err203];
3412
+ vErrors = [err222];
2923
3413
  } else {
2924
- vErrors.push(err203);
3414
+ vErrors.push(err222);
2925
3415
  }
2926
3416
  errors++;
2927
3417
  }