{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opentext-cybersecurity/main/json-schema/opentext-cybersecurity-vulnerability-audit-options-schema.json",
  "title": "VulnerabilityAuditOptions",
  "description": "Vulnerability Audit Options",
  "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/VulnerabilityAuditOptions",
  "type": "object",
  "properties": {
    "canAudit": {
      "description": "Indicates if the current user can audit the vulnerability",
      "type": "boolean"
    },
    "canChallenge": {
      "description": "Indicates if the current user can challenge the vulnerability",
      "type": "boolean"
    },
    "canEdit": {
      "description": "Indicates if the current user can edit the vulnerability",
      "type": "boolean"
    },
    "inAuditMode": {
      "description": "Indicates if the release is in audit mode",
      "type": "boolean"
    },
    "auditProcessing": {
      "description": "Indicates if the audit is processing for the release",
      "type": "boolean"
    },
    "auditActions": {
      "description": "List of available audit actions",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuditAction"
      }
    },
    "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": {
    "AuditAction": {
      "description": "Audit Action",
      "type": "object",
      "properties": {
        "auditActionType": {
          "description": "The audit action type",
          "enum": [
            "AuditorStatus",
            "DeveloperStatus",
            "Severity",
            "User"
          ],
          "type": "string"
        },
        "auditActionTypeName": {
          "description": "The audit action type name",
          "type": "string"
        },
        "items": {
          "description": "List of audit action items",
          "type": "array",
          "items": {
            "$ref": "#/$defs/LookupItem"
          }
        }
      }
    },
    "LookupItem": {
      "description": "Lookup Item",
      "type": "object",
      "properties": {
        "value": {
          "description": "The value property",
          "type": "string"
        },
        "text": {
          "description": "The text property",
          "type": "string"
        },
        "group": {
          "description": "The group property",
          "type": "string"
        }
      }
    }
  }
}