{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Suppression",
  "description": "Suppression schema from Palo Alto Networks Prisma Cloud Code Security API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-cloud-code-security-api-suppression-schema.json",
  "type": "object",
  "properties": {
    "suppressionId": {
      "type": "string",
      "description": "Unique suppression rule identifier."
    },
    "policyId": {
      "type": "string",
      "description": "Checkov policy ID being suppressed."
    },
    "policyName": {
      "type": "string",
      "description": "Human-readable policy name."
    },
    "suppressionType": {
      "type": "string",
      "enum": [
        "Policy",
        "Resources",
        "Accounts",
        "Tags"
      ],
      "description": "Scope of the suppression."
    },
    "justification": {
      "type": "string",
      "description": "Reason provided for the suppression."
    },
    "createdBy": {
      "type": "string",
      "description": "Email address of the user who created the suppression."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the suppression was created."
    },
    "expirationDate": {
      "type": "string",
      "format": "date-time",
      "description": "Expiration date. Null if the suppression does not expire."
    },
    "suppressedErrorCount": {
      "type": "integer",
      "description": "Number of errors currently suppressed by this rule."
    }
  }
}
