{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mend/main/json-schema/mend-dwrresponse-vulnerability-profile-dto-schema.json", "title": "DWRResponseVulnerabilityProfileDTO", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mend-general-info-vulnerabilities-api-openapi.yml#/components/schemas/DWRResponseVulnerabilityProfileDTO", "type": "object", "properties": { "supportToken": { "title": "Support Token", "type": "string" }, "retVal": { "$ref": "#/$defs/VulnerabilityProfileDTO" } }, "$defs": { "EffectiveVulnerabilityInfoDTO": { "type": "object", "properties": { "referenceCount": { "title": "Vulnerability Reference Count", "type": "integer", "format": "int32" }, "shieldValue": { "title": "Shield Value", "type": "integer", "description": "RED(15), YELLOW(10), GREY(8), NO_SHIELD(6), GREEN(5)", "format": "int32" } } }, "ThreatAssessmentDTO": { "type": "object", "properties": { "exploitCodeMaturity": { "title": "Exploit Code Maturity", "type": "string", "enum": [ "UNPROVEN", "POC_CODE", "FUNCTIONAL", "HIGH", "NOT_DEFINED" ] }, "epssPercentage": { "title": "Epss Percentage", "type": "number", "format": "float" } } }, "VulnerabilityProfileDTO": { "type": "object", "properties": { "name": { "title": "Vulnerability Name", "type": "string" }, "type": { "title": "VulnerabilityType", "type": "string", "enum": [ "CVE", "WS" ] }, "description": { "title": "Vulnerability Description", "type": "string" }, "score": { "title": "Vulnerability Score", "type": "number", "format": "float" }, "severity": { "title": "Vulnerability Severity", "type": "string", "enum": [ "HIGH", "MEDIUM", "LOW" ] }, "publishDate": { "title": "Vulnerability Publish Date", "type": "string", "format": "date-time" }, "modifiedDate": { "title": "Vulnerability Modified Date", "type": "string", "format": "date-time" }, "vulnerabilityScoring": { "type": "array", "items": { "$ref": "#/$defs/VulnerabilityScoringDTO" } }, "references": { "type": "array", "items": { "$ref": "#/$defs/VulnerabilityReferenceDTO" } }, "effectiveInfo": { "$ref": "#/$defs/EffectiveVulnerabilityInfoDTO" }, "threatAssessment": { "$ref": "#/$defs/ThreatAssessmentDTO" } } }, "VulnerabilityReferenceDTO": { "type": "object", "properties": { "value": { "title": "Vulnerability Reference Value", "type": "string" }, "source": { "title": "vulnerability reference source", "type": "string" }, "url": { "title": "Vulnerability Reference Url", "type": "string" }, "signature": { "title": "Vulnerability Reference Signature", "type": "boolean" }, "advisory": { "title": "Vulnerability Reference Advisory", "type": "boolean" }, "patch": { "title": "Vulnerability Reference Patch", "type": "boolean" } } }, "VulnerabilityScoringDTO": { "type": "object", "properties": { "score": { "title": "Vulnerability Score", "type": "number", "format": "float" }, "severity": { "title": "Vulnerability Severity", "type": "string", "enum": [ "LOW", "HIGH", "MEDIUM" ] }, "type": { "title": "Vulnerability Score Type", "type": "string", "enum": [ "CVSS_2", "CVSS_3" ] }, "scoreMetadataVector": { "title": "Score Metadata Vector", "type": "string" }, "extraData": { "title": "Vulnerability Extra Data", "type": "object", "additionalProperties": { "title": "Vulnerability Extra Data", "type": "string" } } } } } }