UNPKG

ut-tools

Version:

Build and Release management automation package.

250 lines 830 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.arazzo1_0 = exports.oas3_1 = exports.oas3_0 = exports.oas2_0 = void 0; exports.oas2_0 = tt; const e = { title: "A JSON Schema for Swagger 2.0 API.", $id: "http://swagger.io/v2/schema.json#", $schema: "https://json-schema.org/draft/2020-12/schema", type: "object", required: ["swagger", "info", "paths"], additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { swagger: { type: "string", enum: ["2.0"], description: "The Swagger version of this document." }, info: { $ref: "#/definitions/info" }, host: { type: "string", pattern: "^[^{}/ :\\\\]+(?::\\d+)?$", description: "The host (name or ip) of the API. Example: 'swagger.io'" }, basePath: { type: "string", pattern: "^/", description: "The base path to the API. Example: '/api'." }, schemes: { $ref: "#/definitions/schemesList" }, consumes: { description: "A list of MIME types accepted by the API.", allOf: [{ $ref: "#/definitions/mediaTypeList" }] }, produces: { description: "A list of MIME types the API can produce.", allOf: [{ $ref: "#/definitions/mediaTypeList" }] }, paths: { $ref: "#/definitions/paths" }, definitions: { $ref: "#/definitions/definitions" }, parameters: { $ref: "#/definitions/parameterDefinitions" }, responses: { $ref: "#/definitions/responseDefinitions" }, security: { $ref: "#/definitions/security" }, securityDefinitions: { $ref: "#/definitions/securityDefinitions" }, tags: { type: "array", items: { $ref: "#/definitions/tag" }, uniqueItems: !0 }, externalDocs: { $ref: "#/definitions/externalDocs" } }, definitions: { info: { type: "object", description: "General information about the API.", required: ["version", "title"], additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { title: { type: "string", description: "A unique and precise title of the API." }, version: { type: "string", description: "A semantic version number of the API." }, description: { type: "string", description: "A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed." }, termsOfService: { type: "string", description: "The terms of service for the API." }, contact: { $ref: "#/definitions/contact" }, license: { $ref: "#/definitions/license" } } }, contact: { type: "object", description: "Contact information for the owners of the API.", additionalProperties: !1, properties: { name: { type: "string", description: "The identifying name of the contact person/organization." }, url: { type: "string", description: "The URL pointing to the contact information.", format: "uri" }, email: { type: "string", description: "The email address of the contact person/organization.", format: "email" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, license: { type: "object", required: ["name"], additionalProperties: !1, properties: { name: { type: "string", description: "The name of the license type. It's encouraged to use an OSI compatible license." }, url: { type: "string", description: "The URL pointing to the license.", format: "uri" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, paths: { type: "object", description: "Relative paths to the individual endpoints. They must be relative to the 'basePath'.", patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" }, "^/": { $ref: "#/definitions/pathItem" } }, additionalProperties: !1 }, definitions: { type: "object", additionalProperties: { $ref: "#/definitions/schema" }, description: "One or more JSON objects describing the schemas being consumed and produced by the API." }, parameterDefinitions: { type: "object", additionalProperties: { $ref: "#/definitions/parameter" }, description: "One or more JSON representations for parameters" }, responseDefinitions: { type: "object", additionalProperties: { $ref: "#/definitions/response" }, description: "One or more JSON representations for responses" }, externalDocs: { type: "object", additionalProperties: !1, description: "information about external documentation", required: ["url"], properties: { description: { type: "string" }, url: { type: "string", format: "uri" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, examples: { type: "object", additionalProperties: !0 }, mimeType: { type: "string", description: "The MIME type of the HTTP message." }, operation: { type: "object", required: ["responses"], additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { tags: { type: "array", items: { type: "string" }, uniqueItems: !0 }, summary: { type: "string", description: "A brief summary of the operation." }, description: { type: "string", description: "A longer description of the operation, GitHub Flavored Markdown is allowed." }, externalDocs: { $ref: "#/definitions/externalDocs" }, operationId: { type: "string", description: "A unique identifier of the operation." }, produces: { description: "A list of MIME types the API can produce.", allOf: [{ $ref: "#/definitions/mediaTypeList" }] }, consumes: { description: "A list of MIME types the API can consume.", allOf: [{ $ref: "#/definitions/mediaTypeList" }] }, parameters: { $ref: "#/definitions/parametersList" }, responses: { $ref: "#/definitions/responses" }, schemes: { $ref: "#/definitions/schemesList" }, deprecated: { type: "boolean", default: !1 }, security: { $ref: "#/definitions/security" } } }, pathItem: { type: "object", additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { $ref: { type: "string" }, get: { $ref: "#/definitions/operation" }, put: { $ref: "#/definitions/operation" }, post: { $ref: "#/definitions/operation" }, delete: { $ref: "#/definitions/operation" }, options: { $ref: "#/definitions/operation" }, head: { $ref: "#/definitions/operation" }, patch: { $ref: "#/definitions/operation" }, parameters: { $ref: "#/definitions/parametersList" } } }, responses: { type: "object", description: "Response objects names can either be any valid HTTP status code or 'default'.", minProperties: 1, additionalProperties: !1, patternProperties: { "^([0-9]{3})$|^(default)$": { $ref: "#/definitions/responseValue" }, "^x-": { $ref: "#/definitions/vendorExtension" } }, not: { type: "object", additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } } }, responseValue: { if: { type: "object", required: ["$ref"] }, then: { $ref: "#/definitions/jsonReference" }, else: { $ref: "#/definitions/response" } }, response: { type: "object", required: ["description"], properties: { description: { type: "string" }, schema: { oneOf: [{ $ref: "#/definitions/schema" }, { $ref: "#/definitions/fileSchema" }] }, headers: { $ref: "#/definitions/headers" }, examples: { $ref: "#/definitions/examples" } }, additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, headers: { type: "object", additionalProperties: { $ref: "#/definitions/header" } }, header: { type: "object", additionalProperties: !1, required: ["type"], properties: { type: { type: "string", enum: ["string", "number", "integer", "boolean", "array"] }, format: { type: "string" }, items: { $ref: "#/definitions/primitivesItems" }, collectionFormat: { $ref: "#/definitions/collectionFormat" }, default: { $ref: "#/definitions/default" }, maximum: { $ref: "#/definitions/maximum" }, exclusiveMaximum: { $ref: "#/definitions/exclusiveMaximum" }, minimum: { $ref: "#/definitions/minimum" }, exclusiveMinimum: { $ref: "#/definitions/exclusiveMinimum" }, maxLength: { $ref: "#/definitions/maxLength" }, minLength: { $ref: "#/definitions/minLength" }, pattern: { $ref: "#/definitions/pattern" }, maxItems: { $ref: "#/definitions/maxItems" }, minItems: { $ref: "#/definitions/minItems" }, uniqueItems: { $ref: "#/definitions/uniqueItems" }, enum: { $ref: "#/definitions/enum" }, multipleOf: { $ref: "#/definitions/multipleOf" }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, vendorExtension: { description: "Any property starting with x- is valid.", additionalProperties: !0, additionalItems: !0 }, bodyParameter: { type: "object", required: ["name", "in", "schema"], patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { description: { type: "string", description: "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." }, name: { type: "string", description: "The name of the parameter." }, in: { type: "string", description: "Determines the location of the parameter.", enum: ["body"] }, required: { type: "boolean", description: "Determines whether or not this parameter is required or optional.", default: !1 }, schema: { $ref: "#/definitions/schema" } }, additionalProperties: !1 }, headerParameterSubSchema: { additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { required: { type: "boolean", description: "Determines whether or not this parameter is required or optional.", default: !1 }, in: { type: "string", description: "Determines the location of the parameter.", enum: ["header"] }, description: { type: "string", description: "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." }, name: { type: "string", description: "The name of the parameter." }, type: { type: "string", enum: ["string", "number", "boolean", "integer", "array"] }, format: { type: "string" }, items: { $ref: "#/definitions/primitivesItems" }, collectionFormat: { $ref: "#/definitions/collectionFormat" }, default: { $ref: "#/definitions/default" }, maximum: { $ref: "#/definitions/maximum" }, exclusiveMaximum: { $ref: "#/definitions/exclusiveMaximum" }, minimum: { $ref: "#/definitions/minimum" }, exclusiveMinimum: { $ref: "#/definitions/exclusiveMinimum" }, maxLength: { $ref: "#/definitions/maxLength" }, minLength: { $ref: "#/definitions/minLength" }, pattern: { $ref: "#/definitions/pattern" }, maxItems: { $ref: "#/definitions/maxItems" }, minItems: { $ref: "#/definitions/minItems" }, uniqueItems: { $ref: "#/definitions/uniqueItems" }, enum: { $ref: "#/definitions/enum" }, multipleOf: { $ref: "#/definitions/multipleOf" } } }, queryParameterSubSchema: { additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { required: { type: "boolean", description: "Determines whether or not this parameter is required or optional.", default: !1 }, in: { type: "string", description: "Determines the location of the parameter.", enum: ["query"] }, description: { type: "string", description: "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." }, name: { type: "string", description: "The name of the parameter." }, allowEmptyValue: { type: "boolean", default: !1, description: "allows sending a parameter by name only or with an empty value." }, type: { type: "string", enum: ["string", "number", "boolean", "integer", "array"] }, format: { type: "string" }, items: { $ref: "#/definitions/primitivesItems" }, collectionFormat: { $ref: "#/definitions/collectionFormatWithMulti" }, default: { $ref: "#/definitions/default" }, maximum: { $ref: "#/definitions/maximum" }, exclusiveMaximum: { $ref: "#/definitions/exclusiveMaximum" }, minimum: { $ref: "#/definitions/minimum" }, exclusiveMinimum: { $ref: "#/definitions/exclusiveMinimum" }, maxLength: { $ref: "#/definitions/maxLength" }, minLength: { $ref: "#/definitions/minLength" }, pattern: { $ref: "#/definitions/pattern" }, maxItems: { $ref: "#/definitions/maxItems" }, minItems: { $ref: "#/definitions/minItems" }, uniqueItems: { $ref: "#/definitions/uniqueItems" }, enum: { $ref: "#/definitions/enum" }, multipleOf: { $ref: "#/definitions/multipleOf" } } }, formDataParameterSubSchema: { additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { required: { type: "boolean", description: "Determines whether or not this parameter is required or optional.", default: !1 }, in: { type: "string", description: "Determines the location of the parameter.", enum: ["formData"] }, description: { type: "string", description: "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." }, name: { type: "string", description: "The name of the parameter." }, allowEmptyValue: { type: "boolean", default: !1, description: "allows sending a parameter by name only or with an empty value." }, type: { type: "string", enum: ["string", "number", "boolean", "integer", "array", "file"] }, format: { type: "string" }, items: { $ref: "#/definitions/primitivesItems" }, collectionFormat: { $ref: "#/definitions/collectionFormatWithMulti" }, default: { $ref: "#/definitions/default" }, maximum: { $ref: "#/definitions/maximum" }, exclusiveMaximum: { $ref: "#/definitions/exclusiveMaximum" }, minimum: { $ref: "#/definitions/minimum" }, exclusiveMinimum: { $ref: "#/definitions/exclusiveMinimum" }, maxLength: { $ref: "#/definitions/maxLength" }, minLength: { $ref: "#/definitions/minLength" }, pattern: { $ref: "#/definitions/pattern" }, maxItems: { $ref: "#/definitions/maxItems" }, minItems: { $ref: "#/definitions/minItems" }, uniqueItems: { $ref: "#/definitions/uniqueItems" }, enum: { $ref: "#/definitions/enum" }, multipleOf: { $ref: "#/definitions/multipleOf" } } }, pathParameterSubSchema: { additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, required: ["required"], properties: { required: { type: "boolean", enum: [!0], description: "Determines whether or not this parameter is required or optional." }, in: { type: "string", description: "Determines the location of the parameter.", enum: ["path"] }, description: { type: "string", description: "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." }, name: { type: "string", description: "The name of the parameter." }, type: { type: "string", enum: ["string", "number", "boolean", "integer", "array"] }, format: { type: "string" }, items: { $ref: "#/definitions/primitivesItems" }, collectionFormat: { $ref: "#/definitions/collectionFormat" }, default: { $ref: "#/definitions/default" }, maximum: { $ref: "#/definitions/maximum" }, exclusiveMaximum: { $ref: "#/definitions/exclusiveMaximum" }, minimum: { $ref: "#/definitions/minimum" }, exclusiveMinimum: { $ref: "#/definitions/exclusiveMinimum" }, maxLength: { $ref: "#/definitions/maxLength" }, minLength: { $ref: "#/definitions/minLength" }, pattern: { $ref: "#/definitions/pattern" }, maxItems: { $ref: "#/definitions/maxItems" }, minItems: { $ref: "#/definitions/minItems" }, uniqueItems: { $ref: "#/definitions/uniqueItems" }, enum: { $ref: "#/definitions/enum" }, multipleOf: { $ref: "#/definitions/multipleOf" } } }, nonBodyParameter: { type: "object", required: ["name", "in", "type"], oneOf: [{ $ref: "#/definitions/headerParameterSubSchema" }, { $ref: "#/definitions/formDataParameterSubSchema" }, { $ref: "#/definitions/queryParameterSubSchema" }, { $ref: "#/definitions/pathParameterSubSchema" }] }, parameter: { oneOf: [{ $ref: "#/definitions/bodyParameter" }, { $ref: "#/definitions/nonBodyParameter" }] }, schema: { type: "object", description: "A deterministic version of a JSON Schema object.", patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { $ref: { type: "string" }, format: { type: "string" }, title: { $ref: "http://json-schema.org/draft-04/schema#/properties/title" }, description: { $ref: "http://json-schema.org/draft-04/schema#/properties/description" }, default: { $ref: "http://json-schema.org/draft-04/schema#/properties/default" }, multipleOf: { $ref: "http://json-schema.org/draft-04/schema#/properties/multipleOf" }, maximum: { $ref: "http://json-schema.org/draft-04/schema#/properties/maximum" }, exclusiveMaximum: { $ref: "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" }, minimum: { $ref: "http://json-schema.org/draft-04/schema#/properties/minimum" }, exclusiveMinimum: { $ref: "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" }, maxLength: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minLength: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, pattern: { $ref: "http://json-schema.org/draft-04/schema#/properties/pattern" }, maxItems: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minItems: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, uniqueItems: { $ref: "http://json-schema.org/draft-04/schema#/properties/uniqueItems" }, maxProperties: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minProperties: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, required: { $ref: "http://json-schema.org/draft-04/schema#/definitions/stringArray" }, enum: { $ref: "http://json-schema.org/draft-04/schema#/properties/enum" }, additionalProperties: { if: { type: "object" }, then: { $ref: "#/definitions/schema" }, else: { if: { type: "boolean" }, then: !0, else: { not: !0, errorMessage: '"additionalProperties" property must be a valid schema' } }, default: {} }, type: { $ref: "http://json-schema.org/draft-04/schema#/properties/type" }, items: { anyOf: [{ $ref: "#/definitions/schema" }, { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }], default: {} }, allOf: { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }, oneOf: { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }, anyOf: { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }, properties: { type: "object", additionalProperties: { $ref: "#/definitions/schema" }, default: {} }, discriminator: { type: "string" }, readOnly: { type: "boolean", default: !1 }, xml: { $ref: "#/definitions/xml" }, externalDocs: { $ref: "#/definitions/externalDocs" }, example: {} }, additionalProperties: !1 }, fileSchema: { type: "object", description: "A deterministic version of a JSON Schema object.", patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, required: ["type"], properties: { format: { type: "string" }, title: { $ref: "http://json-schema.org/draft-04/schema#/properties/title" }, description: { $ref: "http://json-schema.org/draft-04/schema#/properties/description" }, default: { $ref: "http://json-schema.org/draft-04/schema#/properties/default" }, required: { $ref: "http://json-schema.org/draft-04/schema#/definitions/stringArray" }, type: { enum: ["file"] }, readOnly: { type: "boolean", default: !1 }, externalDocs: { $ref: "#/definitions/externalDocs" }, example: {} }, additionalProperties: !1 }, primitivesItems: { type: "object", additionalProperties: !1, properties: { type: { enum: ["string", "number", "integer", "boolean", "array"] }, format: { type: "string" }, items: { $ref: "#/definitions/primitivesItems" }, collectionFormat: { $ref: "#/definitions/collectionFormat" }, default: { $ref: "#/definitions/default" }, maximum: { $ref: "#/definitions/maximum" }, exclusiveMaximum: { $ref: "#/definitions/exclusiveMaximum" }, minimum: { $ref: "#/definitions/minimum" }, exclusiveMinimum: { $ref: "#/definitions/exclusiveMinimum" }, maxLength: { $ref: "#/definitions/maxLength" }, minLength: { $ref: "#/definitions/minLength" }, pattern: { $ref: "#/definitions/pattern" }, maxItems: { $ref: "#/definitions/maxItems" }, minItems: { $ref: "#/definitions/minItems" }, uniqueItems: { $ref: "#/definitions/uniqueItems" }, enum: { $ref: "#/definitions/enum" }, multipleOf: { $ref: "#/definitions/multipleOf" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, security: { type: "array", items: { $ref: "#/definitions/securityRequirement" }, uniqueItems: !0 }, securityRequirement: { type: "object", additionalProperties: { type: "array", items: { type: "string" }, uniqueItems: !0 } }, xml: { type: "object", additionalProperties: !1, properties: { name: { type: "string" }, namespace: { type: "string" }, prefix: { type: "string" }, attribute: { type: "boolean", default: !1 }, wrapped: { type: "boolean", default: !1 } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, tag: { type: "object", additionalProperties: !1, required: ["name"], properties: { name: { type: "string" }, description: { type: "string" }, externalDocs: { $ref: "#/definitions/externalDocs" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, securityDefinitions: { type: "object", additionalProperties: { oneOf: [{ $ref: "#/definitions/basicAuthenticationSecurity" }, { $ref: "#/definitions/apiKeySecurity" }, { $ref: "#/definitions/oauth2ImplicitSecurity" }, { $ref: "#/definitions/oauth2PasswordSecurity" }, { $ref: "#/definitions/oauth2ApplicationSecurity" }, { $ref: "#/definitions/oauth2AccessCodeSecurity" }] }, errorMessage: { properties: { basic: "Invalid basic authentication security definition", apiKey: "Invalid apiKey authentication security definition", oauth2: "Invalid oauth2 authentication security definition" }, _: "Invalid security securityDefinitions" } }, basicAuthenticationSecurity: { type: "object", additionalProperties: !1, required: ["type"], properties: { type: { enum: ["basic"] }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, apiKeySecurity: { type: "object", additionalProperties: !1, required: ["type", "name", "in"], properties: { type: { enum: ["apiKey"] }, name: { type: "string" }, in: { enum: ["header", "query"] }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, oauth2ImplicitSecurity: { type: "object", additionalProperties: !1, required: ["type", "flow", "authorizationUrl", "scopes"], properties: { type: { enum: ["oauth2"] }, flow: { enum: ["implicit"] }, scopes: { $ref: "#/definitions/oauth2Scopes" }, authorizationUrl: { type: "string", format: "uri" }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, oauth2PasswordSecurity: { type: "object", additionalProperties: !1, required: ["type", "flow", "tokenUrl", "scopes"], properties: { type: { enum: ["oauth2"] }, flow: { enum: ["password"] }, scopes: { $ref: "#/definitions/oauth2Scopes" }, tokenUrl: { type: "string", format: "uri" }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, oauth2ApplicationSecurity: { type: "object", additionalProperties: !1, required: ["type", "flow", "tokenUrl", "scopes"], properties: { type: { const: "oauth2" }, flow: { const: "application" }, scopes: { $ref: "#/definitions/oauth2Scopes" }, tokenUrl: { type: "string", format: "uri" }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, oauth2AccessCodeSecurity: { type: "object", additionalProperties: !1, required: ["type", "flow", "authorizationUrl", "tokenUrl", "scopes"], properties: { type: { const: "oauth2" }, flow: { const: "accessCode" }, scopes: { $ref: "#/definitions/oauth2Scopes" }, authorizationUrl: { type: "string", format: "uri" }, tokenUrl: { type: "string", format: "uri" }, description: { type: "string" } }, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } } }, oauth2Scopes: { type: "object", additionalProperties: { type: "string" } }, mediaTypeList: { type: "array", items: { $ref: "#/definitions/mimeType" }, uniqueItems: !0 }, parametersList: { type: "array", description: "The parameters needed to send a valid API call.", additionalItems: !1, items: { if: { type: "object", required: ["$ref"] }, then: { $ref: "#/definitions/jsonReference" }, else: { $ref: "#/definitions/parameter" } }, uniqueItems: !0 }, schemesList: { type: "array", description: "The transfer protocol of the API.", items: { enum: ["http", "https", "ws", "wss"] }, uniqueItems: !0 }, collectionFormat: { enum: ["csv", "ssv", "tsv", "pipes"], default: "csv" }, collectionFormatWithMulti: { enum: ["csv", "ssv", "tsv", "pipes", "multi"], default: "csv" }, title: { $ref: "http://json-schema.org/draft-04/schema#/properties/title" }, description: { $ref: "http://json-schema.org/draft-04/schema#/properties/description" }, default: { $ref: "http://json-schema.org/draft-04/schema#/properties/default" }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { $ref: "http://json-schema.org/draft-04/schema#/properties/maximum" }, exclusiveMaximum: { $ref: "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" }, minimum: { $ref: "http://json-schema.org/draft-04/schema#/properties/minimum" }, exclusiveMinimum: { $ref: "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" }, maxLength: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minLength: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, pattern: { $ref: "http://json-schema.org/draft-04/schema#/properties/pattern" }, maxItems: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minItems: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, uniqueItems: { $ref: "http://json-schema.org/draft-04/schema#/properties/uniqueItems" }, enum: { $ref: "http://json-schema.org/draft-04/schema#/properties/enum" }, jsonReference: { type: "object", required: ["$ref"], additionalProperties: !1, properties: { $ref: { type: "string" } } } } }, t = Object.prototype.hasOwnProperty, a = require("ajv/dist/runtime/equal").default, r = new RegExp("^x-", "u"), s = new RegExp("^[^{}/ :\\\\]+(?::\\d+)?$", "u"), n = new RegExp("^/", "u"), o = require("ajv-formats/dist/formats").fullFormats.uri, i = /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i; function p(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { const o = p.evaluated; return o.dynamicProps && (o.props = void 0), o.dynamicItems && (o.items = void 0), p.errors = null, !0; } function c(e, { instancePath: t = "", parentData: a, parentDataProperty: s, rootData: n = e, dynamicAnchors: l = {} } = {}) { let m = null, u = 0; const h = c.evaluated; if (h.dynamicProps && (h.props = void 0), h.dynamicItems && (h.items = void 0), e && "object" == typeof e && !Array.isArray(e)) { for (const a in e) if ("name" !== a && "url" !== a && "email" !== a && !r.test(a)) { const e = { instancePath: t, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: a }, message: "must NOT have additional properties" }; null === m ? m = [e] : m.push(e), u++; } if (void 0 !== e.name && "string" != typeof e.name) { const e = { instancePath: t + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === m ? m = [e] : m.push(e), u++; } if (void 0 !== e.url) { let a = e.url; if ("string" == typeof a) { if (!o(a)) { const e = { instancePath: t + "/url", schemaPath: "#/properties/url/format", keyword: "format", params: { format: "uri" }, message: 'must match format "uri"' }; null === m ? m = [e] : m.push(e), u++; } } else { const e = { instancePath: t + "/url", schemaPath: "#/properties/url/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === m ? m = [e] : m.push(e), u++; } } if (void 0 !== e.email) { let a = e.email; if ("string" == typeof a) { if (!i.test(a)) { const e = { instancePath: t + "/email", schemaPath: "#/properties/email/format", keyword: "format", params: { format: "email" }, message: 'must match format "email"' }; null === m ? m = [e] : m.push(e), u++; } } else { const e = { instancePath: t + "/email", schemaPath: "#/properties/email/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === m ? m = [e] : m.push(e), u++; } } for (const a in e) r.test(a) && (p(e[a], { instancePath: t + "/" + a.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: e, parentDataProperty: a, rootData: n, dynamicAnchors: l }) || (m = null === m ? p.errors : m.concat(p.errors), u = m.length)); } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }; null === m ? m = [e] : m.push(e), u++; } return c.errors = m, 0 === u; } function l(e, { instancePath: t = "", parentData: a, parentDataProperty: s, rootData: n = e, dynamicAnchors: i = {} } = {}) { let c = null, m = 0; const u = l.evaluated; if (u.dynamicProps && (u.props = void 0), u.dynamicItems && (u.items = void 0), e && "object" == typeof e && !Array.isArray(e)) { if (void 0 === e.name) { const e = { instancePath: t, schemaPath: "#/required", keyword: "required", params: { missingProperty: "name" }, message: "must have required property 'name'" }; null === c ? c = [e] : c.push(e), m++; } for (const a in e) if ("name" !== a && "url" !== a && !r.test(a)) { const e = { instancePath: t, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: a }, message: "must NOT have additional properties" }; null === c ? c = [e] : c.push(e), m++; } if (void 0 !== e.name && "string" != typeof e.name) { const e = { instancePath: t + "/name", schemaPath: "#/properties/name/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === c ? c = [e] : c.push(e), m++; } if (void 0 !== e.url) { let a = e.url; if ("string" == typeof a) { if (!o(a)) { const e = { instancePath: t + "/url", schemaPath: "#/properties/url/format", keyword: "format", params: { format: "uri" }, message: 'must match format "uri"' }; null === c ? c = [e] : c.push(e), m++; } } else { const e = { instancePath: t + "/url", schemaPath: "#/properties/url/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === c ? c = [e] : c.push(e), m++; } } for (const a in e) r.test(a) && (p(e[a], { instancePath: t + "/" + a.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: e, parentDataProperty: a, rootData: n, dynamicAnchors: i }) || (c = null === c ? p.errors : c.concat(p.errors), m = c.length)); } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }; null === c ? c = [e] : c.push(e), m++; } return l.errors = c, 0 === m; } function m(e, { instancePath: t = "", parentData: a, parentDataProperty: s, rootData: n = e, dynamicAnchors: o = {} } = {}) { let i = null, u = 0; const h = m.evaluated; if (h.dynamicProps && (h.props = void 0), h.dynamicItems && (h.items = void 0), e && "object" == typeof e && !Array.isArray(e)) { if (void 0 === e.version) { const e = { instancePath: t, schemaPath: "#/required", keyword: "required", params: { missingProperty: "version" }, message: "must have required property 'version'" }; null === i ? i = [e] : i.push(e), u++; } if (void 0 === e.title) { const e = { instancePath: t, schemaPath: "#/required", keyword: "required", params: { missingProperty: "title" }, message: "must have required property 'title'" }; null === i ? i = [e] : i.push(e), u++; } for (const a in e) if ("title" !== a && "version" !== a && "description" !== a && "termsOfService" !== a && "contact" !== a && "license" !== a && !r.test(a)) { const e = { instancePath: t, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: a }, message: "must NOT have additional properties" }; null === i ? i = [e] : i.push(e), u++; } if (void 0 !== e.title && "string" != typeof e.title) { const e = { instancePath: t + "/title", schemaPath: "#/properties/title/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === i ? i = [e] : i.push(e), u++; } if (void 0 !== e.version && "string" != typeof e.version) { const e = { instancePath: t + "/version", schemaPath: "#/properties/version/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === i ? i = [e] : i.push(e), u++; } if (void 0 !== e.description && "string" != typeof e.description) { const e = { instancePath: t + "/description", schemaPath: "#/properties/description/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === i ? i = [e] : i.push(e), u++; } if (void 0 !== e.termsOfService && "string" != typeof e.termsOfService) { const e = { instancePath: t + "/termsOfService", schemaPath: "#/properties/termsOfService/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === i ? i = [e] : i.push(e), u++; } void 0 !== e.contact && (c(e.contact, { instancePath: t + "/contact", parentData: e, parentDataProperty: "contact", rootData: n, dynamicAnchors: o }) || (i = null === i ? c.errors : i.concat(c.errors), u = i.length)), void 0 !== e.license && (l(e.license, { instancePath: t + "/license", parentData: e, parentDataProperty: "license", rootData: n, dynamicAnchors: o }) || (i = null === i ? l.errors : i.concat(l.errors), u = i.length)); for (const a in e) r.test(a) && (p(e[a], { instancePath: t + "/" + a.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: e, parentDataProperty: a, rootData: n, dynamicAnchors: o }) || (i = null === i ? p.errors : i.concat(p.errors), u = i.length)); } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }; null === i ? i = [e] : i.push(e), u++; } return m.errors = i, 0 === u; } p.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 }, c.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 }, l.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 }, m.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 }; const u = { type: "array", description: "The transfer protocol of the API.", items: { enum: ["http", "https", "ws", "wss"] }, uniqueItems: !0 }; function h(e, { instancePath: t = "", parentData: r, parentDataProperty: s, rootData: n = e, dynamicAnchors: o = {} } = {}) { let i = null, p = 0; const c = h.evaluated; if (c.dynamicProps && (c.props = void 0), c.dynamicItems && (c.items = void 0), Array.isArray(e)) { const r = e.length; for (let a = 0; a < r; a++) { let r = e[a]; if ("http" !== r && "https" !== r && "ws" !== r && "wss" !== r) { const e = { instancePath: t + "/" + a, schemaPath: "#/items/enum", keyword: "enum", params: { allowedValues: u.items.enum }, message: "must be equal to one of the allowed values" }; null === i ? i = [e] : i.push(e), p++; } } let s, n = e.length; if (n > 1) e: for (; n--;) for (s = n; s--;) if (a(e[n], e[s])) { const e = { instancePath: t, schemaPath: "#/uniqueItems", keyword: "uniqueItems", params: { i: n, j: s }, message: "must NOT have duplicate items (items ## " + s + " and " + n + " are identical)" }; null === i ? i = [e] : i.push(e), p++; break e; } } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "array" }, message: "must be array" }; null === i ? i = [e] : i.push(e), p++; } return h.errors = i, 0 === p; } function d(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = d.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), "string" != typeof e) { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === o ? o = [e] : o.push(e), i++; } return d.errors = o, 0 === i; } function y(e, { instancePath: t = "", parentData: r, parentDataProperty: s, rootData: n = e, dynamicAnchors: o = {} } = {}) { let i = null, p = 0; const c = y.evaluated; if (c.dynamicProps && (c.props = void 0), c.dynamicItems && (c.items = void 0), Array.isArray(e)) { const r = e.length; for (let a = 0; a < r; a++) d(e[a], { instancePath: t + "/" + a, parentData: e, parentDataProperty: a, rootData: n, dynamicAnchors: o }) || (i = null === i ? d.errors : i.concat(d.errors), p = i.length); let s, c = e.length; if (c > 1) e: for (; c--;) for (s = c; s--;) if (a(e[c], e[s])) { const e = { instancePath: t, schemaPath: "#/uniqueItems", keyword: "uniqueItems", params: { i: c, j: s }, message: "must NOT have duplicate items (items ## " + s + " and " + c + " are identical)" }; null === i ? i = [e] : i.push(e), p++; break e; } } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "array" }, message: "must be array" }; null === i ? i = [e] : i.push(e), p++; } return y.errors = i, 0 === p; } h.evaluated = { items: !0, dynamicProps: !1, dynamicItems: !1 }, d.evaluated = { dynamicProps: !1, dynamicItems: !1 }, y.evaluated = { items: !0, dynamicProps: !1, dynamicItems: !1 }; const f = { type: "object", additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { $ref: { type: "string" }, get: { $ref: "#/definitions/operation" }, put: { $ref: "#/definitions/operation" }, post: { $ref: "#/definitions/operation" }, delete: { $ref: "#/definitions/operation" }, options: { $ref: "#/definitions/operation" }, head: { $ref: "#/definitions/operation" }, patch: { $ref: "#/definitions/operation" }, parameters: { $ref: "#/definitions/parametersList" } } }, P = { type: "object", required: ["responses"], additionalProperties: !1, patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { tags: { type: "array", items: { type: "string" }, uniqueItems: !0 }, summary: { type: "string", description: "A brief summary of the operation." }, description: { type: "string", description: "A longer description of the operation, GitHub Flavored Markdown is allowed." }, externalDocs: { $ref: "#/definitions/externalDocs" }, operationId: { type: "string", description: "A unique identifier of the operation." }, produces: { description: "A list of MIME types the API can produce.", allOf: [{ $ref: "#/definitions/mediaTypeList" }] }, consumes: { description: "A list of MIME types the API can consume.", allOf: [{ $ref: "#/definitions/mediaTypeList" }] }, parameters: { $ref: "#/definitions/parametersList" }, responses: { $ref: "#/definitions/responses" }, schemes: { $ref: "#/definitions/schemesList" }, deprecated: { type: "boolean", default: !1 }, security: { $ref: "#/definitions/security" } } }; function g(e, { instancePath: t = "", parentData: a, parentDataProperty: s, rootData: n = e, dynamicAnchors: i = {} } = {}) { let c = null, l = 0; const m = g.evaluated; if (m.dynamicProps && (m.props = void 0), m.dynamicItems && (m.items = void 0), e && "object" == typeof e && !Array.isArray(e)) { if (void 0 === e.url) { const e = { instancePath: t, schemaPath: "#/required", keyword: "required", params: { missingProperty: "url" }, message: "must have required property 'url'" }; null === c ? c = [e] : c.push(e), l++; } for (const a in e) if ("description" !== a && "url" !== a && !r.test(a)) { const e = { instancePath: t, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: a }, message: "must NOT have additional properties" }; null === c ? c = [e] : c.push(e), l++; } if (void 0 !== e.description && "string" != typeof e.description) { const e = { instancePath: t + "/description", schemaPath: "#/properties/description/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === c ? c = [e] : c.push(e), l++; } if (void 0 !== e.url) { let a = e.url; if ("string" == typeof a) { if (!o(a)) { const e = { instancePath: t + "/url", schemaPath: "#/properties/url/format", keyword: "format", params: { format: "uri" }, message: 'must match format "uri"' }; null === c ? c = [e] : c.push(e), l++; } } else { const e = { instancePath: t + "/url", schemaPath: "#/properties/url/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === c ? c = [e] : c.push(e), l++; } } for (const a in e) r.test(a) && (p(e[a], { instancePath: t + "/" + a.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: e, parentDataProperty: a, rootData: n, dynamicAnchors: i }) || (c = null === c ? p.errors : c.concat(p.errors), l = c.length)); } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }; null === c ? c = [e] : c.push(e), l++; } return g.errors = c, 0 === l; } function v(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = v.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), e && "object" == typeof e && !Array.isArray(e)) { if (void 0 === e.$ref) { const e = { instancePath: t, schemaPath: "#/required", keyword: "required", params: { missingProperty: "$ref" }, message: "must have required property '$ref'" }; null === o ? o = [e] : o.push(e), i++; } for (const a in e) if ("$ref" !== a) { const e = { instancePath: t, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: a }, message: "must NOT have additional properties" }; null === o ? o = [e] : o.push(e), i++; } if (void 0 !== e.$ref && "string" != typeof e.$ref) { const e = { instancePath: t + "/$ref", schemaPath: "#/properties/%24ref/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === o ? o = [e] : o.push(e), i++; } } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }; null === o ? o = [e] : o.push(e), i++; } return v.errors = o, 0 === i; } g.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 }, v.evaluated = { props: !0, dynamicProps: !1, dynamicItems: !1 }; const b = { type: "object", required: ["name", "in", "schema"], patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { description: { type: "string", description: "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." }, name: { type: "string", description: "The name of the parameter." }, in: { type: "string", description: "Determines the location of the parameter.", enum: ["body"] }, required: { type: "boolean", description: "Determines whether or not this parameter is required or optional.", default: !1 }, schema: { $ref: "#/definitions/schema" } }, additionalProperties: !1 }, D = { type: "object", description: "A deterministic version of a JSON Schema object.", patternProperties: { "^x-": { $ref: "#/definitions/vendorExtension" } }, properties: { $ref: { type: "string" }, format: { type: "string" }, title: { $ref: "http://json-schema.org/draft-04/schema#/properties/title" }, description: { $ref: "http://json-schema.org/draft-04/schema#/properties/description" }, default: { $ref: "http://json-schema.org/draft-04/schema#/properties/default" }, multipleOf: { $ref: "http://json-schema.org/draft-04/schema#/properties/multipleOf" }, maximum: { $ref: "http://json-schema.org/draft-04/schema#/properties/maximum" }, exclusiveMaximum: { $ref: "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" }, minimum: { $ref: "http://json-schema.org/draft-04/schema#/properties/minimum" }, exclusiveMinimum: { $ref: "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" }, maxLength: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minLength: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, pattern: { $ref: "http://json-schema.org/draft-04/schema#/properties/pattern" }, maxItems: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minItems: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, uniqueItems: { $ref: "http://json-schema.org/draft-04/schema#/properties/uniqueItems" }, maxProperties: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" }, minProperties: { $ref: "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" }, required: { $ref: "http://json-schema.org/draft-04/schema#/definitions/stringArray" }, enum: { $ref: "http://json-schema.org/draft-04/schema#/properties/enum" }, additionalProperties: { if: { type: "object" }, then: { $ref: "#/definitions/schema" }, else: { if: { type: "boolean" }, then: !0, else: { not: !0, errorMessage: '"additionalProperties" property must be a valid schema' } }, default: {} }, type: { $ref: "http://json-schema.org/draft-04/schema#/properties/type" }, items: { anyOf: [{ $ref: "#/definitions/schema" }, { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }], default: {} }, allOf: { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }, oneOf: { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }, anyOf: { type: "array", minItems: 1, items: { $ref: "#/definitions/schema" } }, properties: { type: "object", additionalProperties: { $ref: "#/definitions/schema" }, default: {} }, discriminator: { type: "string" }, readOnly: { type: "boolean", default: !1 }, xml: { $ref: "#/definitions/xml" }, externalDocs: { $ref: "#/definitions/externalDocs" }, example: {} }, additionalProperties: !1 }; function w(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = w.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), "string" != typeof e) { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === o ? o = [e] : o.push(e), i++; } return w.errors = o, 0 === i; } function A(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = A.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), "string" != typeof e) { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "string" }, message: "must be string" }; null === o ? o = [e] : o.push(e), i++; } return A.errors = o, 0 === i; } function k(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { return k.errors = null, !0; } function $(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = $.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), "number" == typeof e) { if (e <= 0 || isNaN(e)) { const e = { instancePath: t, schemaPath: "#/exclusiveMinimum", keyword: "exclusiveMinimum", params: { comparison: ">", limit: 0 }, message: "must be > 0" }; null === o ? o = [e] : o.push(e), i++; } } else { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "number" }, message: "must be number" }; null === o ? o = [e] : o.push(e), i++; } return $.errors = o, 0 === i; } function j(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = j.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), "number" != typeof e) { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "number" }, message: "must be number" }; null === o ? o = [e] : o.push(e), i++; } return j.errors = o, 0 === i; } function q(e, { instancePath: t = "", parentData: a, parentDataProperty: r, rootData: s = e, dynamicAnchors: n = {} } = {}) { let o = null, i = 0; const p = q.evaluated; if (p.dynamicProps && (p.props = void 0), p.dynamicItems && (p.items = void 0), "boolean" != typeof e) { const e = { instancePath: t, schemaPath: "#/type", keyword: "type", params: { type: "boolean" }, message: