{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opentext-cybersecurity/main/json-schema/opentext-cybersecurity-vulnerability-summary-schema.json",
  "title": "VulnerabilitySummary",
  "description": "Vulnerability Summary",
  "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/VulnerabilitySummary",
  "type": "object",
  "properties": {
    "lineNumber": {
      "format": "int32",
      "description": "Line number",
      "type": "integer"
    },
    "primaryLocation": {
      "description": "Primary location",
      "type": "string"
    },
    "primaryLocationFull": {
      "description": "The full Primary location",
      "type": "string"
    },
    "severity": {
      "description": "Severity",
      "type": "string"
    },
    "isSuppressed": {
      "description": "Is suppressed",
      "type": "boolean"
    },
    "assignedUser": {
      "description": "Assigned user",
      "type": "string"
    },
    "developerStatus": {
      "description": "Developer status",
      "type": "string"
    },
    "auditorStatus": {
      "description": "Auditor status",
      "type": "string"
    },
    "auditPending": {
      "description": "Audit pending",
      "type": "boolean"
    },
    "auditPendingAuditorStatus": {
      "description": "Audit pending auditor status",
      "type": "string"
    },
    "auditPendingSeverity": {
      "description": "Audit pending severity",
      "type": "string"
    },
    "auditPendingSuppression": {
      "description": "Audit pending suppression",
      "type": "string"
    },
    "comments": {
      "description": "Comments",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuditComment"
      }
    },
    "notes": {
      "description": "Notes",
      "type": "string"
    },
    "bugSubmitted": {
      "description": "Bug Submitted",
      "type": "boolean"
    },
    "bugLink": {
      "description": "Bug Link",
      "type": "string"
    },
    "fileLocations": {
      "description": "File locations for open source vulnerabilities",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "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": {
    "AuditComment": {
      "description": "Audit Comment",
      "type": "object",
      "properties": {
        "username": {
          "description": "The user name",
          "type": "string"
        },
        "commentDate": {
          "format": "date-time",
          "description": "The comment date",
          "type": "string"
        },
        "comment": {
          "description": "The audit comment",
          "type": "string"
        }
      }
    }
  }
}