From 0660e596a82597c181f1bba3db9301c65127876c Mon Sep 17 00:00:00 2001 From: Chandan Date: Mon, 16 Oct 2023 12:43:40 -0700 Subject: [PATCH] restrict additionalProperties in CVSS 4.0 object to prevent typos in fields. --- schema/v5.0/docs/CVE_JSON_5.1_bundled.json | 3 ++- schema/v5.0/docs/index.html | 4 ++-- schema/v5.0/imports/cvss/cvss-v4.0.json | 3 ++- schema/v5.0/support/Node_Validator/dist/cve5validator.js | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/schema/v5.0/docs/CVE_JSON_5.1_bundled.json b/schema/v5.0/docs/CVE_JSON_5.1_bundled.json index 7b81ae43e21..553165ce8e4 100644 --- a/schema/v5.0/docs/CVE_JSON_5.1_bundled.json +++ b/schema/v5.0/docs/CVE_JSON_5.1_bundled.json @@ -1555,7 +1555,8 @@ "vectorString", "baseScore", "baseSeverity" - ] + ], + "additionalProperties": false }, "cvssV3_1": { "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/schema/v5.0/docs/index.html b/schema/v5.0/docs/index.html index b3e8a6c5141..8da6bb878cf 100644 --- a/schema/v5.0/docs/index.html +++ b/schema/v5.0/docs/index.html @@ -94,10 +94,10 @@ } } return product.defaultStatus -

.

No Additional Properties

Type: object

The following properties are required:

  • status
  • version
Type: object

The following properties are required:

  • status
  • version
  • versionType
Type: object

The following properties are required:

  • lessThan
  • status
  • version
  • versionType
Type: object

The following properties are required:

  • lessThanOrEqual
  • status
  • version
  • versionType

Type: string

The single version being described, or the version at the start of the range. By convention, typically 0 denotes the earliest possible version.

Must be at least 1 characters long

Must be at most 1024 characters long

Type: enum (of string)

The vulnerability status for the version or range of versions. For a range, the status may be refined by the 'changes' list.

Same definition as defaultStatus

Type: string

The version numbering system used for specifying the range. This defines the exact semantics of the comparison (less-than) operation on versions, which is required to understand the range itself. 'Custom' indicates that the version type is unspecified and should be avoided whenever possible. It is included primarily for use in conversion of older data files.

Must be at least 1 characters long

Must be at most 128 characters long


Examples:

"custom"
+

.

No Additional Properties

Type: object

The following properties are required:

  • version
  • status
Type: object

The following properties are required:

  • version
  • status
  • versionType
Type: object

The following properties are required:

  • version
  • status
  • lessThan
  • versionType
Type: object

The following properties are required:

  • lessThanOrEqual
  • version
  • status
  • versionType

Type: string

The single version being described, or the version at the start of the range. By convention, typically 0 denotes the earliest possible version.

Must be at least 1 characters long

Must be at most 1024 characters long

Type: enum (of string)

The vulnerability status for the version or range of versions. For a range, the status may be refined by the 'changes' list.

Same definition as defaultStatus

Type: string

The version numbering system used for specifying the range. This defines the exact semantics of the comparison (less-than) operation on versions, which is required to understand the range itself. 'Custom' indicates that the version type is unspecified and should be avoided whenever possible. It is included primarily for use in conversion of older data files.

Must be at least 1 characters long

Must be at most 128 characters long


Examples:

"custom"
 
"git"
 
"maven"
 
"python"
 
"rpm"
 
"semver"
-

Type: string

The non-inclusive upper limit of the range. This is the least version NOT in the range. The usual version syntax is expanded to allow a pattern to end in an asterisk (*), indicating an arbitrarily large number in the version ordering. For example, {version: 1.0 lessThan: 1.*} would describe the entire 1.X branch for most range kinds, and {version: 2.0, lessThan: *} describes all versions starting at 2.0, including 3.0, 5.1, and so on. Only one of lessThan and lessThanOrEqual should be specified.

Same definition as version

Type: string

The inclusive upper limit of the range. This is the greatest version contained in the range. Only one of lessThan and lessThanOrEqual should be specified. For example, {version: 1.0, lessThanOrEqual: 1.3} covers all versions from 1.0 up to and including 1.3.

Same definition as version

Type: array of object

A list of status changes that take place during the range. The array should be sorted in increasing order by the 'at' field, according to the versionType, but clients must re-sort the list themselves rather than assume it is sorted.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

The start of a single status change during the range.

No Additional Properties

Type: string

The version at which a status change occurs.

Same definition as version

Type: enum (of string)

The new status in the range starting at the given version.

Same definition as defaultStatus

Type: array of object

This is problem type information (e.g. CWE identifier). Must contain: At least one entry, can be text, OWASP, CWE, please note that while only one is required you can use more than one (or indeed all three) as long as they are correct). (CNA requirement: [PROBLEMTYPE]).

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: array of object

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: "en"

BCP 47 language code, language-region.

Same definition as lang

Type: string

Text description of problemType, or title from CWE or OWASP.

Must be at least 1 characters long

Must be at most 4096 characters long

Type: string

CWE ID of the CWE that best describes this problemType entry.

Must match regular expression: ^CWE-[1-9][0-9]*$

Must be at least 5 characters long

Must be at most 9 characters long

Type: string

Problemtype source, text, OWASP, CWE, etc.,

Must be at least 1 characters long

Must be at most 128 characters long

Type: array

This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").

Same definition as references

Type: array

This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").

Must contain a minimum of 1 items

Must contain a maximum of 512 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string

The uniform resource locator (URL), according to RFC 3986, that can be used to retrieve the referenced resource.

Same definition as collectionURL

Type: string

User created name for the reference, often the title of the page.

Must be at least 1 characters long

Must be at most 512 characters long

Type: array

An array of one or more tags that describe the resource referenced by 'url'.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


Type: enum (of string)

broken-link: The reference link is returning a 404 error, or the site is no longer online.

customer-entitlement: Similar to Privileges Required, but specific to references that require non-public/paid access for customers of the particular vendor.

exploit: Reference contains an in-depth/detailed description of steps to exploit a vulnerability OR the reference contains any legitimate Proof of Concept (PoC) code or exploit kit.

government-resource: All reference links that are from a government agency or organization should be given the Government Resource tag.

issue-tracking: The reference is a post from a bug tracking tool such as MantisBT, Bugzilla, JIRA, Github Issues, etc...

mailing-list: The reference is from a mailing list -- often specific to a product or vendor.

mitigation: The reference contains information on steps to mitigate against the vulnerability in the event a patch can't be applied or is unavailable or for EOL product situations.

not-applicable: The reference link is not applicable to the vulnerability and was likely associated by MITRE accidentally (should be used sparingly).

patch: The reference contains an update to the software that fixes the vulnerability.

permissions-required: The reference link provided is blocked by a logon page. If credentials are required to see any information this tag must be applied.

media-coverage: The reference is from a media outlet such as a newspaper, magazine, social media, or weblog. This tag is not intended to apply to any individual's personal social media account. It is strictly intended for public media entities.

product: A reference appropriate for describing a product for the purpose of CPE or SWID.

related: A reference that is for a related (but not the same) vulnerability.

release-notes: The reference is in the format of a vendor or open source project's release notes or change log.

signature: The reference contains a method to detect or prevent the presence or exploitation of the vulnerability.

technical-description: The reference contains in-depth technical information about a vulnerability and its exploitation process, typically in the form of a presentation or whitepaper.

third-party-advisory: Advisory is from an organization that is not the vulnerable product's vendor/publisher/maintainer.

vendor-advisory: Advisory is from the vendor/publisher/maintainer of the product or the parent organization.

vdb-entry: VDBs are loosely defined as sites that provide information about this vulnerability, such as advisories, with identifiers. Included VDBs are free to access, substantially public, and have broad scope and coverage (not limited to a single vendor or research organization). See: https://www.first.org/global/sigs/vrdx/vdb-catalog

Must be one of:

  • "broken-link"
  • "customer-entitlement"
  • "exploit"
  • "government-resource"
  • "issue-tracking"
  • "mailing-list"
  • "mitigation"
  • "not-applicable"
  • "patch"
  • "permissions-required"
  • "media-coverage"
  • "product"
  • "related"
  • "release-notes"
  • "signature"
  • "technical-description"
  • "third-party-advisory"
  • "vendor-advisory"
  • "vdb-entry"

Type: array of object

Collection of impacts of this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

This is impact type information (e.g. a text description.

No Additional Properties

Type: string

CAPEC ID that best relates to this impact.

Must match regular expression: ^CAPEC-[1-9][0-9]{0,4}$

Must be at least 7 characters long

Must be at most 11 characters long

Type: array

Prose description of the impact scenario. At a minimum provide the description given by CAPEC.

Same definition as descriptions

Type: array of object

Collection of impact scores with attribution.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


This is impact type information (e.g. a text description, CVSSv2, CVSSv3, CVSSV4, etc.). Must contain: At least one entry, can be text, CVSSv2, CVSSv3, others may be added.

No Additional Properties

Type: object

The following properties are required:

  • cvssV4_0
Type: object

The following properties are required:

  • cvssV3_1
Type: object

The following properties are required:

  • cvssV3_0
Type: object

The following properties are required:

  • cvssV2_0
Type: object

The following properties are required:

  • other

Type: string

Name of the scoring format. This provides a bit of future proofing. Additional properties are not prohibited, so this will support the inclusion of proprietary formats. It also provides an easy future conversion mechanism when future score formats become part of the schema. example: cvssV44, format = 'cvssV44', other = cvssV4_4 JSON object. In the future, the other properties can be converted to score properties when they become part of the schema.

Must be at least 1 characters long

Must be at most 64 characters long

Type: array of object

Description of the scenarios this metrics object applies to. If no specific scenario is given, GENERAL is used as the default and applies when no more specific metric matches.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: "en"

BCP 47 language code, language-region.

Same definition as lang

Type: string Default: "GENERAL"

Description of the scenario this metrics object applies to. If no specific scenario is given, GENERAL is used as the default and applies when no more specific metric matches.

Must be at least 1 characters long

Must be at most 4096 characters long

Type: object


Type: object

Type: number

Value must be greater or equal to 0.0 and lesser or equal to 0.0

Type: const
Specific value: "NONE"
Type: object

Type: number

Value must be greater or equal to 0.1 and lesser or equal to 3.9 and a multiple of 0.1

Type: const
Specific value: "LOW"
Type: object

Type: number

Value must be greater or equal to 4.0 and lesser or equal to 6.9 and a multiple of 0.1

Type: const
Specific value: "MEDIUM"
Type: object

Type: number

Value must be greater or equal to 7.0 and lesser or equal to 8.9 and a multiple of 0.1

Type: const
Specific value: "HIGH"
Type: object

Type: number

Value must be greater or equal to 9.0 and lesser or equal to 10 and a multiple of 0.1

Type: const
Specific value: "CRITICAL"


The following properties are required:

  • baseSeverity
  • baseScore

Type: enum (of string)

CVSS Version

Must be one of:

  • "4.0"

Type: string
Must match regular expression: ^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT"
  • "LOCAL"
  • "PHYSICAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "PRESENT"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "PASSIVE"
  • "ACTIVE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "UNREPORTED"
  • "PROOF_OF_CONCEPT"
  • "ATTACKED"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"
Same definition as confidentialityRequirement

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NETWORK"
  • "ADJACENT"
  • "LOCAL"
  • "PHYSICAL"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "HIGH"
  • "LOW"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "PRESENT"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "PASSIVE"
  • "ACTIVE"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "SAFETY"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NEGLIGIBLE"
  • "PRESENT"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NO"
  • "YES"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "AUTOMATIC"
  • "USER"
  • "IRRECOVERABLE"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "DIFFUSE"
  • "CONCENTRATED"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "LOW"
  • "MODERATE"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "CLEAR"
  • "GREEN"
  • "AMBER"
  • "RED"
  • "NOT_DEFINED"

Type: object
No Additional Properties

Type: enum (of string)

CVSS Version

Must be one of:

  • "3.1"

Type: string
Must match regular expression: ^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: number

Value must be greater or equal to 0 and lesser or equal to 10

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "CRITICAL"

Type: enum (of string)

Must be one of:

  • "UNPROVEN"
  • "PROOF_OF_CONCEPT"
  • "FUNCTIONAL"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "OFFICIAL_FIX"
  • "TEMPORARY_FIX"
  • "WORKAROUND"
  • "UNAVAILABLE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNKNOWN"
  • "REASONABLE"
  • "CONFIRMED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: object
No Additional Properties

Type: enum (of string)

CVSS Version

Must be one of:

  • "3.0"

Type: string
Must match regular expression: ^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: number

Value must be greater or equal to 0 and lesser or equal to 10

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "CRITICAL"

Type: enum (of string)

Must be one of:

  • "UNPROVEN"
  • "PROOF_OF_CONCEPT"
  • "FUNCTIONAL"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "OFFICIAL_FIX"
  • "TEMPORARY_FIX"
  • "WORKAROUND"
  • "UNAVAILABLE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNKNOWN"
  • "REASONABLE"
  • "CONFIRMED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: object
No Additional Properties

Type: enum (of string)

CVSS Version

Must be one of:

  • "2.0"

Type: string
Must match regular expression: ^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "MEDIUM"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "MULTIPLE"
  • "SINGLE"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "PARTIAL"
  • "COMPLETE"

Type: number

Value must be greater or equal to 0 and lesser or equal to 10

Type: enum (of string)

Must be one of:

  • "UNPROVEN"
  • "PROOF_OF_CONCEPT"
  • "FUNCTIONAL"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "OFFICIAL_FIX"
  • "TEMPORARY_FIX"
  • "WORKAROUND"
  • "UNAVAILABLE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNCONFIRMED"
  • "UNCORROBORATED"
  • "CONFIRMED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "LOW_MEDIUM"
  • "MEDIUM_HIGH"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: object

A non-standard impact description, may be prose or JSON block.

No Additional Properties

Type: string

Name of the non-standard impact metrics format used.

Must be at least 1 characters long

Must be at most 128 characters long

Type: object

JSON object not covered by another metrics format.

Type: array

Configurations required for exploiting this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array

Workarounds and mitigations for this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array

Information about solutions or remediations available for this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array

Information about exploits of the vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array of object

This is timeline information for significant events about this vulnerability or changes to the CVE Record.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Timestamp representing when the event in the timeline occurred. The timestamp format is based on RFC3339 and ISO ISO8601, with an optional timezone. yyyy-MM-ddTHH:mm:ss[+-]ZH:ZM - if the timezone offset is not given, GMT (+00:00) is assumed.

Same definition as dateUpdated

Type: string Default: "en"

The language used in the description of the event. The language field is included so that CVE Records can support translations. The value must be a BCP 47 language code.

Same definition as lang

Type: string

A summary of the event.

Must be at least 1 characters long

Must be at most 4096 characters long

Type: array of object

Statements acknowledging specific people, organizations, or tools recognizing the work done in researching, discovering, remediating or helping with activities related to this CVE.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: "en"

The language used when describing the credits. The language field is included so that CVE Records can support translations. The value must be a BCP 47 language code.

Same definition as lang

Type: string

Must be at least 1 characters long

Must be at most 4096 characters long

Type: string

UUID of the user being credited if present in the CVE User Registry (optional). This UUID can be used to lookup the user record in the user registry service.

Same definition as assignerOrgId

Type: enum (of string) Default: "finder"

Type or role of the entity being credited (optional). finder: identifies the vulnerability.
reporter: notifies the vendor of the vulnerability to a CNA.
analyst: validates the vulnerability to ensure accuracy or severity.
coordinator: facilitates the coordinated response process.
remediation developer: prepares a code change or other remediation plans.
remediation reviewer: reviews vulnerability remediation plans or code changes for effectiveness and completeness.
remediation verifier: tests and verifies the vulnerability or its remediation.
tool: names of tools used in vulnerability discovery or identification.
sponsor: supports the vulnerability identification or remediation activities.

Must be one of:

  • "finder"
  • "reporter"
  • "analyst"
  • "coordinator"
  • "remediation developer"
  • "remediation reviewer"
  • "remediation verifier"
  • "tool"
  • "sponsor"
  • "other"

Type: object

This is the source information (who discovered it, who researched it, etc.) and optionally a chain of CNA information (e.g. the originating CNA and subsequent parent CNAs who have processed it before it arrives at the MITRE root).
Must contain: IF this is in the root level it MUST contain a CNA_chain entry, IF this source entry is NOT in the root (e.g. it is part of a vendor statement) then it must contain at least one type of data entry.

Type: array

Tags provided by a CNA describing the CVE Record.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


Type: string
Must match regular expression: ^x_.*$

Must be at least 2 characters long

Must be at most 128 characters long

Type: enum (of string)

exclusively-hosted-service: All known software and/or hardware affected by this CVE Record is known to exist only in the affected hosted service. If the vulnerability affects both hosted and on-prem software and/or hardware, then the tag should not be used.

unsupported-when-assigned: Used by the assigning CNA to indicate that when a request for a CVE assignment was received, the product was already end-of-life (EOL) or a product or specific version was deemed not to be supported by the vendor. This tag should only be applied to a CVE Record when all affected products or version lines referenced in the CVE-Record are EOL.

disputed: When one party disagrees with another party's assertion that a particular issue in software is a vulnerability, a CVE Record assigned to that issue may be tagged as being 'disputed'.

Must be one of:

  • "unsupported-when-assigned"
  • "exclusively-hosted-service"
  • "disputed"

Type: array of object

List of taxonomy items related to the vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

A taxonomy mapping object identifies the taxonomy by a name and version (eg., ATT&CK v13.1, CVSS 3.1, CWE 4.12) along with a list of relations relevant to this CVE.

No Additional Properties

Type: string

The name of the taxonomy, eg., ATT&CK, D3FEND, CWE, CVSS

Must be at least 1 characters long

Must be at most 128 characters long

Type: string

The version of taxonomy the identifiers come from.

Must be at least 1 characters long

Must be at most 128 characters long

Type: array of object

List of relationships to the taxonomy for the vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

A relationship between the taxonomy and the CVE or two taxonomy items.

No Additional Properties

Type: string

Identifier of the item in the taxonomy. Used as the subject of the relationship.

Must be at least 1 characters long

Must be at most 2048 characters long

Type: string

A description of the relationship.

Must be at least 1 characters long

Must be at most 128 characters long

Type: string

The target of the relationship. Can be the CVE ID or another taxonomy identifier.

Must be at least 1 characters long

Must be at most 2048 characters long

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^x_[^.]*$
Type: object

Type: array

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

An object containing the vulnerability information provided by an Authorized Data Publisher (ADP). Since multiple ADPs can provide information for a CVE ID, an ADP container must indicate which ADP is the source of the information in the object.

No Additional Properties

Type: object

Details related to the information container provider (CNA or ADP).

Same definition as providerMetadata

Type: string

If known, the date/time the vulnerability was disclosed publicly.

Same definition as dateUpdated

Type: string

A title, headline, or a brief phrase summarizing the information in an ADP container.

Must be at least 1 characters long

Must be at most 256 characters long

Type: array

A list of multi-lingual descriptions of the vulnerability. E.g., [PROBLEMTYPE] in [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] on [PLATFORMS] allows [ATTACKER] to [IMPACT] via [VECTOR]. OR [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] [ROOT CAUSE], which allows [ATTACKER] to [IMPACT] via [VECTOR].

Same definition as descriptions

Type: array

List of affected products.

Same definition as affected

Type: array of object

This is problem type information (e.g. CWE identifier). Must contain: At least one entry, can be text, OWASP, CWE, please note that while only one is required you can use more than one (or indeed all three) as long as they are correct). (CNA requirement: [PROBLEMTYPE]).

Same definition as problemTypes

Type: array

This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").

Same definition as references

Type: array of object

Collection of impacts of this vulnerability.

Same definition as impacts

Type: array of object

Collection of impact scores with attribution.

Same definition as metrics

Type: array

Configurations required for exploiting this vulnerability.

Same definition as configurations

Type: array

Workarounds and mitigations for this vulnerability.

Same definition as workarounds

Type: array

Information about solutions or remediations available for this vulnerability.

Same definition as solutions

Type: array

Information about exploits of the vulnerability.

Same definition as exploits

Type: array of object

This is timeline information for significant events about this vulnerability or changes to the CVE Record.

Same definition as timeline

Type: array of object

Statements acknowledging specific people, organizations, or tools recognizing the work done in researching, discovering, remediating or helping with activities related to this CVE.

Same definition as credits

Type: object

This is the source information (who discovered it, who researched it, etc.) and optionally a chain of CNA information (e.g. the originating CNA and subsequent parent CNAs who have processed it before it arrives at the MITRE root).
Must contain: IF this is in the root level it MUST contain a CNA_chain entry, IF this source entry is NOT in the root (e.g. it is part of a vendor statement) then it must contain at least one type of data entry.

Same definition as source

Type: array

Tags provided by an ADP describing the CVE Record.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


Type: enum (of string)

disputed: When one party disagrees with another party's assertion that a particular issue in software is a vulnerability, a CVE Record assigned to that issue may be tagged as being 'disputed'.

Must be one of:

  • "disputed"

Type: array of object

List of taxonomy items related to the vulnerability.

Same definition as taxonomyMappings

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^x_[^.]*$
Type: object
Type: object

If the CVE ID and associated CVE Record should no longer be used, the CVE Record is placed in the Rejected state. A Rejected CVE Record remains on the CVE List so that users can know when it is invalid.

No Additional Properties

Type: enum (of string)

Indicates the type of information represented in the JSON instance.

Same definition as dataType

Type: enum (of string)

The version of the schema being used. Used to support multiple versions of this format.

Same definition as dataVersion

Type: object

This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, the current state (PUBLISHED, REJECTED, etc.) and so on. These fields are controlled by the CVE Services.

No Additional Properties

Type: string

The CVE identifier that this record pertains to.

Same definition as cveId

Type: string

The UUID for the organization to which the CVE ID was originally assigned.

Same definition as assignerOrgId

Type: string

The short name for the organization to which the CVE ID was originally assigned.

Same definition as assignerShortName

Type: integer

The system of record causes this to start at 1, and increment by 1 each time a submission from a data provider changes this CVE Record. The incremented value moves to the Rejected schema upon a PUBLISHED->REJECTED transition, and moves to the Published schema upon a REJECTED->PUBLISHED transition.

Value must be greater or equal to 1

Type: string

The date/time the record was last updated.

Same definition as dateUpdated

Type: string

The date/time the CVE Record was first published in the CVE List.

Same definition as dateUpdated

Type: string

The date/time the CVE ID was rejected.

Same definition as dateUpdated

Type: enum (of string)

State of CVE - PUBLISHED, REJECTED.

Must be one of:

  • "REJECTED"

Type: string

The date/time this CVE ID was reserved in the CVE automation workgroup services system. Disclaimer: This date reflects when the CVE ID was reserved, and does not necessarily indicate when this vulnerability was discovered, shared with the affected vendor, publicly disclosed, or updated in CVE.

Same definition as dateUpdated

Type: object

A set of structures (called containers) used to store vulnerability information related to a specific CVE ID provided by a specific organization participating in the CVE program. Each container includes information provided by a different source.

At minimum, a 'cna' container containing the vulnerability information provided by the CNA who initially assigned the CVE ID must be included.

There can only be one 'cna' container, as there can only be one assigning CNA.

No Additional Properties

Type: object

An object containing the vulnerability information provided by a CVE Numbering Authority (CNA) for a rejected CVE ID. There can only be one CNA container per CVE record since there can only be one assigning CNA.

No Additional Properties

Type: object

Details related to the information container provider (CNA or ADP).

Same definition as providerMetadata

Type: array

Reasons for rejecting this CVE Record.

Same definition as descriptions

Type: array

Contains an array of CVE IDs that this CVE ID was rejected in favor of because this CVE ID was assigned to the vulnerabilities.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^x_[^.]*$
Type: object
\ No newline at end of file +

Type: string

The non-inclusive upper limit of the range. This is the least version NOT in the range. The usual version syntax is expanded to allow a pattern to end in an asterisk (*), indicating an arbitrarily large number in the version ordering. For example, {version: 1.0 lessThan: 1.*} would describe the entire 1.X branch for most range kinds, and {version: 2.0, lessThan: *} describes all versions starting at 2.0, including 3.0, 5.1, and so on. Only one of lessThan and lessThanOrEqual should be specified.

Same definition as version

Type: string

The inclusive upper limit of the range. This is the greatest version contained in the range. Only one of lessThan and lessThanOrEqual should be specified. For example, {version: 1.0, lessThanOrEqual: 1.3} covers all versions from 1.0 up to and including 1.3.

Same definition as version

Type: array of object

A list of status changes that take place during the range. The array should be sorted in increasing order by the 'at' field, according to the versionType, but clients must re-sort the list themselves rather than assume it is sorted.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

The start of a single status change during the range.

No Additional Properties

Type: string

The version at which a status change occurs.

Same definition as version

Type: enum (of string)

The new status in the range starting at the given version.

Same definition as defaultStatus

Type: array of object

This is problem type information (e.g. CWE identifier). Must contain: At least one entry, can be text, OWASP, CWE, please note that while only one is required you can use more than one (or indeed all three) as long as they are correct). (CNA requirement: [PROBLEMTYPE]).

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: array of object

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: "en"

BCP 47 language code, language-region.

Same definition as lang

Type: string

Text description of problemType, or title from CWE or OWASP.

Must be at least 1 characters long

Must be at most 4096 characters long

Type: string

CWE ID of the CWE that best describes this problemType entry.

Must match regular expression: ^CWE-[1-9][0-9]*$

Must be at least 5 characters long

Must be at most 9 characters long

Type: string

Problemtype source, text, OWASP, CWE, etc.,

Must be at least 1 characters long

Must be at most 128 characters long

Type: array

This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").

Same definition as references

Type: array

This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").

Must contain a minimum of 1 items

Must contain a maximum of 512 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string

The uniform resource locator (URL), according to RFC 3986, that can be used to retrieve the referenced resource.

Same definition as collectionURL

Type: string

User created name for the reference, often the title of the page.

Must be at least 1 characters long

Must be at most 512 characters long

Type: array

An array of one or more tags that describe the resource referenced by 'url'.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


Type: enum (of string)

broken-link: The reference link is returning a 404 error, or the site is no longer online.

customer-entitlement: Similar to Privileges Required, but specific to references that require non-public/paid access for customers of the particular vendor.

exploit: Reference contains an in-depth/detailed description of steps to exploit a vulnerability OR the reference contains any legitimate Proof of Concept (PoC) code or exploit kit.

government-resource: All reference links that are from a government agency or organization should be given the Government Resource tag.

issue-tracking: The reference is a post from a bug tracking tool such as MantisBT, Bugzilla, JIRA, Github Issues, etc...

mailing-list: The reference is from a mailing list -- often specific to a product or vendor.

mitigation: The reference contains information on steps to mitigate against the vulnerability in the event a patch can't be applied or is unavailable or for EOL product situations.

not-applicable: The reference link is not applicable to the vulnerability and was likely associated by MITRE accidentally (should be used sparingly).

patch: The reference contains an update to the software that fixes the vulnerability.

permissions-required: The reference link provided is blocked by a logon page. If credentials are required to see any information this tag must be applied.

media-coverage: The reference is from a media outlet such as a newspaper, magazine, social media, or weblog. This tag is not intended to apply to any individual's personal social media account. It is strictly intended for public media entities.

product: A reference appropriate for describing a product for the purpose of CPE or SWID.

related: A reference that is for a related (but not the same) vulnerability.

release-notes: The reference is in the format of a vendor or open source project's release notes or change log.

signature: The reference contains a method to detect or prevent the presence or exploitation of the vulnerability.

technical-description: The reference contains in-depth technical information about a vulnerability and its exploitation process, typically in the form of a presentation or whitepaper.

third-party-advisory: Advisory is from an organization that is not the vulnerable product's vendor/publisher/maintainer.

vendor-advisory: Advisory is from the vendor/publisher/maintainer of the product or the parent organization.

vdb-entry: VDBs are loosely defined as sites that provide information about this vulnerability, such as advisories, with identifiers. Included VDBs are free to access, substantially public, and have broad scope and coverage (not limited to a single vendor or research organization). See: https://www.first.org/global/sigs/vrdx/vdb-catalog

Must be one of:

  • "broken-link"
  • "customer-entitlement"
  • "exploit"
  • "government-resource"
  • "issue-tracking"
  • "mailing-list"
  • "mitigation"
  • "not-applicable"
  • "patch"
  • "permissions-required"
  • "media-coverage"
  • "product"
  • "related"
  • "release-notes"
  • "signature"
  • "technical-description"
  • "third-party-advisory"
  • "vendor-advisory"
  • "vdb-entry"

Type: array of object

Collection of impacts of this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

This is impact type information (e.g. a text description.

No Additional Properties

Type: string

CAPEC ID that best relates to this impact.

Must match regular expression: ^CAPEC-[1-9][0-9]{0,4}$

Must be at least 7 characters long

Must be at most 11 characters long

Type: array

Prose description of the impact scenario. At a minimum provide the description given by CAPEC.

Same definition as descriptions

Type: array of object

Collection of impact scores with attribution.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


This is impact type information (e.g. a text description, CVSSv2, CVSSv3, CVSSV4, etc.). Must contain: At least one entry, can be text, CVSSv2, CVSSv3, others may be added.

No Additional Properties

Type: object

The following properties are required:

  • cvssV4_0
Type: object

The following properties are required:

  • cvssV3_1
Type: object

The following properties are required:

  • cvssV3_0
Type: object

The following properties are required:

  • cvssV2_0
Type: object

The following properties are required:

  • other

Type: string

Name of the scoring format. This provides a bit of future proofing. Additional properties are not prohibited, so this will support the inclusion of proprietary formats. It also provides an easy future conversion mechanism when future score formats become part of the schema. example: cvssV44, format = 'cvssV44', other = cvssV4_4 JSON object. In the future, the other properties can be converted to score properties when they become part of the schema.

Must be at least 1 characters long

Must be at most 64 characters long

Type: array of object

Description of the scenarios this metrics object applies to. If no specific scenario is given, GENERAL is used as the default and applies when no more specific metric matches.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: "en"

BCP 47 language code, language-region.

Same definition as lang

Type: string Default: "GENERAL"

Description of the scenario this metrics object applies to. If no specific scenario is given, GENERAL is used as the default and applies when no more specific metric matches.

Must be at least 1 characters long

Must be at most 4096 characters long

Type: object
No Additional Properties


Type: object

Type: number

Value must be greater or equal to 0.0 and lesser or equal to 0.0

Type: const
Specific value: "NONE"
Type: object

Type: number

Value must be greater or equal to 0.1 and lesser or equal to 3.9 and a multiple of 0.1

Type: const
Specific value: "LOW"
Type: object

Type: number

Value must be greater or equal to 4.0 and lesser or equal to 6.9 and a multiple of 0.1

Type: const
Specific value: "MEDIUM"
Type: object

Type: number

Value must be greater or equal to 7.0 and lesser or equal to 8.9 and a multiple of 0.1

Type: const
Specific value: "HIGH"
Type: object

Type: number

Value must be greater or equal to 9.0 and lesser or equal to 10 and a multiple of 0.1

Type: const
Specific value: "CRITICAL"


The following properties are required:

  • baseSeverity
  • baseScore

Type: enum (of string)

CVSS Version

Must be one of:

  • "4.0"

Type: string
Must match regular expression: ^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT"
  • "LOCAL"
  • "PHYSICAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "PRESENT"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "PASSIVE"
  • "ACTIVE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "UNREPORTED"
  • "PROOF_OF_CONCEPT"
  • "ATTACKED"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"
Same definition as confidentialityRequirement

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NETWORK"
  • "ADJACENT"
  • "LOCAL"
  • "PHYSICAL"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "HIGH"
  • "LOW"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "PRESENT"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "PASSIVE"
  • "ACTIVE"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "SAFETY"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NEGLIGIBLE"
  • "PRESENT"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "NO"
  • "YES"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "AUTOMATIC"
  • "USER"
  • "IRRECOVERABLE"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "DIFFUSE"
  • "CONCENTRATED"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "LOW"
  • "MODERATE"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string) Default: "NOT_DEFINED"

Must be one of:

  • "CLEAR"
  • "GREEN"
  • "AMBER"
  • "RED"
  • "NOT_DEFINED"

Type: object
No Additional Properties

Type: enum (of string)

CVSS Version

Must be one of:

  • "3.1"

Type: string
Must match regular expression: ^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: number

Value must be greater or equal to 0 and lesser or equal to 10

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "CRITICAL"

Type: enum (of string)

Must be one of:

  • "UNPROVEN"
  • "PROOF_OF_CONCEPT"
  • "FUNCTIONAL"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "OFFICIAL_FIX"
  • "TEMPORARY_FIX"
  • "WORKAROUND"
  • "UNAVAILABLE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNKNOWN"
  • "REASONABLE"
  • "CONFIRMED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: object
No Additional Properties

Type: enum (of string)

CVSS Version

Must be one of:

  • "3.0"

Type: string
Must match regular expression: ^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"

Type: number

Value must be greater or equal to 0 and lesser or equal to 10

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "CRITICAL"

Type: enum (of string)

Must be one of:

  • "UNPROVEN"
  • "PROOF_OF_CONCEPT"
  • "FUNCTIONAL"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "OFFICIAL_FIX"
  • "TEMPORARY_FIX"
  • "WORKAROUND"
  • "UNAVAILABLE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNKNOWN"
  • "REASONABLE"
  • "CONFIRMED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"
  • "PHYSICAL"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "LOW"
  • "NONE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "REQUIRED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNCHANGED"
  • "CHANGED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "HIGH"
  • "NOT_DEFINED"

Type: object
No Additional Properties

Type: enum (of string)

CVSS Version

Must be one of:

  • "2.0"

Type: string
Must match regular expression: ^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$

Type: enum (of string)

Must be one of:

  • "NETWORK"
  • "ADJACENT_NETWORK"
  • "LOCAL"

Type: enum (of string)

Must be one of:

  • "HIGH"
  • "MEDIUM"
  • "LOW"

Type: enum (of string)

Must be one of:

  • "MULTIPLE"
  • "SINGLE"
  • "NONE"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "PARTIAL"
  • "COMPLETE"

Type: number

Value must be greater or equal to 0 and lesser or equal to 10

Type: enum (of string)

Must be one of:

  • "UNPROVEN"
  • "PROOF_OF_CONCEPT"
  • "FUNCTIONAL"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "OFFICIAL_FIX"
  • "TEMPORARY_FIX"
  • "WORKAROUND"
  • "UNAVAILABLE"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "UNCONFIRMED"
  • "UNCORROBORATED"
  • "CONFIRMED"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "LOW_MEDIUM"
  • "MEDIUM_HIGH"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "NONE"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: enum (of string)

Must be one of:

  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "NOT_DEFINED"

Type: object

A non-standard impact description, may be prose or JSON block.

No Additional Properties

Type: string

Name of the non-standard impact metrics format used.

Must be at least 1 characters long

Must be at most 128 characters long

Type: object

JSON object not covered by another metrics format.

Type: array

Configurations required for exploiting this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array

Workarounds and mitigations for this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array

Information about solutions or remediations available for this vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array

Information about exploits of the vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

Text in a particular language with optional alternate markup or formatted representation (e.g., Markdown) or embedded media.

Same definition as description

Type: array of object

This is timeline information for significant events about this vulnerability or changes to the CVE Record.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Timestamp representing when the event in the timeline occurred. The timestamp format is based on RFC3339 and ISO ISO8601, with an optional timezone. yyyy-MM-ddTHH:mm:ss[+-]ZH:ZM - if the timezone offset is not given, GMT (+00:00) is assumed.

Same definition as dateUpdated

Type: string Default: "en"

The language used in the description of the event. The language field is included so that CVE Records can support translations. The value must be a BCP 47 language code.

Same definition as lang

Type: string

A summary of the event.

Must be at least 1 characters long

Must be at most 4096 characters long

Type: array of object

Statements acknowledging specific people, organizations, or tools recognizing the work done in researching, discovering, remediating or helping with activities related to this CVE.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object
No Additional Properties

Type: string Default: "en"

The language used when describing the credits. The language field is included so that CVE Records can support translations. The value must be a BCP 47 language code.

Same definition as lang

Type: string

Must be at least 1 characters long

Must be at most 4096 characters long

Type: string

UUID of the user being credited if present in the CVE User Registry (optional). This UUID can be used to lookup the user record in the user registry service.

Same definition as assignerOrgId

Type: enum (of string) Default: "finder"

Type or role of the entity being credited (optional). finder: identifies the vulnerability.
reporter: notifies the vendor of the vulnerability to a CNA.
analyst: validates the vulnerability to ensure accuracy or severity.
coordinator: facilitates the coordinated response process.
remediation developer: prepares a code change or other remediation plans.
remediation reviewer: reviews vulnerability remediation plans or code changes for effectiveness and completeness.
remediation verifier: tests and verifies the vulnerability or its remediation.
tool: names of tools used in vulnerability discovery or identification.
sponsor: supports the vulnerability identification or remediation activities.

Must be one of:

  • "finder"
  • "reporter"
  • "analyst"
  • "coordinator"
  • "remediation developer"
  • "remediation reviewer"
  • "remediation verifier"
  • "tool"
  • "sponsor"
  • "other"

Type: object

This is the source information (who discovered it, who researched it, etc.) and optionally a chain of CNA information (e.g. the originating CNA and subsequent parent CNAs who have processed it before it arrives at the MITRE root).
Must contain: IF this is in the root level it MUST contain a CNA_chain entry, IF this source entry is NOT in the root (e.g. it is part of a vendor statement) then it must contain at least one type of data entry.

Type: array

Tags provided by a CNA describing the CVE Record.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


Type: string
Must match regular expression: ^x_.*$

Must be at least 2 characters long

Must be at most 128 characters long

Type: enum (of string)

exclusively-hosted-service: All known software and/or hardware affected by this CVE Record is known to exist only in the affected hosted service. If the vulnerability affects both hosted and on-prem software and/or hardware, then the tag should not be used.

unsupported-when-assigned: Used by the assigning CNA to indicate that when a request for a CVE assignment was received, the product was already end-of-life (EOL) or a product or specific version was deemed not to be supported by the vendor. This tag should only be applied to a CVE Record when all affected products or version lines referenced in the CVE-Record are EOL.

disputed: When one party disagrees with another party's assertion that a particular issue in software is a vulnerability, a CVE Record assigned to that issue may be tagged as being 'disputed'.

Must be one of:

  • "unsupported-when-assigned"
  • "exclusively-hosted-service"
  • "disputed"

Type: array of object

List of taxonomy items related to the vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

A taxonomy mapping object identifies the taxonomy by a name and version (eg., ATT&CK v13.1, CVSS 3.1, CWE 4.12) along with a list of relations relevant to this CVE.

No Additional Properties

Type: string

The name of the taxonomy, eg., ATT&CK, D3FEND, CWE, CVSS

Must be at least 1 characters long

Must be at most 128 characters long

Type: string

The version of taxonomy the identifiers come from.

Must be at least 1 characters long

Must be at most 128 characters long

Type: array of object

List of relationships to the taxonomy for the vulnerability.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

A relationship between the taxonomy and the CVE or two taxonomy items.

No Additional Properties

Type: string

Identifier of the item in the taxonomy. Used as the subject of the relationship.

Must be at least 1 characters long

Must be at most 2048 characters long

Type: string

A description of the relationship.

Must be at least 1 characters long

Must be at most 128 characters long

Type: string

The target of the relationship. Can be the CVE ID or another taxonomy identifier.

Must be at least 1 characters long

Must be at most 2048 characters long

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^x_[^.]*$
Type: object

Type: array

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

Type: object

An object containing the vulnerability information provided by an Authorized Data Publisher (ADP). Since multiple ADPs can provide information for a CVE ID, an ADP container must indicate which ADP is the source of the information in the object.

No Additional Properties

Type: object

Details related to the information container provider (CNA or ADP).

Same definition as providerMetadata

Type: string

If known, the date/time the vulnerability was disclosed publicly.

Same definition as dateUpdated

Type: string

A title, headline, or a brief phrase summarizing the information in an ADP container.

Must be at least 1 characters long

Must be at most 256 characters long

Type: array

A list of multi-lingual descriptions of the vulnerability. E.g., [PROBLEMTYPE] in [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] on [PLATFORMS] allows [ATTACKER] to [IMPACT] via [VECTOR]. OR [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] [ROOT CAUSE], which allows [ATTACKER] to [IMPACT] via [VECTOR].

Same definition as descriptions

Type: array

List of affected products.

Same definition as affected

Type: array of object

This is problem type information (e.g. CWE identifier). Must contain: At least one entry, can be text, OWASP, CWE, please note that while only one is required you can use more than one (or indeed all three) as long as they are correct). (CNA requirement: [PROBLEMTYPE]).

Same definition as problemTypes

Type: array

This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are "dangerous").

Same definition as references

Type: array of object

Collection of impacts of this vulnerability.

Same definition as impacts

Type: array of object

Collection of impact scores with attribution.

Same definition as metrics

Type: array

Configurations required for exploiting this vulnerability.

Same definition as configurations

Type: array

Workarounds and mitigations for this vulnerability.

Same definition as workarounds

Type: array

Information about solutions or remediations available for this vulnerability.

Same definition as solutions

Type: array

Information about exploits of the vulnerability.

Same definition as exploits

Type: array of object

This is timeline information for significant events about this vulnerability or changes to the CVE Record.

Same definition as timeline

Type: array of object

Statements acknowledging specific people, organizations, or tools recognizing the work done in researching, discovering, remediating or helping with activities related to this CVE.

Same definition as credits

Type: object

This is the source information (who discovered it, who researched it, etc.) and optionally a chain of CNA information (e.g. the originating CNA and subsequent parent CNAs who have processed it before it arrives at the MITRE root).
Must contain: IF this is in the root level it MUST contain a CNA_chain entry, IF this source entry is NOT in the root (e.g. it is part of a vendor statement) then it must contain at least one type of data entry.

Same definition as source

Type: array

Tags provided by an ADP describing the CVE Record.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:


Type: enum (of string)

disputed: When one party disagrees with another party's assertion that a particular issue in software is a vulnerability, a CVE Record assigned to that issue may be tagged as being 'disputed'.

Must be one of:

  • "disputed"

Type: array of object

List of taxonomy items related to the vulnerability.

Same definition as taxonomyMappings

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^x_[^.]*$
Type: object
Type: object

If the CVE ID and associated CVE Record should no longer be used, the CVE Record is placed in the Rejected state. A Rejected CVE Record remains on the CVE List so that users can know when it is invalid.

No Additional Properties

Type: enum (of string)

Indicates the type of information represented in the JSON instance.

Same definition as dataType

Type: enum (of string)

The version of the schema being used. Used to support multiple versions of this format.

Same definition as dataVersion

Type: object

This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, the current state (PUBLISHED, REJECTED, etc.) and so on. These fields are controlled by the CVE Services.

No Additional Properties

Type: string

The CVE identifier that this record pertains to.

Same definition as cveId

Type: string

The UUID for the organization to which the CVE ID was originally assigned.

Same definition as assignerOrgId

Type: string

The short name for the organization to which the CVE ID was originally assigned.

Same definition as assignerShortName

Type: integer

The system of record causes this to start at 1, and increment by 1 each time a submission from a data provider changes this CVE Record. The incremented value moves to the Rejected schema upon a PUBLISHED->REJECTED transition, and moves to the Published schema upon a REJECTED->PUBLISHED transition.

Value must be greater or equal to 1

Type: string

The date/time the record was last updated.

Same definition as dateUpdated

Type: string

The date/time the CVE Record was first published in the CVE List.

Same definition as dateUpdated

Type: string

The date/time the CVE ID was rejected.

Same definition as dateUpdated

Type: enum (of string)

State of CVE - PUBLISHED, REJECTED.

Must be one of:

  • "REJECTED"

Type: string

The date/time this CVE ID was reserved in the CVE automation workgroup services system. Disclaimer: This date reflects when the CVE ID was reserved, and does not necessarily indicate when this vulnerability was discovered, shared with the affected vendor, publicly disclosed, or updated in CVE.

Same definition as dateUpdated

Type: object

A set of structures (called containers) used to store vulnerability information related to a specific CVE ID provided by a specific organization participating in the CVE program. Each container includes information provided by a different source.

At minimum, a 'cna' container containing the vulnerability information provided by the CNA who initially assigned the CVE ID must be included.

There can only be one 'cna' container, as there can only be one assigning CNA.

No Additional Properties

Type: object

An object containing the vulnerability information provided by a CVE Numbering Authority (CNA) for a rejected CVE ID. There can only be one CNA container per CVE record since there can only be one assigning CNA.

No Additional Properties

Type: object

Details related to the information container provider (CNA or ADP).

Same definition as providerMetadata

Type: array

Reasons for rejecting this CVE Record.

Same definition as descriptions

Type: array

Contains an array of CVE IDs that this CVE ID was rejected in favor of because this CVE ID was assigned to the vulnerabilities.

Must contain a minimum of 1 items

All items must be unique

Each item of this array must be:

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^x_[^.]*$
Type: object
\ No newline at end of file diff --git a/schema/v5.0/imports/cvss/cvss-v4.0.json b/schema/v5.0/imports/cvss/cvss-v4.0.json index 695ad9e5f3d..f32a300193f 100644 --- a/schema/v5.0/imports/cvss/cvss-v4.0.json +++ b/schema/v5.0/imports/cvss/cvss-v4.0.json @@ -383,5 +383,6 @@ ] } ], - "required": [ "version", "vectorString", "baseScore", "baseSeverity" ] + "required": [ "version", "vectorString", "baseScore", "baseSeverity" ], + "additionalProperties": false } diff --git a/schema/v5.0/support/Node_Validator/dist/cve5validator.js b/schema/v5.0/support/Node_Validator/dist/cve5validator.js index 0f723a44e9c..9408aa59323 100644 --- a/schema/v5.0/support/Node_Validator/dist/cve5validator.js +++ b/schema/v5.0/support/Node_Validator/dist/cve5validator.js @@ -1 +1 @@ -"use strict";module.exports = validate10;module.exports.default = validate10;const schema11 = {"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.1_bundled.json","definitions":{"uriType":{"type":"string","format":"uri","minLength":1,"maxLength":2048},"uuidType":{"type":"string","pattern":"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},"reference":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/definitions/uriType"},"name":{"type":"string","maxLength":512,"minLength":1},"tags":{"type":"array","minItems":1,"uniqueItems":true,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/reference/","type":"string","enum":["broken-link","customer-entitlement","exploit","government-resource","issue-tracking","mailing-list","mitigation","not-applicable","patch","permissions-required","media-coverage","product","related","release-notes","signature","technical-description","third-party-advisory","vendor-advisory","vdb-entry"]}]}}},"additionalProperties":false},"cveId":{"type":"string","pattern":"^CVE-[0-9]{4}-[0-9]{4,19}$"},"orgId":{"$ref":"#/definitions/uuidType"},"userId":{"$ref":"#/definitions/uuidType"},"shortName":{"type":"string","minLength":2,"maxLength":32},"datestamp":{"type":"string","format":"date","pattern":"^((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30))$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},"version":{"type":"string","minLength":1,"maxLength":1024},"status":{"type":"string","enum":["affected","unaffected","unknown"]},"product":{"type":"object","allOf":[{"anyOf":[{"required":["vendor","product"]},{"required":["collectionURL","packageName"]}]},{"anyOf":[{"required":["versions"]},{"required":["defaultStatus"]}]}],"properties":{"vendor":{"type":"string","minLength":1,"maxLength":512},"product":{"type":"string","minLength":1,"maxLength":2048},"collectionURL":{"$ref":"#/definitions/uriType","examples":["https://access.redhat.com/downloads/content/package-browser","https://addons.mozilla.org","https://addons.thunderbird.net","https://anaconda.org/anaconda/repo","https://app.vagrantup.com/boxes/search","https://apps.apple.com","https://archlinux.org/packages","https://atmospherejs.meteor.com","https://atom.io/packages","https://bitbucket.org","https://bower.io","https://brew.sh/","https://chocolatey.org/packages","https://chrome.google.com/webstore","https://clojars.org","https://cocoapods.org","https://code.dlang.org","https://conan.io/center","https://cpan.org/modules","https://cran.r-project.org","https://crates.io","https://ctan.org/pkg","https://drupal.org","https://exchange.adobe.com","https://forge.puppet.com/modules","https://github.com","https://gitlab.com/explore","https://golang.org/pkg","https://guix.gnu.org/packages","https://hackage.haskell.org","https://helm.sh","https://hub.docker.com","https://juliahub.com","https://lib.haxe.org","https://luarocks.org","https://marketplace.visualstudio.com","https://melpa.org","https://microsoft.com/en-us/store/apps","https://nimble.directory","https://nuget.org/packages","https://opam.ocaml.org/packages","https://openwrt.org/packages/index","https://package.elm-lang.org","https://packagecontrol.io","https://packages.debian.org","https://packages.gentoo.org","https://packagist.org","https://pear.php.net/packages.php","https://pecl.php.net","https://platformio.org/lib","https://play.google.com/store","https://plugins.gradle.org","https://projects.eclipse.org","https://pub.dev","https://pypi.python.org","https://registry.npmjs.org","https://registry.terraform.io","https://repo.hex.pm","https://repo.maven.apache.org/maven2","https://rubygems.org","https://search.nixos.org/packages","https://sourceforge.net","https://wordpress.org/plugins"]},"packageName":{"type":"string","minLength":1,"maxLength":2048},"cpes":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})","minLength":1,"maxLength":2048}},"modules":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":4096}},"programFiles":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":1024}},"programRoutines":{"type":"array","uniqueItems":true,"items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}},"platforms":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","examples":["iOS","Android","Windows","macOS","x86","ARM","64 bit","Big Endian","iPad","Chromebook","Docker","Model T"],"maxLength":1024}},"repo":{"$ref":"#/definitions/uriType"},"defaultStatus":{"$ref":"#/definitions/status"},"versions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","oneOf":[{"required":["version","status"],"maxProperties":2},{"required":["version","status","versionType"],"maxProperties":3},{"required":["version","status","versionType","lessThan"]},{"required":["version","status","versionType","lessThanOrEqual"]}],"properties":{"version":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"},"versionType":{"type":"string","minLength":1,"maxLength":128,"examples":["custom","git","maven","python","rpm","semver"]},"lessThan":{"$ref":"#/definitions/version"},"lessThanOrEqual":{"$ref":"#/definitions/version"},"changes":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["at","status"],"additionalProperties":false,"properties":{"at":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"}}}}},"additionalProperties":false}}}},"dataType":{"type":"string","enum":["CVE_RECORD"]},"dataVersion":{"type":"string","enum":["5.1"]},"cveMetadataPublished":{"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"requesterUserId":{"$ref":"#/definitions/userId"},"dateUpdated":{"$ref":"#/definitions/timestamp"},"serial":{"type":"integer","minimum":1},"dateReserved":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["PUBLISHED"]}},"additionalProperties":false},"cveMetadataRejected":{"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"serial":{"type":"integer","minimum":1},"dateUpdated":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"dateRejected":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["REJECTED"]},"dateReserved":{"$ref":"#/definitions/timestamp"}},"additionalProperties":false},"providerMetadata":{"type":"object","properties":{"orgId":{"$ref":"#/definitions/orgId"},"shortName":{"$ref":"#/definitions/shortName"},"dateUpdated":{"$ref":"#/definitions/timestamp"}},"required":["orgId"],"additionalProperties":false},"cnaPublishedContainer":{"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"dateAssigned":{"$ref":"#/definitions/timestamp"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/cnaTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata","descriptions","affected","references"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false},"cnaRejectedContainer":{"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"rejectedReasons":{"$ref":"#/definitions/descriptions"},"replacedBy":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/cveId"}}},"required":["providerMetadata","rejectedReasons"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false},"adpContainer":{"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/adpTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata"],"minProperties":2,"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false},"affected":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/product"}},"description":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"supportingMedia":{"type":"array","uniqueItems":true,"minItems":1,"items":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":256,"examples":["text/markdown","text/html","image/png","image/svg","audio/mp3"]},"base64":{"type":"boolean","default":false},"value":{"type":"string","minLength":1,"maxLength":16384}},"required":["type","value"],"additionalProperties":false}}},"required":["lang","value"],"additionalProperties":false},"englishLanguageDescription":{"type":"object","properties":{"lang":{"$ref":"#/definitions/englishLanguage"}},"required":["lang"],"$comment":"Cannot use additionalProperties: false here, as this prevents the other properties used by /definitions/description."},"descriptions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"},"contains":{"$ref":"#/definitions/englishLanguageDescription"}},"problemTypes":{"type":"array","items":{"type":"object","required":["descriptions"],"properties":{"descriptions":{"type":"array","items":{"type":"object","required":["lang","description"],"properties":{"lang":{"$ref":"#/definitions/language"},"description":{"type":"string","minLength":1,"maxLength":4096},"cweId":{"type":"string","minLength":5,"maxLength":9,"pattern":"^CWE-[1-9][0-9]*$"},"type":{"type":"string","minLength":1,"maxLength":128},"references":{"$ref":"#/definitions/references"}},"additionalProperties":false},"minItems":1,"uniqueItems":true}},"additionalProperties":false},"minItems":1,"uniqueItems":true},"references":{"type":"array","items":{"$ref":"#/definitions/reference"},"minItems":1,"maxItems":512,"uniqueItems":true},"impacts":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["descriptions"],"properties":{"capecId":{"type":"string","minLength":7,"maxLength":11,"pattern":"^CAPEC-[1-9][0-9]{0,4}$"},"descriptions":{"$ref":"#/definitions/descriptions"}},"additionalProperties":false}},"metrics":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","anyOf":[{"required":["cvssV4_0"]},{"required":["cvssV3_1"]},{"required":["cvssV3_0"]},{"required":["cvssV2_0"]},{"required":["other"]}],"properties":{"format":{"type":"string","minLength":1,"maxLength":64},"scenarios":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","default":"GENERAL","minLength":1,"maxLength":4096}},"required":["lang","value"],"additionalProperties":false}},"cvssV4_0":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackRequirementsType":{"type":"string","enum":["NONE","PRESENT"]},"modifiedAttackRequirementsType":{"type":"string","enum":["NONE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"],"default":"NOT_DEFINED"},"userInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedVulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"subCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedSubCType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"modifiedSubIaType":{"type":"string","enum":["NONE","LOW","HIGH","SAFETY","NOT_DEFINED"],"default":"NOT_DEFINED"},"exploitMaturityType":{"type":"string","enum":["UNREPORTED","PROOF_OF_CONCEPT","ATTACKED","NOT_DEFINED"],"default":"NOT_DEFINED"},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"safetyType":{"type":"string","enum":["NEGLIGIBLE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"automatableType":{"type":"string","enum":["NO","YES","NOT_DEFINED"],"default":"NOT_DEFINED"},"recoveryType":{"type":"string","enum":["AUTOMATIC","USER","IRRECOVERABLE","NOT_DEFINED"],"default":"NOT_DEFINED"},"valueDensityType":{"type":"string","enum":["DIFFUSE","CONCENTRATED","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnerabilityResponseEffortType":{"type":"string","enum":["LOW","MODERATE","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"providerUrgencyType":{"type":"string","enum":["CLEAR","GREEN","AMBER","RED","NOT_DEFINED"],"default":"NOT_DEFINED"},"noneScoreType":{"type":"number","minimum":0,"maximum":0},"lowScoreType":{"type":"number","minimum":0.1,"maximum":3.9,"multipleOf":0.1},"mediumScoreType":{"type":"number","minimum":4,"maximum":6.9,"multipleOf":0.1},"highScoreType":{"type":"number","minimum":7,"maximum":8.9,"multipleOf":0.1},"criticalScoreType":{"type":"number","minimum":9,"maximum":10,"multipleOf":0.1},"noneSeverityType":{"const":"NONE"},"lowSeverityType":{"const":"LOW"},"mediumSeverityType":{"const":"MEDIUM"},"highSeverityType":{"const":"HIGH"},"criticalSeverityType":{"const":"CRITICAL"}},"properties":{"version":{"type":"string","enum":["4.0"]},"vectorString":{"type":"string","pattern":"^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType"},"attackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType"},"vulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"subConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"exploitMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType"},"modifiedAttackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType"},"modifiedVulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedSubConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType"},"modifiedSubIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"modifiedSubAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"Safety":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType"},"Automatable":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType"},"Recovery":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType"},"valueDensity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType"},"vulnerabilityResponseEffort":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType"},"providerUrgency":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType"}},"allOf":[{"anyOf":[{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]}],"required":["version","vectorString","baseScore","baseSeverity"]},"cvssV3_1":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.1"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV3_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.0"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV2_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"accessVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL"]},"accessComplexityType":{"type":"string","enum":["HIGH","MEDIUM","LOW"]},"authenticationType":{"type":"string","enum":["MULTIPLE","SINGLE","NONE"]},"ciaType":{"type":"string","enum":["NONE","PARTIAL","COMPLETE"]},"exploitabilityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"reportConfidenceType":{"type":"string","enum":["UNCONFIRMED","UNCORROBORATED","CONFIRMED","NOT_DEFINED"]},"collateralDamagePotentialType":{"type":"string","enum":["NONE","LOW","LOW_MEDIUM","MEDIUM_HIGH","HIGH","NOT_DEFINED"]},"targetDistributionType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10}},"properties":{"version":{"type":"string","enum":["2.0"]},"vectorString":{"type":"string","pattern":"^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"},"accessVector":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType"},"accessComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType"},"authentication":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"exploitability":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"collateralDamagePotential":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType"},"targetDistribution":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"}},"required":["version","vectorString","baseScore"],"additionalProperties":false},"other":{"type":"object","required":["type","content"],"properties":{"type":{"type":"string","minLength":1,"maxLength":128},"content":{"type":"object","$comment":"additionalProperties are allowed here, since this construct supports arbitrary JSON.","minProperties":1}},"additionalProperties":false}},"additionalProperties":false}},"configurations":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"workarounds":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"solutions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"exploits":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"timeline":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["time","lang","value"],"properties":{"time":{"$ref":"#/definitions/timestamp"},"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}},"credits":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"user":{"$ref":"#/definitions/uuidType"},"type":{"type":"string","default":"finder","enum":["finder","reporter","analyst","coordinator","remediation developer","remediation reviewer","remediation verifier","tool","sponsor","other"]}},"additionalProperties":false,"required":["lang","value"]}},"source":{"type":"object","minProperties":1},"language":{"type":"string","default":"en","pattern":"^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},"englishLanguage":{"type":"string","pattern":"^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},"taxonomyMappings":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyName","taxonomyRelations"],"properties":{"taxonomyName":{"type":"string","minLength":1,"maxLength":128},"taxonomyVersion":{"type":"string","minLength":1,"maxLength":128},"taxonomyRelations":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyId","relationshipName","relationshipValue"],"properties":{"taxonomyId":{"type":"string","minLength":1,"maxLength":2048},"relationshipName":{"type":"string","minLength":1,"maxLength":128},"relationshipValue":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false}}},"additionalProperties":false}},"tagExtension":{"type":"string","minLength":2,"maxLength":128,"pattern":"^x_.*$","$comment":"These values are not used as JSON property names, so there is not a need to work-around property naming limitations in some common implementations."},"cnaTags":{"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/cna/","type":"string","enum":["unsupported-when-assigned","exclusively-hosted-service","disputed"]}]}},"adpTags":{"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/adp/","type":"string","enum":["disputed"]}]}}},"oneOf":[{"type":"object","properties":{"dataType":{"$ref":"#/definitions/dataType"},"dataVersion":{"$ref":"#/definitions/dataVersion"},"cveMetadata":{"$ref":"#/definitions/cveMetadataPublished"},"containers":{"type":"object","properties":{"cna":{"$ref":"#/definitions/cnaPublishedContainer"},"adp":{"type":"array","items":{"$ref":"#/definitions/adpContainer"},"minItems":1,"uniqueItems":true}},"required":["cna"],"additionalProperties":false}},"required":["dataType","dataVersion","cveMetadata","containers"],"additionalProperties":false},{"type":"object","properties":{"dataType":{"$ref":"#/definitions/dataType"},"dataVersion":{"$ref":"#/definitions/dataVersion"},"cveMetadata":{"$ref":"#/definitions/cveMetadataRejected"},"containers":{"type":"object","properties":{"cna":{"$ref":"#/definitions/cnaRejectedContainer"}},"required":["cna"],"additionalProperties":false}},"required":["dataType","dataVersion","cveMetadata","containers"],"additionalProperties":false}]};const schema12 = {"type":"string","enum":["CVE_RECORD"]};const schema13 = {"type":"string","enum":["5.1"]};const func0 = require("ajv/dist/runtime/equal").default;const schema14 = {"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"requesterUserId":{"$ref":"#/definitions/userId"},"dateUpdated":{"$ref":"#/definitions/timestamp"},"serial":{"type":"integer","minimum":1},"dateReserved":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["PUBLISHED"]}},"additionalProperties":false};const schema15 = {"type":"string","pattern":"^CVE-[0-9]{4}-[0-9]{4,19}$"};const schema16 = {"type":"string","pattern":"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"};const schema17 = {"type":"string","minLength":2,"maxLength":32};const schema19 = {"type":"string","format":"date-time","pattern":"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"};const func6 = Object.prototype.hasOwnProperty;const func7 = require("ajv/dist/runtime/ucs2length").default;const pattern0 = new RegExp("^CVE-[0-9]{4}-[0-9]{4,19}$", "u");const pattern1 = new RegExp("^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", "u");const pattern3 = new RegExp("^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$", "u");const formats0 = require("ajv-formats/dist/formats").fullFormats["date-time"];function validate11(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.cveId === undefined) && (missing0 = "cveId")) || ((data.assignerOrgId === undefined) && (missing0 = "assignerOrgId"))) || ((data.state === undefined) && (missing0 = "state"))){validate11.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(func6.call(schema14.properties, key0))){validate11.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.cveId !== undefined){let data0 = data.cveId;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern0.test(data0)){validate11.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/pattern",keyword:"pattern",params:{pattern: "^CVE-[0-9]{4}-[0-9]{4,19}$"},message:"must match pattern \""+"^CVE-[0-9]{4}-[0-9]{4,19}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerOrgId !== undefined){let data1 = data.assignerOrgId;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(!pattern1.test(data1)){validate11.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerShortName !== undefined){let data2 = data.assignerShortName;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data2 === "string"){if(func7(data2) > 32){validate11.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/maxLength",keyword:"maxLength",params:{limit: 32},message:"must NOT have more than 32 characters"}];return false;}else {if(func7(data2) < 2){validate11.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.requesterUserId !== undefined){let data3 = data.requesterUserId;const _errs11 = errors;const _errs12 = errors;if(errors === _errs12){if(typeof data3 === "string"){if(!pattern1.test(data3)){validate11.errors = [{instancePath:instancePath+"/requesterUserId",schemaPath:"#/definitions/userId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/requesterUserId",schemaPath:"#/definitions/userId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.dateUpdated !== undefined){let data4 = data.dateUpdated;const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(errors === _errs15){if(typeof data4 === "string"){if(!pattern3.test(data4)){validate11.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data4))){validate11.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.serial !== undefined){let data5 = data.serial;const _errs17 = errors;if(!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))){validate11.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs17){if((typeof data5 == "number") && (isFinite(data5))){if(data5 < 1 || isNaN(data5)){validate11.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.dateReserved !== undefined){let data6 = data.dateReserved;const _errs19 = errors;const _errs20 = errors;if(errors === _errs20){if(errors === _errs20){if(typeof data6 === "string"){if(!pattern3.test(data6)){validate11.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data6))){validate11.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublished !== undefined){let data7 = data.datePublished;const _errs22 = errors;const _errs23 = errors;if(errors === _errs23){if(errors === _errs23){if(typeof data7 === "string"){if(!pattern3.test(data7)){validate11.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data7))){validate11.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.state !== undefined){let data8 = data.state;const _errs25 = errors;if(typeof data8 !== "string"){validate11.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data8 === "PUBLISHED")){validate11.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/enum",keyword:"enum",params:{allowedValues: schema14.properties.state.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs25 === errors;}else {var valid0 = true;}}}}}}}}}}}}else {validate11.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate11.errors = vErrors;return errors === 0;}const schema22 = {"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"dateAssigned":{"$ref":"#/definitions/timestamp"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/cnaTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata","descriptions","affected","references"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false};const schema199 = {"type":"object","minProperties":1};const schema202 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyName","taxonomyRelations"],"properties":{"taxonomyName":{"type":"string","minLength":1,"maxLength":128},"taxonomyVersion":{"type":"string","minLength":1,"maxLength":128},"taxonomyRelations":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyId","relationshipName","relationshipValue"],"properties":{"taxonomyId":{"type":"string","minLength":1,"maxLength":2048},"relationshipName":{"type":"string","minLength":1,"maxLength":128},"relationshipValue":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false}}},"additionalProperties":false}};const pattern6 = new RegExp("^x_[^.]*$", "u");const schema23 = {"type":"object","properties":{"orgId":{"$ref":"#/definitions/orgId"},"shortName":{"$ref":"#/definitions/shortName"},"dateUpdated":{"$ref":"#/definitions/timestamp"}},"required":["orgId"],"additionalProperties":false};function validate14(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.orgId === undefined) && (missing0 = "orgId")){validate14.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(((key0 === "orgId") || (key0 === "shortName")) || (key0 === "dateUpdated"))){validate14.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.orgId !== undefined){let data0 = data.orgId;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern1.test(data0)){validate14.errors = [{instancePath:instancePath+"/orgId",schemaPath:"#/definitions/orgId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate14.errors = [{instancePath:instancePath+"/orgId",schemaPath:"#/definitions/orgId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.shortName !== undefined){let data1 = data.shortName;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(func7(data1) > 32){validate14.errors = [{instancePath:instancePath+"/shortName",schemaPath:"#/definitions/shortName/maxLength",keyword:"maxLength",params:{limit: 32},message:"must NOT have more than 32 characters"}];return false;}else {if(func7(data1) < 2){validate14.errors = [{instancePath:instancePath+"/shortName",schemaPath:"#/definitions/shortName/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}}else {validate14.errors = [{instancePath:instancePath+"/shortName",schemaPath:"#/definitions/shortName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.dateUpdated !== undefined){let data2 = data.dateUpdated;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(errors === _errs9){if(typeof data2 === "string"){if(!pattern3.test(data2)){validate14.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data2))){validate14.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate14.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs8 === errors;}else {var valid0 = true;}}}}}}else {validate14.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate14.errors = vErrors;return errors === 0;}const schema29 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"},"contains":{"$ref":"#/definitions/englishLanguageDescription"}};const schema30 = {"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"supportingMedia":{"type":"array","uniqueItems":true,"minItems":1,"items":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":256,"examples":["text/markdown","text/html","image/png","image/svg","audio/mp3"]},"base64":{"type":"boolean","default":false},"value":{"type":"string","minLength":1,"maxLength":16384}},"required":["type","value"],"additionalProperties":false}}},"required":["lang","value"],"additionalProperties":false};const schema31 = {"type":"string","default":"en","pattern":"^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"};const pattern11 = new RegExp("^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$", "u");function validate17(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.lang === undefined) && (missing0 = "lang")) || ((data.value === undefined) && (missing0 = "value"))){validate17.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(((key0 === "lang") || (key0 === "value")) || (key0 === "supportingMedia"))){validate17.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.lang !== undefined){let data0 = data.lang;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern11.test(data0)){validate17.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/language/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},message:"must match pattern \""+"^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"+"\""}];return false;}}else {validate17.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/language/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.value !== undefined){let data1 = data.value;const _errs5 = errors;if(errors === _errs5){if(typeof data1 === "string"){if(func7(data1) > 4096){validate17.errors = [{instancePath:instancePath+"/value",schemaPath:"#/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data1) < 1){validate17.errors = [{instancePath:instancePath+"/value",schemaPath:"#/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate17.errors = [{instancePath:instancePath+"/value",schemaPath:"#/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.supportingMedia !== undefined){let data2 = data.supportingMedia;const _errs7 = errors;if(errors === _errs7){if(Array.isArray(data2)){if(data2.length < 1){validate17.errors = [{instancePath:instancePath+"/supportingMedia",schemaPath:"#/properties/supportingMedia/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid2 = true;const len0 = data2.length;for(let i0=0; i0 256){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/type",schemaPath:"#/properties/supportingMedia/items/properties/type/maxLength",keyword:"maxLength",params:{limit: 256},message:"must NOT have more than 256 characters"}];return false;}else {if(func7(data4) < 1){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/type",schemaPath:"#/properties/supportingMedia/items/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/type",schemaPath:"#/properties/supportingMedia/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data3.base64 !== undefined){const _errs14 = errors;if(typeof data3.base64 !== "boolean"){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/base64",schemaPath:"#/properties/supportingMedia/items/properties/base64/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid3 = _errs14 === errors;}else {var valid3 = true;}if(valid3){if(data3.value !== undefined){let data6 = data3.value;const _errs16 = errors;if(errors === _errs16){if(typeof data6 === "string"){if(func7(data6) > 16384){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/value",schemaPath:"#/properties/supportingMedia/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 16384},message:"must NOT have more than 16384 characters"}];return false;}else {if(func7(data6) < 1){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/value",schemaPath:"#/properties/supportingMedia/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/value",schemaPath:"#/properties/supportingMedia/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs16 === errors;}else {var valid3 = true;}}}}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0,schemaPath:"#/properties/supportingMedia/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs9 === errors;if(!valid2){break;}}if(valid2){let i1 = data2.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data2[i1], data2[j0])){validate17.errors = [{instancePath:instancePath+"/supportingMedia",schemaPath:"#/properties/supportingMedia/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia",schemaPath:"#/properties/supportingMedia/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs7 === errors;}else {var valid0 = true;}}}}}}else {validate17.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate17.errors = vErrors;return errors === 0;}const schema32 = {"type":"object","properties":{"lang":{"$ref":"#/definitions/englishLanguage"}},"required":["lang"],"$comment":"Cannot use additionalProperties: false here, as this prevents the other properties used by /definitions/description."};const schema33 = {"type":"string","pattern":"^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"};const pattern12 = new RegExp("^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$", "u");function validate19(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.lang === undefined) && (missing0 = "lang")){validate19.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.lang !== undefined){let data0 = data.lang;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern12.test(data0)){validate19.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/englishLanguage/pattern",keyword:"pattern",params:{pattern: "^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},message:"must match pattern \""+"^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"+"\""}];return false;}}else {validate19.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/englishLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}}}else {validate19.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate19.errors = vErrors;return errors === 0;}function validate16(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate16.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data[i2], data[j0])){validate16.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}}else {validate16.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate16.errors = vErrors;return errors === 0;}const schema34 = {"type":"array","minItems":1,"items":{"$ref":"#/definitions/product"}};const schema35 = {"type":"object","allOf":[{"anyOf":[{"required":["vendor","product"]},{"required":["collectionURL","packageName"]}]},{"anyOf":[{"required":["versions"]},{"required":["defaultStatus"]}]}],"properties":{"vendor":{"type":"string","minLength":1,"maxLength":512},"product":{"type":"string","minLength":1,"maxLength":2048},"collectionURL":{"$ref":"#/definitions/uriType","examples":["https://access.redhat.com/downloads/content/package-browser","https://addons.mozilla.org","https://addons.thunderbird.net","https://anaconda.org/anaconda/repo","https://app.vagrantup.com/boxes/search","https://apps.apple.com","https://archlinux.org/packages","https://atmospherejs.meteor.com","https://atom.io/packages","https://bitbucket.org","https://bower.io","https://brew.sh/","https://chocolatey.org/packages","https://chrome.google.com/webstore","https://clojars.org","https://cocoapods.org","https://code.dlang.org","https://conan.io/center","https://cpan.org/modules","https://cran.r-project.org","https://crates.io","https://ctan.org/pkg","https://drupal.org","https://exchange.adobe.com","https://forge.puppet.com/modules","https://github.com","https://gitlab.com/explore","https://golang.org/pkg","https://guix.gnu.org/packages","https://hackage.haskell.org","https://helm.sh","https://hub.docker.com","https://juliahub.com","https://lib.haxe.org","https://luarocks.org","https://marketplace.visualstudio.com","https://melpa.org","https://microsoft.com/en-us/store/apps","https://nimble.directory","https://nuget.org/packages","https://opam.ocaml.org/packages","https://openwrt.org/packages/index","https://package.elm-lang.org","https://packagecontrol.io","https://packages.debian.org","https://packages.gentoo.org","https://packagist.org","https://pear.php.net/packages.php","https://pecl.php.net","https://platformio.org/lib","https://play.google.com/store","https://plugins.gradle.org","https://projects.eclipse.org","https://pub.dev","https://pypi.python.org","https://registry.npmjs.org","https://registry.terraform.io","https://repo.hex.pm","https://repo.maven.apache.org/maven2","https://rubygems.org","https://search.nixos.org/packages","https://sourceforge.net","https://wordpress.org/plugins"]},"packageName":{"type":"string","minLength":1,"maxLength":2048},"cpes":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})","minLength":1,"maxLength":2048}},"modules":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":4096}},"programFiles":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":1024}},"programRoutines":{"type":"array","uniqueItems":true,"items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}},"platforms":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","examples":["iOS","Android","Windows","macOS","x86","ARM","64 bit","Big Endian","iPad","Chromebook","Docker","Model T"],"maxLength":1024}},"repo":{"$ref":"#/definitions/uriType"},"defaultStatus":{"$ref":"#/definitions/status"},"versions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","oneOf":[{"required":["version","status"],"maxProperties":2},{"required":["version","status","versionType"],"maxProperties":3},{"required":["version","status","versionType","lessThan"]},{"required":["version","status","versionType","lessThanOrEqual"]}],"properties":{"version":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"},"versionType":{"type":"string","minLength":1,"maxLength":128,"examples":["custom","git","maven","python","rpm","semver"]},"lessThan":{"$ref":"#/definitions/version"},"lessThanOrEqual":{"$ref":"#/definitions/version"},"changes":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["at","status"],"additionalProperties":false,"properties":{"at":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"}}}}},"additionalProperties":false}}}};const schema36 = {"type":"string","format":"uri","minLength":1,"maxLength":2048};const schema38 = {"type":"string","enum":["affected","unaffected","unknown"]};const schema39 = {"type":"string","minLength":1,"maxLength":1024};const formats12 = require("ajv-formats/dist/formats").fullFormats.uri;const pattern13 = new RegExp("([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})", "u");function validate23(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;const _errs1 = errors;const _errs2 = errors;let valid1 = false;const _errs3 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.vendor === undefined) && (missing0 = "vendor")) || ((data.product === undefined) && (missing0 = "product"))){const err0 = {instancePath,schemaPath:"#/allOf/0/anyOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}var _valid0 = _errs3 === errors;valid1 = valid1 || _valid0;if(!valid1){const _errs4 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if(((data.collectionURL === undefined) && (missing1 = "collectionURL")) || ((data.packageName === undefined) && (missing1 = "packageName"))){const err1 = {instancePath,schemaPath:"#/allOf/0/anyOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}var _valid0 = _errs4 === errors;valid1 = valid1 || _valid0;}if(!valid1){const err2 = {instancePath,schemaPath:"#/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate23.errors = vErrors;return false;}else {errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}}var valid0 = _errs1 === errors;if(valid0){const _errs5 = errors;const _errs6 = errors;let valid2 = false;const _errs7 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if((data.versions === undefined) && (missing2 = "versions")){const err3 = {instancePath,schemaPath:"#/allOf/1/anyOf/0/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid1 = _errs7 === errors;valid2 = valid2 || _valid1;if(!valid2){const _errs8 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing3;if((data.defaultStatus === undefined) && (missing3 = "defaultStatus")){const err4 = {instancePath,schemaPath:"#/allOf/1/anyOf/1/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}var _valid1 = _errs8 === errors;valid2 = valid2 || _valid1;}if(!valid2){const err5 = {instancePath,schemaPath:"#/allOf/1/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;validate23.errors = vErrors;return false;}else {errors = _errs6;if(vErrors !== null){if(_errs6){vErrors.length = _errs6;}else {vErrors = null;}}}var valid0 = _errs5 === errors;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.vendor !== undefined){let data0 = data.vendor;const _errs9 = errors;if(errors === _errs9){if(typeof data0 === "string"){if(func7(data0) > 512){validate23.errors = [{instancePath:instancePath+"/vendor",schemaPath:"#/properties/vendor/maxLength",keyword:"maxLength",params:{limit: 512},message:"must NOT have more than 512 characters"}];return false;}else {if(func7(data0) < 1){validate23.errors = [{instancePath:instancePath+"/vendor",schemaPath:"#/properties/vendor/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/vendor",schemaPath:"#/properties/vendor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs9 === errors;}else {var valid3 = true;}if(valid3){if(data.product !== undefined){let data1 = data.product;const _errs11 = errors;if(errors === _errs11){if(typeof data1 === "string"){if(func7(data1) > 2048){validate23.errors = [{instancePath:instancePath+"/product",schemaPath:"#/properties/product/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data1) < 1){validate23.errors = [{instancePath:instancePath+"/product",schemaPath:"#/properties/product/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/product",schemaPath:"#/properties/product/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs11 === errors;}else {var valid3 = true;}if(valid3){if(data.collectionURL !== undefined){let data2 = data.collectionURL;const _errs13 = errors;const _errs14 = errors;if(errors === _errs14){if(errors === _errs14){if(typeof data2 === "string"){if(func7(data2) > 2048){validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data2) < 1){validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!(formats12(data2))){validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/format",keyword:"format",params:{format: "uri"},message:"must match format \""+"uri"+"\""}];return false;}}}}else {validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid3 = _errs13 === errors;}else {var valid3 = true;}if(valid3){if(data.packageName !== undefined){let data3 = data.packageName;const _errs16 = errors;if(errors === _errs16){if(typeof data3 === "string"){if(func7(data3) > 2048){validate23.errors = [{instancePath:instancePath+"/packageName",schemaPath:"#/properties/packageName/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data3) < 1){validate23.errors = [{instancePath:instancePath+"/packageName",schemaPath:"#/properties/packageName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/packageName",schemaPath:"#/properties/packageName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs16 === errors;}else {var valid3 = true;}if(valid3){if(data.cpes !== undefined){let data4 = data.cpes;const _errs18 = errors;if(errors === _errs18){if(Array.isArray(data4)){var valid5 = true;const len0 = data4.length;for(let i0=0; i0 2048){validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data5) < 1){validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!pattern13.test(data5)){validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/pattern",keyword:"pattern",params:{pattern: "([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})"},message:"must match pattern \""+"([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})"+"\""}];return false;}}}}else {validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs20 === errors;if(!valid5){break;}}if(valid5){let i1 = data4.length;let j0;if(i1 > 1){const indices0 = {};for(;i1--;){let item0 = data4[i1];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];validate23.errors = [{instancePath:instancePath+"/cpes",schemaPath:"#/properties/cpes/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break;}indices0[item0] = i1;}}}}else {validate23.errors = [{instancePath:instancePath+"/cpes",schemaPath:"#/properties/cpes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs18 === errors;}else {var valid3 = true;}if(valid3){if(data.modules !== undefined){let data6 = data.modules;const _errs22 = errors;if(errors === _errs22){if(Array.isArray(data6)){var valid7 = true;const len1 = data6.length;for(let i2=0; i2 4096){validate23.errors = [{instancePath:instancePath+"/modules/" + i2,schemaPath:"#/properties/modules/items/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data7) < 1){validate23.errors = [{instancePath:instancePath+"/modules/" + i2,schemaPath:"#/properties/modules/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/modules/" + i2,schemaPath:"#/properties/modules/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs24 === errors;if(!valid7){break;}}if(valid7){let i3 = data6.length;let j1;if(i3 > 1){const indices1 = {};for(;i3--;){let item1 = data6[i3];if(typeof item1 !== "string"){continue;}if(typeof indices1[item1] == "number"){j1 = indices1[item1];validate23.errors = [{instancePath:instancePath+"/modules",schemaPath:"#/properties/modules/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break;}indices1[item1] = i3;}}}}else {validate23.errors = [{instancePath:instancePath+"/modules",schemaPath:"#/properties/modules/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs22 === errors;}else {var valid3 = true;}if(valid3){if(data.programFiles !== undefined){let data8 = data.programFiles;const _errs26 = errors;if(errors === _errs26){if(Array.isArray(data8)){var valid9 = true;const len2 = data8.length;for(let i4=0; i4 1024){validate23.errors = [{instancePath:instancePath+"/programFiles/" + i4,schemaPath:"#/properties/programFiles/items/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data9) < 1){validate23.errors = [{instancePath:instancePath+"/programFiles/" + i4,schemaPath:"#/properties/programFiles/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/programFiles/" + i4,schemaPath:"#/properties/programFiles/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid9 = _errs28 === errors;if(!valid9){break;}}if(valid9){let i5 = data8.length;let j2;if(i5 > 1){const indices2 = {};for(;i5--;){let item2 = data8[i5];if(typeof item2 !== "string"){continue;}if(typeof indices2[item2] == "number"){j2 = indices2[item2];validate23.errors = [{instancePath:instancePath+"/programFiles",schemaPath:"#/properties/programFiles/uniqueItems",keyword:"uniqueItems",params:{i: i5, j: j2},message:"must NOT have duplicate items (items ## "+j2+" and "+i5+" are identical)"}];return false;break;}indices2[item2] = i5;}}}}else {validate23.errors = [{instancePath:instancePath+"/programFiles",schemaPath:"#/properties/programFiles/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs26 === errors;}else {var valid3 = true;}if(valid3){if(data.programRoutines !== undefined){let data10 = data.programRoutines;const _errs30 = errors;if(errors === _errs30){if(Array.isArray(data10)){var valid11 = true;const len3 = data10.length;for(let i6=0; i6 4096){validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6+"/name",schemaPath:"#/properties/programRoutines/items/properties/name/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data12) < 1){validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6+"/name",schemaPath:"#/properties/programRoutines/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6+"/name",schemaPath:"#/properties/programRoutines/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}}}}else {validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6,schemaPath:"#/properties/programRoutines/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid11 = _errs32 === errors;if(!valid11){break;}}if(valid11){let i7 = data10.length;let j3;if(i7 > 1){outer0:for(;i7--;){for(j3 = i7; j3--;){if(func0(data10[i7], data10[j3])){validate23.errors = [{instancePath:instancePath+"/programRoutines",schemaPath:"#/properties/programRoutines/uniqueItems",keyword:"uniqueItems",params:{i: i7, j: j3},message:"must NOT have duplicate items (items ## "+j3+" and "+i7+" are identical)"}];return false;break outer0;}}}}}}else {validate23.errors = [{instancePath:instancePath+"/programRoutines",schemaPath:"#/properties/programRoutines/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs30 === errors;}else {var valid3 = true;}if(valid3){if(data.platforms !== undefined){let data13 = data.platforms;const _errs37 = errors;if(errors === _errs37){if(Array.isArray(data13)){if(data13.length < 1){validate23.errors = [{instancePath:instancePath+"/platforms",schemaPath:"#/properties/platforms/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid14 = true;const len4 = data13.length;for(let i8=0; i8 1024){validate23.errors = [{instancePath:instancePath+"/platforms/" + i8,schemaPath:"#/properties/platforms/items/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}}else {validate23.errors = [{instancePath:instancePath+"/platforms/" + i8,schemaPath:"#/properties/platforms/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid14 = _errs39 === errors;if(!valid14){break;}}if(valid14){let i9 = data13.length;let j4;if(i9 > 1){const indices3 = {};for(;i9--;){let item3 = data13[i9];if(typeof item3 !== "string"){continue;}if(typeof indices3[item3] == "number"){j4 = indices3[item3];validate23.errors = [{instancePath:instancePath+"/platforms",schemaPath:"#/properties/platforms/uniqueItems",keyword:"uniqueItems",params:{i: i9, j: j4},message:"must NOT have duplicate items (items ## "+j4+" and "+i9+" are identical)"}];return false;break;}indices3[item3] = i9;}}}}}else {validate23.errors = [{instancePath:instancePath+"/platforms",schemaPath:"#/properties/platforms/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs37 === errors;}else {var valid3 = true;}if(valid3){if(data.repo !== undefined){let data15 = data.repo;const _errs41 = errors;const _errs42 = errors;if(errors === _errs42){if(errors === _errs42){if(typeof data15 === "string"){if(func7(data15) > 2048){validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data15) < 1){validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!(formats12(data15))){validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/format",keyword:"format",params:{format: "uri"},message:"must match format \""+"uri"+"\""}];return false;}}}}else {validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid3 = _errs41 === errors;}else {var valid3 = true;}if(valid3){if(data.defaultStatus !== undefined){let data16 = data.defaultStatus;const _errs44 = errors;if(typeof data16 !== "string"){validate23.errors = [{instancePath:instancePath+"/defaultStatus",schemaPath:"#/definitions/status/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data16 === "affected") || (data16 === "unaffected")) || (data16 === "unknown"))){validate23.errors = [{instancePath:instancePath+"/defaultStatus",schemaPath:"#/definitions/status/enum",keyword:"enum",params:{allowedValues: schema38.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs44 === errors;}else {var valid3 = true;}if(valid3){if(data.versions !== undefined){let data17 = data.versions;const _errs47 = errors;if(errors === _errs47){if(Array.isArray(data17)){if(data17.length < 1){validate23.errors = [{instancePath:instancePath+"/versions",schemaPath:"#/properties/versions/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid18 = true;const len5 = data17.length;for(let i10=0; i10 2){const err6 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/0/maxProperties",keyword:"maxProperties",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {let missing5;if(((data18.version === undefined) && (missing5 = "version")) || ((data18.status === undefined) && (missing5 = "status"))){const err7 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/0/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}var _valid2 = _errs52 === errors;if(_valid2){valid19 = true;passing0 = 0;}const _errs53 = errors;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){if(Object.keys(data18).length > 3){const err8 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/1/maxProperties",keyword:"maxProperties",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}else {let missing6;if((((data18.version === undefined) && (missing6 = "version")) || ((data18.status === undefined) && (missing6 = "status"))) || ((data18.versionType === undefined) && (missing6 = "versionType"))){const err9 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/1/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}}var _valid2 = _errs53 === errors;if(_valid2 && valid19){valid19 = false;passing0 = [passing0, 1];}else {if(_valid2){valid19 = true;passing0 = 1;}const _errs54 = errors;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){let missing7;if(((((data18.version === undefined) && (missing7 = "version")) || ((data18.status === undefined) && (missing7 = "status"))) || ((data18.versionType === undefined) && (missing7 = "versionType"))) || ((data18.lessThan === undefined) && (missing7 = "lessThan"))){const err10 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/2/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}var _valid2 = _errs54 === errors;if(_valid2 && valid19){valid19 = false;passing0 = [passing0, 2];}else {if(_valid2){valid19 = true;passing0 = 2;}const _errs55 = errors;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){let missing8;if(((((data18.version === undefined) && (missing8 = "version")) || ((data18.status === undefined) && (missing8 = "status"))) || ((data18.versionType === undefined) && (missing8 = "versionType"))) || ((data18.lessThanOrEqual === undefined) && (missing8 = "lessThanOrEqual"))){const err11 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/3/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}var _valid2 = _errs55 === errors;if(_valid2 && valid19){valid19 = false;passing0 = [passing0, 3];}else {if(_valid2){valid19 = true;passing0 = 3;}}}}if(!valid19){const err12 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;validate23.errors = vErrors;return false;}else {errors = _errs51;if(vErrors !== null){if(_errs51){vErrors.length = _errs51;}else {vErrors = null;}}}if(errors === _errs49){if(data18 && typeof data18 == "object" && !Array.isArray(data18)){const _errs56 = errors;for(const key1 in data18){if(!((((((key1 === "version") || (key1 === "status")) || (key1 === "versionType")) || (key1 === "lessThan")) || (key1 === "lessThanOrEqual")) || (key1 === "changes"))){validate23.errors = [{instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"}];return false;break;}}if(_errs56 === errors){if(data18.version !== undefined){let data19 = data18.version;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(typeof data19 === "string"){if(func7(data19) > 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/version",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data19) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/version",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/version",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs57 === errors;}else {var valid20 = true;}if(valid20){if(data18.status !== undefined){let data20 = data18.status;const _errs60 = errors;if(typeof data20 !== "string"){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/status",schemaPath:"#/definitions/status/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data20 === "affected") || (data20 === "unaffected")) || (data20 === "unknown"))){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/status",schemaPath:"#/definitions/status/enum",keyword:"enum",params:{allowedValues: schema38.enum},message:"must be equal to one of the allowed values"}];return false;}var valid20 = _errs60 === errors;}else {var valid20 = true;}if(valid20){if(data18.versionType !== undefined){let data21 = data18.versionType;const _errs63 = errors;if(errors === _errs63){if(typeof data21 === "string"){if(func7(data21) > 128){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/versionType",schemaPath:"#/properties/versions/items/properties/versionType/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data21) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/versionType",schemaPath:"#/properties/versions/items/properties/versionType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/versionType",schemaPath:"#/properties/versions/items/properties/versionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs63 === errors;}else {var valid20 = true;}if(valid20){if(data18.lessThan !== undefined){let data22 = data18.lessThan;const _errs65 = errors;const _errs66 = errors;if(errors === _errs66){if(typeof data22 === "string"){if(func7(data22) > 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThan",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data22) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThan",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThan",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs65 === errors;}else {var valid20 = true;}if(valid20){if(data18.lessThanOrEqual !== undefined){let data23 = data18.lessThanOrEqual;const _errs68 = errors;const _errs69 = errors;if(errors === _errs69){if(typeof data23 === "string"){if(func7(data23) > 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThanOrEqual",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data23) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThanOrEqual",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThanOrEqual",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs68 === errors;}else {var valid20 = true;}if(valid20){if(data18.changes !== undefined){let data24 = data18.changes;const _errs71 = errors;if(errors === _errs71){if(Array.isArray(data24)){if(data24.length < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes",schemaPath:"#/properties/versions/items/properties/changes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid25 = true;const len6 = data24.length;for(let i11=0; i11 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/at",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data26) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/at",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/at",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid26 = _errs76 === errors;}else {var valid26 = true;}if(valid26){if(data25.status !== undefined){let data27 = data25.status;const _errs79 = errors;if(typeof data27 !== "string"){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/status",schemaPath:"#/definitions/status/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data27 === "affected") || (data27 === "unaffected")) || (data27 === "unknown"))){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/status",schemaPath:"#/definitions/status/enum",keyword:"enum",params:{allowedValues: schema38.enum},message:"must be equal to one of the allowed values"}];return false;}var valid26 = _errs79 === errors;}else {var valid26 = true;}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11,schemaPath:"#/properties/versions/items/properties/changes/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid25 = _errs73 === errors;if(!valid25){break;}}if(valid25){let i12 = data24.length;let j5;if(i12 > 1){outer1:for(;i12--;){for(j5 = i12; j5--;){if(func0(data24[i12], data24[j5])){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes",schemaPath:"#/properties/versions/items/properties/changes/uniqueItems",keyword:"uniqueItems",params:{i: i12, j: j5},message:"must NOT have duplicate items (items ## "+j5+" and "+i12+" are identical)"}];return false;break outer1;}}}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes",schemaPath:"#/properties/versions/items/properties/changes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid20 = _errs71 === errors;}else {var valid20 = true;}}}}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid18 = _errs49 === errors;if(!valid18){break;}}if(valid18){let i13 = data17.length;let j6;if(i13 > 1){outer2:for(;i13--;){for(j6 = i13; j6--;){if(func0(data17[i13], data17[j6])){validate23.errors = [{instancePath:instancePath+"/versions",schemaPath:"#/properties/versions/uniqueItems",keyword:"uniqueItems",params:{i: i13, j: j6},message:"must NOT have duplicate items (items ## "+j6+" and "+i13+" are identical)"}];return false;break outer2;}}}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions",schemaPath:"#/properties/versions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs47 === errors;}else {var valid3 = true;}}}}}}}}}}}}}else {validate23.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate23.errors = vErrors;return errors === 0;}function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate22.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 2048){validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data0) < 1){validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!(formats12(data0))){validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/format",keyword:"format",params:{format: "uri"},message:"must match format \""+"uri"+"\""}];return false;}}}}else {validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.name !== undefined){let data1 = data.name;const _errs5 = errors;if(errors === _errs5){if(typeof data1 === "string"){if(func7(data1) > 512){validate28.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/maxLength",keyword:"maxLength",params:{limit: 512},message:"must NOT have more than 512 characters"}];return false;}else {if(func7(data1) < 1){validate28.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate28.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.tags !== undefined){let data2 = data.tags;const _errs7 = errors;if(errors === _errs7){if(Array.isArray(data2)){if(data2.length < 1){validate28.errors = [{instancePath:instancePath+"/tags",schemaPath:"#/properties/tags/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid2 = true;const len0 = data2.length;for(let i0=0; i0 128){const err0 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(func7(data3) < 2){const err1 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {if(!pattern16.test(data3)){const err2 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/pattern",keyword:"pattern",params:{pattern: "^x_.*$"},message:"must match pattern \""+"^x_.*$"+"\""};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}else {const err3 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs11 === errors;if(_valid0){valid3 = true;passing0 = 0;}const _errs15 = errors;if(typeof data3 !== "string"){const err4 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/properties/tags/items/oneOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((((((((((((((((((data3 === "broken-link") || (data3 === "customer-entitlement")) || (data3 === "exploit")) || (data3 === "government-resource")) || (data3 === "issue-tracking")) || (data3 === "mailing-list")) || (data3 === "mitigation")) || (data3 === "not-applicable")) || (data3 === "patch")) || (data3 === "permissions-required")) || (data3 === "media-coverage")) || (data3 === "product")) || (data3 === "related")) || (data3 === "release-notes")) || (data3 === "signature")) || (data3 === "technical-description")) || (data3 === "third-party-advisory")) || (data3 === "vendor-advisory")) || (data3 === "vdb-entry"))){const err5 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/properties/tags/items/oneOf/1/enum",keyword:"enum",params:{allowedValues: schema48.properties.tags.items.oneOf[1].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var _valid0 = _errs15 === errors;if(_valid0 && valid3){valid3 = false;passing0 = [passing0, 1];}else {if(_valid0){valid3 = true;passing0 = 1;}}if(!valid3){const err6 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/properties/tags/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate28.errors = vErrors;return false;}else {errors = _errs10;if(vErrors !== null){if(_errs10){vErrors.length = _errs10;}else {vErrors = null;}}}var valid2 = _errs9 === errors;if(!valid2){break;}}if(valid2){let i1 = data2.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data2[i1], data2[j0])){validate28.errors = [{instancePath:instancePath+"/tags",schemaPath:"#/properties/tags/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate28.errors = [{instancePath:instancePath+"/tags",schemaPath:"#/properties/tags/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs7 === errors;}else {var valid0 = true;}}}}}}else {validate28.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate28.errors = vErrors;return errors === 0;}function validate27(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length > 512){validate27.errors = [{instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 512},message:"must NOT have more than 512 items"}];return false;}else {if(data.length < 1){validate27.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate27.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}}else {validate27.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate27.errors = vErrors;return errors === 0;}function validate26(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate26.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 4096){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/description",schemaPath:"#/items/properties/descriptions/items/properties/description/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data4) < 1){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/description",schemaPath:"#/items/properties/descriptions/items/properties/description/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/description",schemaPath:"#/items/properties/descriptions/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data2.cweId !== undefined){let data5 = data2.cweId;const _errs14 = errors;if(errors === _errs14){if(typeof data5 === "string"){if(func7(data5) > 9){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/maxLength",keyword:"maxLength",params:{limit: 9},message:"must NOT have more than 9 characters"}];return false;}else {if(func7(data5) < 5){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/minLength",keyword:"minLength",params:{limit: 5},message:"must NOT have fewer than 5 characters"}];return false;}else {if(!pattern15.test(data5)){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/pattern",keyword:"pattern",params:{pattern: "^CWE-[1-9][0-9]*$"},message:"must match pattern \""+"^CWE-[1-9][0-9]*$"+"\""}];return false;}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs14 === errors;}else {var valid3 = true;}if(valid3){if(data2.type !== undefined){let data6 = data2.type;const _errs16 = errors;if(errors === _errs16){if(typeof data6 === "string"){if(func7(data6) > 128){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/type",schemaPath:"#/items/properties/descriptions/items/properties/type/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data6) < 1){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/type",schemaPath:"#/items/properties/descriptions/items/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/type",schemaPath:"#/items/properties/descriptions/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs16 === errors;}else {var valid3 = true;}if(valid3){if(data2.references !== undefined){const _errs18 = errors;if(!(validate27(data2.references, {instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/references",parentData:data2,parentDataProperty:"references",rootData}))){vErrors = vErrors === null ? validate27.errors : vErrors.concat(validate27.errors);errors = vErrors.length;}var valid3 = _errs18 === errors;}else {var valid3 = true;}}}}}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1,schemaPath:"#/items/properties/descriptions/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs6 === errors;if(!valid2){break;}}if(valid2){let i2 = data1.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data1[i2], data1[j0])){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions",schemaPath:"#/items/properties/descriptions/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions",schemaPath:"#/items/properties/descriptions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i3 = data.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data[i3], data[j1])){validate26.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate26.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate26.errors = vErrors;return errors === 0;}const schema51 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["descriptions"],"properties":{"capecId":{"type":"string","minLength":7,"maxLength":11,"pattern":"^CAPEC-[1-9][0-9]{0,4}$"},"descriptions":{"$ref":"#/definitions/descriptions"}},"additionalProperties":false}};const pattern17 = new RegExp("^CAPEC-[1-9][0-9]{0,4}$", "u");function validate33(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate33.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 11){validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/maxLength",keyword:"maxLength",params:{limit: 11},message:"must NOT have more than 11 characters"}];return false;}else {if(func7(data1) < 7){validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/minLength",keyword:"minLength",params:{limit: 7},message:"must NOT have fewer than 7 characters"}];return false;}else {if(!pattern17.test(data1)){validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/pattern",keyword:"pattern",params:{pattern: "^CAPEC-[1-9][0-9]{0,4}$"},message:"must match pattern \""+"^CAPEC-[1-9][0-9]{0,4}$"+"\""}];return false;}}}}else {validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs4 === errors;}else {var valid1 = true;}if(valid1){if(data0.descriptions !== undefined){const _errs6 = errors;if(!(validate16(data0.descriptions, {instancePath:instancePath+"/" + i0+"/descriptions",parentData:data0,parentDataProperty:"descriptions",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid1 = _errs6 === errors;}else {var valid1 = true;}}}}}else {validate33.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate33.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate33.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate33.errors = vErrors;return errors === 0;}const schema52 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","anyOf":[{"required":["cvssV4_0"]},{"required":["cvssV3_1"]},{"required":["cvssV3_0"]},{"required":["cvssV2_0"]},{"required":["other"]}],"properties":{"format":{"type":"string","minLength":1,"maxLength":64},"scenarios":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","default":"GENERAL","minLength":1,"maxLength":4096}},"required":["lang","value"],"additionalProperties":false}},"cvssV4_0":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackRequirementsType":{"type":"string","enum":["NONE","PRESENT"]},"modifiedAttackRequirementsType":{"type":"string","enum":["NONE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"],"default":"NOT_DEFINED"},"userInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedVulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"subCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedSubCType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"modifiedSubIaType":{"type":"string","enum":["NONE","LOW","HIGH","SAFETY","NOT_DEFINED"],"default":"NOT_DEFINED"},"exploitMaturityType":{"type":"string","enum":["UNREPORTED","PROOF_OF_CONCEPT","ATTACKED","NOT_DEFINED"],"default":"NOT_DEFINED"},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"safetyType":{"type":"string","enum":["NEGLIGIBLE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"automatableType":{"type":"string","enum":["NO","YES","NOT_DEFINED"],"default":"NOT_DEFINED"},"recoveryType":{"type":"string","enum":["AUTOMATIC","USER","IRRECOVERABLE","NOT_DEFINED"],"default":"NOT_DEFINED"},"valueDensityType":{"type":"string","enum":["DIFFUSE","CONCENTRATED","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnerabilityResponseEffortType":{"type":"string","enum":["LOW","MODERATE","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"providerUrgencyType":{"type":"string","enum":["CLEAR","GREEN","AMBER","RED","NOT_DEFINED"],"default":"NOT_DEFINED"},"noneScoreType":{"type":"number","minimum":0,"maximum":0},"lowScoreType":{"type":"number","minimum":0.1,"maximum":3.9,"multipleOf":0.1},"mediumScoreType":{"type":"number","minimum":4,"maximum":6.9,"multipleOf":0.1},"highScoreType":{"type":"number","minimum":7,"maximum":8.9,"multipleOf":0.1},"criticalScoreType":{"type":"number","minimum":9,"maximum":10,"multipleOf":0.1},"noneSeverityType":{"const":"NONE"},"lowSeverityType":{"const":"LOW"},"mediumSeverityType":{"const":"MEDIUM"},"highSeverityType":{"const":"HIGH"},"criticalSeverityType":{"const":"CRITICAL"}},"properties":{"version":{"type":"string","enum":["4.0"]},"vectorString":{"type":"string","pattern":"^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType"},"attackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType"},"vulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"subConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"exploitMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType"},"modifiedAttackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType"},"modifiedVulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedSubConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType"},"modifiedSubIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"modifiedSubAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"Safety":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType"},"Automatable":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType"},"Recovery":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType"},"valueDensity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType"},"vulnerabilityResponseEffort":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType"},"providerUrgency":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType"}},"allOf":[{"anyOf":[{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]}],"required":["version","vectorString","baseScore","baseSeverity"]},"cvssV3_1":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.1"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV3_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.0"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV2_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"accessVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL"]},"accessComplexityType":{"type":"string","enum":["HIGH","MEDIUM","LOW"]},"authenticationType":{"type":"string","enum":["MULTIPLE","SINGLE","NONE"]},"ciaType":{"type":"string","enum":["NONE","PARTIAL","COMPLETE"]},"exploitabilityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"reportConfidenceType":{"type":"string","enum":["UNCONFIRMED","UNCORROBORATED","CONFIRMED","NOT_DEFINED"]},"collateralDamagePotentialType":{"type":"string","enum":["NONE","LOW","LOW_MEDIUM","MEDIUM_HIGH","HIGH","NOT_DEFINED"]},"targetDistributionType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10}},"properties":{"version":{"type":"string","enum":["2.0"]},"vectorString":{"type":"string","pattern":"^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"},"accessVector":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType"},"accessComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType"},"authentication":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"exploitability":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"collateralDamagePotential":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType"},"targetDistribution":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"}},"required":["version","vectorString","baseScore"],"additionalProperties":false},"other":{"type":"object","required":["type","content"],"properties":{"type":{"type":"string","minLength":1,"maxLength":128},"content":{"type":"object","$comment":"additionalProperties are allowed here, since this construct supports arbitrary JSON.","minProperties":1}},"additionalProperties":false}},"additionalProperties":false}};const schema54 = {"type":"number","minimum":0,"maximum":0};const schema55 = {"const":"NONE"};const schema56 = {"type":"number","minimum":0.1,"maximum":3.9,"multipleOf":0.1};const schema57 = {"const":"LOW"};const schema58 = {"type":"number","minimum":4,"maximum":6.9,"multipleOf":0.1};const schema59 = {"const":"MEDIUM"};const schema60 = {"type":"number","minimum":7,"maximum":8.9,"multipleOf":0.1};const schema61 = {"const":"HIGH"};const schema62 = {"type":"number","minimum":9,"maximum":10,"multipleOf":0.1};const schema63 = {"const":"CRITICAL"};const schema84 = {"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL"]};const schema85 = {"type":"string","enum":["HIGH","LOW"]};const schema86 = {"type":"string","enum":["NONE","PRESENT"]};const schema87 = {"type":"string","enum":["HIGH","LOW","NONE"]};const schema88 = {"type":"string","enum":["NONE","PASSIVE","ACTIVE"]};const schema89 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema92 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema95 = {"type":"string","enum":["UNREPORTED","PROOF_OF_CONCEPT","ATTACKED","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema96 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema99 = {"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema100 = {"type":"string","enum":["HIGH","LOW","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema101 = {"type":"string","enum":["NONE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema102 = {"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema103 = {"type":"string","enum":["NONE","PASSIVE","ACTIVE","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema104 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema107 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema108 = {"type":"string","enum":["NONE","LOW","HIGH","SAFETY","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema110 = {"type":"string","enum":["NEGLIGIBLE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema111 = {"type":"string","enum":["NO","YES","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema112 = {"type":"string","enum":["AUTOMATIC","USER","IRRECOVERABLE","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema113 = {"type":"string","enum":["DIFFUSE","CONCENTRATED","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema114 = {"type":"string","enum":["LOW","MODERATE","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema115 = {"type":"string","enum":["CLEAR","GREEN","AMBER","RED","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema116 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]};const schema117 = {"type":"string","enum":["HIGH","LOW"]};const schema118 = {"type":"string","enum":["HIGH","LOW","NONE"]};const schema119 = {"type":"string","enum":["NONE","REQUIRED"]};const schema120 = {"type":"string","enum":["UNCHANGED","CHANGED"]};const schema121 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema124 = {"type":"number","minimum":0,"maximum":10};const schema125 = {"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]};const schema126 = {"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]};const schema127 = {"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]};const schema128 = {"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]};const schema131 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]};const schema134 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]};const schema135 = {"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]};const schema136 = {"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]};const schema137 = {"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]};const schema138 = {"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]};const schema139 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]};const schema144 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]};const schema145 = {"type":"string","enum":["HIGH","LOW"]};const schema146 = {"type":"string","enum":["HIGH","LOW","NONE"]};const schema147 = {"type":"string","enum":["NONE","REQUIRED"]};const schema148 = {"type":"string","enum":["UNCHANGED","CHANGED"]};const schema149 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema152 = {"type":"number","minimum":0,"maximum":10};const schema153 = {"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]};const schema154 = {"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]};const schema155 = {"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]};const schema156 = {"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]};const schema159 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]};const schema162 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]};const schema163 = {"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]};const schema164 = {"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]};const schema165 = {"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]};const schema166 = {"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]};const schema167 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]};const schema172 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL"]};const schema173 = {"type":"string","enum":["HIGH","MEDIUM","LOW"]};const schema174 = {"type":"string","enum":["MULTIPLE","SINGLE","NONE"]};const schema175 = {"type":"string","enum":["NONE","PARTIAL","COMPLETE"]};const schema178 = {"type":"number","minimum":0,"maximum":10};const schema179 = {"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]};const schema180 = {"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]};const schema181 = {"type":"string","enum":["UNCONFIRMED","UNCORROBORATED","CONFIRMED","NOT_DEFINED"]};const schema183 = {"type":"string","enum":["NONE","LOW","LOW_MEDIUM","MEDIUM_HIGH","HIGH","NOT_DEFINED"]};const schema184 = {"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","NOT_DEFINED"]};const schema185 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]};const pattern19 = new RegExp("^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$", "u");const pattern20 = new RegExp("^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$", "u");const pattern21 = new RegExp("^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$", "u");const pattern22 = new RegExp("^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$", "u");function validate36(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate36.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 64){validate36.errors = [{instancePath:instancePath+"/" + i0+"/format",schemaPath:"#/items/properties/format/maxLength",keyword:"maxLength",params:{limit: 64},message:"must NOT have more than 64 characters"}];return false;}else {if(func7(data1) < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/format",schemaPath:"#/items/properties/format/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/format",schemaPath:"#/items/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.scenarios !== undefined){let data2 = data0.scenarios;const _errs12 = errors;if(errors === _errs12){if(Array.isArray(data2)){if(data2.length < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios",schemaPath:"#/items/properties/scenarios/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid3 = true;const len1 = data2.length;for(let i1=0; i1 4096){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1+"/value",schemaPath:"#/items/properties/scenarios/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data5) < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1+"/value",schemaPath:"#/items/properties/scenarios/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1+"/value",schemaPath:"#/items/properties/scenarios/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid4 = _errs20 === errors;}else {var valid4 = true;}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1,schemaPath:"#/items/properties/scenarios/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs14 === errors;if(!valid3){break;}}if(valid3){let i2 = data2.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data2[i2], data2[j0])){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios",schemaPath:"#/items/properties/scenarios/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios",schemaPath:"#/items/properties/scenarios/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV4_0 !== undefined){let data6 = data0.cvssV4_0;const _errs22 = errors;const _errs24 = errors;const _errs25 = errors;let valid8 = false;const _errs26 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data7 = data6.baseScore;const _errs27 = errors;const _errs28 = errors;if(errors === _errs28){if((typeof data7 == "number") && (isFinite(data7))){if(data7 > 0 || isNaN(data7)){const err6 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 0},message:"must be <= 0"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {if(data7 < 0 || isNaN(data7)){const err7 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}var valid9 = _errs27 === errors;}else {var valid9 = true;}if(valid9){if(data6.baseSeverity !== undefined){const _errs30 = errors;if("NONE" !== data6.baseSeverity){const err9 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType/const",keyword:"const",params:{allowedValue: "NONE"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}var valid9 = _errs30 === errors;}else {var valid9 = true;}}}var _valid1 = _errs26 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs32 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data9 = data6.baseScore;const _errs33 = errors;const _errs34 = errors;if(errors === _errs34){if((typeof data9 == "number") && (isFinite(data9))){if(data9 > 3.9 || isNaN(data9)){const err10 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 3.9},message:"must be <= 3.9"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}else {if(data9 < 0.1 || isNaN(data9)){const err11 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.1},message:"must be >= 0.1"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}else {let res0;if((0.1 === 0 || (res0 = data9/0.1, res0 !== parseInt(res0)))){const err12 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}var valid12 = _errs33 === errors;}else {var valid12 = true;}if(valid12){if(data6.baseSeverity !== undefined){const _errs36 = errors;if("LOW" !== data6.baseSeverity){const err14 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType/const",keyword:"const",params:{allowedValue: "LOW"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}var valid12 = _errs36 === errors;}else {var valid12 = true;}}}var _valid1 = _errs32 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs38 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data11 = data6.baseScore;const _errs39 = errors;const _errs40 = errors;if(errors === _errs40){if((typeof data11 == "number") && (isFinite(data11))){if(data11 > 6.9 || isNaN(data11)){const err15 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6.9},message:"must be <= 6.9"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}else {if(data11 < 4 || isNaN(data11)){const err16 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 4},message:"must be >= 4"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}else {let res1;if((0.1 === 0 || (res1 = data11/0.1, res1 !== parseInt(res1)))){const err17 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}}}else {const err18 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid15 = _errs39 === errors;}else {var valid15 = true;}if(valid15){if(data6.baseSeverity !== undefined){const _errs42 = errors;if("MEDIUM" !== data6.baseSeverity){const err19 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType/const",keyword:"const",params:{allowedValue: "MEDIUM"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}var valid15 = _errs42 === errors;}else {var valid15 = true;}}}var _valid1 = _errs38 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs44 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data13 = data6.baseScore;const _errs45 = errors;const _errs46 = errors;if(errors === _errs46){if((typeof data13 == "number") && (isFinite(data13))){if(data13 > 8.9 || isNaN(data13)){const err20 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 8.9},message:"must be <= 8.9"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}else {if(data13 < 7 || isNaN(data13)){const err21 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 7},message:"must be >= 7"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}else {let res2;if((0.1 === 0 || (res2 = data13/0.1, res2 !== parseInt(res2)))){const err22 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}}else {const err23 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}var valid18 = _errs45 === errors;}else {var valid18 = true;}if(valid18){if(data6.baseSeverity !== undefined){const _errs48 = errors;if("HIGH" !== data6.baseSeverity){const err24 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType/const",keyword:"const",params:{allowedValue: "HIGH"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}var valid18 = _errs48 === errors;}else {var valid18 = true;}}}var _valid1 = _errs44 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs50 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data15 = data6.baseScore;const _errs51 = errors;const _errs52 = errors;if(errors === _errs52){if((typeof data15 == "number") && (isFinite(data15))){if(data15 > 10 || isNaN(data15)){const err25 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}else {if(data15 < 9 || isNaN(data15)){const err26 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 9},message:"must be >= 9"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}else {let res3;if((0.1 === 0 || (res3 = data15/0.1, res3 !== parseInt(res3)))){const err27 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}}else {const err28 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid21 = _errs51 === errors;}else {var valid21 = true;}if(valid21){if(data6.baseSeverity !== undefined){const _errs54 = errors;if("CRITICAL" !== data6.baseSeverity){const err29 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType/const",keyword:"const",params:{allowedValue: "CRITICAL"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}var valid21 = _errs54 === errors;}else {var valid21 = true;}}}var _valid1 = _errs50 === errors;valid8 = valid8 || _valid1;}}}}if(!valid8){const err30 = {instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;validate36.errors = vErrors;return false;}else {errors = _errs25;if(vErrors !== null){if(_errs25){vErrors.length = _errs25;}else {vErrors = null;}}}var valid7 = _errs24 === errors;if(valid7){const _errs56 = errors;const _errs57 = errors;let valid24 = false;const _errs58 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data17 = data6.threatScore;const _errs59 = errors;const _errs60 = errors;if(errors === _errs60){if((typeof data17 == "number") && (isFinite(data17))){if(data17 > 0 || isNaN(data17)){const err31 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 0},message:"must be <= 0"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {if(data17 < 0 || isNaN(data17)){const err32 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}}else {const err33 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}var valid25 = _errs59 === errors;}else {var valid25 = true;}if(valid25){if(data6.threatSeverity !== undefined){const _errs62 = errors;if("NONE" !== data6.threatSeverity){const err34 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType/const",keyword:"const",params:{allowedValue: "NONE"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}var valid25 = _errs62 === errors;}else {var valid25 = true;}}}var _valid2 = _errs58 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs64 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data19 = data6.threatScore;const _errs65 = errors;const _errs66 = errors;if(errors === _errs66){if((typeof data19 == "number") && (isFinite(data19))){if(data19 > 3.9 || isNaN(data19)){const err35 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 3.9},message:"must be <= 3.9"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {if(data19 < 0.1 || isNaN(data19)){const err36 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.1},message:"must be >= 0.1"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}else {let res4;if((0.1 === 0 || (res4 = data19/0.1, res4 !== parseInt(res4)))){const err37 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}}else {const err38 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid28 = _errs65 === errors;}else {var valid28 = true;}if(valid28){if(data6.threatSeverity !== undefined){const _errs68 = errors;if("LOW" !== data6.threatSeverity){const err39 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType/const",keyword:"const",params:{allowedValue: "LOW"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}var valid28 = _errs68 === errors;}else {var valid28 = true;}}}var _valid2 = _errs64 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs70 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data21 = data6.threatScore;const _errs71 = errors;const _errs72 = errors;if(errors === _errs72){if((typeof data21 == "number") && (isFinite(data21))){if(data21 > 6.9 || isNaN(data21)){const err40 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6.9},message:"must be <= 6.9"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}else {if(data21 < 4 || isNaN(data21)){const err41 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 4},message:"must be >= 4"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}else {let res5;if((0.1 === 0 || (res5 = data21/0.1, res5 !== parseInt(res5)))){const err42 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}}}else {const err43 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}var valid31 = _errs71 === errors;}else {var valid31 = true;}if(valid31){if(data6.threatSeverity !== undefined){const _errs74 = errors;if("MEDIUM" !== data6.threatSeverity){const err44 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType/const",keyword:"const",params:{allowedValue: "MEDIUM"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}var valid31 = _errs74 === errors;}else {var valid31 = true;}}}var _valid2 = _errs70 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs76 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data23 = data6.threatScore;const _errs77 = errors;const _errs78 = errors;if(errors === _errs78){if((typeof data23 == "number") && (isFinite(data23))){if(data23 > 8.9 || isNaN(data23)){const err45 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 8.9},message:"must be <= 8.9"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}else {if(data23 < 7 || isNaN(data23)){const err46 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 7},message:"must be >= 7"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}else {let res6;if((0.1 === 0 || (res6 = data23/0.1, res6 !== parseInt(res6)))){const err47 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}}}else {const err48 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}var valid34 = _errs77 === errors;}else {var valid34 = true;}if(valid34){if(data6.threatSeverity !== undefined){const _errs80 = errors;if("HIGH" !== data6.threatSeverity){const err49 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType/const",keyword:"const",params:{allowedValue: "HIGH"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}var valid34 = _errs80 === errors;}else {var valid34 = true;}}}var _valid2 = _errs76 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs82 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data25 = data6.threatScore;const _errs83 = errors;const _errs84 = errors;if(errors === _errs84){if((typeof data25 == "number") && (isFinite(data25))){if(data25 > 10 || isNaN(data25)){const err50 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}else {if(data25 < 9 || isNaN(data25)){const err51 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 9},message:"must be >= 9"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}else {let res7;if((0.1 === 0 || (res7 = data25/0.1, res7 !== parseInt(res7)))){const err52 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}}}else {const err53 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}var valid37 = _errs83 === errors;}else {var valid37 = true;}if(valid37){if(data6.threatSeverity !== undefined){const _errs86 = errors;if("CRITICAL" !== data6.threatSeverity){const err54 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType/const",keyword:"const",params:{allowedValue: "CRITICAL"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}var valid37 = _errs86 === errors;}else {var valid37 = true;}}}var _valid2 = _errs82 === errors;valid24 = valid24 || _valid2;}}}}if(!valid24){const err55 = {instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/allOf/1/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;validate36.errors = vErrors;return false;}else {errors = _errs57;if(vErrors !== null){if(_errs57){vErrors.length = _errs57;}else {vErrors = null;}}}var valid7 = _errs56 === errors;if(valid7){const _errs88 = errors;const _errs89 = errors;let valid40 = false;const _errs90 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data27 = data6.environmentalScore;const _errs91 = errors;const _errs92 = errors;if(errors === _errs92){if((typeof data27 == "number") && (isFinite(data27))){if(data27 > 0 || isNaN(data27)){const err56 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 0},message:"must be <= 0"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}else {if(data27 < 0 || isNaN(data27)){const err57 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}}else {const err58 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}var valid41 = _errs91 === errors;}else {var valid41 = true;}if(valid41){if(data6.environmentalSeverity !== undefined){const _errs94 = errors;if("NONE" !== data6.environmentalSeverity){const err59 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType/const",keyword:"const",params:{allowedValue: "NONE"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}var valid41 = _errs94 === errors;}else {var valid41 = true;}}}var _valid3 = _errs90 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs96 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data29 = data6.environmentalScore;const _errs97 = errors;const _errs98 = errors;if(errors === _errs98){if((typeof data29 == "number") && (isFinite(data29))){if(data29 > 3.9 || isNaN(data29)){const err60 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 3.9},message:"must be <= 3.9"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}else {if(data29 < 0.1 || isNaN(data29)){const err61 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.1},message:"must be >= 0.1"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}else {let res8;if((0.1 === 0 || (res8 = data29/0.1, res8 !== parseInt(res8)))){const err62 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}}}else {const err63 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}var valid44 = _errs97 === errors;}else {var valid44 = true;}if(valid44){if(data6.environmentalSeverity !== undefined){const _errs100 = errors;if("LOW" !== data6.environmentalSeverity){const err64 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType/const",keyword:"const",params:{allowedValue: "LOW"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}var valid44 = _errs100 === errors;}else {var valid44 = true;}}}var _valid3 = _errs96 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs102 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data31 = data6.environmentalScore;const _errs103 = errors;const _errs104 = errors;if(errors === _errs104){if((typeof data31 == "number") && (isFinite(data31))){if(data31 > 6.9 || isNaN(data31)){const err65 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6.9},message:"must be <= 6.9"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}else {if(data31 < 4 || isNaN(data31)){const err66 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 4},message:"must be >= 4"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}else {let res9;if((0.1 === 0 || (res9 = data31/0.1, res9 !== parseInt(res9)))){const err67 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}}}else {const err68 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}var valid47 = _errs103 === errors;}else {var valid47 = true;}if(valid47){if(data6.environmentalSeverity !== undefined){const _errs106 = errors;if("MEDIUM" !== data6.environmentalSeverity){const err69 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType/const",keyword:"const",params:{allowedValue: "MEDIUM"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}var valid47 = _errs106 === errors;}else {var valid47 = true;}}}var _valid3 = _errs102 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs108 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data33 = data6.environmentalScore;const _errs109 = errors;const _errs110 = errors;if(errors === _errs110){if((typeof data33 == "number") && (isFinite(data33))){if(data33 > 8.9 || isNaN(data33)){const err70 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 8.9},message:"must be <= 8.9"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}else {if(data33 < 7 || isNaN(data33)){const err71 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 7},message:"must be >= 7"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}else {let res10;if((0.1 === 0 || (res10 = data33/0.1, res10 !== parseInt(res10)))){const err72 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}}else {const err73 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}var valid50 = _errs109 === errors;}else {var valid50 = true;}if(valid50){if(data6.environmentalSeverity !== undefined){const _errs112 = errors;if("HIGH" !== data6.environmentalSeverity){const err74 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType/const",keyword:"const",params:{allowedValue: "HIGH"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}var valid50 = _errs112 === errors;}else {var valid50 = true;}}}var _valid3 = _errs108 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs114 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data35 = data6.environmentalScore;const _errs115 = errors;const _errs116 = errors;if(errors === _errs116){if((typeof data35 == "number") && (isFinite(data35))){if(data35 > 10 || isNaN(data35)){const err75 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}else {if(data35 < 9 || isNaN(data35)){const err76 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 9},message:"must be >= 9"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}else {let res11;if((0.1 === 0 || (res11 = data35/0.1, res11 !== parseInt(res11)))){const err77 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}}else {const err78 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}var valid53 = _errs115 === errors;}else {var valid53 = true;}if(valid53){if(data6.environmentalSeverity !== undefined){const _errs118 = errors;if("CRITICAL" !== data6.environmentalSeverity){const err79 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType/const",keyword:"const",params:{allowedValue: "CRITICAL"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}var valid53 = _errs118 === errors;}else {var valid53 = true;}}}var _valid3 = _errs114 === errors;valid40 = valid40 || _valid3;}}}}if(!valid40){const err80 = {instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/allOf/2/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;validate36.errors = vErrors;return false;}else {errors = _errs89;if(vErrors !== null){if(_errs89){vErrors.length = _errs89;}else {vErrors = null;}}}var valid7 = _errs88 === errors;}}if(errors === _errs22){if(data6 && typeof data6 == "object" && !Array.isArray(data6)){let missing6;if(((((data6.version === undefined) && (missing6 = "version")) || ((data6.vectorString === undefined) && (missing6 = "vectorString"))) || ((data6.baseScore === undefined) && (missing6 = "baseScore"))) || ((data6.baseSeverity === undefined) && (missing6 = "baseSeverity"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"}];return false;}else {if(data6.version !== undefined){let data37 = data6.version;const _errs120 = errors;if(typeof data37 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/version",schemaPath:"#/items/properties/cvssV4_0/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data37 === "4.0")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/version",schemaPath:"#/items/properties/cvssV4_0/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV4_0.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs120 === errors;}else {var valid56 = true;}if(valid56){if(data6.vectorString !== undefined){let data38 = data6.vectorString;const _errs122 = errors;if(errors === _errs122){if(typeof data38 === "string"){if(!pattern19.test(data38)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vectorString",schemaPath:"#/items/properties/cvssV4_0/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"},message:"must match pattern \""+"^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vectorString",schemaPath:"#/items/properties/cvssV4_0/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid56 = _errs122 === errors;}else {var valid56 = true;}if(valid56){if(data6.attackVector !== undefined){let data39 = data6.attackVector;const _errs124 = errors;if(typeof data39 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data39 === "NETWORK") || (data39 === "ADJACENT")) || (data39 === "LOCAL")) || (data39 === "PHYSICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType/enum",keyword:"enum",params:{allowedValues: schema84.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs124 === errors;}else {var valid56 = true;}if(valid56){if(data6.attackComplexity !== undefined){let data40 = data6.attackComplexity;const _errs127 = errors;if(typeof data40 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data40 === "HIGH") || (data40 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType/enum",keyword:"enum",params:{allowedValues: schema85.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs127 === errors;}else {var valid56 = true;}if(valid56){if(data6.attackRequirements !== undefined){let data41 = data6.attackRequirements;const _errs130 = errors;if(typeof data41 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data41 === "NONE") || (data41 === "PRESENT"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType/enum",keyword:"enum",params:{allowedValues: schema86.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs130 === errors;}else {var valid56 = true;}if(valid56){if(data6.privilegesRequired !== undefined){let data42 = data6.privilegesRequired;const _errs133 = errors;if(typeof data42 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data42 === "HIGH") || (data42 === "LOW")) || (data42 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema87.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs133 === errors;}else {var valid56 = true;}if(valid56){if(data6.userInteraction !== undefined){let data43 = data6.userInteraction;const _errs136 = errors;if(typeof data43 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data43 === "NONE") || (data43 === "PASSIVE")) || (data43 === "ACTIVE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType/enum",keyword:"enum",params:{allowedValues: schema88.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs136 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnConfidentialityImpact !== undefined){let data44 = data6.vulnConfidentialityImpact;const _errs139 = errors;if(typeof data44 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data44 === "NONE") || (data44 === "LOW")) || (data44 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/enum",keyword:"enum",params:{allowedValues: schema89.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs139 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnIntegrityImpact !== undefined){let data45 = data6.vulnIntegrityImpact;const _errs142 = errors;if(typeof data45 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data45 === "NONE") || (data45 === "LOW")) || (data45 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/enum",keyword:"enum",params:{allowedValues: schema89.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs142 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnAvailabilityImpact !== undefined){let data46 = data6.vulnAvailabilityImpact;const _errs145 = errors;if(typeof data46 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data46 === "NONE") || (data46 === "LOW")) || (data46 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/enum",keyword:"enum",params:{allowedValues: schema89.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs145 === errors;}else {var valid56 = true;}if(valid56){if(data6.subConfidentialityImpact !== undefined){let data47 = data6.subConfidentialityImpact;const _errs148 = errors;if(typeof data47 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data47 === "NONE") || (data47 === "LOW")) || (data47 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/enum",keyword:"enum",params:{allowedValues: schema92.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs148 === errors;}else {var valid56 = true;}if(valid56){if(data6.subIntegrityImpact !== undefined){let data48 = data6.subIntegrityImpact;const _errs151 = errors;if(typeof data48 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data48 === "NONE") || (data48 === "LOW")) || (data48 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/enum",keyword:"enum",params:{allowedValues: schema92.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs151 === errors;}else {var valid56 = true;}if(valid56){if(data6.subAvailabilityImpact !== undefined){let data49 = data6.subAvailabilityImpact;const _errs154 = errors;if(typeof data49 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data49 === "NONE") || (data49 === "LOW")) || (data49 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/enum",keyword:"enum",params:{allowedValues: schema92.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs154 === errors;}else {var valid56 = true;}if(valid56){if(data6.exploitMaturity !== undefined){let data50 = data6.exploitMaturity;const _errs157 = errors;if(typeof data50 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/exploitMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data50 === "UNREPORTED") || (data50 === "PROOF_OF_CONCEPT")) || (data50 === "ATTACKED")) || (data50 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/exploitMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType/enum",keyword:"enum",params:{allowedValues: schema95.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs157 === errors;}else {var valid56 = true;}if(valid56){if(data6.confidentialityRequirement !== undefined){let data51 = data6.confidentialityRequirement;const _errs160 = errors;if(typeof data51 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data51 === "LOW") || (data51 === "MEDIUM")) || (data51 === "HIGH")) || (data51 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema96.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs160 === errors;}else {var valid56 = true;}if(valid56){if(data6.integrityRequirement !== undefined){let data52 = data6.integrityRequirement;const _errs163 = errors;if(typeof data52 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data52 === "LOW") || (data52 === "MEDIUM")) || (data52 === "HIGH")) || (data52 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema96.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs163 === errors;}else {var valid56 = true;}if(valid56){if(data6.availabilityRequirement !== undefined){let data53 = data6.availabilityRequirement;const _errs166 = errors;if(typeof data53 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data53 === "LOW") || (data53 === "MEDIUM")) || (data53 === "HIGH")) || (data53 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema96.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs166 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedAttackVector !== undefined){let data54 = data6.modifiedAttackVector;const _errs169 = errors;if(typeof data54 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data54 === "NETWORK") || (data54 === "ADJACENT")) || (data54 === "LOCAL")) || (data54 === "PHYSICAL")) || (data54 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType/enum",keyword:"enum",params:{allowedValues: schema99.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs169 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedAttackComplexity !== undefined){let data55 = data6.modifiedAttackComplexity;const _errs172 = errors;if(typeof data55 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data55 === "HIGH") || (data55 === "LOW")) || (data55 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType/enum",keyword:"enum",params:{allowedValues: schema100.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs172 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedAttackRequirements !== undefined){let data56 = data6.modifiedAttackRequirements;const _errs175 = errors;if(typeof data56 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data56 === "NONE") || (data56 === "PRESENT")) || (data56 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType/enum",keyword:"enum",params:{allowedValues: schema101.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs175 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedPrivilegesRequired !== undefined){let data57 = data6.modifiedPrivilegesRequired;const _errs178 = errors;if(typeof data57 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data57 === "HIGH") || (data57 === "LOW")) || (data57 === "NONE")) || (data57 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema102.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs178 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedUserInteraction !== undefined){let data58 = data6.modifiedUserInteraction;const _errs181 = errors;if(typeof data58 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data58 === "NONE") || (data58 === "PASSIVE")) || (data58 === "ACTIVE")) || (data58 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType/enum",keyword:"enum",params:{allowedValues: schema103.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs181 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedVulnConfidentialityImpact !== undefined){let data59 = data6.modifiedVulnConfidentialityImpact;const _errs184 = errors;if(typeof data59 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data59 === "NONE") || (data59 === "LOW")) || (data59 === "HIGH")) || (data59 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/enum",keyword:"enum",params:{allowedValues: schema104.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs184 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedVulnIntegrityImpact !== undefined){let data60 = data6.modifiedVulnIntegrityImpact;const _errs187 = errors;if(typeof data60 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data60 === "NONE") || (data60 === "LOW")) || (data60 === "HIGH")) || (data60 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/enum",keyword:"enum",params:{allowedValues: schema104.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs187 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedVulnAvailabilityImpact !== undefined){let data61 = data6.modifiedVulnAvailabilityImpact;const _errs190 = errors;if(typeof data61 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data61 === "NONE") || (data61 === "LOW")) || (data61 === "HIGH")) || (data61 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/enum",keyword:"enum",params:{allowedValues: schema104.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs190 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedSubConfidentialityImpact !== undefined){let data62 = data6.modifiedSubConfidentialityImpact;const _errs193 = errors;if(typeof data62 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data62 === "NONE") || (data62 === "LOW")) || (data62 === "HIGH")) || (data62 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType/enum",keyword:"enum",params:{allowedValues: schema107.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs193 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedSubIntegrityImpact !== undefined){let data63 = data6.modifiedSubIntegrityImpact;const _errs196 = errors;if(typeof data63 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data63 === "NONE") || (data63 === "LOW")) || (data63 === "HIGH")) || (data63 === "SAFETY")) || (data63 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/enum",keyword:"enum",params:{allowedValues: schema108.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs196 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedSubAvailabilityImpact !== undefined){let data64 = data6.modifiedSubAvailabilityImpact;const _errs199 = errors;if(typeof data64 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data64 === "NONE") || (data64 === "LOW")) || (data64 === "HIGH")) || (data64 === "SAFETY")) || (data64 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/enum",keyword:"enum",params:{allowedValues: schema108.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs199 === errors;}else {var valid56 = true;}if(valid56){if(data6.Safety !== undefined){let data65 = data6.Safety;const _errs202 = errors;if(typeof data65 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Safety",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data65 === "NEGLIGIBLE") || (data65 === "PRESENT")) || (data65 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Safety",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType/enum",keyword:"enum",params:{allowedValues: schema110.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs202 === errors;}else {var valid56 = true;}if(valid56){if(data6.Automatable !== undefined){let data66 = data6.Automatable;const _errs205 = errors;if(typeof data66 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Automatable",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data66 === "NO") || (data66 === "YES")) || (data66 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Automatable",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType/enum",keyword:"enum",params:{allowedValues: schema111.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs205 === errors;}else {var valid56 = true;}if(valid56){if(data6.Recovery !== undefined){let data67 = data6.Recovery;const _errs208 = errors;if(typeof data67 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Recovery",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data67 === "AUTOMATIC") || (data67 === "USER")) || (data67 === "IRRECOVERABLE")) || (data67 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Recovery",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType/enum",keyword:"enum",params:{allowedValues: schema112.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs208 === errors;}else {var valid56 = true;}if(valid56){if(data6.valueDensity !== undefined){let data68 = data6.valueDensity;const _errs211 = errors;if(typeof data68 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/valueDensity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data68 === "DIFFUSE") || (data68 === "CONCENTRATED")) || (data68 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/valueDensity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType/enum",keyword:"enum",params:{allowedValues: schema113.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs211 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnerabilityResponseEffort !== undefined){let data69 = data6.vulnerabilityResponseEffort;const _errs214 = errors;if(typeof data69 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnerabilityResponseEffort",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data69 === "LOW") || (data69 === "MODERATE")) || (data69 === "HIGH")) || (data69 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnerabilityResponseEffort",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType/enum",keyword:"enum",params:{allowedValues: schema114.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs214 === errors;}else {var valid56 = true;}if(valid56){if(data6.providerUrgency !== undefined){let data70 = data6.providerUrgency;const _errs217 = errors;if(typeof data70 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/providerUrgency",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data70 === "CLEAR") || (data70 === "GREEN")) || (data70 === "AMBER")) || (data70 === "RED")) || (data70 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/providerUrgency",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType/enum",keyword:"enum",params:{allowedValues: schema115.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs217 === errors;}else {var valid56 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV3_1 !== undefined){let data71 = data0.cvssV3_1;const _errs220 = errors;if(errors === _errs220){if(data71 && typeof data71 == "object" && !Array.isArray(data71)){let missing7;if(((((data71.version === undefined) && (missing7 = "version")) || ((data71.vectorString === undefined) && (missing7 = "vectorString"))) || ((data71.baseScore === undefined) && (missing7 = "baseScore"))) || ((data71.baseSeverity === undefined) && (missing7 = "baseSeverity"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1",schemaPath:"#/items/properties/cvssV3_1/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"}];return false;}else {const _errs222 = errors;for(const key2 in data71){if(!(func6.call(schema52.items.properties.cvssV3_1.properties, key2))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1",schemaPath:"#/items/properties/cvssV3_1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"}];return false;break;}}if(_errs222 === errors){if(data71.version !== undefined){let data72 = data71.version;const _errs223 = errors;if(typeof data72 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/version",schemaPath:"#/items/properties/cvssV3_1/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data72 === "3.1")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/version",schemaPath:"#/items/properties/cvssV3_1/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV3_1.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs223 === errors;}else {var valid89 = true;}if(valid89){if(data71.vectorString !== undefined){let data73 = data71.vectorString;const _errs225 = errors;if(errors === _errs225){if(typeof data73 === "string"){if(!pattern20.test(data73)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/vectorString",schemaPath:"#/items/properties/cvssV3_1/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},message:"must match pattern \""+"^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/vectorString",schemaPath:"#/items/properties/cvssV3_1/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid89 = _errs225 === errors;}else {var valid89 = true;}if(valid89){if(data71.attackVector !== undefined){let data74 = data71.attackVector;const _errs227 = errors;if(typeof data74 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data74 === "NETWORK") || (data74 === "ADJACENT_NETWORK")) || (data74 === "LOCAL")) || (data74 === "PHYSICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType/enum",keyword:"enum",params:{allowedValues: schema116.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs227 === errors;}else {var valid89 = true;}if(valid89){if(data71.attackComplexity !== undefined){let data75 = data71.attackComplexity;const _errs230 = errors;if(typeof data75 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data75 === "HIGH") || (data75 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType/enum",keyword:"enum",params:{allowedValues: schema117.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs230 === errors;}else {var valid89 = true;}if(valid89){if(data71.privilegesRequired !== undefined){let data76 = data71.privilegesRequired;const _errs233 = errors;if(typeof data76 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data76 === "HIGH") || (data76 === "LOW")) || (data76 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema118.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs233 === errors;}else {var valid89 = true;}if(valid89){if(data71.userInteraction !== undefined){let data77 = data71.userInteraction;const _errs236 = errors;if(typeof data77 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data77 === "NONE") || (data77 === "REQUIRED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType/enum",keyword:"enum",params:{allowedValues: schema119.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs236 === errors;}else {var valid89 = true;}if(valid89){if(data71.scope !== undefined){let data78 = data71.scope;const _errs239 = errors;if(typeof data78 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data78 === "UNCHANGED") || (data78 === "CHANGED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType/enum",keyword:"enum",params:{allowedValues: schema120.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs239 === errors;}else {var valid89 = true;}if(valid89){if(data71.confidentialityImpact !== undefined){let data79 = data71.confidentialityImpact;const _errs242 = errors;if(typeof data79 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data79 === "NONE") || (data79 === "LOW")) || (data79 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema121.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs242 === errors;}else {var valid89 = true;}if(valid89){if(data71.integrityImpact !== undefined){let data80 = data71.integrityImpact;const _errs245 = errors;if(typeof data80 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data80 === "NONE") || (data80 === "LOW")) || (data80 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema121.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs245 === errors;}else {var valid89 = true;}if(valid89){if(data71.availabilityImpact !== undefined){let data81 = data71.availabilityImpact;const _errs248 = errors;if(typeof data81 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data81 === "NONE") || (data81 === "LOW")) || (data81 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema121.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs248 === errors;}else {var valid89 = true;}if(valid89){if(data71.baseScore !== undefined){let data82 = data71.baseScore;const _errs251 = errors;const _errs252 = errors;if(errors === _errs252){if((typeof data82 == "number") && (isFinite(data82))){if(data82 > 10 || isNaN(data82)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data82 < 0 || isNaN(data82)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid89 = _errs251 === errors;}else {var valid89 = true;}if(valid89){if(data71.baseSeverity !== undefined){let data83 = data71.baseSeverity;const _errs254 = errors;if(typeof data83 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data83 === "NONE") || (data83 === "LOW")) || (data83 === "MEDIUM")) || (data83 === "HIGH")) || (data83 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema125.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs254 === errors;}else {var valid89 = true;}if(valid89){if(data71.exploitCodeMaturity !== undefined){let data84 = data71.exploitCodeMaturity;const _errs257 = errors;if(typeof data84 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data84 === "UNPROVEN") || (data84 === "PROOF_OF_CONCEPT")) || (data84 === "FUNCTIONAL")) || (data84 === "HIGH")) || (data84 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType/enum",keyword:"enum",params:{allowedValues: schema126.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs257 === errors;}else {var valid89 = true;}if(valid89){if(data71.remediationLevel !== undefined){let data85 = data71.remediationLevel;const _errs260 = errors;if(typeof data85 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data85 === "OFFICIAL_FIX") || (data85 === "TEMPORARY_FIX")) || (data85 === "WORKAROUND")) || (data85 === "UNAVAILABLE")) || (data85 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs260 === errors;}else {var valid89 = true;}if(valid89){if(data71.reportConfidence !== undefined){let data86 = data71.reportConfidence;const _errs263 = errors;if(typeof data86 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data86 === "UNKNOWN") || (data86 === "REASONABLE")) || (data86 === "CONFIRMED")) || (data86 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType/enum",keyword:"enum",params:{allowedValues: schema128.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs263 === errors;}else {var valid89 = true;}if(valid89){if(data71.temporalScore !== undefined){let data87 = data71.temporalScore;const _errs266 = errors;const _errs267 = errors;if(errors === _errs267){if((typeof data87 == "number") && (isFinite(data87))){if(data87 > 10 || isNaN(data87)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data87 < 0 || isNaN(data87)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid89 = _errs266 === errors;}else {var valid89 = true;}if(valid89){if(data71.temporalSeverity !== undefined){let data88 = data71.temporalSeverity;const _errs269 = errors;if(typeof data88 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data88 === "NONE") || (data88 === "LOW")) || (data88 === "MEDIUM")) || (data88 === "HIGH")) || (data88 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema125.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs269 === errors;}else {var valid89 = true;}if(valid89){if(data71.confidentialityRequirement !== undefined){let data89 = data71.confidentialityRequirement;const _errs272 = errors;if(typeof data89 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data89 === "LOW") || (data89 === "MEDIUM")) || (data89 === "HIGH")) || (data89 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema131.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs272 === errors;}else {var valid89 = true;}if(valid89){if(data71.integrityRequirement !== undefined){let data90 = data71.integrityRequirement;const _errs275 = errors;if(typeof data90 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data90 === "LOW") || (data90 === "MEDIUM")) || (data90 === "HIGH")) || (data90 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema131.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs275 === errors;}else {var valid89 = true;}if(valid89){if(data71.availabilityRequirement !== undefined){let data91 = data71.availabilityRequirement;const _errs278 = errors;if(typeof data91 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data91 === "LOW") || (data91 === "MEDIUM")) || (data91 === "HIGH")) || (data91 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema131.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs278 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedAttackVector !== undefined){let data92 = data71.modifiedAttackVector;const _errs281 = errors;if(typeof data92 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data92 === "NETWORK") || (data92 === "ADJACENT_NETWORK")) || (data92 === "LOCAL")) || (data92 === "PHYSICAL")) || (data92 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType/enum",keyword:"enum",params:{allowedValues: schema134.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs281 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedAttackComplexity !== undefined){let data93 = data71.modifiedAttackComplexity;const _errs284 = errors;if(typeof data93 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data93 === "HIGH") || (data93 === "LOW")) || (data93 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType/enum",keyword:"enum",params:{allowedValues: schema135.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs284 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedPrivilegesRequired !== undefined){let data94 = data71.modifiedPrivilegesRequired;const _errs287 = errors;if(typeof data94 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data94 === "HIGH") || (data94 === "LOW")) || (data94 === "NONE")) || (data94 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema136.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs287 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedUserInteraction !== undefined){let data95 = data71.modifiedUserInteraction;const _errs290 = errors;if(typeof data95 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data95 === "NONE") || (data95 === "REQUIRED")) || (data95 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType/enum",keyword:"enum",params:{allowedValues: schema137.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs290 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedScope !== undefined){let data96 = data71.modifiedScope;const _errs293 = errors;if(typeof data96 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data96 === "UNCHANGED") || (data96 === "CHANGED")) || (data96 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType/enum",keyword:"enum",params:{allowedValues: schema138.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs293 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedConfidentialityImpact !== undefined){let data97 = data71.modifiedConfidentialityImpact;const _errs296 = errors;if(typeof data97 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data97 === "NONE") || (data97 === "LOW")) || (data97 === "HIGH")) || (data97 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema139.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs296 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedIntegrityImpact !== undefined){let data98 = data71.modifiedIntegrityImpact;const _errs299 = errors;if(typeof data98 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data98 === "NONE") || (data98 === "LOW")) || (data98 === "HIGH")) || (data98 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema139.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs299 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedAvailabilityImpact !== undefined){let data99 = data71.modifiedAvailabilityImpact;const _errs302 = errors;if(typeof data99 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data99 === "NONE") || (data99 === "LOW")) || (data99 === "HIGH")) || (data99 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema139.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs302 === errors;}else {var valid89 = true;}if(valid89){if(data71.environmentalScore !== undefined){let data100 = data71.environmentalScore;const _errs305 = errors;const _errs306 = errors;if(errors === _errs306){if((typeof data100 == "number") && (isFinite(data100))){if(data100 > 10 || isNaN(data100)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data100 < 0 || isNaN(data100)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid89 = _errs305 === errors;}else {var valid89 = true;}if(valid89){if(data71.environmentalSeverity !== undefined){let data101 = data71.environmentalSeverity;const _errs308 = errors;if(typeof data101 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data101 === "NONE") || (data101 === "LOW")) || (data101 === "MEDIUM")) || (data101 === "HIGH")) || (data101 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema125.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs308 === errors;}else {var valid89 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1",schemaPath:"#/items/properties/cvssV3_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs220 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV3_0 !== undefined){let data102 = data0.cvssV3_0;const _errs311 = errors;if(errors === _errs311){if(data102 && typeof data102 == "object" && !Array.isArray(data102)){let missing8;if(((((data102.version === undefined) && (missing8 = "version")) || ((data102.vectorString === undefined) && (missing8 = "vectorString"))) || ((data102.baseScore === undefined) && (missing8 = "baseScore"))) || ((data102.baseSeverity === undefined) && (missing8 = "baseSeverity"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0",schemaPath:"#/items/properties/cvssV3_0/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"}];return false;}else {const _errs313 = errors;for(const key3 in data102){if(!(func6.call(schema52.items.properties.cvssV3_0.properties, key3))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0",schemaPath:"#/items/properties/cvssV3_0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"}];return false;break;}}if(_errs313 === errors){if(data102.version !== undefined){let data103 = data102.version;const _errs314 = errors;if(typeof data103 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/version",schemaPath:"#/items/properties/cvssV3_0/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data103 === "3.0")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/version",schemaPath:"#/items/properties/cvssV3_0/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV3_0.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs314 === errors;}else {var valid118 = true;}if(valid118){if(data102.vectorString !== undefined){let data104 = data102.vectorString;const _errs316 = errors;if(errors === _errs316){if(typeof data104 === "string"){if(!pattern21.test(data104)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/vectorString",schemaPath:"#/items/properties/cvssV3_0/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},message:"must match pattern \""+"^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/vectorString",schemaPath:"#/items/properties/cvssV3_0/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid118 = _errs316 === errors;}else {var valid118 = true;}if(valid118){if(data102.attackVector !== undefined){let data105 = data102.attackVector;const _errs318 = errors;if(typeof data105 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data105 === "NETWORK") || (data105 === "ADJACENT_NETWORK")) || (data105 === "LOCAL")) || (data105 === "PHYSICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType/enum",keyword:"enum",params:{allowedValues: schema144.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs318 === errors;}else {var valid118 = true;}if(valid118){if(data102.attackComplexity !== undefined){let data106 = data102.attackComplexity;const _errs321 = errors;if(typeof data106 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data106 === "HIGH") || (data106 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType/enum",keyword:"enum",params:{allowedValues: schema145.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs321 === errors;}else {var valid118 = true;}if(valid118){if(data102.privilegesRequired !== undefined){let data107 = data102.privilegesRequired;const _errs324 = errors;if(typeof data107 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data107 === "HIGH") || (data107 === "LOW")) || (data107 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema146.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs324 === errors;}else {var valid118 = true;}if(valid118){if(data102.userInteraction !== undefined){let data108 = data102.userInteraction;const _errs327 = errors;if(typeof data108 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data108 === "NONE") || (data108 === "REQUIRED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType/enum",keyword:"enum",params:{allowedValues: schema147.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs327 === errors;}else {var valid118 = true;}if(valid118){if(data102.scope !== undefined){let data109 = data102.scope;const _errs330 = errors;if(typeof data109 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data109 === "UNCHANGED") || (data109 === "CHANGED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType/enum",keyword:"enum",params:{allowedValues: schema148.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs330 === errors;}else {var valid118 = true;}if(valid118){if(data102.confidentialityImpact !== undefined){let data110 = data102.confidentialityImpact;const _errs333 = errors;if(typeof data110 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data110 === "NONE") || (data110 === "LOW")) || (data110 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema149.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs333 === errors;}else {var valid118 = true;}if(valid118){if(data102.integrityImpact !== undefined){let data111 = data102.integrityImpact;const _errs336 = errors;if(typeof data111 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data111 === "NONE") || (data111 === "LOW")) || (data111 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema149.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs336 === errors;}else {var valid118 = true;}if(valid118){if(data102.availabilityImpact !== undefined){let data112 = data102.availabilityImpact;const _errs339 = errors;if(typeof data112 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data112 === "NONE") || (data112 === "LOW")) || (data112 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema149.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs339 === errors;}else {var valid118 = true;}if(valid118){if(data102.baseScore !== undefined){let data113 = data102.baseScore;const _errs342 = errors;const _errs343 = errors;if(errors === _errs343){if((typeof data113 == "number") && (isFinite(data113))){if(data113 > 10 || isNaN(data113)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data113 < 0 || isNaN(data113)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid118 = _errs342 === errors;}else {var valid118 = true;}if(valid118){if(data102.baseSeverity !== undefined){let data114 = data102.baseSeverity;const _errs345 = errors;if(typeof data114 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data114 === "NONE") || (data114 === "LOW")) || (data114 === "MEDIUM")) || (data114 === "HIGH")) || (data114 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema153.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs345 === errors;}else {var valid118 = true;}if(valid118){if(data102.exploitCodeMaturity !== undefined){let data115 = data102.exploitCodeMaturity;const _errs348 = errors;if(typeof data115 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data115 === "UNPROVEN") || (data115 === "PROOF_OF_CONCEPT")) || (data115 === "FUNCTIONAL")) || (data115 === "HIGH")) || (data115 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType/enum",keyword:"enum",params:{allowedValues: schema154.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs348 === errors;}else {var valid118 = true;}if(valid118){if(data102.remediationLevel !== undefined){let data116 = data102.remediationLevel;const _errs351 = errors;if(typeof data116 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data116 === "OFFICIAL_FIX") || (data116 === "TEMPORARY_FIX")) || (data116 === "WORKAROUND")) || (data116 === "UNAVAILABLE")) || (data116 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType/enum",keyword:"enum",params:{allowedValues: schema155.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs351 === errors;}else {var valid118 = true;}if(valid118){if(data102.reportConfidence !== undefined){let data117 = data102.reportConfidence;const _errs354 = errors;if(typeof data117 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data117 === "UNKNOWN") || (data117 === "REASONABLE")) || (data117 === "CONFIRMED")) || (data117 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType/enum",keyword:"enum",params:{allowedValues: schema156.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs354 === errors;}else {var valid118 = true;}if(valid118){if(data102.temporalScore !== undefined){let data118 = data102.temporalScore;const _errs357 = errors;const _errs358 = errors;if(errors === _errs358){if((typeof data118 == "number") && (isFinite(data118))){if(data118 > 10 || isNaN(data118)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data118 < 0 || isNaN(data118)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid118 = _errs357 === errors;}else {var valid118 = true;}if(valid118){if(data102.temporalSeverity !== undefined){let data119 = data102.temporalSeverity;const _errs360 = errors;if(typeof data119 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data119 === "NONE") || (data119 === "LOW")) || (data119 === "MEDIUM")) || (data119 === "HIGH")) || (data119 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema153.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs360 === errors;}else {var valid118 = true;}if(valid118){if(data102.confidentialityRequirement !== undefined){let data120 = data102.confidentialityRequirement;const _errs363 = errors;if(typeof data120 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data120 === "LOW") || (data120 === "MEDIUM")) || (data120 === "HIGH")) || (data120 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema159.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs363 === errors;}else {var valid118 = true;}if(valid118){if(data102.integrityRequirement !== undefined){let data121 = data102.integrityRequirement;const _errs366 = errors;if(typeof data121 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data121 === "LOW") || (data121 === "MEDIUM")) || (data121 === "HIGH")) || (data121 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema159.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs366 === errors;}else {var valid118 = true;}if(valid118){if(data102.availabilityRequirement !== undefined){let data122 = data102.availabilityRequirement;const _errs369 = errors;if(typeof data122 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data122 === "LOW") || (data122 === "MEDIUM")) || (data122 === "HIGH")) || (data122 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema159.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs369 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedAttackVector !== undefined){let data123 = data102.modifiedAttackVector;const _errs372 = errors;if(typeof data123 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data123 === "NETWORK") || (data123 === "ADJACENT_NETWORK")) || (data123 === "LOCAL")) || (data123 === "PHYSICAL")) || (data123 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType/enum",keyword:"enum",params:{allowedValues: schema162.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs372 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedAttackComplexity !== undefined){let data124 = data102.modifiedAttackComplexity;const _errs375 = errors;if(typeof data124 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data124 === "HIGH") || (data124 === "LOW")) || (data124 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType/enum",keyword:"enum",params:{allowedValues: schema163.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs375 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedPrivilegesRequired !== undefined){let data125 = data102.modifiedPrivilegesRequired;const _errs378 = errors;if(typeof data125 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data125 === "HIGH") || (data125 === "LOW")) || (data125 === "NONE")) || (data125 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema164.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs378 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedUserInteraction !== undefined){let data126 = data102.modifiedUserInteraction;const _errs381 = errors;if(typeof data126 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data126 === "NONE") || (data126 === "REQUIRED")) || (data126 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType/enum",keyword:"enum",params:{allowedValues: schema165.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs381 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedScope !== undefined){let data127 = data102.modifiedScope;const _errs384 = errors;if(typeof data127 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data127 === "UNCHANGED") || (data127 === "CHANGED")) || (data127 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType/enum",keyword:"enum",params:{allowedValues: schema166.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs384 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedConfidentialityImpact !== undefined){let data128 = data102.modifiedConfidentialityImpact;const _errs387 = errors;if(typeof data128 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data128 === "NONE") || (data128 === "LOW")) || (data128 === "HIGH")) || (data128 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema167.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs387 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedIntegrityImpact !== undefined){let data129 = data102.modifiedIntegrityImpact;const _errs390 = errors;if(typeof data129 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data129 === "NONE") || (data129 === "LOW")) || (data129 === "HIGH")) || (data129 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema167.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs390 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedAvailabilityImpact !== undefined){let data130 = data102.modifiedAvailabilityImpact;const _errs393 = errors;if(typeof data130 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data130 === "NONE") || (data130 === "LOW")) || (data130 === "HIGH")) || (data130 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema167.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs393 === errors;}else {var valid118 = true;}if(valid118){if(data102.environmentalScore !== undefined){let data131 = data102.environmentalScore;const _errs396 = errors;const _errs397 = errors;if(errors === _errs397){if((typeof data131 == "number") && (isFinite(data131))){if(data131 > 10 || isNaN(data131)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data131 < 0 || isNaN(data131)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid118 = _errs396 === errors;}else {var valid118 = true;}if(valid118){if(data102.environmentalSeverity !== undefined){let data132 = data102.environmentalSeverity;const _errs399 = errors;if(typeof data132 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data132 === "NONE") || (data132 === "LOW")) || (data132 === "MEDIUM")) || (data132 === "HIGH")) || (data132 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema153.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs399 === errors;}else {var valid118 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0",schemaPath:"#/items/properties/cvssV3_0/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs311 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV2_0 !== undefined){let data133 = data0.cvssV2_0;const _errs402 = errors;if(errors === _errs402){if(data133 && typeof data133 == "object" && !Array.isArray(data133)){let missing9;if((((data133.version === undefined) && (missing9 = "version")) || ((data133.vectorString === undefined) && (missing9 = "vectorString"))) || ((data133.baseScore === undefined) && (missing9 = "baseScore"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0",schemaPath:"#/items/properties/cvssV2_0/required",keyword:"required",params:{missingProperty: missing9},message:"must have required property '"+missing9+"'"}];return false;}else {const _errs404 = errors;for(const key4 in data133){if(!(func6.call(schema52.items.properties.cvssV2_0.properties, key4))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0",schemaPath:"#/items/properties/cvssV2_0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"}];return false;break;}}if(_errs404 === errors){if(data133.version !== undefined){let data134 = data133.version;const _errs405 = errors;if(typeof data134 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/version",schemaPath:"#/items/properties/cvssV2_0/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data134 === "2.0")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/version",schemaPath:"#/items/properties/cvssV2_0/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV2_0.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs405 === errors;}else {var valid147 = true;}if(valid147){if(data133.vectorString !== undefined){let data135 = data133.vectorString;const _errs407 = errors;if(errors === _errs407){if(typeof data135 === "string"){if(!pattern22.test(data135)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/vectorString",schemaPath:"#/items/properties/cvssV2_0/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"},message:"must match pattern \""+"^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/vectorString",schemaPath:"#/items/properties/cvssV2_0/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid147 = _errs407 === errors;}else {var valid147 = true;}if(valid147){if(data133.accessVector !== undefined){let data136 = data133.accessVector;const _errs409 = errors;if(typeof data136 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessVector",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data136 === "NETWORK") || (data136 === "ADJACENT_NETWORK")) || (data136 === "LOCAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessVector",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType/enum",keyword:"enum",params:{allowedValues: schema172.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs409 === errors;}else {var valid147 = true;}if(valid147){if(data133.accessComplexity !== undefined){let data137 = data133.accessComplexity;const _errs412 = errors;if(typeof data137 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data137 === "HIGH") || (data137 === "MEDIUM")) || (data137 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType/enum",keyword:"enum",params:{allowedValues: schema173.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs412 === errors;}else {var valid147 = true;}if(valid147){if(data133.authentication !== undefined){let data138 = data133.authentication;const _errs415 = errors;if(typeof data138 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/authentication",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data138 === "MULTIPLE") || (data138 === "SINGLE")) || (data138 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/authentication",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType/enum",keyword:"enum",params:{allowedValues: schema174.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs415 === errors;}else {var valid147 = true;}if(valid147){if(data133.confidentialityImpact !== undefined){let data139 = data133.confidentialityImpact;const _errs418 = errors;if(typeof data139 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data139 === "NONE") || (data139 === "PARTIAL")) || (data139 === "COMPLETE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema175.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs418 === errors;}else {var valid147 = true;}if(valid147){if(data133.integrityImpact !== undefined){let data140 = data133.integrityImpact;const _errs421 = errors;if(typeof data140 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data140 === "NONE") || (data140 === "PARTIAL")) || (data140 === "COMPLETE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema175.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs421 === errors;}else {var valid147 = true;}if(valid147){if(data133.availabilityImpact !== undefined){let data141 = data133.availabilityImpact;const _errs424 = errors;if(typeof data141 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data141 === "NONE") || (data141 === "PARTIAL")) || (data141 === "COMPLETE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema175.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs424 === errors;}else {var valid147 = true;}if(valid147){if(data133.baseScore !== undefined){let data142 = data133.baseScore;const _errs427 = errors;const _errs428 = errors;if(errors === _errs428){if((typeof data142 == "number") && (isFinite(data142))){if(data142 > 10 || isNaN(data142)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data142 < 0 || isNaN(data142)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid147 = _errs427 === errors;}else {var valid147 = true;}if(valid147){if(data133.exploitability !== undefined){let data143 = data133.exploitability;const _errs430 = errors;if(typeof data143 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/exploitability",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data143 === "UNPROVEN") || (data143 === "PROOF_OF_CONCEPT")) || (data143 === "FUNCTIONAL")) || (data143 === "HIGH")) || (data143 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/exploitability",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType/enum",keyword:"enum",params:{allowedValues: schema179.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs430 === errors;}else {var valid147 = true;}if(valid147){if(data133.remediationLevel !== undefined){let data144 = data133.remediationLevel;const _errs433 = errors;if(typeof data144 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data144 === "OFFICIAL_FIX") || (data144 === "TEMPORARY_FIX")) || (data144 === "WORKAROUND")) || (data144 === "UNAVAILABLE")) || (data144 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType/enum",keyword:"enum",params:{allowedValues: schema180.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs433 === errors;}else {var valid147 = true;}if(valid147){if(data133.reportConfidence !== undefined){let data145 = data133.reportConfidence;const _errs436 = errors;if(typeof data145 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data145 === "UNCONFIRMED") || (data145 === "UNCORROBORATED")) || (data145 === "CONFIRMED")) || (data145 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType/enum",keyword:"enum",params:{allowedValues: schema181.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs436 === errors;}else {var valid147 = true;}if(valid147){if(data133.temporalScore !== undefined){let data146 = data133.temporalScore;const _errs439 = errors;const _errs440 = errors;if(errors === _errs440){if((typeof data146 == "number") && (isFinite(data146))){if(data146 > 10 || isNaN(data146)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data146 < 0 || isNaN(data146)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid147 = _errs439 === errors;}else {var valid147 = true;}if(valid147){if(data133.collateralDamagePotential !== undefined){let data147 = data133.collateralDamagePotential;const _errs442 = errors;if(typeof data147 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/collateralDamagePotential",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((data147 === "NONE") || (data147 === "LOW")) || (data147 === "LOW_MEDIUM")) || (data147 === "MEDIUM_HIGH")) || (data147 === "HIGH")) || (data147 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/collateralDamagePotential",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType/enum",keyword:"enum",params:{allowedValues: schema183.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs442 === errors;}else {var valid147 = true;}if(valid147){if(data133.targetDistribution !== undefined){let data148 = data133.targetDistribution;const _errs445 = errors;if(typeof data148 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/targetDistribution",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data148 === "NONE") || (data148 === "LOW")) || (data148 === "MEDIUM")) || (data148 === "HIGH")) || (data148 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/targetDistribution",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType/enum",keyword:"enum",params:{allowedValues: schema184.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs445 === errors;}else {var valid147 = true;}if(valid147){if(data133.confidentialityRequirement !== undefined){let data149 = data133.confidentialityRequirement;const _errs448 = errors;if(typeof data149 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data149 === "LOW") || (data149 === "MEDIUM")) || (data149 === "HIGH")) || (data149 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema185.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs448 === errors;}else {var valid147 = true;}if(valid147){if(data133.integrityRequirement !== undefined){let data150 = data133.integrityRequirement;const _errs451 = errors;if(typeof data150 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data150 === "LOW") || (data150 === "MEDIUM")) || (data150 === "HIGH")) || (data150 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema185.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs451 === errors;}else {var valid147 = true;}if(valid147){if(data133.availabilityRequirement !== undefined){let data151 = data133.availabilityRequirement;const _errs454 = errors;if(typeof data151 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data151 === "LOW") || (data151 === "MEDIUM")) || (data151 === "HIGH")) || (data151 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema185.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs454 === errors;}else {var valid147 = true;}if(valid147){if(data133.environmentalScore !== undefined){let data152 = data133.environmentalScore;const _errs457 = errors;const _errs458 = errors;if(errors === _errs458){if((typeof data152 == "number") && (isFinite(data152))){if(data152 > 10 || isNaN(data152)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data152 < 0 || isNaN(data152)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid147 = _errs457 === errors;}else {var valid147 = true;}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0",schemaPath:"#/items/properties/cvssV2_0/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs402 === errors;}else {var valid2 = true;}if(valid2){if(data0.other !== undefined){let data153 = data0.other;const _errs460 = errors;if(errors === _errs460){if(data153 && typeof data153 == "object" && !Array.isArray(data153)){let missing10;if(((data153.type === undefined) && (missing10 = "type")) || ((data153.content === undefined) && (missing10 = "content"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other",schemaPath:"#/items/properties/other/required",keyword:"required",params:{missingProperty: missing10},message:"must have required property '"+missing10+"'"}];return false;}else {const _errs462 = errors;for(const key5 in data153){if(!((key5 === "type") || (key5 === "content"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other",schemaPath:"#/items/properties/other/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"}];return false;break;}}if(_errs462 === errors){if(data153.type !== undefined){let data154 = data153.type;const _errs463 = errors;if(errors === _errs463){if(typeof data154 === "string"){if(func7(data154) > 128){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/type",schemaPath:"#/items/properties/other/properties/type/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data154) < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/type",schemaPath:"#/items/properties/other/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/type",schemaPath:"#/items/properties/other/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid165 = _errs463 === errors;}else {var valid165 = true;}if(valid165){if(data153.content !== undefined){let data155 = data153.content;const _errs465 = errors;if(errors === _errs465){if(data155 && typeof data155 == "object" && !Array.isArray(data155)){if(Object.keys(data155).length < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/content",schemaPath:"#/items/properties/other/properties/content/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/content",schemaPath:"#/items/properties/other/properties/content/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid165 = _errs465 === errors;}else {var valid165 = true;}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/other",schemaPath:"#/items/properties/other/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs460 === errors;}else {var valid2 = true;}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i3 = data.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data[i3], data[j1])){validate36.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate36.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate36.errors = vErrors;return errors === 0;}const schema189 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate38(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate38.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate38.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate38.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate38.errors = vErrors;return errors === 0;}const schema190 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate41(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate41.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate41.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate41.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate41.errors = vErrors;return errors === 0;}const schema191 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate44(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate44.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate44.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate44.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate44.errors = vErrors;return errors === 0;}const schema192 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate47(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate47.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate47.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate47.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate47.errors = vErrors;return errors === 0;}const schema193 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["time","lang","value"],"properties":{"time":{"$ref":"#/definitions/timestamp"},"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}};function validate50(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate50.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 4096){validate50.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data3) < 1){validate50.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate50.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs10 === errors;}else {var valid1 = true;}}}}}}else {validate50.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate50.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate50.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate50.errors = vErrors;return errors === 0;}const schema196 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"user":{"$ref":"#/definitions/uuidType"},"type":{"type":"string","default":"finder","enum":["finder","reporter","analyst","coordinator","remediation developer","remediation reviewer","remediation verifier","tool","sponsor","other"]}},"additionalProperties":false,"required":["lang","value"]}};function validate52(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate52.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 4096){validate52.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data2) < 1){validate52.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate52.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs7 === errors;}else {var valid1 = true;}if(valid1){if(data0.user !== undefined){let data3 = data0.user;const _errs9 = errors;const _errs10 = errors;if(errors === _errs10){if(typeof data3 === "string"){if(!pattern1.test(data3)){validate52.errors = [{instancePath:instancePath+"/" + i0+"/user",schemaPath:"#/definitions/uuidType/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/" + i0+"/user",schemaPath:"#/definitions/uuidType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs9 === errors;}else {var valid1 = true;}if(valid1){if(data0.type !== undefined){let data4 = data0.type;const _errs12 = errors;if(typeof data4 !== "string"){validate52.errors = [{instancePath:instancePath+"/" + i0+"/type",schemaPath:"#/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((data4 === "finder") || (data4 === "reporter")) || (data4 === "analyst")) || (data4 === "coordinator")) || (data4 === "remediation developer")) || (data4 === "remediation reviewer")) || (data4 === "remediation verifier")) || (data4 === "tool")) || (data4 === "sponsor")) || (data4 === "other"))){validate52.errors = [{instancePath:instancePath+"/" + i0+"/type",schemaPath:"#/items/properties/type/enum",keyword:"enum",params:{allowedValues: schema196.items.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid1 = _errs12 === errors;}else {var valid1 = true;}}}}}}}else {validate52.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate52.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate52.errors = vErrors;return errors === 0;}const schema200 = {"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/cna/","type":"string","enum":["unsupported-when-assigned","exclusively-hosted-service","disputed"]}]}};function validate54(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate54.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 128){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(func7(data0) < 2){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {if(!pattern16.test(data0)){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/pattern",keyword:"pattern",params:{pattern: "^x_.*$"},message:"must match pattern \""+"^x_.*$"+"\""};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}else {const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs3 === errors;if(_valid0){valid1 = true;passing0 = 0;}const _errs7 = errors;if(typeof data0 !== "string"){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((data0 === "unsupported-when-assigned") || (data0 === "exclusively-hosted-service")) || (data0 === "disputed"))){const err5 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/enum",keyword:"enum",params:{allowedValues: schema200.items.oneOf[1].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var _valid0 = _errs7 === errors;if(_valid0 && valid1){valid1 = false;passing0 = [passing0, 1];}else {if(_valid0){valid1 = true;passing0 = 1;}}if(!valid1){const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate54.errors = vErrors;return false;}else {errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate54.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate54.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate54.errors = vErrors;return errors === 0;}function validate13(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((data.providerMetadata === undefined) && (missing0 = "providerMetadata")) || ((data.descriptions === undefined) && (missing0 = "descriptions"))) || ((data.affected === undefined) && (missing0 = "affected"))) || ((data.references === undefined) && (missing0 = "references"))){validate13.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!((func6.call(schema22.properties, key0)) || (pattern6.test(key0)))){validate13.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.providerMetadata !== undefined){const _errs3 = errors;if(!(validate14(data.providerMetadata, {instancePath:instancePath+"/providerMetadata",parentData:data,parentDataProperty:"providerMetadata",rootData}))){vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.dateAssigned !== undefined){let data1 = data.dateAssigned;const _errs4 = errors;const _errs5 = errors;if(errors === _errs5){if(errors === _errs5){if(typeof data1 === "string"){if(!pattern3.test(data1)){validate13.errors = [{instancePath:instancePath+"/dateAssigned",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data1))){validate13.errors = [{instancePath:instancePath+"/dateAssigned",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/dateAssigned",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublic !== undefined){let data2 = data.datePublic;const _errs7 = errors;const _errs8 = errors;if(errors === _errs8){if(errors === _errs8){if(typeof data2 === "string"){if(!pattern3.test(data2)){validate13.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data2))){validate13.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data3 = data.title;const _errs10 = errors;if(errors === _errs10){if(typeof data3 === "string"){if(func7(data3) > 256){validate13.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/maxLength",keyword:"maxLength",params:{limit: 256},message:"must NOT have more than 256 characters"}];return false;}else {if(func7(data3) < 1){validate13.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs10 === errors;}else {var valid0 = true;}if(valid0){if(data.descriptions !== undefined){const _errs12 = errors;if(!(validate16(data.descriptions, {instancePath:instancePath+"/descriptions",parentData:data,parentDataProperty:"descriptions",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid0 = _errs12 === errors;}else {var valid0 = true;}if(valid0){if(data.affected !== undefined){const _errs13 = errors;if(!(validate22(data.affected, {instancePath:instancePath+"/affected",parentData:data,parentDataProperty:"affected",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data.problemTypes !== undefined){const _errs14 = errors;if(!(validate26(data.problemTypes, {instancePath:instancePath+"/problemTypes",parentData:data,parentDataProperty:"problemTypes",rootData}))){vErrors = vErrors === null ? validate26.errors : vErrors.concat(validate26.errors);errors = vErrors.length;}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.references !== undefined){const _errs15 = errors;if(!(validate27(data.references, {instancePath:instancePath+"/references",parentData:data,parentDataProperty:"references",rootData}))){vErrors = vErrors === null ? validate27.errors : vErrors.concat(validate27.errors);errors = vErrors.length;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data.impacts !== undefined){const _errs16 = errors;if(!(validate33(data.impacts, {instancePath:instancePath+"/impacts",parentData:data,parentDataProperty:"impacts",rootData}))){vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);errors = vErrors.length;}var valid0 = _errs16 === errors;}else {var valid0 = true;}if(valid0){if(data.metrics !== undefined){const _errs17 = errors;if(!(validate36(data.metrics, {instancePath:instancePath+"/metrics",parentData:data,parentDataProperty:"metrics",rootData}))){vErrors = vErrors === null ? validate36.errors : vErrors.concat(validate36.errors);errors = vErrors.length;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.configurations !== undefined){const _errs18 = errors;if(!(validate38(data.configurations, {instancePath:instancePath+"/configurations",parentData:data,parentDataProperty:"configurations",rootData}))){vErrors = vErrors === null ? validate38.errors : vErrors.concat(validate38.errors);errors = vErrors.length;}var valid0 = _errs18 === errors;}else {var valid0 = true;}if(valid0){if(data.workarounds !== undefined){const _errs19 = errors;if(!(validate41(data.workarounds, {instancePath:instancePath+"/workarounds",parentData:data,parentDataProperty:"workarounds",rootData}))){vErrors = vErrors === null ? validate41.errors : vErrors.concat(validate41.errors);errors = vErrors.length;}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.solutions !== undefined){const _errs20 = errors;if(!(validate44(data.solutions, {instancePath:instancePath+"/solutions",parentData:data,parentDataProperty:"solutions",rootData}))){vErrors = vErrors === null ? validate44.errors : vErrors.concat(validate44.errors);errors = vErrors.length;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.exploits !== undefined){const _errs21 = errors;if(!(validate47(data.exploits, {instancePath:instancePath+"/exploits",parentData:data,parentDataProperty:"exploits",rootData}))){vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);errors = vErrors.length;}var valid0 = _errs21 === errors;}else {var valid0 = true;}if(valid0){if(data.timeline !== undefined){const _errs22 = errors;if(!(validate50(data.timeline, {instancePath:instancePath+"/timeline",parentData:data,parentDataProperty:"timeline",rootData}))){vErrors = vErrors === null ? validate50.errors : vErrors.concat(validate50.errors);errors = vErrors.length;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.credits !== undefined){const _errs23 = errors;if(!(validate52(data.credits, {instancePath:instancePath+"/credits",parentData:data,parentDataProperty:"credits",rootData}))){vErrors = vErrors === null ? validate52.errors : vErrors.concat(validate52.errors);errors = vErrors.length;}var valid0 = _errs23 === errors;}else {var valid0 = true;}if(valid0){if(data.source !== undefined){let data16 = data.source;const _errs24 = errors;const _errs25 = errors;if(errors === _errs25){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(Object.keys(data16).length < 1){validate13.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}}else {validate13.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.tags !== undefined){const _errs27 = errors;if(!(validate54(data.tags, {instancePath:instancePath+"/tags",parentData:data,parentDataProperty:"tags",rootData}))){vErrors = vErrors === null ? validate54.errors : vErrors.concat(validate54.errors);errors = vErrors.length;}var valid0 = _errs27 === errors;}else {var valid0 = true;}if(valid0){if(data.taxonomyMappings !== undefined){let data18 = data.taxonomyMappings;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(Array.isArray(data18)){if(data18.length < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid5 = true;const len0 = data18.length;for(let i0=0; i0 128){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data20) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid6 = _errs34 === errors;}else {var valid6 = true;}if(valid6){if(data19.taxonomyVersion !== undefined){let data21 = data19.taxonomyVersion;const _errs36 = errors;if(errors === _errs36){if(typeof data21 === "string"){if(func7(data21) > 128){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data21) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid6 = _errs36 === errors;}else {var valid6 = true;}if(valid6){if(data19.taxonomyRelations !== undefined){let data22 = data19.taxonomyRelations;const _errs38 = errors;if(errors === _errs38){if(Array.isArray(data22)){if(data22.length < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid7 = true;const len1 = data22.length;for(let i1=0; i1 2048){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data24) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid8 = _errs43 === errors;}else {var valid8 = true;}if(valid8){if(data23.relationshipName !== undefined){let data25 = data23.relationshipName;const _errs45 = errors;if(errors === _errs45){if(typeof data25 === "string"){if(func7(data25) > 128){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data25) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid8 = _errs45 === errors;}else {var valid8 = true;}if(valid8){if(data23.relationshipValue !== undefined){let data26 = data23.relationshipValue;const _errs47 = errors;if(errors === _errs47){if(typeof data26 === "string"){if(func7(data26) > 2048){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data26) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid8 = _errs47 === errors;}else {var valid8 = true;}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1,schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs40 === errors;if(!valid7){break;}}if(valid7){let i2 = data22.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data22[i2], data22[j0])){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid6 = _errs38 === errors;}else {var valid6 = true;}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0,schemaPath:"#/definitions/taxonomyMappings/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid5 = _errs31 === errors;if(!valid5){break;}}if(valid5){let i3 = data18.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data18[i3], data18[j1])){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}else {validate13.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate13.errors = vErrors;return errors === 0;}const schema203 = {"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/adpTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata"],"minProperties":2,"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false};const schema206 = {"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/adp/","type":"string","enum":["disputed"]}]}};function validate71(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate71.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 128){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(func7(data0) < 2){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {if(!pattern16.test(data0)){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/pattern",keyword:"pattern",params:{pattern: "^x_.*$"},message:"must match pattern \""+"^x_.*$"+"\""};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}else {const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs3 === errors;if(_valid0){valid1 = true;passing0 = 0;}const _errs7 = errors;if(typeof data0 !== "string"){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(data0 === "disputed")){const err5 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/enum",keyword:"enum",params:{allowedValues: schema206.items.oneOf[1].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var _valid0 = _errs7 === errors;if(_valid0 && valid1){valid1 = false;passing0 = [passing0, 1];}else {if(_valid0){valid1 = true;passing0 = 1;}}if(!valid1){const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate71.errors = vErrors;return false;}else {errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate71.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate71.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate71.errors = vErrors;return errors === 0;}function validate57(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(Object.keys(data).length < 2){validate57.errors = [{instancePath,schemaPath:"#/minProperties",keyword:"minProperties",params:{limit: 2},message:"must NOT have fewer than 2 items"}];return false;}else {let missing0;if((data.providerMetadata === undefined) && (missing0 = "providerMetadata")){validate57.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!((func6.call(schema203.properties, key0)) || (pattern6.test(key0)))){validate57.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.providerMetadata !== undefined){const _errs3 = errors;if(!(validate14(data.providerMetadata, {instancePath:instancePath+"/providerMetadata",parentData:data,parentDataProperty:"providerMetadata",rootData}))){vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublic !== undefined){let data1 = data.datePublic;const _errs4 = errors;const _errs5 = errors;if(errors === _errs5){if(errors === _errs5){if(typeof data1 === "string"){if(!pattern3.test(data1)){validate57.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data1))){validate57.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data2 = data.title;const _errs7 = errors;if(errors === _errs7){if(typeof data2 === "string"){if(func7(data2) > 256){validate57.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/maxLength",keyword:"maxLength",params:{limit: 256},message:"must NOT have more than 256 characters"}];return false;}else {if(func7(data2) < 1){validate57.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data.descriptions !== undefined){const _errs9 = errors;if(!(validate16(data.descriptions, {instancePath:instancePath+"/descriptions",parentData:data,parentDataProperty:"descriptions",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.affected !== undefined){const _errs10 = errors;if(!(validate22(data.affected, {instancePath:instancePath+"/affected",parentData:data,parentDataProperty:"affected",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs10 === errors;}else {var valid0 = true;}if(valid0){if(data.problemTypes !== undefined){const _errs11 = errors;if(!(validate26(data.problemTypes, {instancePath:instancePath+"/problemTypes",parentData:data,parentDataProperty:"problemTypes",rootData}))){vErrors = vErrors === null ? validate26.errors : vErrors.concat(validate26.errors);errors = vErrors.length;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.references !== undefined){const _errs12 = errors;if(!(validate27(data.references, {instancePath:instancePath+"/references",parentData:data,parentDataProperty:"references",rootData}))){vErrors = vErrors === null ? validate27.errors : vErrors.concat(validate27.errors);errors = vErrors.length;}var valid0 = _errs12 === errors;}else {var valid0 = true;}if(valid0){if(data.impacts !== undefined){const _errs13 = errors;if(!(validate33(data.impacts, {instancePath:instancePath+"/impacts",parentData:data,parentDataProperty:"impacts",rootData}))){vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);errors = vErrors.length;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data.metrics !== undefined){const _errs14 = errors;if(!(validate36(data.metrics, {instancePath:instancePath+"/metrics",parentData:data,parentDataProperty:"metrics",rootData}))){vErrors = vErrors === null ? validate36.errors : vErrors.concat(validate36.errors);errors = vErrors.length;}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.configurations !== undefined){const _errs15 = errors;if(!(validate38(data.configurations, {instancePath:instancePath+"/configurations",parentData:data,parentDataProperty:"configurations",rootData}))){vErrors = vErrors === null ? validate38.errors : vErrors.concat(validate38.errors);errors = vErrors.length;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data.workarounds !== undefined){const _errs16 = errors;if(!(validate41(data.workarounds, {instancePath:instancePath+"/workarounds",parentData:data,parentDataProperty:"workarounds",rootData}))){vErrors = vErrors === null ? validate41.errors : vErrors.concat(validate41.errors);errors = vErrors.length;}var valid0 = _errs16 === errors;}else {var valid0 = true;}if(valid0){if(data.solutions !== undefined){const _errs17 = errors;if(!(validate44(data.solutions, {instancePath:instancePath+"/solutions",parentData:data,parentDataProperty:"solutions",rootData}))){vErrors = vErrors === null ? validate44.errors : vErrors.concat(validate44.errors);errors = vErrors.length;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.exploits !== undefined){const _errs18 = errors;if(!(validate47(data.exploits, {instancePath:instancePath+"/exploits",parentData:data,parentDataProperty:"exploits",rootData}))){vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);errors = vErrors.length;}var valid0 = _errs18 === errors;}else {var valid0 = true;}if(valid0){if(data.timeline !== undefined){const _errs19 = errors;if(!(validate50(data.timeline, {instancePath:instancePath+"/timeline",parentData:data,parentDataProperty:"timeline",rootData}))){vErrors = vErrors === null ? validate50.errors : vErrors.concat(validate50.errors);errors = vErrors.length;}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.credits !== undefined){const _errs20 = errors;if(!(validate52(data.credits, {instancePath:instancePath+"/credits",parentData:data,parentDataProperty:"credits",rootData}))){vErrors = vErrors === null ? validate52.errors : vErrors.concat(validate52.errors);errors = vErrors.length;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.source !== undefined){let data15 = data.source;const _errs21 = errors;const _errs22 = errors;if(errors === _errs22){if(data15 && typeof data15 == "object" && !Array.isArray(data15)){if(Object.keys(data15).length < 1){validate57.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}}else {validate57.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs21 === errors;}else {var valid0 = true;}if(valid0){if(data.tags !== undefined){const _errs24 = errors;if(!(validate71(data.tags, {instancePath:instancePath+"/tags",parentData:data,parentDataProperty:"tags",rootData}))){vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);errors = vErrors.length;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.taxonomyMappings !== undefined){let data17 = data.taxonomyMappings;const _errs25 = errors;const _errs26 = errors;if(errors === _errs26){if(Array.isArray(data17)){if(data17.length < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid4 = true;const len0 = data17.length;for(let i0=0; i0 128){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data19) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs31 === errors;}else {var valid5 = true;}if(valid5){if(data18.taxonomyVersion !== undefined){let data20 = data18.taxonomyVersion;const _errs33 = errors;if(errors === _errs33){if(typeof data20 === "string"){if(func7(data20) > 128){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data20) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs33 === errors;}else {var valid5 = true;}if(valid5){if(data18.taxonomyRelations !== undefined){let data21 = data18.taxonomyRelations;const _errs35 = errors;if(errors === _errs35){if(Array.isArray(data21)){if(data21.length < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid6 = true;const len1 = data21.length;for(let i1=0; i1 2048){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data23) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs40 === errors;}else {var valid7 = true;}if(valid7){if(data22.relationshipName !== undefined){let data24 = data22.relationshipName;const _errs42 = errors;if(errors === _errs42){if(typeof data24 === "string"){if(func7(data24) > 128){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data24) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs42 === errors;}else {var valid7 = true;}if(valid7){if(data22.relationshipValue !== undefined){let data25 = data22.relationshipValue;const _errs44 = errors;if(errors === _errs44){if(typeof data25 === "string"){if(func7(data25) > 2048){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data25) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs44 === errors;}else {var valid7 = true;}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1,schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid6 = _errs37 === errors;if(!valid6){break;}}if(valid6){let i2 = data21.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data21[i2], data21[j0])){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid5 = _errs35 === errors;}else {var valid5 = true;}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0,schemaPath:"#/definitions/taxonomyMappings/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid4 = _errs28 === errors;if(!valid4){break;}}if(valid4){let i3 = data17.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data17[i3], data17[j1])){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs25 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}else {validate57.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate57.errors = vErrors;return errors === 0;}const schema211 = {"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"serial":{"type":"integer","minimum":1},"dateUpdated":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"dateRejected":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["REJECTED"]},"dateReserved":{"$ref":"#/definitions/timestamp"}},"additionalProperties":false};function validate74(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.cveId === undefined) && (missing0 = "cveId")) || ((data.assignerOrgId === undefined) && (missing0 = "assignerOrgId"))) || ((data.state === undefined) && (missing0 = "state"))){validate74.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(func6.call(schema211.properties, key0))){validate74.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.cveId !== undefined){let data0 = data.cveId;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern0.test(data0)){validate74.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/pattern",keyword:"pattern",params:{pattern: "^CVE-[0-9]{4}-[0-9]{4,19}$"},message:"must match pattern \""+"^CVE-[0-9]{4}-[0-9]{4,19}$"+"\""}];return false;}}else {validate74.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerOrgId !== undefined){let data1 = data.assignerOrgId;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(!pattern1.test(data1)){validate74.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate74.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerShortName !== undefined){let data2 = data.assignerShortName;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data2 === "string"){if(func7(data2) > 32){validate74.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/maxLength",keyword:"maxLength",params:{limit: 32},message:"must NOT have more than 32 characters"}];return false;}else {if(func7(data2) < 2){validate74.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.serial !== undefined){let data3 = data.serial;const _errs11 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){validate74.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs11){if((typeof data3 == "number") && (isFinite(data3))){if(data3 < 1 || isNaN(data3)){validate74.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.dateUpdated !== undefined){let data4 = data.dateUpdated;const _errs13 = errors;const _errs14 = errors;if(errors === _errs14){if(errors === _errs14){if(typeof data4 === "string"){if(!pattern3.test(data4)){validate74.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data4))){validate74.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublished !== undefined){let data5 = data.datePublished;const _errs16 = errors;const _errs17 = errors;if(errors === _errs17){if(errors === _errs17){if(typeof data5 === "string"){if(!pattern3.test(data5)){validate74.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data5))){validate74.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs16 === errors;}else {var valid0 = true;}if(valid0){if(data.dateRejected !== undefined){let data6 = data.dateRejected;const _errs19 = errors;const _errs20 = errors;if(errors === _errs20){if(errors === _errs20){if(typeof data6 === "string"){if(!pattern3.test(data6)){validate74.errors = [{instancePath:instancePath+"/dateRejected",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data6))){validate74.errors = [{instancePath:instancePath+"/dateRejected",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/dateRejected",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.state !== undefined){let data7 = data.state;const _errs22 = errors;if(typeof data7 !== "string"){validate74.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data7 === "REJECTED")){validate74.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/enum",keyword:"enum",params:{allowedValues: schema211.properties.state.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.dateReserved !== undefined){let data8 = data.dateReserved;const _errs24 = errors;const _errs25 = errors;if(errors === _errs25){if(errors === _errs25){if(typeof data8 === "string"){if(!pattern3.test(data8)){validate74.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data8))){validate74.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs24 === errors;}else {var valid0 = true;}}}}}}}}}}}}else {validate74.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate74.errors = vErrors;return errors === 0;}const schema219 = {"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"rejectedReasons":{"$ref":"#/definitions/descriptions"},"replacedBy":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/cveId"}}},"required":["providerMetadata","rejectedReasons"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false};function validate76(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.providerMetadata === undefined) && (missing0 = "providerMetadata")) || ((data.rejectedReasons === undefined) && (missing0 = "rejectedReasons"))){validate76.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!((((key0 === "providerMetadata") || (key0 === "rejectedReasons")) || (key0 === "replacedBy")) || (pattern6.test(key0)))){validate76.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.providerMetadata !== undefined){const _errs3 = errors;if(!(validate14(data.providerMetadata, {instancePath:instancePath+"/providerMetadata",parentData:data,parentDataProperty:"providerMetadata",rootData}))){vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.rejectedReasons !== undefined){const _errs4 = errors;if(!(validate16(data.rejectedReasons, {instancePath:instancePath+"/rejectedReasons",parentData:data,parentDataProperty:"rejectedReasons",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.replacedBy !== undefined){let data2 = data.replacedBy;const _errs5 = errors;if(errors === _errs5){if(Array.isArray(data2)){if(data2.length < 1){validate76.errors = [{instancePath:instancePath+"/replacedBy",schemaPath:"#/properties/replacedBy/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data2.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data2[i1], data2[j0])){validate76.errors = [{instancePath:instancePath+"/replacedBy",schemaPath:"#/properties/replacedBy/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate76.errors = [{instancePath:instancePath+"/replacedBy",schemaPath:"#/properties/replacedBy/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}}}}}}else {validate76.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate76.errors = vErrors;return errors === 0;}function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.1_bundled.json" */;let vErrors = null;let errors = 0;const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(errors === _errs1){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((data.dataType === undefined) && (missing0 = "dataType")) || ((data.dataVersion === undefined) && (missing0 = "dataVersion"))) || ((data.cveMetadata === undefined) && (missing0 = "cveMetadata"))) || ((data.containers === undefined) && (missing0 = "containers"))){const err0 = {instancePath,schemaPath:"#/oneOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {const _errs3 = errors;for(const key0 in data){if(!((((key0 === "dataType") || (key0 === "dataVersion")) || (key0 === "cveMetadata")) || (key0 === "containers"))){const err1 = {instancePath,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;break;}}if(_errs3 === errors){if(data.dataType !== undefined){let data0 = data.dataType;const _errs4 = errors;if(typeof data0 !== "string"){const err2 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(!(data0 === "CVE_RECORD")){const err3 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/enum",keyword:"enum",params:{allowedValues: schema12.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var valid1 = _errs4 === errors;}else {var valid1 = true;}if(valid1){if(data.dataVersion !== undefined){let data1 = data.dataVersion;const _errs7 = errors;if(typeof data1 !== "string"){const err4 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(data1 === "5.1")){const err5 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/enum",keyword:"enum",params:{allowedValues: schema13.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var valid1 = _errs7 === errors;}else {var valid1 = true;}if(valid1){if(data.cveMetadata !== undefined){const _errs10 = errors;if(!(validate11(data.cveMetadata, {instancePath:instancePath+"/cveMetadata",parentData:data,parentDataProperty:"cveMetadata",rootData}))){vErrors = vErrors === null ? validate11.errors : vErrors.concat(validate11.errors);errors = vErrors.length;}var valid1 = _errs10 === errors;}else {var valid1 = true;}if(valid1){if(data.containers !== undefined){let data3 = data.containers;const _errs11 = errors;if(errors === _errs11){if(data3 && typeof data3 == "object" && !Array.isArray(data3)){let missing1;if((data3.cna === undefined) && (missing1 = "cna")){const err6 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/0/properties/containers/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {const _errs13 = errors;for(const key1 in data3){if(!((key1 === "cna") || (key1 === "adp"))){const err7 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/0/properties/containers/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;break;}}if(_errs13 === errors){if(data3.cna !== undefined){const _errs14 = errors;if(!(validate13(data3.cna, {instancePath:instancePath+"/containers/cna",parentData:data3,parentDataProperty:"cna",rootData}))){vErrors = vErrors === null ? validate13.errors : vErrors.concat(validate13.errors);errors = vErrors.length;}var valid4 = _errs14 === errors;}else {var valid4 = true;}if(valid4){if(data3.adp !== undefined){let data5 = data3.adp;const _errs15 = errors;if(errors === _errs15){if(Array.isArray(data5)){if(data5.length < 1){const err8 = {instancePath:instancePath+"/containers/adp",schemaPath:"#/oneOf/0/properties/containers/properties/adp/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}else {var valid5 = true;const len0 = data5.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data5[i1], data5[j0])){const err9 = {instancePath:instancePath+"/containers/adp",schemaPath:"#/oneOf/0/properties/containers/properties/adp/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;break outer0;}}}}}}}else {const err10 = {instancePath:instancePath+"/containers/adp",schemaPath:"#/oneOf/0/properties/containers/properties/adp/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {const err11 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/0/properties/containers/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}var valid1 = _errs11 === errors;}else {var valid1 = true;}}}}}}}else {const err12 = {instancePath,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;}const _errs18 = errors;if(errors === _errs18){if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if(((((data.dataType === undefined) && (missing2 = "dataType")) || ((data.dataVersion === undefined) && (missing2 = "dataVersion"))) || ((data.cveMetadata === undefined) && (missing2 = "cveMetadata"))) || ((data.containers === undefined) && (missing2 = "containers"))){const err13 = {instancePath,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}else {const _errs20 = errors;for(const key2 in data){if(!((((key2 === "dataType") || (key2 === "dataVersion")) || (key2 === "cveMetadata")) || (key2 === "containers"))){const err14 = {instancePath,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;break;}}if(_errs20 === errors){if(data.dataType !== undefined){let data7 = data.dataType;const _errs21 = errors;if(typeof data7 !== "string"){const err15 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(!(data7 === "CVE_RECORD")){const err16 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/enum",keyword:"enum",params:{allowedValues: schema12.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}var valid7 = _errs21 === errors;}else {var valid7 = true;}if(valid7){if(data.dataVersion !== undefined){let data8 = data.dataVersion;const _errs24 = errors;if(typeof data8 !== "string"){const err17 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(!(data8 === "5.1")){const err18 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/enum",keyword:"enum",params:{allowedValues: schema13.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}var valid7 = _errs24 === errors;}else {var valid7 = true;}if(valid7){if(data.cveMetadata !== undefined){const _errs27 = errors;if(!(validate74(data.cveMetadata, {instancePath:instancePath+"/cveMetadata",parentData:data,parentDataProperty:"cveMetadata",rootData}))){vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);errors = vErrors.length;}var valid7 = _errs27 === errors;}else {var valid7 = true;}if(valid7){if(data.containers !== undefined){let data10 = data.containers;const _errs28 = errors;if(errors === _errs28){if(data10 && typeof data10 == "object" && !Array.isArray(data10)){let missing3;if((data10.cna === undefined) && (missing3 = "cna")){const err19 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/1/properties/containers/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}else {const _errs30 = errors;for(const key3 in data10){if(!(key3 === "cna")){const err20 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/1/properties/containers/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;break;}}if(_errs30 === errors){if(data10.cna !== undefined){if(!(validate76(data10.cna, {instancePath:instancePath+"/containers/cna",parentData:data10,parentDataProperty:"cna",rootData}))){vErrors = vErrors === null ? validate76.errors : vErrors.concat(validate76.errors);errors = vErrors.length;}}}}}else {const err21 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/1/properties/containers/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}var valid7 = _errs28 === errors;}else {var valid7 = true;}}}}}}}else {const err22 = {instancePath,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}var _valid0 = _errs18 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;}}if(!valid0){const err23 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;validate10.errors = vErrors;return false;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate10.errors = vErrors;return errors === 0;} \ No newline at end of file +"use strict";module.exports = validate10;module.exports.default = validate10;const schema11 = {"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.1_bundled.json","definitions":{"uriType":{"type":"string","format":"uri","minLength":1,"maxLength":2048},"uuidType":{"type":"string","pattern":"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},"reference":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/definitions/uriType"},"name":{"type":"string","maxLength":512,"minLength":1},"tags":{"type":"array","minItems":1,"uniqueItems":true,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/reference/","type":"string","enum":["broken-link","customer-entitlement","exploit","government-resource","issue-tracking","mailing-list","mitigation","not-applicable","patch","permissions-required","media-coverage","product","related","release-notes","signature","technical-description","third-party-advisory","vendor-advisory","vdb-entry"]}]}}},"additionalProperties":false},"cveId":{"type":"string","pattern":"^CVE-[0-9]{4}-[0-9]{4,19}$"},"orgId":{"$ref":"#/definitions/uuidType"},"userId":{"$ref":"#/definitions/uuidType"},"shortName":{"type":"string","minLength":2,"maxLength":32},"datestamp":{"type":"string","format":"date","pattern":"^((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30))$"},"timestamp":{"type":"string","format":"date-time","pattern":"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},"version":{"type":"string","minLength":1,"maxLength":1024},"status":{"type":"string","enum":["affected","unaffected","unknown"]},"product":{"type":"object","allOf":[{"anyOf":[{"required":["vendor","product"]},{"required":["collectionURL","packageName"]}]},{"anyOf":[{"required":["versions"]},{"required":["defaultStatus"]}]}],"properties":{"vendor":{"type":"string","minLength":1,"maxLength":512},"product":{"type":"string","minLength":1,"maxLength":2048},"collectionURL":{"$ref":"#/definitions/uriType","examples":["https://access.redhat.com/downloads/content/package-browser","https://addons.mozilla.org","https://addons.thunderbird.net","https://anaconda.org/anaconda/repo","https://app.vagrantup.com/boxes/search","https://apps.apple.com","https://archlinux.org/packages","https://atmospherejs.meteor.com","https://atom.io/packages","https://bitbucket.org","https://bower.io","https://brew.sh/","https://chocolatey.org/packages","https://chrome.google.com/webstore","https://clojars.org","https://cocoapods.org","https://code.dlang.org","https://conan.io/center","https://cpan.org/modules","https://cran.r-project.org","https://crates.io","https://ctan.org/pkg","https://drupal.org","https://exchange.adobe.com","https://forge.puppet.com/modules","https://github.com","https://gitlab.com/explore","https://golang.org/pkg","https://guix.gnu.org/packages","https://hackage.haskell.org","https://helm.sh","https://hub.docker.com","https://juliahub.com","https://lib.haxe.org","https://luarocks.org","https://marketplace.visualstudio.com","https://melpa.org","https://microsoft.com/en-us/store/apps","https://nimble.directory","https://nuget.org/packages","https://opam.ocaml.org/packages","https://openwrt.org/packages/index","https://package.elm-lang.org","https://packagecontrol.io","https://packages.debian.org","https://packages.gentoo.org","https://packagist.org","https://pear.php.net/packages.php","https://pecl.php.net","https://platformio.org/lib","https://play.google.com/store","https://plugins.gradle.org","https://projects.eclipse.org","https://pub.dev","https://pypi.python.org","https://registry.npmjs.org","https://registry.terraform.io","https://repo.hex.pm","https://repo.maven.apache.org/maven2","https://rubygems.org","https://search.nixos.org/packages","https://sourceforge.net","https://wordpress.org/plugins"]},"packageName":{"type":"string","minLength":1,"maxLength":2048},"cpes":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})","minLength":1,"maxLength":2048}},"modules":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":4096}},"programFiles":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":1024}},"programRoutines":{"type":"array","uniqueItems":true,"items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}},"platforms":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","examples":["iOS","Android","Windows","macOS","x86","ARM","64 bit","Big Endian","iPad","Chromebook","Docker","Model T"],"maxLength":1024}},"repo":{"$ref":"#/definitions/uriType"},"defaultStatus":{"$ref":"#/definitions/status"},"versions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","oneOf":[{"required":["version","status"],"maxProperties":2},{"required":["version","status","versionType"],"maxProperties":3},{"required":["version","status","versionType","lessThan"]},{"required":["version","status","versionType","lessThanOrEqual"]}],"properties":{"version":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"},"versionType":{"type":"string","minLength":1,"maxLength":128,"examples":["custom","git","maven","python","rpm","semver"]},"lessThan":{"$ref":"#/definitions/version"},"lessThanOrEqual":{"$ref":"#/definitions/version"},"changes":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["at","status"],"additionalProperties":false,"properties":{"at":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"}}}}},"additionalProperties":false}}}},"dataType":{"type":"string","enum":["CVE_RECORD"]},"dataVersion":{"type":"string","enum":["5.1"]},"cveMetadataPublished":{"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"requesterUserId":{"$ref":"#/definitions/userId"},"dateUpdated":{"$ref":"#/definitions/timestamp"},"serial":{"type":"integer","minimum":1},"dateReserved":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["PUBLISHED"]}},"additionalProperties":false},"cveMetadataRejected":{"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"serial":{"type":"integer","minimum":1},"dateUpdated":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"dateRejected":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["REJECTED"]},"dateReserved":{"$ref":"#/definitions/timestamp"}},"additionalProperties":false},"providerMetadata":{"type":"object","properties":{"orgId":{"$ref":"#/definitions/orgId"},"shortName":{"$ref":"#/definitions/shortName"},"dateUpdated":{"$ref":"#/definitions/timestamp"}},"required":["orgId"],"additionalProperties":false},"cnaPublishedContainer":{"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"dateAssigned":{"$ref":"#/definitions/timestamp"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/cnaTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata","descriptions","affected","references"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false},"cnaRejectedContainer":{"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"rejectedReasons":{"$ref":"#/definitions/descriptions"},"replacedBy":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/cveId"}}},"required":["providerMetadata","rejectedReasons"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false},"adpContainer":{"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/adpTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata"],"minProperties":2,"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false},"affected":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/product"}},"description":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"supportingMedia":{"type":"array","uniqueItems":true,"minItems":1,"items":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":256,"examples":["text/markdown","text/html","image/png","image/svg","audio/mp3"]},"base64":{"type":"boolean","default":false},"value":{"type":"string","minLength":1,"maxLength":16384}},"required":["type","value"],"additionalProperties":false}}},"required":["lang","value"],"additionalProperties":false},"englishLanguageDescription":{"type":"object","properties":{"lang":{"$ref":"#/definitions/englishLanguage"}},"required":["lang"],"$comment":"Cannot use additionalProperties: false here, as this prevents the other properties used by /definitions/description."},"descriptions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"},"contains":{"$ref":"#/definitions/englishLanguageDescription"}},"problemTypes":{"type":"array","items":{"type":"object","required":["descriptions"],"properties":{"descriptions":{"type":"array","items":{"type":"object","required":["lang","description"],"properties":{"lang":{"$ref":"#/definitions/language"},"description":{"type":"string","minLength":1,"maxLength":4096},"cweId":{"type":"string","minLength":5,"maxLength":9,"pattern":"^CWE-[1-9][0-9]*$"},"type":{"type":"string","minLength":1,"maxLength":128},"references":{"$ref":"#/definitions/references"}},"additionalProperties":false},"minItems":1,"uniqueItems":true}},"additionalProperties":false},"minItems":1,"uniqueItems":true},"references":{"type":"array","items":{"$ref":"#/definitions/reference"},"minItems":1,"maxItems":512,"uniqueItems":true},"impacts":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["descriptions"],"properties":{"capecId":{"type":"string","minLength":7,"maxLength":11,"pattern":"^CAPEC-[1-9][0-9]{0,4}$"},"descriptions":{"$ref":"#/definitions/descriptions"}},"additionalProperties":false}},"metrics":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","anyOf":[{"required":["cvssV4_0"]},{"required":["cvssV3_1"]},{"required":["cvssV3_0"]},{"required":["cvssV2_0"]},{"required":["other"]}],"properties":{"format":{"type":"string","minLength":1,"maxLength":64},"scenarios":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","default":"GENERAL","minLength":1,"maxLength":4096}},"required":["lang","value"],"additionalProperties":false}},"cvssV4_0":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackRequirementsType":{"type":"string","enum":["NONE","PRESENT"]},"modifiedAttackRequirementsType":{"type":"string","enum":["NONE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"],"default":"NOT_DEFINED"},"userInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedVulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"subCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedSubCType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"modifiedSubIaType":{"type":"string","enum":["NONE","LOW","HIGH","SAFETY","NOT_DEFINED"],"default":"NOT_DEFINED"},"exploitMaturityType":{"type":"string","enum":["UNREPORTED","PROOF_OF_CONCEPT","ATTACKED","NOT_DEFINED"],"default":"NOT_DEFINED"},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"safetyType":{"type":"string","enum":["NEGLIGIBLE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"automatableType":{"type":"string","enum":["NO","YES","NOT_DEFINED"],"default":"NOT_DEFINED"},"recoveryType":{"type":"string","enum":["AUTOMATIC","USER","IRRECOVERABLE","NOT_DEFINED"],"default":"NOT_DEFINED"},"valueDensityType":{"type":"string","enum":["DIFFUSE","CONCENTRATED","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnerabilityResponseEffortType":{"type":"string","enum":["LOW","MODERATE","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"providerUrgencyType":{"type":"string","enum":["CLEAR","GREEN","AMBER","RED","NOT_DEFINED"],"default":"NOT_DEFINED"},"noneScoreType":{"type":"number","minimum":0,"maximum":0},"lowScoreType":{"type":"number","minimum":0.1,"maximum":3.9,"multipleOf":0.1},"mediumScoreType":{"type":"number","minimum":4,"maximum":6.9,"multipleOf":0.1},"highScoreType":{"type":"number","minimum":7,"maximum":8.9,"multipleOf":0.1},"criticalScoreType":{"type":"number","minimum":9,"maximum":10,"multipleOf":0.1},"noneSeverityType":{"const":"NONE"},"lowSeverityType":{"const":"LOW"},"mediumSeverityType":{"const":"MEDIUM"},"highSeverityType":{"const":"HIGH"},"criticalSeverityType":{"const":"CRITICAL"}},"properties":{"version":{"type":"string","enum":["4.0"]},"vectorString":{"type":"string","pattern":"^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType"},"attackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType"},"vulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"subConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"exploitMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType"},"modifiedAttackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType"},"modifiedVulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedSubConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType"},"modifiedSubIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"modifiedSubAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"Safety":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType"},"Automatable":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType"},"Recovery":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType"},"valueDensity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType"},"vulnerabilityResponseEffort":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType"},"providerUrgency":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType"}},"allOf":[{"anyOf":[{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]}],"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV3_1":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.1"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV3_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.0"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV2_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"accessVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL"]},"accessComplexityType":{"type":"string","enum":["HIGH","MEDIUM","LOW"]},"authenticationType":{"type":"string","enum":["MULTIPLE","SINGLE","NONE"]},"ciaType":{"type":"string","enum":["NONE","PARTIAL","COMPLETE"]},"exploitabilityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"reportConfidenceType":{"type":"string","enum":["UNCONFIRMED","UNCORROBORATED","CONFIRMED","NOT_DEFINED"]},"collateralDamagePotentialType":{"type":"string","enum":["NONE","LOW","LOW_MEDIUM","MEDIUM_HIGH","HIGH","NOT_DEFINED"]},"targetDistributionType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10}},"properties":{"version":{"type":"string","enum":["2.0"]},"vectorString":{"type":"string","pattern":"^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"},"accessVector":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType"},"accessComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType"},"authentication":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"exploitability":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"collateralDamagePotential":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType"},"targetDistribution":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"}},"required":["version","vectorString","baseScore"],"additionalProperties":false},"other":{"type":"object","required":["type","content"],"properties":{"type":{"type":"string","minLength":1,"maxLength":128},"content":{"type":"object","$comment":"additionalProperties are allowed here, since this construct supports arbitrary JSON.","minProperties":1}},"additionalProperties":false}},"additionalProperties":false}},"configurations":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"workarounds":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"solutions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"exploits":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}},"timeline":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["time","lang","value"],"properties":{"time":{"$ref":"#/definitions/timestamp"},"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}},"credits":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"user":{"$ref":"#/definitions/uuidType"},"type":{"type":"string","default":"finder","enum":["finder","reporter","analyst","coordinator","remediation developer","remediation reviewer","remediation verifier","tool","sponsor","other"]}},"additionalProperties":false,"required":["lang","value"]}},"source":{"type":"object","minProperties":1},"language":{"type":"string","default":"en","pattern":"^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},"englishLanguage":{"type":"string","pattern":"^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},"taxonomyMappings":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyName","taxonomyRelations"],"properties":{"taxonomyName":{"type":"string","minLength":1,"maxLength":128},"taxonomyVersion":{"type":"string","minLength":1,"maxLength":128},"taxonomyRelations":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyId","relationshipName","relationshipValue"],"properties":{"taxonomyId":{"type":"string","minLength":1,"maxLength":2048},"relationshipName":{"type":"string","minLength":1,"maxLength":128},"relationshipValue":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false}}},"additionalProperties":false}},"tagExtension":{"type":"string","minLength":2,"maxLength":128,"pattern":"^x_.*$","$comment":"These values are not used as JSON property names, so there is not a need to work-around property naming limitations in some common implementations."},"cnaTags":{"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/cna/","type":"string","enum":["unsupported-when-assigned","exclusively-hosted-service","disputed"]}]}},"adpTags":{"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/adp/","type":"string","enum":["disputed"]}]}}},"oneOf":[{"type":"object","properties":{"dataType":{"$ref":"#/definitions/dataType"},"dataVersion":{"$ref":"#/definitions/dataVersion"},"cveMetadata":{"$ref":"#/definitions/cveMetadataPublished"},"containers":{"type":"object","properties":{"cna":{"$ref":"#/definitions/cnaPublishedContainer"},"adp":{"type":"array","items":{"$ref":"#/definitions/adpContainer"},"minItems":1,"uniqueItems":true}},"required":["cna"],"additionalProperties":false}},"required":["dataType","dataVersion","cveMetadata","containers"],"additionalProperties":false},{"type":"object","properties":{"dataType":{"$ref":"#/definitions/dataType"},"dataVersion":{"$ref":"#/definitions/dataVersion"},"cveMetadata":{"$ref":"#/definitions/cveMetadataRejected"},"containers":{"type":"object","properties":{"cna":{"$ref":"#/definitions/cnaRejectedContainer"}},"required":["cna"],"additionalProperties":false}},"required":["dataType","dataVersion","cveMetadata","containers"],"additionalProperties":false}]};const schema12 = {"type":"string","enum":["CVE_RECORD"]};const schema13 = {"type":"string","enum":["5.1"]};const func0 = require("ajv/dist/runtime/equal").default;const schema14 = {"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"requesterUserId":{"$ref":"#/definitions/userId"},"dateUpdated":{"$ref":"#/definitions/timestamp"},"serial":{"type":"integer","minimum":1},"dateReserved":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["PUBLISHED"]}},"additionalProperties":false};const schema15 = {"type":"string","pattern":"^CVE-[0-9]{4}-[0-9]{4,19}$"};const schema16 = {"type":"string","pattern":"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"};const schema17 = {"type":"string","minLength":2,"maxLength":32};const schema19 = {"type":"string","format":"date-time","pattern":"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"};const func6 = Object.prototype.hasOwnProperty;const func7 = require("ajv/dist/runtime/ucs2length").default;const pattern0 = new RegExp("^CVE-[0-9]{4}-[0-9]{4,19}$", "u");const pattern1 = new RegExp("^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$", "u");const pattern3 = new RegExp("^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$", "u");const formats0 = require("ajv-formats/dist/formats").fullFormats["date-time"];function validate11(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.cveId === undefined) && (missing0 = "cveId")) || ((data.assignerOrgId === undefined) && (missing0 = "assignerOrgId"))) || ((data.state === undefined) && (missing0 = "state"))){validate11.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(func6.call(schema14.properties, key0))){validate11.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.cveId !== undefined){let data0 = data.cveId;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern0.test(data0)){validate11.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/pattern",keyword:"pattern",params:{pattern: "^CVE-[0-9]{4}-[0-9]{4,19}$"},message:"must match pattern \""+"^CVE-[0-9]{4}-[0-9]{4,19}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerOrgId !== undefined){let data1 = data.assignerOrgId;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(!pattern1.test(data1)){validate11.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerShortName !== undefined){let data2 = data.assignerShortName;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data2 === "string"){if(func7(data2) > 32){validate11.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/maxLength",keyword:"maxLength",params:{limit: 32},message:"must NOT have more than 32 characters"}];return false;}else {if(func7(data2) < 2){validate11.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.requesterUserId !== undefined){let data3 = data.requesterUserId;const _errs11 = errors;const _errs12 = errors;if(errors === _errs12){if(typeof data3 === "string"){if(!pattern1.test(data3)){validate11.errors = [{instancePath:instancePath+"/requesterUserId",schemaPath:"#/definitions/userId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate11.errors = [{instancePath:instancePath+"/requesterUserId",schemaPath:"#/definitions/userId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.dateUpdated !== undefined){let data4 = data.dateUpdated;const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(errors === _errs15){if(typeof data4 === "string"){if(!pattern3.test(data4)){validate11.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data4))){validate11.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.serial !== undefined){let data5 = data.serial;const _errs17 = errors;if(!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))){validate11.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs17){if((typeof data5 == "number") && (isFinite(data5))){if(data5 < 1 || isNaN(data5)){validate11.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.dateReserved !== undefined){let data6 = data.dateReserved;const _errs19 = errors;const _errs20 = errors;if(errors === _errs20){if(errors === _errs20){if(typeof data6 === "string"){if(!pattern3.test(data6)){validate11.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data6))){validate11.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublished !== undefined){let data7 = data.datePublished;const _errs22 = errors;const _errs23 = errors;if(errors === _errs23){if(errors === _errs23){if(typeof data7 === "string"){if(!pattern3.test(data7)){validate11.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data7))){validate11.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate11.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.state !== undefined){let data8 = data.state;const _errs25 = errors;if(typeof data8 !== "string"){validate11.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data8 === "PUBLISHED")){validate11.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/enum",keyword:"enum",params:{allowedValues: schema14.properties.state.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs25 === errors;}else {var valid0 = true;}}}}}}}}}}}}else {validate11.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate11.errors = vErrors;return errors === 0;}const schema22 = {"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"dateAssigned":{"$ref":"#/definitions/timestamp"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/cnaTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata","descriptions","affected","references"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false};const schema199 = {"type":"object","minProperties":1};const schema202 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyName","taxonomyRelations"],"properties":{"taxonomyName":{"type":"string","minLength":1,"maxLength":128},"taxonomyVersion":{"type":"string","minLength":1,"maxLength":128},"taxonomyRelations":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["taxonomyId","relationshipName","relationshipValue"],"properties":{"taxonomyId":{"type":"string","minLength":1,"maxLength":2048},"relationshipName":{"type":"string","minLength":1,"maxLength":128},"relationshipValue":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false}}},"additionalProperties":false}};const pattern6 = new RegExp("^x_[^.]*$", "u");const schema23 = {"type":"object","properties":{"orgId":{"$ref":"#/definitions/orgId"},"shortName":{"$ref":"#/definitions/shortName"},"dateUpdated":{"$ref":"#/definitions/timestamp"}},"required":["orgId"],"additionalProperties":false};function validate14(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.orgId === undefined) && (missing0 = "orgId")){validate14.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(((key0 === "orgId") || (key0 === "shortName")) || (key0 === "dateUpdated"))){validate14.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.orgId !== undefined){let data0 = data.orgId;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern1.test(data0)){validate14.errors = [{instancePath:instancePath+"/orgId",schemaPath:"#/definitions/orgId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate14.errors = [{instancePath:instancePath+"/orgId",schemaPath:"#/definitions/orgId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.shortName !== undefined){let data1 = data.shortName;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(func7(data1) > 32){validate14.errors = [{instancePath:instancePath+"/shortName",schemaPath:"#/definitions/shortName/maxLength",keyword:"maxLength",params:{limit: 32},message:"must NOT have more than 32 characters"}];return false;}else {if(func7(data1) < 2){validate14.errors = [{instancePath:instancePath+"/shortName",schemaPath:"#/definitions/shortName/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}}else {validate14.errors = [{instancePath:instancePath+"/shortName",schemaPath:"#/definitions/shortName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.dateUpdated !== undefined){let data2 = data.dateUpdated;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(errors === _errs9){if(typeof data2 === "string"){if(!pattern3.test(data2)){validate14.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data2))){validate14.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate14.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs8 === errors;}else {var valid0 = true;}}}}}}else {validate14.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate14.errors = vErrors;return errors === 0;}const schema29 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"},"contains":{"$ref":"#/definitions/englishLanguageDescription"}};const schema30 = {"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"supportingMedia":{"type":"array","uniqueItems":true,"minItems":1,"items":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":256,"examples":["text/markdown","text/html","image/png","image/svg","audio/mp3"]},"base64":{"type":"boolean","default":false},"value":{"type":"string","minLength":1,"maxLength":16384}},"required":["type","value"],"additionalProperties":false}}},"required":["lang","value"],"additionalProperties":false};const schema31 = {"type":"string","default":"en","pattern":"^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"};const pattern11 = new RegExp("^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$", "u");function validate17(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.lang === undefined) && (missing0 = "lang")) || ((data.value === undefined) && (missing0 = "value"))){validate17.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(((key0 === "lang") || (key0 === "value")) || (key0 === "supportingMedia"))){validate17.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.lang !== undefined){let data0 = data.lang;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern11.test(data0)){validate17.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/language/pattern",keyword:"pattern",params:{pattern: "^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},message:"must match pattern \""+"^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"+"\""}];return false;}}else {validate17.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/language/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.value !== undefined){let data1 = data.value;const _errs5 = errors;if(errors === _errs5){if(typeof data1 === "string"){if(func7(data1) > 4096){validate17.errors = [{instancePath:instancePath+"/value",schemaPath:"#/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data1) < 1){validate17.errors = [{instancePath:instancePath+"/value",schemaPath:"#/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate17.errors = [{instancePath:instancePath+"/value",schemaPath:"#/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.supportingMedia !== undefined){let data2 = data.supportingMedia;const _errs7 = errors;if(errors === _errs7){if(Array.isArray(data2)){if(data2.length < 1){validate17.errors = [{instancePath:instancePath+"/supportingMedia",schemaPath:"#/properties/supportingMedia/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid2 = true;const len0 = data2.length;for(let i0=0; i0 256){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/type",schemaPath:"#/properties/supportingMedia/items/properties/type/maxLength",keyword:"maxLength",params:{limit: 256},message:"must NOT have more than 256 characters"}];return false;}else {if(func7(data4) < 1){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/type",schemaPath:"#/properties/supportingMedia/items/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/type",schemaPath:"#/properties/supportingMedia/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data3.base64 !== undefined){const _errs14 = errors;if(typeof data3.base64 !== "boolean"){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/base64",schemaPath:"#/properties/supportingMedia/items/properties/base64/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid3 = _errs14 === errors;}else {var valid3 = true;}if(valid3){if(data3.value !== undefined){let data6 = data3.value;const _errs16 = errors;if(errors === _errs16){if(typeof data6 === "string"){if(func7(data6) > 16384){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/value",schemaPath:"#/properties/supportingMedia/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 16384},message:"must NOT have more than 16384 characters"}];return false;}else {if(func7(data6) < 1){validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/value",schemaPath:"#/properties/supportingMedia/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0+"/value",schemaPath:"#/properties/supportingMedia/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs16 === errors;}else {var valid3 = true;}}}}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia/" + i0,schemaPath:"#/properties/supportingMedia/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs9 === errors;if(!valid2){break;}}if(valid2){let i1 = data2.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data2[i1], data2[j0])){validate17.errors = [{instancePath:instancePath+"/supportingMedia",schemaPath:"#/properties/supportingMedia/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate17.errors = [{instancePath:instancePath+"/supportingMedia",schemaPath:"#/properties/supportingMedia/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs7 === errors;}else {var valid0 = true;}}}}}}else {validate17.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate17.errors = vErrors;return errors === 0;}const schema32 = {"type":"object","properties":{"lang":{"$ref":"#/definitions/englishLanguage"}},"required":["lang"],"$comment":"Cannot use additionalProperties: false here, as this prevents the other properties used by /definitions/description."};const schema33 = {"type":"string","pattern":"^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"};const pattern12 = new RegExp("^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$", "u");function validate19(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.lang === undefined) && (missing0 = "lang")){validate19.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.lang !== undefined){let data0 = data.lang;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern12.test(data0)){validate19.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/englishLanguage/pattern",keyword:"pattern",params:{pattern: "^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"},message:"must match pattern \""+"^en([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$"+"\""}];return false;}}else {validate19.errors = [{instancePath:instancePath+"/lang",schemaPath:"#/definitions/englishLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}}}else {validate19.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate19.errors = vErrors;return errors === 0;}function validate16(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate16.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data[i2], data[j0])){validate16.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}}else {validate16.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate16.errors = vErrors;return errors === 0;}const schema34 = {"type":"array","minItems":1,"items":{"$ref":"#/definitions/product"}};const schema35 = {"type":"object","allOf":[{"anyOf":[{"required":["vendor","product"]},{"required":["collectionURL","packageName"]}]},{"anyOf":[{"required":["versions"]},{"required":["defaultStatus"]}]}],"properties":{"vendor":{"type":"string","minLength":1,"maxLength":512},"product":{"type":"string","minLength":1,"maxLength":2048},"collectionURL":{"$ref":"#/definitions/uriType","examples":["https://access.redhat.com/downloads/content/package-browser","https://addons.mozilla.org","https://addons.thunderbird.net","https://anaconda.org/anaconda/repo","https://app.vagrantup.com/boxes/search","https://apps.apple.com","https://archlinux.org/packages","https://atmospherejs.meteor.com","https://atom.io/packages","https://bitbucket.org","https://bower.io","https://brew.sh/","https://chocolatey.org/packages","https://chrome.google.com/webstore","https://clojars.org","https://cocoapods.org","https://code.dlang.org","https://conan.io/center","https://cpan.org/modules","https://cran.r-project.org","https://crates.io","https://ctan.org/pkg","https://drupal.org","https://exchange.adobe.com","https://forge.puppet.com/modules","https://github.com","https://gitlab.com/explore","https://golang.org/pkg","https://guix.gnu.org/packages","https://hackage.haskell.org","https://helm.sh","https://hub.docker.com","https://juliahub.com","https://lib.haxe.org","https://luarocks.org","https://marketplace.visualstudio.com","https://melpa.org","https://microsoft.com/en-us/store/apps","https://nimble.directory","https://nuget.org/packages","https://opam.ocaml.org/packages","https://openwrt.org/packages/index","https://package.elm-lang.org","https://packagecontrol.io","https://packages.debian.org","https://packages.gentoo.org","https://packagist.org","https://pear.php.net/packages.php","https://pecl.php.net","https://platformio.org/lib","https://play.google.com/store","https://plugins.gradle.org","https://projects.eclipse.org","https://pub.dev","https://pypi.python.org","https://registry.npmjs.org","https://registry.terraform.io","https://repo.hex.pm","https://repo.maven.apache.org/maven2","https://rubygems.org","https://search.nixos.org/packages","https://sourceforge.net","https://wordpress.org/plugins"]},"packageName":{"type":"string","minLength":1,"maxLength":2048},"cpes":{"type":"array","uniqueItems":true,"items":{"type":"string","pattern":"([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})","minLength":1,"maxLength":2048}},"modules":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":4096}},"programFiles":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":1024}},"programRoutines":{"type":"array","uniqueItems":true,"items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}},"platforms":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","examples":["iOS","Android","Windows","macOS","x86","ARM","64 bit","Big Endian","iPad","Chromebook","Docker","Model T"],"maxLength":1024}},"repo":{"$ref":"#/definitions/uriType"},"defaultStatus":{"$ref":"#/definitions/status"},"versions":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","oneOf":[{"required":["version","status"],"maxProperties":2},{"required":["version","status","versionType"],"maxProperties":3},{"required":["version","status","versionType","lessThan"]},{"required":["version","status","versionType","lessThanOrEqual"]}],"properties":{"version":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"},"versionType":{"type":"string","minLength":1,"maxLength":128,"examples":["custom","git","maven","python","rpm","semver"]},"lessThan":{"$ref":"#/definitions/version"},"lessThanOrEqual":{"$ref":"#/definitions/version"},"changes":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["at","status"],"additionalProperties":false,"properties":{"at":{"$ref":"#/definitions/version"},"status":{"$ref":"#/definitions/status"}}}}},"additionalProperties":false}}}};const schema36 = {"type":"string","format":"uri","minLength":1,"maxLength":2048};const schema38 = {"type":"string","enum":["affected","unaffected","unknown"]};const schema39 = {"type":"string","minLength":1,"maxLength":1024};const formats12 = require("ajv-formats/dist/formats").fullFormats.uri;const pattern13 = new RegExp("([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})", "u");function validate23(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;const _errs1 = errors;const _errs2 = errors;let valid1 = false;const _errs3 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.vendor === undefined) && (missing0 = "vendor")) || ((data.product === undefined) && (missing0 = "product"))){const err0 = {instancePath,schemaPath:"#/allOf/0/anyOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}var _valid0 = _errs3 === errors;valid1 = valid1 || _valid0;if(!valid1){const _errs4 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing1;if(((data.collectionURL === undefined) && (missing1 = "collectionURL")) || ((data.packageName === undefined) && (missing1 = "packageName"))){const err1 = {instancePath,schemaPath:"#/allOf/0/anyOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}var _valid0 = _errs4 === errors;valid1 = valid1 || _valid0;}if(!valid1){const err2 = {instancePath,schemaPath:"#/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;validate23.errors = vErrors;return false;}else {errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}}var valid0 = _errs1 === errors;if(valid0){const _errs5 = errors;const _errs6 = errors;let valid2 = false;const _errs7 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if((data.versions === undefined) && (missing2 = "versions")){const err3 = {instancePath,schemaPath:"#/allOf/1/anyOf/0/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid1 = _errs7 === errors;valid2 = valid2 || _valid1;if(!valid2){const _errs8 = errors;if(data && typeof data == "object" && !Array.isArray(data)){let missing3;if((data.defaultStatus === undefined) && (missing3 = "defaultStatus")){const err4 = {instancePath,schemaPath:"#/allOf/1/anyOf/1/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}var _valid1 = _errs8 === errors;valid2 = valid2 || _valid1;}if(!valid2){const err5 = {instancePath,schemaPath:"#/allOf/1/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;validate23.errors = vErrors;return false;}else {errors = _errs6;if(vErrors !== null){if(_errs6){vErrors.length = _errs6;}else {vErrors = null;}}}var valid0 = _errs5 === errors;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.vendor !== undefined){let data0 = data.vendor;const _errs9 = errors;if(errors === _errs9){if(typeof data0 === "string"){if(func7(data0) > 512){validate23.errors = [{instancePath:instancePath+"/vendor",schemaPath:"#/properties/vendor/maxLength",keyword:"maxLength",params:{limit: 512},message:"must NOT have more than 512 characters"}];return false;}else {if(func7(data0) < 1){validate23.errors = [{instancePath:instancePath+"/vendor",schemaPath:"#/properties/vendor/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/vendor",schemaPath:"#/properties/vendor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs9 === errors;}else {var valid3 = true;}if(valid3){if(data.product !== undefined){let data1 = data.product;const _errs11 = errors;if(errors === _errs11){if(typeof data1 === "string"){if(func7(data1) > 2048){validate23.errors = [{instancePath:instancePath+"/product",schemaPath:"#/properties/product/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data1) < 1){validate23.errors = [{instancePath:instancePath+"/product",schemaPath:"#/properties/product/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/product",schemaPath:"#/properties/product/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs11 === errors;}else {var valid3 = true;}if(valid3){if(data.collectionURL !== undefined){let data2 = data.collectionURL;const _errs13 = errors;const _errs14 = errors;if(errors === _errs14){if(errors === _errs14){if(typeof data2 === "string"){if(func7(data2) > 2048){validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data2) < 1){validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!(formats12(data2))){validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/format",keyword:"format",params:{format: "uri"},message:"must match format \""+"uri"+"\""}];return false;}}}}else {validate23.errors = [{instancePath:instancePath+"/collectionURL",schemaPath:"#/definitions/uriType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid3 = _errs13 === errors;}else {var valid3 = true;}if(valid3){if(data.packageName !== undefined){let data3 = data.packageName;const _errs16 = errors;if(errors === _errs16){if(typeof data3 === "string"){if(func7(data3) > 2048){validate23.errors = [{instancePath:instancePath+"/packageName",schemaPath:"#/properties/packageName/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data3) < 1){validate23.errors = [{instancePath:instancePath+"/packageName",schemaPath:"#/properties/packageName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/packageName",schemaPath:"#/properties/packageName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs16 === errors;}else {var valid3 = true;}if(valid3){if(data.cpes !== undefined){let data4 = data.cpes;const _errs18 = errors;if(errors === _errs18){if(Array.isArray(data4)){var valid5 = true;const len0 = data4.length;for(let i0=0; i0 2048){validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data5) < 1){validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!pattern13.test(data5)){validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/pattern",keyword:"pattern",params:{pattern: "([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})"},message:"must match pattern \""+"([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9._\\-~%]*){0,6})|(cpe:2\\.3:[aho*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-._]|(\\\\[\\\\*?!\"#$%&'()+,/:;<=>@\\[\\]\\^`{|}~]))+(\\?*|\\*?))|[*\\-])){4})"+"\""}];return false;}}}}else {validate23.errors = [{instancePath:instancePath+"/cpes/" + i0,schemaPath:"#/properties/cpes/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs20 === errors;if(!valid5){break;}}if(valid5){let i1 = data4.length;let j0;if(i1 > 1){const indices0 = {};for(;i1--;){let item0 = data4[i1];if(typeof item0 !== "string"){continue;}if(typeof indices0[item0] == "number"){j0 = indices0[item0];validate23.errors = [{instancePath:instancePath+"/cpes",schemaPath:"#/properties/cpes/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break;}indices0[item0] = i1;}}}}else {validate23.errors = [{instancePath:instancePath+"/cpes",schemaPath:"#/properties/cpes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs18 === errors;}else {var valid3 = true;}if(valid3){if(data.modules !== undefined){let data6 = data.modules;const _errs22 = errors;if(errors === _errs22){if(Array.isArray(data6)){var valid7 = true;const len1 = data6.length;for(let i2=0; i2 4096){validate23.errors = [{instancePath:instancePath+"/modules/" + i2,schemaPath:"#/properties/modules/items/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data7) < 1){validate23.errors = [{instancePath:instancePath+"/modules/" + i2,schemaPath:"#/properties/modules/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/modules/" + i2,schemaPath:"#/properties/modules/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs24 === errors;if(!valid7){break;}}if(valid7){let i3 = data6.length;let j1;if(i3 > 1){const indices1 = {};for(;i3--;){let item1 = data6[i3];if(typeof item1 !== "string"){continue;}if(typeof indices1[item1] == "number"){j1 = indices1[item1];validate23.errors = [{instancePath:instancePath+"/modules",schemaPath:"#/properties/modules/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break;}indices1[item1] = i3;}}}}else {validate23.errors = [{instancePath:instancePath+"/modules",schemaPath:"#/properties/modules/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs22 === errors;}else {var valid3 = true;}if(valid3){if(data.programFiles !== undefined){let data8 = data.programFiles;const _errs26 = errors;if(errors === _errs26){if(Array.isArray(data8)){var valid9 = true;const len2 = data8.length;for(let i4=0; i4 1024){validate23.errors = [{instancePath:instancePath+"/programFiles/" + i4,schemaPath:"#/properties/programFiles/items/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data9) < 1){validate23.errors = [{instancePath:instancePath+"/programFiles/" + i4,schemaPath:"#/properties/programFiles/items/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/programFiles/" + i4,schemaPath:"#/properties/programFiles/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid9 = _errs28 === errors;if(!valid9){break;}}if(valid9){let i5 = data8.length;let j2;if(i5 > 1){const indices2 = {};for(;i5--;){let item2 = data8[i5];if(typeof item2 !== "string"){continue;}if(typeof indices2[item2] == "number"){j2 = indices2[item2];validate23.errors = [{instancePath:instancePath+"/programFiles",schemaPath:"#/properties/programFiles/uniqueItems",keyword:"uniqueItems",params:{i: i5, j: j2},message:"must NOT have duplicate items (items ## "+j2+" and "+i5+" are identical)"}];return false;break;}indices2[item2] = i5;}}}}else {validate23.errors = [{instancePath:instancePath+"/programFiles",schemaPath:"#/properties/programFiles/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs26 === errors;}else {var valid3 = true;}if(valid3){if(data.programRoutines !== undefined){let data10 = data.programRoutines;const _errs30 = errors;if(errors === _errs30){if(Array.isArray(data10)){var valid11 = true;const len3 = data10.length;for(let i6=0; i6 4096){validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6+"/name",schemaPath:"#/properties/programRoutines/items/properties/name/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data12) < 1){validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6+"/name",schemaPath:"#/properties/programRoutines/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6+"/name",schemaPath:"#/properties/programRoutines/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}}}}else {validate23.errors = [{instancePath:instancePath+"/programRoutines/" + i6,schemaPath:"#/properties/programRoutines/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid11 = _errs32 === errors;if(!valid11){break;}}if(valid11){let i7 = data10.length;let j3;if(i7 > 1){outer0:for(;i7--;){for(j3 = i7; j3--;){if(func0(data10[i7], data10[j3])){validate23.errors = [{instancePath:instancePath+"/programRoutines",schemaPath:"#/properties/programRoutines/uniqueItems",keyword:"uniqueItems",params:{i: i7, j: j3},message:"must NOT have duplicate items (items ## "+j3+" and "+i7+" are identical)"}];return false;break outer0;}}}}}}else {validate23.errors = [{instancePath:instancePath+"/programRoutines",schemaPath:"#/properties/programRoutines/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs30 === errors;}else {var valid3 = true;}if(valid3){if(data.platforms !== undefined){let data13 = data.platforms;const _errs37 = errors;if(errors === _errs37){if(Array.isArray(data13)){if(data13.length < 1){validate23.errors = [{instancePath:instancePath+"/platforms",schemaPath:"#/properties/platforms/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid14 = true;const len4 = data13.length;for(let i8=0; i8 1024){validate23.errors = [{instancePath:instancePath+"/platforms/" + i8,schemaPath:"#/properties/platforms/items/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}}else {validate23.errors = [{instancePath:instancePath+"/platforms/" + i8,schemaPath:"#/properties/platforms/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid14 = _errs39 === errors;if(!valid14){break;}}if(valid14){let i9 = data13.length;let j4;if(i9 > 1){const indices3 = {};for(;i9--;){let item3 = data13[i9];if(typeof item3 !== "string"){continue;}if(typeof indices3[item3] == "number"){j4 = indices3[item3];validate23.errors = [{instancePath:instancePath+"/platforms",schemaPath:"#/properties/platforms/uniqueItems",keyword:"uniqueItems",params:{i: i9, j: j4},message:"must NOT have duplicate items (items ## "+j4+" and "+i9+" are identical)"}];return false;break;}indices3[item3] = i9;}}}}}else {validate23.errors = [{instancePath:instancePath+"/platforms",schemaPath:"#/properties/platforms/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs37 === errors;}else {var valid3 = true;}if(valid3){if(data.repo !== undefined){let data15 = data.repo;const _errs41 = errors;const _errs42 = errors;if(errors === _errs42){if(errors === _errs42){if(typeof data15 === "string"){if(func7(data15) > 2048){validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data15) < 1){validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!(formats12(data15))){validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/format",keyword:"format",params:{format: "uri"},message:"must match format \""+"uri"+"\""}];return false;}}}}else {validate23.errors = [{instancePath:instancePath+"/repo",schemaPath:"#/definitions/uriType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid3 = _errs41 === errors;}else {var valid3 = true;}if(valid3){if(data.defaultStatus !== undefined){let data16 = data.defaultStatus;const _errs44 = errors;if(typeof data16 !== "string"){validate23.errors = [{instancePath:instancePath+"/defaultStatus",schemaPath:"#/definitions/status/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data16 === "affected") || (data16 === "unaffected")) || (data16 === "unknown"))){validate23.errors = [{instancePath:instancePath+"/defaultStatus",schemaPath:"#/definitions/status/enum",keyword:"enum",params:{allowedValues: schema38.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs44 === errors;}else {var valid3 = true;}if(valid3){if(data.versions !== undefined){let data17 = data.versions;const _errs47 = errors;if(errors === _errs47){if(Array.isArray(data17)){if(data17.length < 1){validate23.errors = [{instancePath:instancePath+"/versions",schemaPath:"#/properties/versions/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid18 = true;const len5 = data17.length;for(let i10=0; i10 2){const err6 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/0/maxProperties",keyword:"maxProperties",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {let missing5;if(((data18.version === undefined) && (missing5 = "version")) || ((data18.status === undefined) && (missing5 = "status"))){const err7 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/0/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}var _valid2 = _errs52 === errors;if(_valid2){valid19 = true;passing0 = 0;}const _errs53 = errors;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){if(Object.keys(data18).length > 3){const err8 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/1/maxProperties",keyword:"maxProperties",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}else {let missing6;if((((data18.version === undefined) && (missing6 = "version")) || ((data18.status === undefined) && (missing6 = "status"))) || ((data18.versionType === undefined) && (missing6 = "versionType"))){const err9 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/1/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}}var _valid2 = _errs53 === errors;if(_valid2 && valid19){valid19 = false;passing0 = [passing0, 1];}else {if(_valid2){valid19 = true;passing0 = 1;}const _errs54 = errors;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){let missing7;if(((((data18.version === undefined) && (missing7 = "version")) || ((data18.status === undefined) && (missing7 = "status"))) || ((data18.versionType === undefined) && (missing7 = "versionType"))) || ((data18.lessThan === undefined) && (missing7 = "lessThan"))){const err10 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/2/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}var _valid2 = _errs54 === errors;if(_valid2 && valid19){valid19 = false;passing0 = [passing0, 2];}else {if(_valid2){valid19 = true;passing0 = 2;}const _errs55 = errors;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){let missing8;if(((((data18.version === undefined) && (missing8 = "version")) || ((data18.status === undefined) && (missing8 = "status"))) || ((data18.versionType === undefined) && (missing8 = "versionType"))) || ((data18.lessThanOrEqual === undefined) && (missing8 = "lessThanOrEqual"))){const err11 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf/3/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}var _valid2 = _errs55 === errors;if(_valid2 && valid19){valid19 = false;passing0 = [passing0, 3];}else {if(_valid2){valid19 = true;passing0 = 3;}}}}if(!valid19){const err12 = {instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;validate23.errors = vErrors;return false;}else {errors = _errs51;if(vErrors !== null){if(_errs51){vErrors.length = _errs51;}else {vErrors = null;}}}if(errors === _errs49){if(data18 && typeof data18 == "object" && !Array.isArray(data18)){const _errs56 = errors;for(const key1 in data18){if(!((((((key1 === "version") || (key1 === "status")) || (key1 === "versionType")) || (key1 === "lessThan")) || (key1 === "lessThanOrEqual")) || (key1 === "changes"))){validate23.errors = [{instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"}];return false;break;}}if(_errs56 === errors){if(data18.version !== undefined){let data19 = data18.version;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(typeof data19 === "string"){if(func7(data19) > 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/version",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data19) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/version",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/version",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs57 === errors;}else {var valid20 = true;}if(valid20){if(data18.status !== undefined){let data20 = data18.status;const _errs60 = errors;if(typeof data20 !== "string"){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/status",schemaPath:"#/definitions/status/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data20 === "affected") || (data20 === "unaffected")) || (data20 === "unknown"))){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/status",schemaPath:"#/definitions/status/enum",keyword:"enum",params:{allowedValues: schema38.enum},message:"must be equal to one of the allowed values"}];return false;}var valid20 = _errs60 === errors;}else {var valid20 = true;}if(valid20){if(data18.versionType !== undefined){let data21 = data18.versionType;const _errs63 = errors;if(errors === _errs63){if(typeof data21 === "string"){if(func7(data21) > 128){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/versionType",schemaPath:"#/properties/versions/items/properties/versionType/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data21) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/versionType",schemaPath:"#/properties/versions/items/properties/versionType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/versionType",schemaPath:"#/properties/versions/items/properties/versionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs63 === errors;}else {var valid20 = true;}if(valid20){if(data18.lessThan !== undefined){let data22 = data18.lessThan;const _errs65 = errors;const _errs66 = errors;if(errors === _errs66){if(typeof data22 === "string"){if(func7(data22) > 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThan",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data22) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThan",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThan",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs65 === errors;}else {var valid20 = true;}if(valid20){if(data18.lessThanOrEqual !== undefined){let data23 = data18.lessThanOrEqual;const _errs68 = errors;const _errs69 = errors;if(errors === _errs69){if(typeof data23 === "string"){if(func7(data23) > 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThanOrEqual",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data23) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThanOrEqual",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/lessThanOrEqual",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid20 = _errs68 === errors;}else {var valid20 = true;}if(valid20){if(data18.changes !== undefined){let data24 = data18.changes;const _errs71 = errors;if(errors === _errs71){if(Array.isArray(data24)){if(data24.length < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes",schemaPath:"#/properties/versions/items/properties/changes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid25 = true;const len6 = data24.length;for(let i11=0; i11 1024){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/at",schemaPath:"#/definitions/version/maxLength",keyword:"maxLength",params:{limit: 1024},message:"must NOT have more than 1024 characters"}];return false;}else {if(func7(data26) < 1){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/at",schemaPath:"#/definitions/version/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/at",schemaPath:"#/definitions/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid26 = _errs76 === errors;}else {var valid26 = true;}if(valid26){if(data25.status !== undefined){let data27 = data25.status;const _errs79 = errors;if(typeof data27 !== "string"){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/status",schemaPath:"#/definitions/status/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data27 === "affected") || (data27 === "unaffected")) || (data27 === "unknown"))){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11+"/status",schemaPath:"#/definitions/status/enum",keyword:"enum",params:{allowedValues: schema38.enum},message:"must be equal to one of the allowed values"}];return false;}var valid26 = _errs79 === errors;}else {var valid26 = true;}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes/" + i11,schemaPath:"#/properties/versions/items/properties/changes/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid25 = _errs73 === errors;if(!valid25){break;}}if(valid25){let i12 = data24.length;let j5;if(i12 > 1){outer1:for(;i12--;){for(j5 = i12; j5--;){if(func0(data24[i12], data24[j5])){validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes",schemaPath:"#/properties/versions/items/properties/changes/uniqueItems",keyword:"uniqueItems",params:{i: i12, j: j5},message:"must NOT have duplicate items (items ## "+j5+" and "+i12+" are identical)"}];return false;break outer1;}}}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10+"/changes",schemaPath:"#/properties/versions/items/properties/changes/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid20 = _errs71 === errors;}else {var valid20 = true;}}}}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions/" + i10,schemaPath:"#/properties/versions/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid18 = _errs49 === errors;if(!valid18){break;}}if(valid18){let i13 = data17.length;let j6;if(i13 > 1){outer2:for(;i13--;){for(j6 = i13; j6--;){if(func0(data17[i13], data17[j6])){validate23.errors = [{instancePath:instancePath+"/versions",schemaPath:"#/properties/versions/uniqueItems",keyword:"uniqueItems",params:{i: i13, j: j6},message:"must NOT have duplicate items (items ## "+j6+" and "+i13+" are identical)"}];return false;break outer2;}}}}}}}else {validate23.errors = [{instancePath:instancePath+"/versions",schemaPath:"#/properties/versions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid3 = _errs47 === errors;}else {var valid3 = true;}}}}}}}}}}}}}else {validate23.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate23.errors = vErrors;return errors === 0;}function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate22.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 2048){validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data0) < 1){validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}else {if(!(formats12(data0))){validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/format",keyword:"format",params:{format: "uri"},message:"must match format \""+"uri"+"\""}];return false;}}}}else {validate28.errors = [{instancePath:instancePath+"/url",schemaPath:"#/definitions/uriType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.name !== undefined){let data1 = data.name;const _errs5 = errors;if(errors === _errs5){if(typeof data1 === "string"){if(func7(data1) > 512){validate28.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/maxLength",keyword:"maxLength",params:{limit: 512},message:"must NOT have more than 512 characters"}];return false;}else {if(func7(data1) < 1){validate28.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate28.errors = [{instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.tags !== undefined){let data2 = data.tags;const _errs7 = errors;if(errors === _errs7){if(Array.isArray(data2)){if(data2.length < 1){validate28.errors = [{instancePath:instancePath+"/tags",schemaPath:"#/properties/tags/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid2 = true;const len0 = data2.length;for(let i0=0; i0 128){const err0 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(func7(data3) < 2){const err1 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {if(!pattern16.test(data3)){const err2 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/pattern",keyword:"pattern",params:{pattern: "^x_.*$"},message:"must match pattern \""+"^x_.*$"+"\""};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}else {const err3 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/definitions/tagExtension/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs11 === errors;if(_valid0){valid3 = true;passing0 = 0;}const _errs15 = errors;if(typeof data3 !== "string"){const err4 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/properties/tags/items/oneOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((((((((((((((((((data3 === "broken-link") || (data3 === "customer-entitlement")) || (data3 === "exploit")) || (data3 === "government-resource")) || (data3 === "issue-tracking")) || (data3 === "mailing-list")) || (data3 === "mitigation")) || (data3 === "not-applicable")) || (data3 === "patch")) || (data3 === "permissions-required")) || (data3 === "media-coverage")) || (data3 === "product")) || (data3 === "related")) || (data3 === "release-notes")) || (data3 === "signature")) || (data3 === "technical-description")) || (data3 === "third-party-advisory")) || (data3 === "vendor-advisory")) || (data3 === "vdb-entry"))){const err5 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/properties/tags/items/oneOf/1/enum",keyword:"enum",params:{allowedValues: schema48.properties.tags.items.oneOf[1].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var _valid0 = _errs15 === errors;if(_valid0 && valid3){valid3 = false;passing0 = [passing0, 1];}else {if(_valid0){valid3 = true;passing0 = 1;}}if(!valid3){const err6 = {instancePath:instancePath+"/tags/" + i0,schemaPath:"#/properties/tags/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate28.errors = vErrors;return false;}else {errors = _errs10;if(vErrors !== null){if(_errs10){vErrors.length = _errs10;}else {vErrors = null;}}}var valid2 = _errs9 === errors;if(!valid2){break;}}if(valid2){let i1 = data2.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data2[i1], data2[j0])){validate28.errors = [{instancePath:instancePath+"/tags",schemaPath:"#/properties/tags/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate28.errors = [{instancePath:instancePath+"/tags",schemaPath:"#/properties/tags/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs7 === errors;}else {var valid0 = true;}}}}}}else {validate28.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate28.errors = vErrors;return errors === 0;}function validate27(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length > 512){validate27.errors = [{instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 512},message:"must NOT have more than 512 items"}];return false;}else {if(data.length < 1){validate27.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate27.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}}else {validate27.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate27.errors = vErrors;return errors === 0;}function validate26(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate26.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 4096){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/description",schemaPath:"#/items/properties/descriptions/items/properties/description/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data4) < 1){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/description",schemaPath:"#/items/properties/descriptions/items/properties/description/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/description",schemaPath:"#/items/properties/descriptions/items/properties/description/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data2.cweId !== undefined){let data5 = data2.cweId;const _errs14 = errors;if(errors === _errs14){if(typeof data5 === "string"){if(func7(data5) > 9){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/maxLength",keyword:"maxLength",params:{limit: 9},message:"must NOT have more than 9 characters"}];return false;}else {if(func7(data5) < 5){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/minLength",keyword:"minLength",params:{limit: 5},message:"must NOT have fewer than 5 characters"}];return false;}else {if(!pattern15.test(data5)){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/pattern",keyword:"pattern",params:{pattern: "^CWE-[1-9][0-9]*$"},message:"must match pattern \""+"^CWE-[1-9][0-9]*$"+"\""}];return false;}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/cweId",schemaPath:"#/items/properties/descriptions/items/properties/cweId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs14 === errors;}else {var valid3 = true;}if(valid3){if(data2.type !== undefined){let data6 = data2.type;const _errs16 = errors;if(errors === _errs16){if(typeof data6 === "string"){if(func7(data6) > 128){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/type",schemaPath:"#/items/properties/descriptions/items/properties/type/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data6) < 1){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/type",schemaPath:"#/items/properties/descriptions/items/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/type",schemaPath:"#/items/properties/descriptions/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid3 = _errs16 === errors;}else {var valid3 = true;}if(valid3){if(data2.references !== undefined){const _errs18 = errors;if(!(validate27(data2.references, {instancePath:instancePath+"/" + i0+"/descriptions/" + i1+"/references",parentData:data2,parentDataProperty:"references",rootData}))){vErrors = vErrors === null ? validate27.errors : vErrors.concat(validate27.errors);errors = vErrors.length;}var valid3 = _errs18 === errors;}else {var valid3 = true;}}}}}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions/" + i1,schemaPath:"#/items/properties/descriptions/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs6 === errors;if(!valid2){break;}}if(valid2){let i2 = data1.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data1[i2], data1[j0])){validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions",schemaPath:"#/items/properties/descriptions/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0+"/descriptions",schemaPath:"#/items/properties/descriptions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}}else {validate26.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i3 = data.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data[i3], data[j1])){validate26.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate26.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate26.errors = vErrors;return errors === 0;}const schema51 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["descriptions"],"properties":{"capecId":{"type":"string","minLength":7,"maxLength":11,"pattern":"^CAPEC-[1-9][0-9]{0,4}$"},"descriptions":{"$ref":"#/definitions/descriptions"}},"additionalProperties":false}};const pattern17 = new RegExp("^CAPEC-[1-9][0-9]{0,4}$", "u");function validate33(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate33.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 11){validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/maxLength",keyword:"maxLength",params:{limit: 11},message:"must NOT have more than 11 characters"}];return false;}else {if(func7(data1) < 7){validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/minLength",keyword:"minLength",params:{limit: 7},message:"must NOT have fewer than 7 characters"}];return false;}else {if(!pattern17.test(data1)){validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/pattern",keyword:"pattern",params:{pattern: "^CAPEC-[1-9][0-9]{0,4}$"},message:"must match pattern \""+"^CAPEC-[1-9][0-9]{0,4}$"+"\""}];return false;}}}}else {validate33.errors = [{instancePath:instancePath+"/" + i0+"/capecId",schemaPath:"#/items/properties/capecId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs4 === errors;}else {var valid1 = true;}if(valid1){if(data0.descriptions !== undefined){const _errs6 = errors;if(!(validate16(data0.descriptions, {instancePath:instancePath+"/" + i0+"/descriptions",parentData:data0,parentDataProperty:"descriptions",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid1 = _errs6 === errors;}else {var valid1 = true;}}}}}else {validate33.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate33.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate33.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate33.errors = vErrors;return errors === 0;}const schema52 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","anyOf":[{"required":["cvssV4_0"]},{"required":["cvssV3_1"]},{"required":["cvssV3_0"]},{"required":["cvssV2_0"]},{"required":["other"]}],"properties":{"format":{"type":"string","minLength":1,"maxLength":64},"scenarios":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","default":"GENERAL","minLength":1,"maxLength":4096}},"required":["lang","value"],"additionalProperties":false}},"cvssV4_0":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"],"default":"NOT_DEFINED"},"attackRequirementsType":{"type":"string","enum":["NONE","PRESENT"]},"modifiedAttackRequirementsType":{"type":"string","enum":["NONE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"],"default":"NOT_DEFINED"},"userInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","PASSIVE","ACTIVE","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedVulnCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"subCiaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedSubCType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"modifiedSubIaType":{"type":"string","enum":["NONE","LOW","HIGH","SAFETY","NOT_DEFINED"],"default":"NOT_DEFINED"},"exploitMaturityType":{"type":"string","enum":["UNREPORTED","PROOF_OF_CONCEPT","ATTACKED","NOT_DEFINED"],"default":"NOT_DEFINED"},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"safetyType":{"type":"string","enum":["NEGLIGIBLE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"},"automatableType":{"type":"string","enum":["NO","YES","NOT_DEFINED"],"default":"NOT_DEFINED"},"recoveryType":{"type":"string","enum":["AUTOMATIC","USER","IRRECOVERABLE","NOT_DEFINED"],"default":"NOT_DEFINED"},"valueDensityType":{"type":"string","enum":["DIFFUSE","CONCENTRATED","NOT_DEFINED"],"default":"NOT_DEFINED"},"vulnerabilityResponseEffortType":{"type":"string","enum":["LOW","MODERATE","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"},"providerUrgencyType":{"type":"string","enum":["CLEAR","GREEN","AMBER","RED","NOT_DEFINED"],"default":"NOT_DEFINED"},"noneScoreType":{"type":"number","minimum":0,"maximum":0},"lowScoreType":{"type":"number","minimum":0.1,"maximum":3.9,"multipleOf":0.1},"mediumScoreType":{"type":"number","minimum":4,"maximum":6.9,"multipleOf":0.1},"highScoreType":{"type":"number","minimum":7,"maximum":8.9,"multipleOf":0.1},"criticalScoreType":{"type":"number","minimum":9,"maximum":10,"multipleOf":0.1},"noneSeverityType":{"const":"NONE"},"lowSeverityType":{"const":"LOW"},"mediumSeverityType":{"const":"MEDIUM"},"highSeverityType":{"const":"HIGH"},"criticalSeverityType":{"const":"CRITICAL"}},"properties":{"version":{"type":"string","enum":["4.0"]},"vectorString":{"type":"string","pattern":"^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType"},"attackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType"},"vulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"vulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType"},"subConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"subAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType"},"exploitMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType"},"modifiedAttackRequirements":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType"},"modifiedVulnConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedVulnAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType"},"modifiedSubConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType"},"modifiedSubIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"modifiedSubAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType"},"Safety":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType"},"Automatable":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType"},"Recovery":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType"},"valueDensity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType"},"vulnerabilityResponseEffort":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType"},"providerUrgency":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType"}},"allOf":[{"anyOf":[{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"threatScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"threatSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]},{"anyOf":[{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType"}}},{"properties":{"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType"}}}]}],"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV3_1":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.1"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV3_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"attackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]},"modifiedAttackVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]},"attackComplexityType":{"type":"string","enum":["HIGH","LOW"]},"modifiedAttackComplexityType":{"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]},"privilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE"]},"modifiedPrivilegesRequiredType":{"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]},"userInteractionType":{"type":"string","enum":["NONE","REQUIRED"]},"modifiedUserInteractionType":{"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]},"scopeType":{"type":"string","enum":["UNCHANGED","CHANGED"]},"modifiedScopeType":{"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]},"ciaType":{"type":"string","enum":["NONE","LOW","HIGH"]},"modifiedCiaType":{"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]},"exploitCodeMaturityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"confidenceType":{"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10},"severityType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]}},"properties":{"version":{"type":"string","enum":["3.0"]},"vectorString":{"type":"string","pattern":"^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},"attackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType"},"attackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType"},"privilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType"},"userInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType"},"scope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"baseSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"exploitCodeMaturity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"temporalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType"},"modifiedAttackVector":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType"},"modifiedAttackComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType"},"modifiedPrivilegesRequired":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType"},"modifiedUserInteraction":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType"},"modifiedScope":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType"},"modifiedConfidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedIntegrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"modifiedAvailabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType"},"environmentalSeverity":{"$ref":"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType"}},"required":["version","vectorString","baseScore","baseSeverity"],"additionalProperties":false},"cvssV2_0":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","definitions":{"accessVectorType":{"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL"]},"accessComplexityType":{"type":"string","enum":["HIGH","MEDIUM","LOW"]},"authenticationType":{"type":"string","enum":["MULTIPLE","SINGLE","NONE"]},"ciaType":{"type":"string","enum":["NONE","PARTIAL","COMPLETE"]},"exploitabilityType":{"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]},"remediationLevelType":{"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]},"reportConfidenceType":{"type":"string","enum":["UNCONFIRMED","UNCORROBORATED","CONFIRMED","NOT_DEFINED"]},"collateralDamagePotentialType":{"type":"string","enum":["NONE","LOW","LOW_MEDIUM","MEDIUM_HIGH","HIGH","NOT_DEFINED"]},"targetDistributionType":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","NOT_DEFINED"]},"ciaRequirementType":{"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]},"scoreType":{"type":"number","minimum":0,"maximum":10}},"properties":{"version":{"type":"string","enum":["2.0"]},"vectorString":{"type":"string","pattern":"^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"},"accessVector":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType"},"accessComplexity":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType"},"authentication":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType"},"confidentialityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"integrityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"availabilityImpact":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType"},"baseScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"exploitability":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType"},"remediationLevel":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType"},"reportConfidence":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType"},"temporalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"},"collateralDamagePotential":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType"},"targetDistribution":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType"},"confidentialityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"integrityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"availabilityRequirement":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType"},"environmentalScore":{"$ref":"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType"}},"required":["version","vectorString","baseScore"],"additionalProperties":false},"other":{"type":"object","required":["type","content"],"properties":{"type":{"type":"string","minLength":1,"maxLength":128},"content":{"type":"object","$comment":"additionalProperties are allowed here, since this construct supports arbitrary JSON.","minProperties":1}},"additionalProperties":false}},"additionalProperties":false}};const schema54 = {"type":"number","minimum":0,"maximum":0};const schema55 = {"const":"NONE"};const schema56 = {"type":"number","minimum":0.1,"maximum":3.9,"multipleOf":0.1};const schema57 = {"const":"LOW"};const schema58 = {"type":"number","minimum":4,"maximum":6.9,"multipleOf":0.1};const schema59 = {"const":"MEDIUM"};const schema60 = {"type":"number","minimum":7,"maximum":8.9,"multipleOf":0.1};const schema61 = {"const":"HIGH"};const schema62 = {"type":"number","minimum":9,"maximum":10,"multipleOf":0.1};const schema63 = {"const":"CRITICAL"};const schema84 = {"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL"]};const schema85 = {"type":"string","enum":["HIGH","LOW"]};const schema86 = {"type":"string","enum":["NONE","PRESENT"]};const schema87 = {"type":"string","enum":["HIGH","LOW","NONE"]};const schema88 = {"type":"string","enum":["NONE","PASSIVE","ACTIVE"]};const schema89 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema92 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema95 = {"type":"string","enum":["UNREPORTED","PROOF_OF_CONCEPT","ATTACKED","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema96 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema99 = {"type":"string","enum":["NETWORK","ADJACENT","LOCAL","PHYSICAL","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema100 = {"type":"string","enum":["HIGH","LOW","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema101 = {"type":"string","enum":["NONE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema102 = {"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema103 = {"type":"string","enum":["NONE","PASSIVE","ACTIVE","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema104 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema107 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema108 = {"type":"string","enum":["NONE","LOW","HIGH","SAFETY","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema110 = {"type":"string","enum":["NEGLIGIBLE","PRESENT","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema111 = {"type":"string","enum":["NO","YES","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema112 = {"type":"string","enum":["AUTOMATIC","USER","IRRECOVERABLE","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema113 = {"type":"string","enum":["DIFFUSE","CONCENTRATED","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema114 = {"type":"string","enum":["LOW","MODERATE","HIGH","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema115 = {"type":"string","enum":["CLEAR","GREEN","AMBER","RED","NOT_DEFINED"],"default":"NOT_DEFINED"};const schema116 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]};const schema117 = {"type":"string","enum":["HIGH","LOW"]};const schema118 = {"type":"string","enum":["HIGH","LOW","NONE"]};const schema119 = {"type":"string","enum":["NONE","REQUIRED"]};const schema120 = {"type":"string","enum":["UNCHANGED","CHANGED"]};const schema121 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema124 = {"type":"number","minimum":0,"maximum":10};const schema125 = {"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]};const schema126 = {"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]};const schema127 = {"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]};const schema128 = {"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]};const schema131 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]};const schema134 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]};const schema135 = {"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]};const schema136 = {"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]};const schema137 = {"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]};const schema138 = {"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]};const schema139 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]};const schema144 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL"]};const schema145 = {"type":"string","enum":["HIGH","LOW"]};const schema146 = {"type":"string","enum":["HIGH","LOW","NONE"]};const schema147 = {"type":"string","enum":["NONE","REQUIRED"]};const schema148 = {"type":"string","enum":["UNCHANGED","CHANGED"]};const schema149 = {"type":"string","enum":["NONE","LOW","HIGH"]};const schema152 = {"type":"number","minimum":0,"maximum":10};const schema153 = {"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","CRITICAL"]};const schema154 = {"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]};const schema155 = {"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]};const schema156 = {"type":"string","enum":["UNKNOWN","REASONABLE","CONFIRMED","NOT_DEFINED"]};const schema159 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]};const schema162 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL","PHYSICAL","NOT_DEFINED"]};const schema163 = {"type":"string","enum":["HIGH","LOW","NOT_DEFINED"]};const schema164 = {"type":"string","enum":["HIGH","LOW","NONE","NOT_DEFINED"]};const schema165 = {"type":"string","enum":["NONE","REQUIRED","NOT_DEFINED"]};const schema166 = {"type":"string","enum":["UNCHANGED","CHANGED","NOT_DEFINED"]};const schema167 = {"type":"string","enum":["NONE","LOW","HIGH","NOT_DEFINED"]};const schema172 = {"type":"string","enum":["NETWORK","ADJACENT_NETWORK","LOCAL"]};const schema173 = {"type":"string","enum":["HIGH","MEDIUM","LOW"]};const schema174 = {"type":"string","enum":["MULTIPLE","SINGLE","NONE"]};const schema175 = {"type":"string","enum":["NONE","PARTIAL","COMPLETE"]};const schema178 = {"type":"number","minimum":0,"maximum":10};const schema179 = {"type":"string","enum":["UNPROVEN","PROOF_OF_CONCEPT","FUNCTIONAL","HIGH","NOT_DEFINED"]};const schema180 = {"type":"string","enum":["OFFICIAL_FIX","TEMPORARY_FIX","WORKAROUND","UNAVAILABLE","NOT_DEFINED"]};const schema181 = {"type":"string","enum":["UNCONFIRMED","UNCORROBORATED","CONFIRMED","NOT_DEFINED"]};const schema183 = {"type":"string","enum":["NONE","LOW","LOW_MEDIUM","MEDIUM_HIGH","HIGH","NOT_DEFINED"]};const schema184 = {"type":"string","enum":["NONE","LOW","MEDIUM","HIGH","NOT_DEFINED"]};const schema185 = {"type":"string","enum":["LOW","MEDIUM","HIGH","NOT_DEFINED"]};const pattern19 = new RegExp("^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$", "u");const pattern20 = new RegExp("^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$", "u");const pattern21 = new RegExp("^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$", "u");const pattern22 = new RegExp("^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$", "u");function validate36(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate36.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 64){validate36.errors = [{instancePath:instancePath+"/" + i0+"/format",schemaPath:"#/items/properties/format/maxLength",keyword:"maxLength",params:{limit: 64},message:"must NOT have more than 64 characters"}];return false;}else {if(func7(data1) < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/format",schemaPath:"#/items/properties/format/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/format",schemaPath:"#/items/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.scenarios !== undefined){let data2 = data0.scenarios;const _errs12 = errors;if(errors === _errs12){if(Array.isArray(data2)){if(data2.length < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios",schemaPath:"#/items/properties/scenarios/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid3 = true;const len1 = data2.length;for(let i1=0; i1 4096){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1+"/value",schemaPath:"#/items/properties/scenarios/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data5) < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1+"/value",schemaPath:"#/items/properties/scenarios/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1+"/value",schemaPath:"#/items/properties/scenarios/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid4 = _errs20 === errors;}else {var valid4 = true;}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios/" + i1,schemaPath:"#/items/properties/scenarios/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs14 === errors;if(!valid3){break;}}if(valid3){let i2 = data2.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data2[i2], data2[j0])){validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios",schemaPath:"#/items/properties/scenarios/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/scenarios",schemaPath:"#/items/properties/scenarios/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV4_0 !== undefined){let data6 = data0.cvssV4_0;const _errs22 = errors;const _errs24 = errors;const _errs25 = errors;let valid8 = false;const _errs26 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data7 = data6.baseScore;const _errs27 = errors;const _errs28 = errors;if(errors === _errs28){if((typeof data7 == "number") && (isFinite(data7))){if(data7 > 0 || isNaN(data7)){const err6 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 0},message:"must be <= 0"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {if(data7 < 0 || isNaN(data7)){const err7 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}var valid9 = _errs27 === errors;}else {var valid9 = true;}if(valid9){if(data6.baseSeverity !== undefined){const _errs30 = errors;if("NONE" !== data6.baseSeverity){const err9 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType/const",keyword:"const",params:{allowedValue: "NONE"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}var valid9 = _errs30 === errors;}else {var valid9 = true;}}}var _valid1 = _errs26 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs32 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data9 = data6.baseScore;const _errs33 = errors;const _errs34 = errors;if(errors === _errs34){if((typeof data9 == "number") && (isFinite(data9))){if(data9 > 3.9 || isNaN(data9)){const err10 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 3.9},message:"must be <= 3.9"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}else {if(data9 < 0.1 || isNaN(data9)){const err11 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.1},message:"must be >= 0.1"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}else {let res0;if((0.1 === 0 || (res0 = data9/0.1, res0 !== parseInt(res0)))){const err12 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}var valid12 = _errs33 === errors;}else {var valid12 = true;}if(valid12){if(data6.baseSeverity !== undefined){const _errs36 = errors;if("LOW" !== data6.baseSeverity){const err14 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType/const",keyword:"const",params:{allowedValue: "LOW"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}var valid12 = _errs36 === errors;}else {var valid12 = true;}}}var _valid1 = _errs32 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs38 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data11 = data6.baseScore;const _errs39 = errors;const _errs40 = errors;if(errors === _errs40){if((typeof data11 == "number") && (isFinite(data11))){if(data11 > 6.9 || isNaN(data11)){const err15 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6.9},message:"must be <= 6.9"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}else {if(data11 < 4 || isNaN(data11)){const err16 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 4},message:"must be >= 4"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}else {let res1;if((0.1 === 0 || (res1 = data11/0.1, res1 !== parseInt(res1)))){const err17 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}}}else {const err18 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid15 = _errs39 === errors;}else {var valid15 = true;}if(valid15){if(data6.baseSeverity !== undefined){const _errs42 = errors;if("MEDIUM" !== data6.baseSeverity){const err19 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType/const",keyword:"const",params:{allowedValue: "MEDIUM"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}var valid15 = _errs42 === errors;}else {var valid15 = true;}}}var _valid1 = _errs38 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs44 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data13 = data6.baseScore;const _errs45 = errors;const _errs46 = errors;if(errors === _errs46){if((typeof data13 == "number") && (isFinite(data13))){if(data13 > 8.9 || isNaN(data13)){const err20 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 8.9},message:"must be <= 8.9"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}else {if(data13 < 7 || isNaN(data13)){const err21 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 7},message:"must be >= 7"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}else {let res2;if((0.1 === 0 || (res2 = data13/0.1, res2 !== parseInt(res2)))){const err22 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}}else {const err23 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}var valid18 = _errs45 === errors;}else {var valid18 = true;}if(valid18){if(data6.baseSeverity !== undefined){const _errs48 = errors;if("HIGH" !== data6.baseSeverity){const err24 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType/const",keyword:"const",params:{allowedValue: "HIGH"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}var valid18 = _errs48 === errors;}else {var valid18 = true;}}}var _valid1 = _errs44 === errors;valid8 = valid8 || _valid1;if(!valid8){const _errs50 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.baseScore !== undefined){let data15 = data6.baseScore;const _errs51 = errors;const _errs52 = errors;if(errors === _errs52){if((typeof data15 == "number") && (isFinite(data15))){if(data15 > 10 || isNaN(data15)){const err25 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}else {if(data15 < 9 || isNaN(data15)){const err26 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 9},message:"must be >= 9"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}else {let res3;if((0.1 === 0 || (res3 = data15/0.1, res3 !== parseInt(res3)))){const err27 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}}else {const err28 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid21 = _errs51 === errors;}else {var valid21 = true;}if(valid21){if(data6.baseSeverity !== undefined){const _errs54 = errors;if("CRITICAL" !== data6.baseSeverity){const err29 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType/const",keyword:"const",params:{allowedValue: "CRITICAL"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}var valid21 = _errs54 === errors;}else {var valid21 = true;}}}var _valid1 = _errs50 === errors;valid8 = valid8 || _valid1;}}}}if(!valid8){const err30 = {instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/allOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;validate36.errors = vErrors;return false;}else {errors = _errs25;if(vErrors !== null){if(_errs25){vErrors.length = _errs25;}else {vErrors = null;}}}var valid7 = _errs24 === errors;if(valid7){const _errs56 = errors;const _errs57 = errors;let valid24 = false;const _errs58 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data17 = data6.threatScore;const _errs59 = errors;const _errs60 = errors;if(errors === _errs60){if((typeof data17 == "number") && (isFinite(data17))){if(data17 > 0 || isNaN(data17)){const err31 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 0},message:"must be <= 0"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {if(data17 < 0 || isNaN(data17)){const err32 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}}else {const err33 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}var valid25 = _errs59 === errors;}else {var valid25 = true;}if(valid25){if(data6.threatSeverity !== undefined){const _errs62 = errors;if("NONE" !== data6.threatSeverity){const err34 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType/const",keyword:"const",params:{allowedValue: "NONE"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}var valid25 = _errs62 === errors;}else {var valid25 = true;}}}var _valid2 = _errs58 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs64 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data19 = data6.threatScore;const _errs65 = errors;const _errs66 = errors;if(errors === _errs66){if((typeof data19 == "number") && (isFinite(data19))){if(data19 > 3.9 || isNaN(data19)){const err35 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 3.9},message:"must be <= 3.9"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {if(data19 < 0.1 || isNaN(data19)){const err36 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.1},message:"must be >= 0.1"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}else {let res4;if((0.1 === 0 || (res4 = data19/0.1, res4 !== parseInt(res4)))){const err37 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}}else {const err38 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid28 = _errs65 === errors;}else {var valid28 = true;}if(valid28){if(data6.threatSeverity !== undefined){const _errs68 = errors;if("LOW" !== data6.threatSeverity){const err39 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType/const",keyword:"const",params:{allowedValue: "LOW"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}var valid28 = _errs68 === errors;}else {var valid28 = true;}}}var _valid2 = _errs64 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs70 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data21 = data6.threatScore;const _errs71 = errors;const _errs72 = errors;if(errors === _errs72){if((typeof data21 == "number") && (isFinite(data21))){if(data21 > 6.9 || isNaN(data21)){const err40 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6.9},message:"must be <= 6.9"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}else {if(data21 < 4 || isNaN(data21)){const err41 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 4},message:"must be >= 4"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}else {let res5;if((0.1 === 0 || (res5 = data21/0.1, res5 !== parseInt(res5)))){const err42 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}}}else {const err43 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}var valid31 = _errs71 === errors;}else {var valid31 = true;}if(valid31){if(data6.threatSeverity !== undefined){const _errs74 = errors;if("MEDIUM" !== data6.threatSeverity){const err44 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType/const",keyword:"const",params:{allowedValue: "MEDIUM"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}var valid31 = _errs74 === errors;}else {var valid31 = true;}}}var _valid2 = _errs70 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs76 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data23 = data6.threatScore;const _errs77 = errors;const _errs78 = errors;if(errors === _errs78){if((typeof data23 == "number") && (isFinite(data23))){if(data23 > 8.9 || isNaN(data23)){const err45 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 8.9},message:"must be <= 8.9"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}else {if(data23 < 7 || isNaN(data23)){const err46 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 7},message:"must be >= 7"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}else {let res6;if((0.1 === 0 || (res6 = data23/0.1, res6 !== parseInt(res6)))){const err47 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}}}else {const err48 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}var valid34 = _errs77 === errors;}else {var valid34 = true;}if(valid34){if(data6.threatSeverity !== undefined){const _errs80 = errors;if("HIGH" !== data6.threatSeverity){const err49 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType/const",keyword:"const",params:{allowedValue: "HIGH"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}var valid34 = _errs80 === errors;}else {var valid34 = true;}}}var _valid2 = _errs76 === errors;valid24 = valid24 || _valid2;if(!valid24){const _errs82 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.threatScore !== undefined){let data25 = data6.threatScore;const _errs83 = errors;const _errs84 = errors;if(errors === _errs84){if((typeof data25 == "number") && (isFinite(data25))){if(data25 > 10 || isNaN(data25)){const err50 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}else {if(data25 < 9 || isNaN(data25)){const err51 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 9},message:"must be >= 9"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}else {let res7;if((0.1 === 0 || (res7 = data25/0.1, res7 !== parseInt(res7)))){const err52 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}}}else {const err53 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}var valid37 = _errs83 === errors;}else {var valid37 = true;}if(valid37){if(data6.threatSeverity !== undefined){const _errs86 = errors;if("CRITICAL" !== data6.threatSeverity){const err54 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/threatSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType/const",keyword:"const",params:{allowedValue: "CRITICAL"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}var valid37 = _errs86 === errors;}else {var valid37 = true;}}}var _valid2 = _errs82 === errors;valid24 = valid24 || _valid2;}}}}if(!valid24){const err55 = {instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/allOf/1/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;validate36.errors = vErrors;return false;}else {errors = _errs57;if(vErrors !== null){if(_errs57){vErrors.length = _errs57;}else {vErrors = null;}}}var valid7 = _errs56 === errors;if(valid7){const _errs88 = errors;const _errs89 = errors;let valid40 = false;const _errs90 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data27 = data6.environmentalScore;const _errs91 = errors;const _errs92 = errors;if(errors === _errs92){if((typeof data27 == "number") && (isFinite(data27))){if(data27 > 0 || isNaN(data27)){const err56 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 0},message:"must be <= 0"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}else {if(data27 < 0 || isNaN(data27)){const err57 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}}else {const err58 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}var valid41 = _errs91 === errors;}else {var valid41 = true;}if(valid41){if(data6.environmentalSeverity !== undefined){const _errs94 = errors;if("NONE" !== data6.environmentalSeverity){const err59 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/noneSeverityType/const",keyword:"const",params:{allowedValue: "NONE"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}var valid41 = _errs94 === errors;}else {var valid41 = true;}}}var _valid3 = _errs90 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs96 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data29 = data6.environmentalScore;const _errs97 = errors;const _errs98 = errors;if(errors === _errs98){if((typeof data29 == "number") && (isFinite(data29))){if(data29 > 3.9 || isNaN(data29)){const err60 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 3.9},message:"must be <= 3.9"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}else {if(data29 < 0.1 || isNaN(data29)){const err61 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.1},message:"must be >= 0.1"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}else {let res8;if((0.1 === 0 || (res8 = data29/0.1, res8 !== parseInt(res8)))){const err62 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}}}else {const err63 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}var valid44 = _errs97 === errors;}else {var valid44 = true;}if(valid44){if(data6.environmentalSeverity !== undefined){const _errs100 = errors;if("LOW" !== data6.environmentalSeverity){const err64 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/lowSeverityType/const",keyword:"const",params:{allowedValue: "LOW"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}var valid44 = _errs100 === errors;}else {var valid44 = true;}}}var _valid3 = _errs96 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs102 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data31 = data6.environmentalScore;const _errs103 = errors;const _errs104 = errors;if(errors === _errs104){if((typeof data31 == "number") && (isFinite(data31))){if(data31 > 6.9 || isNaN(data31)){const err65 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6.9},message:"must be <= 6.9"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}else {if(data31 < 4 || isNaN(data31)){const err66 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 4},message:"must be >= 4"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}else {let res9;if((0.1 === 0 || (res9 = data31/0.1, res9 !== parseInt(res9)))){const err67 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}}}else {const err68 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}var valid47 = _errs103 === errors;}else {var valid47 = true;}if(valid47){if(data6.environmentalSeverity !== undefined){const _errs106 = errors;if("MEDIUM" !== data6.environmentalSeverity){const err69 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/mediumSeverityType/const",keyword:"const",params:{allowedValue: "MEDIUM"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}var valid47 = _errs106 === errors;}else {var valid47 = true;}}}var _valid3 = _errs102 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs108 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data33 = data6.environmentalScore;const _errs109 = errors;const _errs110 = errors;if(errors === _errs110){if((typeof data33 == "number") && (isFinite(data33))){if(data33 > 8.9 || isNaN(data33)){const err70 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 8.9},message:"must be <= 8.9"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}else {if(data33 < 7 || isNaN(data33)){const err71 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 7},message:"must be >= 7"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}else {let res10;if((0.1 === 0 || (res10 = data33/0.1, res10 !== parseInt(res10)))){const err72 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}}else {const err73 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}var valid50 = _errs109 === errors;}else {var valid50 = true;}if(valid50){if(data6.environmentalSeverity !== undefined){const _errs112 = errors;if("HIGH" !== data6.environmentalSeverity){const err74 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/highSeverityType/const",keyword:"const",params:{allowedValue: "HIGH"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}var valid50 = _errs112 === errors;}else {var valid50 = true;}}}var _valid3 = _errs108 === errors;valid40 = valid40 || _valid3;if(!valid40){const _errs114 = errors;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.environmentalScore !== undefined){let data35 = data6.environmentalScore;const _errs115 = errors;const _errs116 = errors;if(errors === _errs116){if((typeof data35 == "number") && (isFinite(data35))){if(data35 > 10 || isNaN(data35)){const err75 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}else {if(data35 < 9 || isNaN(data35)){const err76 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 9},message:"must be >= 9"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}else {let res11;if((0.1 === 0 || (res11 = data35/0.1, res11 !== parseInt(res11)))){const err77 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.1},message:"must be multiple of 0.1"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}}else {const err78 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalScoreType/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}var valid53 = _errs115 === errors;}else {var valid53 = true;}if(valid53){if(data6.environmentalSeverity !== undefined){const _errs118 = errors;if("CRITICAL" !== data6.environmentalSeverity){const err79 = {instancePath:instancePath+"/" + i0+"/cvssV4_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/criticalSeverityType/const",keyword:"const",params:{allowedValue: "CRITICAL"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}var valid53 = _errs118 === errors;}else {var valid53 = true;}}}var _valid3 = _errs114 === errors;valid40 = valid40 || _valid3;}}}}if(!valid40){const err80 = {instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/allOf/2/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;validate36.errors = vErrors;return false;}else {errors = _errs89;if(vErrors !== null){if(_errs89){vErrors.length = _errs89;}else {vErrors = null;}}}var valid7 = _errs88 === errors;}}if(errors === _errs22){if(data6 && typeof data6 == "object" && !Array.isArray(data6)){let missing6;if(((((data6.version === undefined) && (missing6 = "version")) || ((data6.vectorString === undefined) && (missing6 = "vectorString"))) || ((data6.baseScore === undefined) && (missing6 = "baseScore"))) || ((data6.baseSeverity === undefined) && (missing6 = "baseSeverity"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"}];return false;}else {const _errs120 = errors;for(const key2 in data6){if(!(func6.call(schema52.items.properties.cvssV4_0.properties, key2))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"}];return false;break;}}if(_errs120 === errors){if(data6.version !== undefined){let data37 = data6.version;const _errs121 = errors;if(typeof data37 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/version",schemaPath:"#/items/properties/cvssV4_0/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data37 === "4.0")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/version",schemaPath:"#/items/properties/cvssV4_0/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV4_0.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs121 === errors;}else {var valid56 = true;}if(valid56){if(data6.vectorString !== undefined){let data38 = data6.vectorString;const _errs123 = errors;if(errors === _errs123){if(typeof data38 === "string"){if(!pattern19.test(data38)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vectorString",schemaPath:"#/items/properties/cvssV4_0/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"},message:"must match pattern \""+"^CVSS:4[.]0/AV:[NALP]/AC:[LH]/AT:[NP]/PR:[NLH]/UI:[NPA]/VC:[HLN]/VI:[HLN]/VA:[HLN]/SC:[HLN]/SI:[HLN]/SA:[HLN](/E:[XAPU])?(/CR:[XHML])?(/IR:[XHML])?(/AR:[XHML])?(/MAV:[XNALP])?(/MAC:[XLH])?(/MAT:[XNP])?(/MPR:[XNLH])?(/MUI:[XNPA])?(/MVC:[XNLH])?(/MVI:[XNLH])?(/MVA:[XNLH])?(/MSC:[XNLH])?(/MSI:[XNLHS])?(/MSA:[XNLHS])?(/S:[XNP])?(/AU:[XNY])?(/R:[XAUI])?(/V:[XDC])?(/RE:[XLMH])?(/U:(X|Clear|Green|Amber|Red))?$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vectorString",schemaPath:"#/items/properties/cvssV4_0/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid56 = _errs123 === errors;}else {var valid56 = true;}if(valid56){if(data6.attackVector !== undefined){let data39 = data6.attackVector;const _errs125 = errors;if(typeof data39 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data39 === "NETWORK") || (data39 === "ADJACENT")) || (data39 === "LOCAL")) || (data39 === "PHYSICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackVectorType/enum",keyword:"enum",params:{allowedValues: schema84.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs125 === errors;}else {var valid56 = true;}if(valid56){if(data6.attackComplexity !== undefined){let data40 = data6.attackComplexity;const _errs128 = errors;if(typeof data40 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data40 === "HIGH") || (data40 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackComplexityType/enum",keyword:"enum",params:{allowedValues: schema85.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs128 === errors;}else {var valid56 = true;}if(valid56){if(data6.attackRequirements !== undefined){let data41 = data6.attackRequirements;const _errs131 = errors;if(typeof data41 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data41 === "NONE") || (data41 === "PRESENT"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/attackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/attackRequirementsType/enum",keyword:"enum",params:{allowedValues: schema86.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs131 === errors;}else {var valid56 = true;}if(valid56){if(data6.privilegesRequired !== undefined){let data42 = data6.privilegesRequired;const _errs134 = errors;if(typeof data42 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data42 === "HIGH") || (data42 === "LOW")) || (data42 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/privilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema87.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs134 === errors;}else {var valid56 = true;}if(valid56){if(data6.userInteraction !== undefined){let data43 = data6.userInteraction;const _errs137 = errors;if(typeof data43 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data43 === "NONE") || (data43 === "PASSIVE")) || (data43 === "ACTIVE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/userInteractionType/enum",keyword:"enum",params:{allowedValues: schema88.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs137 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnConfidentialityImpact !== undefined){let data44 = data6.vulnConfidentialityImpact;const _errs140 = errors;if(typeof data44 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data44 === "NONE") || (data44 === "LOW")) || (data44 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/enum",keyword:"enum",params:{allowedValues: schema89.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs140 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnIntegrityImpact !== undefined){let data45 = data6.vulnIntegrityImpact;const _errs143 = errors;if(typeof data45 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data45 === "NONE") || (data45 === "LOW")) || (data45 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/enum",keyword:"enum",params:{allowedValues: schema89.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs143 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnAvailabilityImpact !== undefined){let data46 = data6.vulnAvailabilityImpact;const _errs146 = errors;if(typeof data46 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data46 === "NONE") || (data46 === "LOW")) || (data46 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnCiaType/enum",keyword:"enum",params:{allowedValues: schema89.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs146 === errors;}else {var valid56 = true;}if(valid56){if(data6.subConfidentialityImpact !== undefined){let data47 = data6.subConfidentialityImpact;const _errs149 = errors;if(typeof data47 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data47 === "NONE") || (data47 === "LOW")) || (data47 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/enum",keyword:"enum",params:{allowedValues: schema92.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs149 === errors;}else {var valid56 = true;}if(valid56){if(data6.subIntegrityImpact !== undefined){let data48 = data6.subIntegrityImpact;const _errs152 = errors;if(typeof data48 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data48 === "NONE") || (data48 === "LOW")) || (data48 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/enum",keyword:"enum",params:{allowedValues: schema92.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs152 === errors;}else {var valid56 = true;}if(valid56){if(data6.subAvailabilityImpact !== undefined){let data49 = data6.subAvailabilityImpact;const _errs155 = errors;if(typeof data49 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data49 === "NONE") || (data49 === "LOW")) || (data49 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/subAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/subCiaType/enum",keyword:"enum",params:{allowedValues: schema92.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs155 === errors;}else {var valid56 = true;}if(valid56){if(data6.exploitMaturity !== undefined){let data50 = data6.exploitMaturity;const _errs158 = errors;if(typeof data50 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/exploitMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data50 === "UNREPORTED") || (data50 === "PROOF_OF_CONCEPT")) || (data50 === "ATTACKED")) || (data50 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/exploitMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/exploitMaturityType/enum",keyword:"enum",params:{allowedValues: schema95.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs158 === errors;}else {var valid56 = true;}if(valid56){if(data6.confidentialityRequirement !== undefined){let data51 = data6.confidentialityRequirement;const _errs161 = errors;if(typeof data51 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data51 === "LOW") || (data51 === "MEDIUM")) || (data51 === "HIGH")) || (data51 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema96.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs161 === errors;}else {var valid56 = true;}if(valid56){if(data6.integrityRequirement !== undefined){let data52 = data6.integrityRequirement;const _errs164 = errors;if(typeof data52 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data52 === "LOW") || (data52 === "MEDIUM")) || (data52 === "HIGH")) || (data52 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema96.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs164 === errors;}else {var valid56 = true;}if(valid56){if(data6.availabilityRequirement !== undefined){let data53 = data6.availabilityRequirement;const _errs167 = errors;if(typeof data53 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data53 === "LOW") || (data53 === "MEDIUM")) || (data53 === "HIGH")) || (data53 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema96.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs167 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedAttackVector !== undefined){let data54 = data6.modifiedAttackVector;const _errs170 = errors;if(typeof data54 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data54 === "NETWORK") || (data54 === "ADJACENT")) || (data54 === "LOCAL")) || (data54 === "PHYSICAL")) || (data54 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackVectorType/enum",keyword:"enum",params:{allowedValues: schema99.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs170 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedAttackComplexity !== undefined){let data55 = data6.modifiedAttackComplexity;const _errs173 = errors;if(typeof data55 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data55 === "HIGH") || (data55 === "LOW")) || (data55 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackComplexityType/enum",keyword:"enum",params:{allowedValues: schema100.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs173 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedAttackRequirements !== undefined){let data56 = data6.modifiedAttackRequirements;const _errs176 = errors;if(typeof data56 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data56 === "NONE") || (data56 === "PRESENT")) || (data56 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedAttackRequirements",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedAttackRequirementsType/enum",keyword:"enum",params:{allowedValues: schema101.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs176 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedPrivilegesRequired !== undefined){let data57 = data6.modifiedPrivilegesRequired;const _errs179 = errors;if(typeof data57 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data57 === "HIGH") || (data57 === "LOW")) || (data57 === "NONE")) || (data57 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedPrivilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema102.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs179 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedUserInteraction !== undefined){let data58 = data6.modifiedUserInteraction;const _errs182 = errors;if(typeof data58 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data58 === "NONE") || (data58 === "PASSIVE")) || (data58 === "ACTIVE")) || (data58 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedUserInteractionType/enum",keyword:"enum",params:{allowedValues: schema103.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs182 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedVulnConfidentialityImpact !== undefined){let data59 = data6.modifiedVulnConfidentialityImpact;const _errs185 = errors;if(typeof data59 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data59 === "NONE") || (data59 === "LOW")) || (data59 === "HIGH")) || (data59 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/enum",keyword:"enum",params:{allowedValues: schema104.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs185 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedVulnIntegrityImpact !== undefined){let data60 = data6.modifiedVulnIntegrityImpact;const _errs188 = errors;if(typeof data60 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data60 === "NONE") || (data60 === "LOW")) || (data60 === "HIGH")) || (data60 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/enum",keyword:"enum",params:{allowedValues: schema104.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs188 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedVulnAvailabilityImpact !== undefined){let data61 = data6.modifiedVulnAvailabilityImpact;const _errs191 = errors;if(typeof data61 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data61 === "NONE") || (data61 === "LOW")) || (data61 === "HIGH")) || (data61 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedVulnAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedVulnCiaType/enum",keyword:"enum",params:{allowedValues: schema104.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs191 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedSubConfidentialityImpact !== undefined){let data62 = data6.modifiedSubConfidentialityImpact;const _errs194 = errors;if(typeof data62 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data62 === "NONE") || (data62 === "LOW")) || (data62 === "HIGH")) || (data62 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubCType/enum",keyword:"enum",params:{allowedValues: schema107.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs194 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedSubIntegrityImpact !== undefined){let data63 = data6.modifiedSubIntegrityImpact;const _errs197 = errors;if(typeof data63 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data63 === "NONE") || (data63 === "LOW")) || (data63 === "HIGH")) || (data63 === "SAFETY")) || (data63 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/enum",keyword:"enum",params:{allowedValues: schema108.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs197 === errors;}else {var valid56 = true;}if(valid56){if(data6.modifiedSubAvailabilityImpact !== undefined){let data64 = data6.modifiedSubAvailabilityImpact;const _errs200 = errors;if(typeof data64 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data64 === "NONE") || (data64 === "LOW")) || (data64 === "HIGH")) || (data64 === "SAFETY")) || (data64 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/modifiedSubAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/modifiedSubIaType/enum",keyword:"enum",params:{allowedValues: schema108.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs200 === errors;}else {var valid56 = true;}if(valid56){if(data6.Safety !== undefined){let data65 = data6.Safety;const _errs203 = errors;if(typeof data65 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Safety",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data65 === "NEGLIGIBLE") || (data65 === "PRESENT")) || (data65 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Safety",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/safetyType/enum",keyword:"enum",params:{allowedValues: schema110.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs203 === errors;}else {var valid56 = true;}if(valid56){if(data6.Automatable !== undefined){let data66 = data6.Automatable;const _errs206 = errors;if(typeof data66 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Automatable",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data66 === "NO") || (data66 === "YES")) || (data66 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Automatable",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/automatableType/enum",keyword:"enum",params:{allowedValues: schema111.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs206 === errors;}else {var valid56 = true;}if(valid56){if(data6.Recovery !== undefined){let data67 = data6.Recovery;const _errs209 = errors;if(typeof data67 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Recovery",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data67 === "AUTOMATIC") || (data67 === "USER")) || (data67 === "IRRECOVERABLE")) || (data67 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/Recovery",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/recoveryType/enum",keyword:"enum",params:{allowedValues: schema112.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs209 === errors;}else {var valid56 = true;}if(valid56){if(data6.valueDensity !== undefined){let data68 = data6.valueDensity;const _errs212 = errors;if(typeof data68 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/valueDensity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data68 === "DIFFUSE") || (data68 === "CONCENTRATED")) || (data68 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/valueDensity",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/valueDensityType/enum",keyword:"enum",params:{allowedValues: schema113.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs212 === errors;}else {var valid56 = true;}if(valid56){if(data6.vulnerabilityResponseEffort !== undefined){let data69 = data6.vulnerabilityResponseEffort;const _errs215 = errors;if(typeof data69 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnerabilityResponseEffort",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data69 === "LOW") || (data69 === "MODERATE")) || (data69 === "HIGH")) || (data69 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/vulnerabilityResponseEffort",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/vulnerabilityResponseEffortType/enum",keyword:"enum",params:{allowedValues: schema114.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs215 === errors;}else {var valid56 = true;}if(valid56){if(data6.providerUrgency !== undefined){let data70 = data6.providerUrgency;const _errs218 = errors;if(typeof data70 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/providerUrgency",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data70 === "CLEAR") || (data70 === "GREEN")) || (data70 === "AMBER")) || (data70 === "RED")) || (data70 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0/providerUrgency",schemaPath:"#/definitions/metrics/items/properties/cvssV4_0/definitions/providerUrgencyType/enum",keyword:"enum",params:{allowedValues: schema115.enum},message:"must be equal to one of the allowed values"}];return false;}var valid56 = _errs218 === errors;}else {var valid56 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV4_0",schemaPath:"#/items/properties/cvssV4_0/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV3_1 !== undefined){let data71 = data0.cvssV3_1;const _errs221 = errors;if(errors === _errs221){if(data71 && typeof data71 == "object" && !Array.isArray(data71)){let missing7;if(((((data71.version === undefined) && (missing7 = "version")) || ((data71.vectorString === undefined) && (missing7 = "vectorString"))) || ((data71.baseScore === undefined) && (missing7 = "baseScore"))) || ((data71.baseSeverity === undefined) && (missing7 = "baseSeverity"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1",schemaPath:"#/items/properties/cvssV3_1/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"}];return false;}else {const _errs223 = errors;for(const key3 in data71){if(!(func6.call(schema52.items.properties.cvssV3_1.properties, key3))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1",schemaPath:"#/items/properties/cvssV3_1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"}];return false;break;}}if(_errs223 === errors){if(data71.version !== undefined){let data72 = data71.version;const _errs224 = errors;if(typeof data72 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/version",schemaPath:"#/items/properties/cvssV3_1/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data72 === "3.1")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/version",schemaPath:"#/items/properties/cvssV3_1/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV3_1.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs224 === errors;}else {var valid89 = true;}if(valid89){if(data71.vectorString !== undefined){let data73 = data71.vectorString;const _errs226 = errors;if(errors === _errs226){if(typeof data73 === "string"){if(!pattern20.test(data73)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/vectorString",schemaPath:"#/items/properties/cvssV3_1/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},message:"must match pattern \""+"^CVSS:3[.]1/((AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[NLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/vectorString",schemaPath:"#/items/properties/cvssV3_1/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid89 = _errs226 === errors;}else {var valid89 = true;}if(valid89){if(data71.attackVector !== undefined){let data74 = data71.attackVector;const _errs228 = errors;if(typeof data74 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data74 === "NETWORK") || (data74 === "ADJACENT_NETWORK")) || (data74 === "LOCAL")) || (data74 === "PHYSICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackVectorType/enum",keyword:"enum",params:{allowedValues: schema116.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs228 === errors;}else {var valid89 = true;}if(valid89){if(data71.attackComplexity !== undefined){let data75 = data71.attackComplexity;const _errs231 = errors;if(typeof data75 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data75 === "HIGH") || (data75 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/attackComplexityType/enum",keyword:"enum",params:{allowedValues: schema117.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs231 === errors;}else {var valid89 = true;}if(valid89){if(data71.privilegesRequired !== undefined){let data76 = data71.privilegesRequired;const _errs234 = errors;if(typeof data76 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data76 === "HIGH") || (data76 === "LOW")) || (data76 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/privilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema118.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs234 === errors;}else {var valid89 = true;}if(valid89){if(data71.userInteraction !== undefined){let data77 = data71.userInteraction;const _errs237 = errors;if(typeof data77 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data77 === "NONE") || (data77 === "REQUIRED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/userInteractionType/enum",keyword:"enum",params:{allowedValues: schema119.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs237 === errors;}else {var valid89 = true;}if(valid89){if(data71.scope !== undefined){let data78 = data71.scope;const _errs240 = errors;if(typeof data78 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data78 === "UNCHANGED") || (data78 === "CHANGED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scopeType/enum",keyword:"enum",params:{allowedValues: schema120.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs240 === errors;}else {var valid89 = true;}if(valid89){if(data71.confidentialityImpact !== undefined){let data79 = data71.confidentialityImpact;const _errs243 = errors;if(typeof data79 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data79 === "NONE") || (data79 === "LOW")) || (data79 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema121.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs243 === errors;}else {var valid89 = true;}if(valid89){if(data71.integrityImpact !== undefined){let data80 = data71.integrityImpact;const _errs246 = errors;if(typeof data80 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data80 === "NONE") || (data80 === "LOW")) || (data80 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema121.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs246 === errors;}else {var valid89 = true;}if(valid89){if(data71.availabilityImpact !== undefined){let data81 = data71.availabilityImpact;const _errs249 = errors;if(typeof data81 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data81 === "NONE") || (data81 === "LOW")) || (data81 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema121.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs249 === errors;}else {var valid89 = true;}if(valid89){if(data71.baseScore !== undefined){let data82 = data71.baseScore;const _errs252 = errors;const _errs253 = errors;if(errors === _errs253){if((typeof data82 == "number") && (isFinite(data82))){if(data82 > 10 || isNaN(data82)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data82 < 0 || isNaN(data82)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid89 = _errs252 === errors;}else {var valid89 = true;}if(valid89){if(data71.baseSeverity !== undefined){let data83 = data71.baseSeverity;const _errs255 = errors;if(typeof data83 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data83 === "NONE") || (data83 === "LOW")) || (data83 === "MEDIUM")) || (data83 === "HIGH")) || (data83 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema125.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs255 === errors;}else {var valid89 = true;}if(valid89){if(data71.exploitCodeMaturity !== undefined){let data84 = data71.exploitCodeMaturity;const _errs258 = errors;if(typeof data84 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data84 === "UNPROVEN") || (data84 === "PROOF_OF_CONCEPT")) || (data84 === "FUNCTIONAL")) || (data84 === "HIGH")) || (data84 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/exploitCodeMaturityType/enum",keyword:"enum",params:{allowedValues: schema126.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs258 === errors;}else {var valid89 = true;}if(valid89){if(data71.remediationLevel !== undefined){let data85 = data71.remediationLevel;const _errs261 = errors;if(typeof data85 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data85 === "OFFICIAL_FIX") || (data85 === "TEMPORARY_FIX")) || (data85 === "WORKAROUND")) || (data85 === "UNAVAILABLE")) || (data85 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/remediationLevelType/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs261 === errors;}else {var valid89 = true;}if(valid89){if(data71.reportConfidence !== undefined){let data86 = data71.reportConfidence;const _errs264 = errors;if(typeof data86 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data86 === "UNKNOWN") || (data86 === "REASONABLE")) || (data86 === "CONFIRMED")) || (data86 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/confidenceType/enum",keyword:"enum",params:{allowedValues: schema128.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs264 === errors;}else {var valid89 = true;}if(valid89){if(data71.temporalScore !== undefined){let data87 = data71.temporalScore;const _errs267 = errors;const _errs268 = errors;if(errors === _errs268){if((typeof data87 == "number") && (isFinite(data87))){if(data87 > 10 || isNaN(data87)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data87 < 0 || isNaN(data87)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid89 = _errs267 === errors;}else {var valid89 = true;}if(valid89){if(data71.temporalSeverity !== undefined){let data88 = data71.temporalSeverity;const _errs270 = errors;if(typeof data88 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data88 === "NONE") || (data88 === "LOW")) || (data88 === "MEDIUM")) || (data88 === "HIGH")) || (data88 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema125.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs270 === errors;}else {var valid89 = true;}if(valid89){if(data71.confidentialityRequirement !== undefined){let data89 = data71.confidentialityRequirement;const _errs273 = errors;if(typeof data89 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data89 === "LOW") || (data89 === "MEDIUM")) || (data89 === "HIGH")) || (data89 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema131.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs273 === errors;}else {var valid89 = true;}if(valid89){if(data71.integrityRequirement !== undefined){let data90 = data71.integrityRequirement;const _errs276 = errors;if(typeof data90 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data90 === "LOW") || (data90 === "MEDIUM")) || (data90 === "HIGH")) || (data90 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema131.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs276 === errors;}else {var valid89 = true;}if(valid89){if(data71.availabilityRequirement !== undefined){let data91 = data71.availabilityRequirement;const _errs279 = errors;if(typeof data91 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data91 === "LOW") || (data91 === "MEDIUM")) || (data91 === "HIGH")) || (data91 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema131.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs279 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedAttackVector !== undefined){let data92 = data71.modifiedAttackVector;const _errs282 = errors;if(typeof data92 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data92 === "NETWORK") || (data92 === "ADJACENT_NETWORK")) || (data92 === "LOCAL")) || (data92 === "PHYSICAL")) || (data92 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackVectorType/enum",keyword:"enum",params:{allowedValues: schema134.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs282 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedAttackComplexity !== undefined){let data93 = data71.modifiedAttackComplexity;const _errs285 = errors;if(typeof data93 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data93 === "HIGH") || (data93 === "LOW")) || (data93 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedAttackComplexityType/enum",keyword:"enum",params:{allowedValues: schema135.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs285 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedPrivilegesRequired !== undefined){let data94 = data71.modifiedPrivilegesRequired;const _errs288 = errors;if(typeof data94 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data94 === "HIGH") || (data94 === "LOW")) || (data94 === "NONE")) || (data94 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedPrivilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema136.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs288 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedUserInteraction !== undefined){let data95 = data71.modifiedUserInteraction;const _errs291 = errors;if(typeof data95 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data95 === "NONE") || (data95 === "REQUIRED")) || (data95 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedUserInteractionType/enum",keyword:"enum",params:{allowedValues: schema137.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs291 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedScope !== undefined){let data96 = data71.modifiedScope;const _errs294 = errors;if(typeof data96 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data96 === "UNCHANGED") || (data96 === "CHANGED")) || (data96 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedScopeType/enum",keyword:"enum",params:{allowedValues: schema138.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs294 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedConfidentialityImpact !== undefined){let data97 = data71.modifiedConfidentialityImpact;const _errs297 = errors;if(typeof data97 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data97 === "NONE") || (data97 === "LOW")) || (data97 === "HIGH")) || (data97 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema139.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs297 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedIntegrityImpact !== undefined){let data98 = data71.modifiedIntegrityImpact;const _errs300 = errors;if(typeof data98 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data98 === "NONE") || (data98 === "LOW")) || (data98 === "HIGH")) || (data98 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema139.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs300 === errors;}else {var valid89 = true;}if(valid89){if(data71.modifiedAvailabilityImpact !== undefined){let data99 = data71.modifiedAvailabilityImpact;const _errs303 = errors;if(typeof data99 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data99 === "NONE") || (data99 === "LOW")) || (data99 === "HIGH")) || (data99 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema139.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs303 === errors;}else {var valid89 = true;}if(valid89){if(data71.environmentalScore !== undefined){let data100 = data71.environmentalScore;const _errs306 = errors;const _errs307 = errors;if(errors === _errs307){if((typeof data100 == "number") && (isFinite(data100))){if(data100 > 10 || isNaN(data100)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data100 < 0 || isNaN(data100)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid89 = _errs306 === errors;}else {var valid89 = true;}if(valid89){if(data71.environmentalSeverity !== undefined){let data101 = data71.environmentalSeverity;const _errs309 = errors;if(typeof data101 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data101 === "NONE") || (data101 === "LOW")) || (data101 === "MEDIUM")) || (data101 === "HIGH")) || (data101 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_1/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema125.enum},message:"must be equal to one of the allowed values"}];return false;}var valid89 = _errs309 === errors;}else {var valid89 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_1",schemaPath:"#/items/properties/cvssV3_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs221 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV3_0 !== undefined){let data102 = data0.cvssV3_0;const _errs312 = errors;if(errors === _errs312){if(data102 && typeof data102 == "object" && !Array.isArray(data102)){let missing8;if(((((data102.version === undefined) && (missing8 = "version")) || ((data102.vectorString === undefined) && (missing8 = "vectorString"))) || ((data102.baseScore === undefined) && (missing8 = "baseScore"))) || ((data102.baseSeverity === undefined) && (missing8 = "baseSeverity"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0",schemaPath:"#/items/properties/cvssV3_0/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"}];return false;}else {const _errs314 = errors;for(const key4 in data102){if(!(func6.call(schema52.items.properties.cvssV3_0.properties, key4))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0",schemaPath:"#/items/properties/cvssV3_0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"}];return false;break;}}if(_errs314 === errors){if(data102.version !== undefined){let data103 = data102.version;const _errs315 = errors;if(typeof data103 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/version",schemaPath:"#/items/properties/cvssV3_0/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data103 === "3.0")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/version",schemaPath:"#/items/properties/cvssV3_0/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV3_0.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs315 === errors;}else {var valid118 = true;}if(valid118){if(data102.vectorString !== undefined){let data104 = data102.vectorString;const _errs317 = errors;if(errors === _errs317){if(typeof data104 === "string"){if(!pattern21.test(data104)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/vectorString",schemaPath:"#/items/properties/cvssV3_0/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"},message:"must match pattern \""+"^CVSS:3[.]0/((AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])/)*(AV:[NALP]|AC:[LH]|PR:[UNLH]|UI:[NR]|S:[UC]|[CIA]:[NLH]|E:[XUPFH]|RL:[XOTWU]|RC:[XURC]|[CIA]R:[XLMH]|MAV:[XNALP]|MAC:[XLH]|MPR:[XUNLH]|MUI:[XNR]|MS:[XUC]|M[CIA]:[XNLH])$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/vectorString",schemaPath:"#/items/properties/cvssV3_0/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid118 = _errs317 === errors;}else {var valid118 = true;}if(valid118){if(data102.attackVector !== undefined){let data105 = data102.attackVector;const _errs319 = errors;if(typeof data105 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data105 === "NETWORK") || (data105 === "ADJACENT_NETWORK")) || (data105 === "LOCAL")) || (data105 === "PHYSICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackVectorType/enum",keyword:"enum",params:{allowedValues: schema144.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs319 === errors;}else {var valid118 = true;}if(valid118){if(data102.attackComplexity !== undefined){let data106 = data102.attackComplexity;const _errs322 = errors;if(typeof data106 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data106 === "HIGH") || (data106 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/attackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/attackComplexityType/enum",keyword:"enum",params:{allowedValues: schema145.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs322 === errors;}else {var valid118 = true;}if(valid118){if(data102.privilegesRequired !== undefined){let data107 = data102.privilegesRequired;const _errs325 = errors;if(typeof data107 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data107 === "HIGH") || (data107 === "LOW")) || (data107 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/privilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/privilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema146.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs325 === errors;}else {var valid118 = true;}if(valid118){if(data102.userInteraction !== undefined){let data108 = data102.userInteraction;const _errs328 = errors;if(typeof data108 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data108 === "NONE") || (data108 === "REQUIRED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/userInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/userInteractionType/enum",keyword:"enum",params:{allowedValues: schema147.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs328 === errors;}else {var valid118 = true;}if(valid118){if(data102.scope !== undefined){let data109 = data102.scope;const _errs331 = errors;if(typeof data109 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data109 === "UNCHANGED") || (data109 === "CHANGED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/scope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scopeType/enum",keyword:"enum",params:{allowedValues: schema148.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs331 === errors;}else {var valid118 = true;}if(valid118){if(data102.confidentialityImpact !== undefined){let data110 = data102.confidentialityImpact;const _errs334 = errors;if(typeof data110 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data110 === "NONE") || (data110 === "LOW")) || (data110 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema149.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs334 === errors;}else {var valid118 = true;}if(valid118){if(data102.integrityImpact !== undefined){let data111 = data102.integrityImpact;const _errs337 = errors;if(typeof data111 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data111 === "NONE") || (data111 === "LOW")) || (data111 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema149.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs337 === errors;}else {var valid118 = true;}if(valid118){if(data102.availabilityImpact !== undefined){let data112 = data102.availabilityImpact;const _errs340 = errors;if(typeof data112 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data112 === "NONE") || (data112 === "LOW")) || (data112 === "HIGH"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema149.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs340 === errors;}else {var valid118 = true;}if(valid118){if(data102.baseScore !== undefined){let data113 = data102.baseScore;const _errs343 = errors;const _errs344 = errors;if(errors === _errs344){if((typeof data113 == "number") && (isFinite(data113))){if(data113 > 10 || isNaN(data113)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data113 < 0 || isNaN(data113)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid118 = _errs343 === errors;}else {var valid118 = true;}if(valid118){if(data102.baseSeverity !== undefined){let data114 = data102.baseSeverity;const _errs346 = errors;if(typeof data114 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data114 === "NONE") || (data114 === "LOW")) || (data114 === "MEDIUM")) || (data114 === "HIGH")) || (data114 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/baseSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema153.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs346 === errors;}else {var valid118 = true;}if(valid118){if(data102.exploitCodeMaturity !== undefined){let data115 = data102.exploitCodeMaturity;const _errs349 = errors;if(typeof data115 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data115 === "UNPROVEN") || (data115 === "PROOF_OF_CONCEPT")) || (data115 === "FUNCTIONAL")) || (data115 === "HIGH")) || (data115 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/exploitCodeMaturity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/exploitCodeMaturityType/enum",keyword:"enum",params:{allowedValues: schema154.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs349 === errors;}else {var valid118 = true;}if(valid118){if(data102.remediationLevel !== undefined){let data116 = data102.remediationLevel;const _errs352 = errors;if(typeof data116 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data116 === "OFFICIAL_FIX") || (data116 === "TEMPORARY_FIX")) || (data116 === "WORKAROUND")) || (data116 === "UNAVAILABLE")) || (data116 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/remediationLevelType/enum",keyword:"enum",params:{allowedValues: schema155.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs352 === errors;}else {var valid118 = true;}if(valid118){if(data102.reportConfidence !== undefined){let data117 = data102.reportConfidence;const _errs355 = errors;if(typeof data117 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data117 === "UNKNOWN") || (data117 === "REASONABLE")) || (data117 === "CONFIRMED")) || (data117 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/confidenceType/enum",keyword:"enum",params:{allowedValues: schema156.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs355 === errors;}else {var valid118 = true;}if(valid118){if(data102.temporalScore !== undefined){let data118 = data102.temporalScore;const _errs358 = errors;const _errs359 = errors;if(errors === _errs359){if((typeof data118 == "number") && (isFinite(data118))){if(data118 > 10 || isNaN(data118)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data118 < 0 || isNaN(data118)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid118 = _errs358 === errors;}else {var valid118 = true;}if(valid118){if(data102.temporalSeverity !== undefined){let data119 = data102.temporalSeverity;const _errs361 = errors;if(typeof data119 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data119 === "NONE") || (data119 === "LOW")) || (data119 === "MEDIUM")) || (data119 === "HIGH")) || (data119 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/temporalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema153.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs361 === errors;}else {var valid118 = true;}if(valid118){if(data102.confidentialityRequirement !== undefined){let data120 = data102.confidentialityRequirement;const _errs364 = errors;if(typeof data120 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data120 === "LOW") || (data120 === "MEDIUM")) || (data120 === "HIGH")) || (data120 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema159.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs364 === errors;}else {var valid118 = true;}if(valid118){if(data102.integrityRequirement !== undefined){let data121 = data102.integrityRequirement;const _errs367 = errors;if(typeof data121 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data121 === "LOW") || (data121 === "MEDIUM")) || (data121 === "HIGH")) || (data121 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema159.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs367 === errors;}else {var valid118 = true;}if(valid118){if(data102.availabilityRequirement !== undefined){let data122 = data102.availabilityRequirement;const _errs370 = errors;if(typeof data122 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data122 === "LOW") || (data122 === "MEDIUM")) || (data122 === "HIGH")) || (data122 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema159.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs370 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedAttackVector !== undefined){let data123 = data102.modifiedAttackVector;const _errs373 = errors;if(typeof data123 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data123 === "NETWORK") || (data123 === "ADJACENT_NETWORK")) || (data123 === "LOCAL")) || (data123 === "PHYSICAL")) || (data123 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackVector",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackVectorType/enum",keyword:"enum",params:{allowedValues: schema162.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs373 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedAttackComplexity !== undefined){let data124 = data102.modifiedAttackComplexity;const _errs376 = errors;if(typeof data124 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data124 === "HIGH") || (data124 === "LOW")) || (data124 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAttackComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedAttackComplexityType/enum",keyword:"enum",params:{allowedValues: schema163.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs376 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedPrivilegesRequired !== undefined){let data125 = data102.modifiedPrivilegesRequired;const _errs379 = errors;if(typeof data125 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data125 === "HIGH") || (data125 === "LOW")) || (data125 === "NONE")) || (data125 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedPrivilegesRequired",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedPrivilegesRequiredType/enum",keyword:"enum",params:{allowedValues: schema164.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs379 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedUserInteraction !== undefined){let data126 = data102.modifiedUserInteraction;const _errs382 = errors;if(typeof data126 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data126 === "NONE") || (data126 === "REQUIRED")) || (data126 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedUserInteraction",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedUserInteractionType/enum",keyword:"enum",params:{allowedValues: schema165.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs382 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedScope !== undefined){let data127 = data102.modifiedScope;const _errs385 = errors;if(typeof data127 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data127 === "UNCHANGED") || (data127 === "CHANGED")) || (data127 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedScope",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedScopeType/enum",keyword:"enum",params:{allowedValues: schema166.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs385 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedConfidentialityImpact !== undefined){let data128 = data102.modifiedConfidentialityImpact;const _errs388 = errors;if(typeof data128 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data128 === "NONE") || (data128 === "LOW")) || (data128 === "HIGH")) || (data128 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedConfidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema167.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs388 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedIntegrityImpact !== undefined){let data129 = data102.modifiedIntegrityImpact;const _errs391 = errors;if(typeof data129 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data129 === "NONE") || (data129 === "LOW")) || (data129 === "HIGH")) || (data129 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedIntegrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema167.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs391 === errors;}else {var valid118 = true;}if(valid118){if(data102.modifiedAvailabilityImpact !== undefined){let data130 = data102.modifiedAvailabilityImpact;const _errs394 = errors;if(typeof data130 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data130 === "NONE") || (data130 === "LOW")) || (data130 === "HIGH")) || (data130 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/modifiedAvailabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/modifiedCiaType/enum",keyword:"enum",params:{allowedValues: schema167.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs394 === errors;}else {var valid118 = true;}if(valid118){if(data102.environmentalScore !== undefined){let data131 = data102.environmentalScore;const _errs397 = errors;const _errs398 = errors;if(errors === _errs398){if((typeof data131 == "number") && (isFinite(data131))){if(data131 > 10 || isNaN(data131)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data131 < 0 || isNaN(data131)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid118 = _errs397 === errors;}else {var valid118 = true;}if(valid118){if(data102.environmentalSeverity !== undefined){let data132 = data102.environmentalSeverity;const _errs400 = errors;if(typeof data132 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data132 === "NONE") || (data132 === "LOW")) || (data132 === "MEDIUM")) || (data132 === "HIGH")) || (data132 === "CRITICAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0/environmentalSeverity",schemaPath:"#/definitions/metrics/items/properties/cvssV3_0/definitions/severityType/enum",keyword:"enum",params:{allowedValues: schema153.enum},message:"must be equal to one of the allowed values"}];return false;}var valid118 = _errs400 === errors;}else {var valid118 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV3_0",schemaPath:"#/items/properties/cvssV3_0/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs312 === errors;}else {var valid2 = true;}if(valid2){if(data0.cvssV2_0 !== undefined){let data133 = data0.cvssV2_0;const _errs403 = errors;if(errors === _errs403){if(data133 && typeof data133 == "object" && !Array.isArray(data133)){let missing9;if((((data133.version === undefined) && (missing9 = "version")) || ((data133.vectorString === undefined) && (missing9 = "vectorString"))) || ((data133.baseScore === undefined) && (missing9 = "baseScore"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0",schemaPath:"#/items/properties/cvssV2_0/required",keyword:"required",params:{missingProperty: missing9},message:"must have required property '"+missing9+"'"}];return false;}else {const _errs405 = errors;for(const key5 in data133){if(!(func6.call(schema52.items.properties.cvssV2_0.properties, key5))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0",schemaPath:"#/items/properties/cvssV2_0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"}];return false;break;}}if(_errs405 === errors){if(data133.version !== undefined){let data134 = data133.version;const _errs406 = errors;if(typeof data134 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/version",schemaPath:"#/items/properties/cvssV2_0/properties/version/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data134 === "2.0")){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/version",schemaPath:"#/items/properties/cvssV2_0/properties/version/enum",keyword:"enum",params:{allowedValues: schema52.items.properties.cvssV2_0.properties.version.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs406 === errors;}else {var valid147 = true;}if(valid147){if(data133.vectorString !== undefined){let data135 = data133.vectorString;const _errs408 = errors;if(errors === _errs408){if(typeof data135 === "string"){if(!pattern22.test(data135)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/vectorString",schemaPath:"#/items/properties/cvssV2_0/properties/vectorString/pattern",keyword:"pattern",params:{pattern: "^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"},message:"must match pattern \""+"^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"+"\""}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/vectorString",schemaPath:"#/items/properties/cvssV2_0/properties/vectorString/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid147 = _errs408 === errors;}else {var valid147 = true;}if(valid147){if(data133.accessVector !== undefined){let data136 = data133.accessVector;const _errs410 = errors;if(typeof data136 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessVector",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data136 === "NETWORK") || (data136 === "ADJACENT_NETWORK")) || (data136 === "LOCAL"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessVector",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessVectorType/enum",keyword:"enum",params:{allowedValues: schema172.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs410 === errors;}else {var valid147 = true;}if(valid147){if(data133.accessComplexity !== undefined){let data137 = data133.accessComplexity;const _errs413 = errors;if(typeof data137 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data137 === "HIGH") || (data137 === "MEDIUM")) || (data137 === "LOW"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/accessComplexity",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/accessComplexityType/enum",keyword:"enum",params:{allowedValues: schema173.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs413 === errors;}else {var valid147 = true;}if(valid147){if(data133.authentication !== undefined){let data138 = data133.authentication;const _errs416 = errors;if(typeof data138 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/authentication",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data138 === "MULTIPLE") || (data138 === "SINGLE")) || (data138 === "NONE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/authentication",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/authenticationType/enum",keyword:"enum",params:{allowedValues: schema174.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs416 === errors;}else {var valid147 = true;}if(valid147){if(data133.confidentialityImpact !== undefined){let data139 = data133.confidentialityImpact;const _errs419 = errors;if(typeof data139 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data139 === "NONE") || (data139 === "PARTIAL")) || (data139 === "COMPLETE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema175.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs419 === errors;}else {var valid147 = true;}if(valid147){if(data133.integrityImpact !== undefined){let data140 = data133.integrityImpact;const _errs422 = errors;if(typeof data140 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data140 === "NONE") || (data140 === "PARTIAL")) || (data140 === "COMPLETE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema175.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs422 === errors;}else {var valid147 = true;}if(valid147){if(data133.availabilityImpact !== undefined){let data141 = data133.availabilityImpact;const _errs425 = errors;if(typeof data141 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data141 === "NONE") || (data141 === "PARTIAL")) || (data141 === "COMPLETE"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityImpact",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaType/enum",keyword:"enum",params:{allowedValues: schema175.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs425 === errors;}else {var valid147 = true;}if(valid147){if(data133.baseScore !== undefined){let data142 = data133.baseScore;const _errs428 = errors;const _errs429 = errors;if(errors === _errs429){if((typeof data142 == "number") && (isFinite(data142))){if(data142 > 10 || isNaN(data142)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data142 < 0 || isNaN(data142)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/baseScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid147 = _errs428 === errors;}else {var valid147 = true;}if(valid147){if(data133.exploitability !== undefined){let data143 = data133.exploitability;const _errs431 = errors;if(typeof data143 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/exploitability",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data143 === "UNPROVEN") || (data143 === "PROOF_OF_CONCEPT")) || (data143 === "FUNCTIONAL")) || (data143 === "HIGH")) || (data143 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/exploitability",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/exploitabilityType/enum",keyword:"enum",params:{allowedValues: schema179.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs431 === errors;}else {var valid147 = true;}if(valid147){if(data133.remediationLevel !== undefined){let data144 = data133.remediationLevel;const _errs434 = errors;if(typeof data144 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data144 === "OFFICIAL_FIX") || (data144 === "TEMPORARY_FIX")) || (data144 === "WORKAROUND")) || (data144 === "UNAVAILABLE")) || (data144 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/remediationLevel",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/remediationLevelType/enum",keyword:"enum",params:{allowedValues: schema180.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs434 === errors;}else {var valid147 = true;}if(valid147){if(data133.reportConfidence !== undefined){let data145 = data133.reportConfidence;const _errs437 = errors;if(typeof data145 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data145 === "UNCONFIRMED") || (data145 === "UNCORROBORATED")) || (data145 === "CONFIRMED")) || (data145 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/reportConfidence",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/reportConfidenceType/enum",keyword:"enum",params:{allowedValues: schema181.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs437 === errors;}else {var valid147 = true;}if(valid147){if(data133.temporalScore !== undefined){let data146 = data133.temporalScore;const _errs440 = errors;const _errs441 = errors;if(errors === _errs441){if((typeof data146 == "number") && (isFinite(data146))){if(data146 > 10 || isNaN(data146)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data146 < 0 || isNaN(data146)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/temporalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid147 = _errs440 === errors;}else {var valid147 = true;}if(valid147){if(data133.collateralDamagePotential !== undefined){let data147 = data133.collateralDamagePotential;const _errs443 = errors;if(typeof data147 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/collateralDamagePotential",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((data147 === "NONE") || (data147 === "LOW")) || (data147 === "LOW_MEDIUM")) || (data147 === "MEDIUM_HIGH")) || (data147 === "HIGH")) || (data147 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/collateralDamagePotential",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/collateralDamagePotentialType/enum",keyword:"enum",params:{allowedValues: schema183.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs443 === errors;}else {var valid147 = true;}if(valid147){if(data133.targetDistribution !== undefined){let data148 = data133.targetDistribution;const _errs446 = errors;if(typeof data148 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/targetDistribution",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data148 === "NONE") || (data148 === "LOW")) || (data148 === "MEDIUM")) || (data148 === "HIGH")) || (data148 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/targetDistribution",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/targetDistributionType/enum",keyword:"enum",params:{allowedValues: schema184.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs446 === errors;}else {var valid147 = true;}if(valid147){if(data133.confidentialityRequirement !== undefined){let data149 = data133.confidentialityRequirement;const _errs449 = errors;if(typeof data149 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data149 === "LOW") || (data149 === "MEDIUM")) || (data149 === "HIGH")) || (data149 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/confidentialityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema185.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs449 === errors;}else {var valid147 = true;}if(valid147){if(data133.integrityRequirement !== undefined){let data150 = data133.integrityRequirement;const _errs452 = errors;if(typeof data150 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data150 === "LOW") || (data150 === "MEDIUM")) || (data150 === "HIGH")) || (data150 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/integrityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema185.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs452 === errors;}else {var valid147 = true;}if(valid147){if(data133.availabilityRequirement !== undefined){let data151 = data133.availabilityRequirement;const _errs455 = errors;if(typeof data151 !== "string"){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data151 === "LOW") || (data151 === "MEDIUM")) || (data151 === "HIGH")) || (data151 === "NOT_DEFINED"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/availabilityRequirement",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/ciaRequirementType/enum",keyword:"enum",params:{allowedValues: schema185.enum},message:"must be equal to one of the allowed values"}];return false;}var valid147 = _errs455 === errors;}else {var valid147 = true;}if(valid147){if(data133.environmentalScore !== undefined){let data152 = data133.environmentalScore;const _errs458 = errors;const _errs459 = errors;if(errors === _errs459){if((typeof data152 == "number") && (isFinite(data152))){if(data152 > 10 || isNaN(data152)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/maximum",keyword:"maximum",params:{comparison: "<=", limit: 10},message:"must be <= 10"}];return false;}else {if(data152 < 0 || isNaN(data152)){validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0/environmentalScore",schemaPath:"#/definitions/metrics/items/properties/cvssV2_0/definitions/scoreType/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}}var valid147 = _errs458 === errors;}else {var valid147 = true;}}}}}}}}}}}}}}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/cvssV2_0",schemaPath:"#/items/properties/cvssV2_0/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs403 === errors;}else {var valid2 = true;}if(valid2){if(data0.other !== undefined){let data153 = data0.other;const _errs461 = errors;if(errors === _errs461){if(data153 && typeof data153 == "object" && !Array.isArray(data153)){let missing10;if(((data153.type === undefined) && (missing10 = "type")) || ((data153.content === undefined) && (missing10 = "content"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other",schemaPath:"#/items/properties/other/required",keyword:"required",params:{missingProperty: missing10},message:"must have required property '"+missing10+"'"}];return false;}else {const _errs463 = errors;for(const key6 in data153){if(!((key6 === "type") || (key6 === "content"))){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other",schemaPath:"#/items/properties/other/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"}];return false;break;}}if(_errs463 === errors){if(data153.type !== undefined){let data154 = data153.type;const _errs464 = errors;if(errors === _errs464){if(typeof data154 === "string"){if(func7(data154) > 128){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/type",schemaPath:"#/items/properties/other/properties/type/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data154) < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/type",schemaPath:"#/items/properties/other/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/type",schemaPath:"#/items/properties/other/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid165 = _errs464 === errors;}else {var valid165 = true;}if(valid165){if(data153.content !== undefined){let data155 = data153.content;const _errs466 = errors;if(errors === _errs466){if(data155 && typeof data155 == "object" && !Array.isArray(data155)){if(Object.keys(data155).length < 1){validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/content",schemaPath:"#/items/properties/other/properties/content/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/other/content",schemaPath:"#/items/properties/other/properties/content/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid165 = _errs466 === errors;}else {var valid165 = true;}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0+"/other",schemaPath:"#/items/properties/other/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid2 = _errs461 === errors;}else {var valid2 = true;}}}}}}}}}else {validate36.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i3 = data.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data[i3], data[j1])){validate36.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate36.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate36.errors = vErrors;return errors === 0;}const schema189 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate38(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate38.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate38.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate38.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate38.errors = vErrors;return errors === 0;}const schema190 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate41(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate41.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate41.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate41.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate41.errors = vErrors;return errors === 0;}const schema191 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate44(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate44.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate44.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate44.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate44.errors = vErrors;return errors === 0;}const schema192 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/description"}};function validate47(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate47.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate47.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate47.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate47.errors = vErrors;return errors === 0;}const schema193 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","required":["time","lang","value"],"properties":{"time":{"$ref":"#/definitions/timestamp"},"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096}},"additionalProperties":false}};function validate50(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate50.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 4096){validate50.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data3) < 1){validate50.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate50.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs10 === errors;}else {var valid1 = true;}}}}}}else {validate50.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate50.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate50.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate50.errors = vErrors;return errors === 0;}const schema196 = {"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","properties":{"lang":{"$ref":"#/definitions/language"},"value":{"type":"string","minLength":1,"maxLength":4096},"user":{"$ref":"#/definitions/uuidType"},"type":{"type":"string","default":"finder","enum":["finder","reporter","analyst","coordinator","remediation developer","remediation reviewer","remediation verifier","tool","sponsor","other"]}},"additionalProperties":false,"required":["lang","value"]}};function validate52(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate52.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 4096){validate52.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/maxLength",keyword:"maxLength",params:{limit: 4096},message:"must NOT have more than 4096 characters"}];return false;}else {if(func7(data2) < 1){validate52.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate52.errors = [{instancePath:instancePath+"/" + i0+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs7 === errors;}else {var valid1 = true;}if(valid1){if(data0.user !== undefined){let data3 = data0.user;const _errs9 = errors;const _errs10 = errors;if(errors === _errs10){if(typeof data3 === "string"){if(!pattern1.test(data3)){validate52.errors = [{instancePath:instancePath+"/" + i0+"/user",schemaPath:"#/definitions/uuidType/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/" + i0+"/user",schemaPath:"#/definitions/uuidType/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid1 = _errs9 === errors;}else {var valid1 = true;}if(valid1){if(data0.type !== undefined){let data4 = data0.type;const _errs12 = errors;if(typeof data4 !== "string"){validate52.errors = [{instancePath:instancePath+"/" + i0+"/type",schemaPath:"#/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((data4 === "finder") || (data4 === "reporter")) || (data4 === "analyst")) || (data4 === "coordinator")) || (data4 === "remediation developer")) || (data4 === "remediation reviewer")) || (data4 === "remediation verifier")) || (data4 === "tool")) || (data4 === "sponsor")) || (data4 === "other"))){validate52.errors = [{instancePath:instancePath+"/" + i0+"/type",schemaPath:"#/items/properties/type/enum",keyword:"enum",params:{allowedValues: schema196.items.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid1 = _errs12 === errors;}else {var valid1 = true;}}}}}}}else {validate52.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate52.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate52.errors = vErrors;return errors === 0;}const schema200 = {"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/cna/","type":"string","enum":["unsupported-when-assigned","exclusively-hosted-service","disputed"]}]}};function validate54(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate54.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 128){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(func7(data0) < 2){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {if(!pattern16.test(data0)){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/pattern",keyword:"pattern",params:{pattern: "^x_.*$"},message:"must match pattern \""+"^x_.*$"+"\""};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}else {const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs3 === errors;if(_valid0){valid1 = true;passing0 = 0;}const _errs7 = errors;if(typeof data0 !== "string"){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((data0 === "unsupported-when-assigned") || (data0 === "exclusively-hosted-service")) || (data0 === "disputed"))){const err5 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/enum",keyword:"enum",params:{allowedValues: schema200.items.oneOf[1].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var _valid0 = _errs7 === errors;if(_valid0 && valid1){valid1 = false;passing0 = [passing0, 1];}else {if(_valid0){valid1 = true;passing0 = 1;}}if(!valid1){const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate54.errors = vErrors;return false;}else {errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate54.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate54.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate54.errors = vErrors;return errors === 0;}function validate13(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((data.providerMetadata === undefined) && (missing0 = "providerMetadata")) || ((data.descriptions === undefined) && (missing0 = "descriptions"))) || ((data.affected === undefined) && (missing0 = "affected"))) || ((data.references === undefined) && (missing0 = "references"))){validate13.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!((func6.call(schema22.properties, key0)) || (pattern6.test(key0)))){validate13.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.providerMetadata !== undefined){const _errs3 = errors;if(!(validate14(data.providerMetadata, {instancePath:instancePath+"/providerMetadata",parentData:data,parentDataProperty:"providerMetadata",rootData}))){vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.dateAssigned !== undefined){let data1 = data.dateAssigned;const _errs4 = errors;const _errs5 = errors;if(errors === _errs5){if(errors === _errs5){if(typeof data1 === "string"){if(!pattern3.test(data1)){validate13.errors = [{instancePath:instancePath+"/dateAssigned",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data1))){validate13.errors = [{instancePath:instancePath+"/dateAssigned",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/dateAssigned",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublic !== undefined){let data2 = data.datePublic;const _errs7 = errors;const _errs8 = errors;if(errors === _errs8){if(errors === _errs8){if(typeof data2 === "string"){if(!pattern3.test(data2)){validate13.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data2))){validate13.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data3 = data.title;const _errs10 = errors;if(errors === _errs10){if(typeof data3 === "string"){if(func7(data3) > 256){validate13.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/maxLength",keyword:"maxLength",params:{limit: 256},message:"must NOT have more than 256 characters"}];return false;}else {if(func7(data3) < 1){validate13.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs10 === errors;}else {var valid0 = true;}if(valid0){if(data.descriptions !== undefined){const _errs12 = errors;if(!(validate16(data.descriptions, {instancePath:instancePath+"/descriptions",parentData:data,parentDataProperty:"descriptions",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid0 = _errs12 === errors;}else {var valid0 = true;}if(valid0){if(data.affected !== undefined){const _errs13 = errors;if(!(validate22(data.affected, {instancePath:instancePath+"/affected",parentData:data,parentDataProperty:"affected",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data.problemTypes !== undefined){const _errs14 = errors;if(!(validate26(data.problemTypes, {instancePath:instancePath+"/problemTypes",parentData:data,parentDataProperty:"problemTypes",rootData}))){vErrors = vErrors === null ? validate26.errors : vErrors.concat(validate26.errors);errors = vErrors.length;}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.references !== undefined){const _errs15 = errors;if(!(validate27(data.references, {instancePath:instancePath+"/references",parentData:data,parentDataProperty:"references",rootData}))){vErrors = vErrors === null ? validate27.errors : vErrors.concat(validate27.errors);errors = vErrors.length;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data.impacts !== undefined){const _errs16 = errors;if(!(validate33(data.impacts, {instancePath:instancePath+"/impacts",parentData:data,parentDataProperty:"impacts",rootData}))){vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);errors = vErrors.length;}var valid0 = _errs16 === errors;}else {var valid0 = true;}if(valid0){if(data.metrics !== undefined){const _errs17 = errors;if(!(validate36(data.metrics, {instancePath:instancePath+"/metrics",parentData:data,parentDataProperty:"metrics",rootData}))){vErrors = vErrors === null ? validate36.errors : vErrors.concat(validate36.errors);errors = vErrors.length;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.configurations !== undefined){const _errs18 = errors;if(!(validate38(data.configurations, {instancePath:instancePath+"/configurations",parentData:data,parentDataProperty:"configurations",rootData}))){vErrors = vErrors === null ? validate38.errors : vErrors.concat(validate38.errors);errors = vErrors.length;}var valid0 = _errs18 === errors;}else {var valid0 = true;}if(valid0){if(data.workarounds !== undefined){const _errs19 = errors;if(!(validate41(data.workarounds, {instancePath:instancePath+"/workarounds",parentData:data,parentDataProperty:"workarounds",rootData}))){vErrors = vErrors === null ? validate41.errors : vErrors.concat(validate41.errors);errors = vErrors.length;}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.solutions !== undefined){const _errs20 = errors;if(!(validate44(data.solutions, {instancePath:instancePath+"/solutions",parentData:data,parentDataProperty:"solutions",rootData}))){vErrors = vErrors === null ? validate44.errors : vErrors.concat(validate44.errors);errors = vErrors.length;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.exploits !== undefined){const _errs21 = errors;if(!(validate47(data.exploits, {instancePath:instancePath+"/exploits",parentData:data,parentDataProperty:"exploits",rootData}))){vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);errors = vErrors.length;}var valid0 = _errs21 === errors;}else {var valid0 = true;}if(valid0){if(data.timeline !== undefined){const _errs22 = errors;if(!(validate50(data.timeline, {instancePath:instancePath+"/timeline",parentData:data,parentDataProperty:"timeline",rootData}))){vErrors = vErrors === null ? validate50.errors : vErrors.concat(validate50.errors);errors = vErrors.length;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.credits !== undefined){const _errs23 = errors;if(!(validate52(data.credits, {instancePath:instancePath+"/credits",parentData:data,parentDataProperty:"credits",rootData}))){vErrors = vErrors === null ? validate52.errors : vErrors.concat(validate52.errors);errors = vErrors.length;}var valid0 = _errs23 === errors;}else {var valid0 = true;}if(valid0){if(data.source !== undefined){let data16 = data.source;const _errs24 = errors;const _errs25 = errors;if(errors === _errs25){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(Object.keys(data16).length < 1){validate13.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}}else {validate13.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.tags !== undefined){const _errs27 = errors;if(!(validate54(data.tags, {instancePath:instancePath+"/tags",parentData:data,parentDataProperty:"tags",rootData}))){vErrors = vErrors === null ? validate54.errors : vErrors.concat(validate54.errors);errors = vErrors.length;}var valid0 = _errs27 === errors;}else {var valid0 = true;}if(valid0){if(data.taxonomyMappings !== undefined){let data18 = data.taxonomyMappings;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(Array.isArray(data18)){if(data18.length < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid5 = true;const len0 = data18.length;for(let i0=0; i0 128){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data20) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid6 = _errs34 === errors;}else {var valid6 = true;}if(valid6){if(data19.taxonomyVersion !== undefined){let data21 = data19.taxonomyVersion;const _errs36 = errors;if(errors === _errs36){if(typeof data21 === "string"){if(func7(data21) > 128){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data21) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid6 = _errs36 === errors;}else {var valid6 = true;}if(valid6){if(data19.taxonomyRelations !== undefined){let data22 = data19.taxonomyRelations;const _errs38 = errors;if(errors === _errs38){if(Array.isArray(data22)){if(data22.length < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid7 = true;const len1 = data22.length;for(let i1=0; i1 2048){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data24) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid8 = _errs43 === errors;}else {var valid8 = true;}if(valid8){if(data23.relationshipName !== undefined){let data25 = data23.relationshipName;const _errs45 = errors;if(errors === _errs45){if(typeof data25 === "string"){if(func7(data25) > 128){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data25) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid8 = _errs45 === errors;}else {var valid8 = true;}if(valid8){if(data23.relationshipValue !== undefined){let data26 = data23.relationshipValue;const _errs47 = errors;if(errors === _errs47){if(typeof data26 === "string"){if(func7(data26) > 2048){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data26) < 1){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid8 = _errs47 === errors;}else {var valid8 = true;}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1,schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid7 = _errs40 === errors;if(!valid7){break;}}if(valid7){let i2 = data22.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data22[i2], data22[j0])){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid6 = _errs38 === errors;}else {var valid6 = true;}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0,schemaPath:"#/definitions/taxonomyMappings/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid5 = _errs31 === errors;if(!valid5){break;}}if(valid5){let i3 = data18.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data18[i3], data18[j1])){validate13.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate13.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}else {validate13.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate13.errors = vErrors;return errors === 0;}const schema203 = {"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"datePublic":{"$ref":"#/definitions/timestamp"},"title":{"type":"string","minLength":1,"maxLength":256},"descriptions":{"$ref":"#/definitions/descriptions"},"affected":{"$ref":"#/definitions/affected"},"problemTypes":{"$ref":"#/definitions/problemTypes"},"references":{"$ref":"#/definitions/references"},"impacts":{"$ref":"#/definitions/impacts"},"metrics":{"$ref":"#/definitions/metrics"},"configurations":{"$ref":"#/definitions/configurations"},"workarounds":{"$ref":"#/definitions/workarounds"},"solutions":{"$ref":"#/definitions/solutions"},"exploits":{"$ref":"#/definitions/exploits"},"timeline":{"$ref":"#/definitions/timeline"},"credits":{"$ref":"#/definitions/credits"},"source":{"$ref":"#/definitions/source"},"tags":{"$ref":"#/definitions/adpTags"},"taxonomyMappings":{"$ref":"#/definitions/taxonomyMappings"}},"required":["providerMetadata"],"minProperties":2,"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false};const schema206 = {"type":"array","uniqueItems":true,"minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/tagExtension"},{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://cve.mitre.org/cve/v5_00/tags/adp/","type":"string","enum":["disputed"]}]}};function validate71(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(Array.isArray(data)){if(data.length < 1){validate71.errors = [{instancePath,schemaPath:"#/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid0 = true;const len0 = data.length;for(let i0=0; i0 128){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(func7(data0) < 2){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}else {if(!pattern16.test(data0)){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/pattern",keyword:"pattern",params:{pattern: "^x_.*$"},message:"must match pattern \""+"^x_.*$"+"\""};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}else {const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/definitions/tagExtension/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs3 === errors;if(_valid0){valid1 = true;passing0 = 0;}const _errs7 = errors;if(typeof data0 !== "string"){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(data0 === "disputed")){const err5 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf/1/enum",keyword:"enum",params:{allowedValues: schema206.items.oneOf[1].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var _valid0 = _errs7 === errors;if(_valid0 && valid1){valid1 = false;passing0 = [passing0, 1];}else {if(_valid0){valid1 = true;passing0 = 1;}}if(!valid1){const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate71.errors = vErrors;return false;}else {errors = _errs2;if(vErrors !== null){if(_errs2){vErrors.length = _errs2;}else {vErrors = null;}}}var valid0 = _errs1 === errors;if(!valid0){break;}}if(valid0){let i1 = data.length;let j0;if(i1 > 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data[i1], data[j0])){validate71.errors = [{instancePath,schemaPath:"#/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate71.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate71.errors = vErrors;return errors === 0;}function validate57(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(Object.keys(data).length < 2){validate57.errors = [{instancePath,schemaPath:"#/minProperties",keyword:"minProperties",params:{limit: 2},message:"must NOT have fewer than 2 items"}];return false;}else {let missing0;if((data.providerMetadata === undefined) && (missing0 = "providerMetadata")){validate57.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!((func6.call(schema203.properties, key0)) || (pattern6.test(key0)))){validate57.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.providerMetadata !== undefined){const _errs3 = errors;if(!(validate14(data.providerMetadata, {instancePath:instancePath+"/providerMetadata",parentData:data,parentDataProperty:"providerMetadata",rootData}))){vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublic !== undefined){let data1 = data.datePublic;const _errs4 = errors;const _errs5 = errors;if(errors === _errs5){if(errors === _errs5){if(typeof data1 === "string"){if(!pattern3.test(data1)){validate57.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data1))){validate57.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/datePublic",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data2 = data.title;const _errs7 = errors;if(errors === _errs7){if(typeof data2 === "string"){if(func7(data2) > 256){validate57.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/maxLength",keyword:"maxLength",params:{limit: 256},message:"must NOT have more than 256 characters"}];return false;}else {if(func7(data2) < 1){validate57.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data.descriptions !== undefined){const _errs9 = errors;if(!(validate16(data.descriptions, {instancePath:instancePath+"/descriptions",parentData:data,parentDataProperty:"descriptions",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.affected !== undefined){const _errs10 = errors;if(!(validate22(data.affected, {instancePath:instancePath+"/affected",parentData:data,parentDataProperty:"affected",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs10 === errors;}else {var valid0 = true;}if(valid0){if(data.problemTypes !== undefined){const _errs11 = errors;if(!(validate26(data.problemTypes, {instancePath:instancePath+"/problemTypes",parentData:data,parentDataProperty:"problemTypes",rootData}))){vErrors = vErrors === null ? validate26.errors : vErrors.concat(validate26.errors);errors = vErrors.length;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.references !== undefined){const _errs12 = errors;if(!(validate27(data.references, {instancePath:instancePath+"/references",parentData:data,parentDataProperty:"references",rootData}))){vErrors = vErrors === null ? validate27.errors : vErrors.concat(validate27.errors);errors = vErrors.length;}var valid0 = _errs12 === errors;}else {var valid0 = true;}if(valid0){if(data.impacts !== undefined){const _errs13 = errors;if(!(validate33(data.impacts, {instancePath:instancePath+"/impacts",parentData:data,parentDataProperty:"impacts",rootData}))){vErrors = vErrors === null ? validate33.errors : vErrors.concat(validate33.errors);errors = vErrors.length;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data.metrics !== undefined){const _errs14 = errors;if(!(validate36(data.metrics, {instancePath:instancePath+"/metrics",parentData:data,parentDataProperty:"metrics",rootData}))){vErrors = vErrors === null ? validate36.errors : vErrors.concat(validate36.errors);errors = vErrors.length;}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.configurations !== undefined){const _errs15 = errors;if(!(validate38(data.configurations, {instancePath:instancePath+"/configurations",parentData:data,parentDataProperty:"configurations",rootData}))){vErrors = vErrors === null ? validate38.errors : vErrors.concat(validate38.errors);errors = vErrors.length;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data.workarounds !== undefined){const _errs16 = errors;if(!(validate41(data.workarounds, {instancePath:instancePath+"/workarounds",parentData:data,parentDataProperty:"workarounds",rootData}))){vErrors = vErrors === null ? validate41.errors : vErrors.concat(validate41.errors);errors = vErrors.length;}var valid0 = _errs16 === errors;}else {var valid0 = true;}if(valid0){if(data.solutions !== undefined){const _errs17 = errors;if(!(validate44(data.solutions, {instancePath:instancePath+"/solutions",parentData:data,parentDataProperty:"solutions",rootData}))){vErrors = vErrors === null ? validate44.errors : vErrors.concat(validate44.errors);errors = vErrors.length;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.exploits !== undefined){const _errs18 = errors;if(!(validate47(data.exploits, {instancePath:instancePath+"/exploits",parentData:data,parentDataProperty:"exploits",rootData}))){vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);errors = vErrors.length;}var valid0 = _errs18 === errors;}else {var valid0 = true;}if(valid0){if(data.timeline !== undefined){const _errs19 = errors;if(!(validate50(data.timeline, {instancePath:instancePath+"/timeline",parentData:data,parentDataProperty:"timeline",rootData}))){vErrors = vErrors === null ? validate50.errors : vErrors.concat(validate50.errors);errors = vErrors.length;}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.credits !== undefined){const _errs20 = errors;if(!(validate52(data.credits, {instancePath:instancePath+"/credits",parentData:data,parentDataProperty:"credits",rootData}))){vErrors = vErrors === null ? validate52.errors : vErrors.concat(validate52.errors);errors = vErrors.length;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.source !== undefined){let data15 = data.source;const _errs21 = errors;const _errs22 = errors;if(errors === _errs22){if(data15 && typeof data15 == "object" && !Array.isArray(data15)){if(Object.keys(data15).length < 1){validate57.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}}else {validate57.errors = [{instancePath:instancePath+"/source",schemaPath:"#/definitions/source/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs21 === errors;}else {var valid0 = true;}if(valid0){if(data.tags !== undefined){const _errs24 = errors;if(!(validate71(data.tags, {instancePath:instancePath+"/tags",parentData:data,parentDataProperty:"tags",rootData}))){vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);errors = vErrors.length;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.taxonomyMappings !== undefined){let data17 = data.taxonomyMappings;const _errs25 = errors;const _errs26 = errors;if(errors === _errs26){if(Array.isArray(data17)){if(data17.length < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid4 = true;const len0 = data17.length;for(let i0=0; i0 128){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data19) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs31 === errors;}else {var valid5 = true;}if(valid5){if(data18.taxonomyVersion !== undefined){let data20 = data18.taxonomyVersion;const _errs33 = errors;if(errors === _errs33){if(typeof data20 === "string"){if(func7(data20) > 128){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data20) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyVersion",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyVersion/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid5 = _errs33 === errors;}else {var valid5 = true;}if(valid5){if(data18.taxonomyRelations !== undefined){let data21 = data18.taxonomyRelations;const _errs35 = errors;if(errors === _errs35){if(Array.isArray(data21)){if(data21.length < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid6 = true;const len1 = data21.length;for(let i1=0; i1 2048){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data23) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/taxonomyId",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/taxonomyId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs40 === errors;}else {var valid7 = true;}if(valid7){if(data22.relationshipName !== undefined){let data24 = data22.relationshipName;const _errs42 = errors;if(errors === _errs42){if(typeof data24 === "string"){if(func7(data24) > 128){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/maxLength",keyword:"maxLength",params:{limit: 128},message:"must NOT have more than 128 characters"}];return false;}else {if(func7(data24) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipName",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs42 === errors;}else {var valid7 = true;}if(valid7){if(data22.relationshipValue !== undefined){let data25 = data22.relationshipValue;const _errs44 = errors;if(errors === _errs44){if(typeof data25 === "string"){if(func7(data25) > 2048){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"}];return false;}else {if(func7(data25) < 1){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"}];return false;}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1+"/relationshipValue",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/properties/relationshipValue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid7 = _errs44 === errors;}else {var valid7 = true;}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations/" + i1,schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid6 = _errs37 === errors;if(!valid6){break;}}if(valid6){let i2 = data21.length;let j0;if(i2 > 1){outer0:for(;i2--;){for(j0 = i2; j0--;){if(func0(data21[i2], data21[j0])){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/uniqueItems",keyword:"uniqueItems",params:{i: i2, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i2+" are identical)"}];return false;break outer0;}}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0+"/taxonomyRelations",schemaPath:"#/definitions/taxonomyMappings/items/properties/taxonomyRelations/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid5 = _errs35 === errors;}else {var valid5 = true;}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings/" + i0,schemaPath:"#/definitions/taxonomyMappings/items/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid4 = _errs28 === errors;if(!valid4){break;}}if(valid4){let i3 = data17.length;let j1;if(i3 > 1){outer1:for(;i3--;){for(j1 = i3; j1--;){if(func0(data17[i3], data17[j1])){validate57.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/uniqueItems",keyword:"uniqueItems",params:{i: i3, j: j1},message:"must NOT have duplicate items (items ## "+j1+" and "+i3+" are identical)"}];return false;break outer1;}}}}}}}else {validate57.errors = [{instancePath:instancePath+"/taxonomyMappings",schemaPath:"#/definitions/taxonomyMappings/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs25 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}else {validate57.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate57.errors = vErrors;return errors === 0;}const schema211 = {"type":"object","required":["cveId","assignerOrgId","state"],"properties":{"cveId":{"$ref":"#/definitions/cveId"},"assignerOrgId":{"$ref":"#/definitions/orgId"},"assignerShortName":{"$ref":"#/definitions/shortName"},"serial":{"type":"integer","minimum":1},"dateUpdated":{"$ref":"#/definitions/timestamp"},"datePublished":{"$ref":"#/definitions/timestamp"},"dateRejected":{"$ref":"#/definitions/timestamp"},"state":{"type":"string","enum":["REJECTED"]},"dateReserved":{"$ref":"#/definitions/timestamp"}},"additionalProperties":false};function validate74(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.cveId === undefined) && (missing0 = "cveId")) || ((data.assignerOrgId === undefined) && (missing0 = "assignerOrgId"))) || ((data.state === undefined) && (missing0 = "state"))){validate74.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(func6.call(schema211.properties, key0))){validate74.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.cveId !== undefined){let data0 = data.cveId;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(typeof data0 === "string"){if(!pattern0.test(data0)){validate74.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/pattern",keyword:"pattern",params:{pattern: "^CVE-[0-9]{4}-[0-9]{4,19}$"},message:"must match pattern \""+"^CVE-[0-9]{4}-[0-9]{4,19}$"+"\""}];return false;}}else {validate74.errors = [{instancePath:instancePath+"/cveId",schemaPath:"#/definitions/cveId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerOrgId !== undefined){let data1 = data.assignerOrgId;const _errs5 = errors;const _errs6 = errors;if(errors === _errs6){if(typeof data1 === "string"){if(!pattern1.test(data1)){validate74.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/pattern",keyword:"pattern",params:{pattern: "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"},message:"must match pattern \""+"^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$"+"\""}];return false;}}else {validate74.errors = [{instancePath:instancePath+"/assignerOrgId",schemaPath:"#/definitions/orgId/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.assignerShortName !== undefined){let data2 = data.assignerShortName;const _errs8 = errors;const _errs9 = errors;if(errors === _errs9){if(typeof data2 === "string"){if(func7(data2) > 32){validate74.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/maxLength",keyword:"maxLength",params:{limit: 32},message:"must NOT have more than 32 characters"}];return false;}else {if(func7(data2) < 2){validate74.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/minLength",keyword:"minLength",params:{limit: 2},message:"must NOT have fewer than 2 characters"}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/assignerShortName",schemaPath:"#/definitions/shortName/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.serial !== undefined){let data3 = data.serial;const _errs11 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){validate74.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs11){if((typeof data3 == "number") && (isFinite(data3))){if(data3 < 1 || isNaN(data3)){validate74.errors = [{instancePath:instancePath+"/serial",schemaPath:"#/properties/serial/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.dateUpdated !== undefined){let data4 = data.dateUpdated;const _errs13 = errors;const _errs14 = errors;if(errors === _errs14){if(errors === _errs14){if(typeof data4 === "string"){if(!pattern3.test(data4)){validate74.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data4))){validate74.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/dateUpdated",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data.datePublished !== undefined){let data5 = data.datePublished;const _errs16 = errors;const _errs17 = errors;if(errors === _errs17){if(errors === _errs17){if(typeof data5 === "string"){if(!pattern3.test(data5)){validate74.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data5))){validate74.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/datePublished",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs16 === errors;}else {var valid0 = true;}if(valid0){if(data.dateRejected !== undefined){let data6 = data.dateRejected;const _errs19 = errors;const _errs20 = errors;if(errors === _errs20){if(errors === _errs20){if(typeof data6 === "string"){if(!pattern3.test(data6)){validate74.errors = [{instancePath:instancePath+"/dateRejected",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data6))){validate74.errors = [{instancePath:instancePath+"/dateRejected",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/dateRejected",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.state !== undefined){let data7 = data.state;const _errs22 = errors;if(typeof data7 !== "string"){validate74.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(data7 === "REJECTED")){validate74.errors = [{instancePath:instancePath+"/state",schemaPath:"#/properties/state/enum",keyword:"enum",params:{allowedValues: schema211.properties.state.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.dateReserved !== undefined){let data8 = data.dateReserved;const _errs24 = errors;const _errs25 = errors;if(errors === _errs25){if(errors === _errs25){if(typeof data8 === "string"){if(!pattern3.test(data8)){validate74.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/pattern",keyword:"pattern",params:{pattern: "^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"},message:"must match pattern \""+"^(((2000|2400|2800|(19|2[0-9](0[48]|[2468][048]|[13579][26])))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?$"+"\""}];return false;}else {if(!(formats0.validate(data8))){validate74.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}}else {validate74.errors = [{instancePath:instancePath+"/dateReserved",schemaPath:"#/definitions/timestamp/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid0 = _errs24 === errors;}else {var valid0 = true;}}}}}}}}}}}}else {validate74.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate74.errors = vErrors;return errors === 0;}const schema219 = {"type":"object","properties":{"providerMetadata":{"$ref":"#/definitions/providerMetadata"},"rejectedReasons":{"$ref":"#/definitions/descriptions"},"replacedBy":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/cveId"}}},"required":["providerMetadata","rejectedReasons"],"patternProperties":{"^x_[^.]*$":{}},"$comment":"The character . is restricted in names allowed by patternProperties to work-around naming limitations in some common implementations.","additionalProperties":false};function validate76(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.providerMetadata === undefined) && (missing0 = "providerMetadata")) || ((data.rejectedReasons === undefined) && (missing0 = "rejectedReasons"))){validate76.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!((((key0 === "providerMetadata") || (key0 === "rejectedReasons")) || (key0 === "replacedBy")) || (pattern6.test(key0)))){validate76.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.providerMetadata !== undefined){const _errs3 = errors;if(!(validate14(data.providerMetadata, {instancePath:instancePath+"/providerMetadata",parentData:data,parentDataProperty:"providerMetadata",rootData}))){vErrors = vErrors === null ? validate14.errors : vErrors.concat(validate14.errors);errors = vErrors.length;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data.rejectedReasons !== undefined){const _errs4 = errors;if(!(validate16(data.rejectedReasons, {instancePath:instancePath+"/rejectedReasons",parentData:data,parentDataProperty:"rejectedReasons",rootData}))){vErrors = vErrors === null ? validate16.errors : vErrors.concat(validate16.errors);errors = vErrors.length;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.replacedBy !== undefined){let data2 = data.replacedBy;const _errs5 = errors;if(errors === _errs5){if(Array.isArray(data2)){if(data2.length < 1){validate76.errors = [{instancePath:instancePath+"/replacedBy",schemaPath:"#/properties/replacedBy/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"}];return false;}else {var valid1 = true;const len0 = data2.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data2[i1], data2[j0])){validate76.errors = [{instancePath:instancePath+"/replacedBy",schemaPath:"#/properties/replacedBy/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"}];return false;break outer0;}}}}}}}else {validate76.errors = [{instancePath:instancePath+"/replacedBy",schemaPath:"#/properties/replacedBy/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs5 === errors;}else {var valid0 = true;}}}}}}else {validate76.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate76.errors = vErrors;return errors === 0;}function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.1_bundled.json" */;let vErrors = null;let errors = 0;const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(errors === _errs1){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((data.dataType === undefined) && (missing0 = "dataType")) || ((data.dataVersion === undefined) && (missing0 = "dataVersion"))) || ((data.cveMetadata === undefined) && (missing0 = "cveMetadata"))) || ((data.containers === undefined) && (missing0 = "containers"))){const err0 = {instancePath,schemaPath:"#/oneOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {const _errs3 = errors;for(const key0 in data){if(!((((key0 === "dataType") || (key0 === "dataVersion")) || (key0 === "cveMetadata")) || (key0 === "containers"))){const err1 = {instancePath,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;break;}}if(_errs3 === errors){if(data.dataType !== undefined){let data0 = data.dataType;const _errs4 = errors;if(typeof data0 !== "string"){const err2 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(!(data0 === "CVE_RECORD")){const err3 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/enum",keyword:"enum",params:{allowedValues: schema12.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var valid1 = _errs4 === errors;}else {var valid1 = true;}if(valid1){if(data.dataVersion !== undefined){let data1 = data.dataVersion;const _errs7 = errors;if(typeof data1 !== "string"){const err4 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(data1 === "5.1")){const err5 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/enum",keyword:"enum",params:{allowedValues: schema13.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}var valid1 = _errs7 === errors;}else {var valid1 = true;}if(valid1){if(data.cveMetadata !== undefined){const _errs10 = errors;if(!(validate11(data.cveMetadata, {instancePath:instancePath+"/cveMetadata",parentData:data,parentDataProperty:"cveMetadata",rootData}))){vErrors = vErrors === null ? validate11.errors : vErrors.concat(validate11.errors);errors = vErrors.length;}var valid1 = _errs10 === errors;}else {var valid1 = true;}if(valid1){if(data.containers !== undefined){let data3 = data.containers;const _errs11 = errors;if(errors === _errs11){if(data3 && typeof data3 == "object" && !Array.isArray(data3)){let missing1;if((data3.cna === undefined) && (missing1 = "cna")){const err6 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/0/properties/containers/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}else {const _errs13 = errors;for(const key1 in data3){if(!((key1 === "cna") || (key1 === "adp"))){const err7 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/0/properties/containers/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;break;}}if(_errs13 === errors){if(data3.cna !== undefined){const _errs14 = errors;if(!(validate13(data3.cna, {instancePath:instancePath+"/containers/cna",parentData:data3,parentDataProperty:"cna",rootData}))){vErrors = vErrors === null ? validate13.errors : vErrors.concat(validate13.errors);errors = vErrors.length;}var valid4 = _errs14 === errors;}else {var valid4 = true;}if(valid4){if(data3.adp !== undefined){let data5 = data3.adp;const _errs15 = errors;if(errors === _errs15){if(Array.isArray(data5)){if(data5.length < 1){const err8 = {instancePath:instancePath+"/containers/adp",schemaPath:"#/oneOf/0/properties/containers/properties/adp/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}else {var valid5 = true;const len0 = data5.length;for(let i0=0; i0 1){outer0:for(;i1--;){for(j0 = i1; j0--;){if(func0(data5[i1], data5[j0])){const err9 = {instancePath:instancePath+"/containers/adp",schemaPath:"#/oneOf/0/properties/containers/properties/adp/uniqueItems",keyword:"uniqueItems",params:{i: i1, j: j0},message:"must NOT have duplicate items (items ## "+j0+" and "+i1+" are identical)"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;break outer0;}}}}}}}else {const err10 = {instancePath:instancePath+"/containers/adp",schemaPath:"#/oneOf/0/properties/containers/properties/adp/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {const err11 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/0/properties/containers/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}var valid1 = _errs11 === errors;}else {var valid1 = true;}}}}}}}else {const err12 = {instancePath,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;}const _errs18 = errors;if(errors === _errs18){if(data && typeof data == "object" && !Array.isArray(data)){let missing2;if(((((data.dataType === undefined) && (missing2 = "dataType")) || ((data.dataVersion === undefined) && (missing2 = "dataVersion"))) || ((data.cveMetadata === undefined) && (missing2 = "cveMetadata"))) || ((data.containers === undefined) && (missing2 = "containers"))){const err13 = {instancePath,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}else {const _errs20 = errors;for(const key2 in data){if(!((((key2 === "dataType") || (key2 === "dataVersion")) || (key2 === "cveMetadata")) || (key2 === "containers"))){const err14 = {instancePath,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;break;}}if(_errs20 === errors){if(data.dataType !== undefined){let data7 = data.dataType;const _errs21 = errors;if(typeof data7 !== "string"){const err15 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(!(data7 === "CVE_RECORD")){const err16 = {instancePath:instancePath+"/dataType",schemaPath:"#/definitions/dataType/enum",keyword:"enum",params:{allowedValues: schema12.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}var valid7 = _errs21 === errors;}else {var valid7 = true;}if(valid7){if(data.dataVersion !== undefined){let data8 = data.dataVersion;const _errs24 = errors;if(typeof data8 !== "string"){const err17 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(!(data8 === "5.1")){const err18 = {instancePath:instancePath+"/dataVersion",schemaPath:"#/definitions/dataVersion/enum",keyword:"enum",params:{allowedValues: schema13.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}var valid7 = _errs24 === errors;}else {var valid7 = true;}if(valid7){if(data.cveMetadata !== undefined){const _errs27 = errors;if(!(validate74(data.cveMetadata, {instancePath:instancePath+"/cveMetadata",parentData:data,parentDataProperty:"cveMetadata",rootData}))){vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);errors = vErrors.length;}var valid7 = _errs27 === errors;}else {var valid7 = true;}if(valid7){if(data.containers !== undefined){let data10 = data.containers;const _errs28 = errors;if(errors === _errs28){if(data10 && typeof data10 == "object" && !Array.isArray(data10)){let missing3;if((data10.cna === undefined) && (missing3 = "cna")){const err19 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/1/properties/containers/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}else {const _errs30 = errors;for(const key3 in data10){if(!(key3 === "cna")){const err20 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/1/properties/containers/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;break;}}if(_errs30 === errors){if(data10.cna !== undefined){if(!(validate76(data10.cna, {instancePath:instancePath+"/containers/cna",parentData:data10,parentDataProperty:"cna",rootData}))){vErrors = vErrors === null ? validate76.errors : vErrors.concat(validate76.errors);errors = vErrors.length;}}}}}else {const err21 = {instancePath:instancePath+"/containers",schemaPath:"#/oneOf/1/properties/containers/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}var valid7 = _errs28 === errors;}else {var valid7 = true;}}}}}}}else {const err22 = {instancePath,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}var _valid0 = _errs18 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;}}if(!valid0){const err23 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;validate10.errors = vErrors;return false;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate10.errors = vErrors;return errors === 0;} \ No newline at end of file