{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opentext-cybersecurity/main/json-schema/opentext-cybersecurity-vulnerability-details-schema.json",
  "title": "VulnerabilityDetails",
  "description": "Vulnerability Details",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opentext-cybersecurity-vulnerabilities-api-openapi.yml#/components/schemas/VulnerabilityDetails",
  "type": "object",
  "properties": {
    "isStatic": {
      "description": "Indicates if the vulnerability is static",
      "type": "boolean"
    },
    "summary": {
      "description": "The vulnerability summary",
      "type": "string"
    },
    "explanation": {
      "description": "The vulnerability explanation",
      "type": "string"
    },
    "instanceId": {
      "description": "The vulnerability instance id",
      "type": "string"
    },
    "ruleId": {
      "description": "The vulnerability rule id",
      "type": "string"
    },
    "impact": {
      "description": "The vulnerability impact",
      "type": "string"
    },
    "probability": {
      "description": "The vulnerability probability",
      "type": "string"
    },
    "severity": {
      "description": "The vulnerability severity",
      "type": "string"
    },
    "confidence": {
      "description": "The vulnerability confidence",
      "type": "string"
    },
    "analyzerName": {
      "description": "The vulnerability analyzer name",
      "type": "string"
    },
    "source": {
      "description": "The vulnerability source name",
      "type": "string"
    },
    "sink": {
      "description": "The vulnerability sink name",
      "type": "string"
    },
    "complianceCategories": {
      "description": "The compliance rules which pertain to this vulnerability, grouped by category.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/VulnerabilityComplianceCategory"
      }
    },
    "remainingRemediationGracePeriodDays": {
      "format": "int32",
      "description": "The number of days remaining in the remediation grace period\nThis will be negative if the grace period has expired",
      "type": "integer"
    },
    "vulnId": {
      "description": "The vulnerability id",
      "type": "string"
    },
    "Id": {
      "format": "int32",
      "description": "The issue id",
      "type": "integer"
    },
    "releaseId": {
      "format": "int32",
      "description": "The release id",
      "type": "integer"
    }
  },
  "$defs": {
    "VulnerabilityComplianceCategory": {
      "description": "Vulnerability compliance category.",
      "type": "object",
      "properties": {
        "categoryName": {
          "description": "The compliance category name.",
          "type": "string"
        },
        "complianceItems": {
          "description": "The compliance items for the current category.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/VulnerabilityComplianceItem"
          }
        }
      }
    },
    "VulnerabilityComplianceItem": {
      "description": "Vulnerability compliance item.",
      "type": "object",
      "properties": {
        "complianceRule": {
          "description": "The compliance rule.",
          "type": "string"
        }
      }
    }
  }
}