{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-legacy-suppression-schema.json", "title": "LegacySuppression", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/palo-alto-networks-suppressions-api-openapi.yml#/components/schemas/LegacySuppression", "allOf": [ { "anyOf": [ { "$ref": "#/$defs/AccountsSuppression" }, { "$ref": "#/$defs/PolicySuppression" }, { "$ref": "#/$defs/TagsSuppression" }, { "$ref": "#/$defs/TagsSuppressionData" }, { "$ref": "#/$defs/ResourcesSuppressionLegacy" } ] }, { "properties": { "policyId": { "type": "string" } }, "required": [ "policyId" ], "type": "object" }, { "$ref": "#/$defs/CommonSuppressionFields" } ], "$defs": { "AccountsSuppression": { "additionalProperties": false, "properties": { "accountIds": { "items": { "type": "string" }, "type": "array" }, "suppressionType": { "enum": [ "Accounts" ], "type": "string" } }, "required": [ "suppressionType", "accountIds" ], "type": "object" }, "CommonSuppressionFields": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "creationDate": { "type": "string" }, "id": { "type": "string" } }, "required": [ "id", "comment" ], "type": "object" }, "PolicySuppression": { "additionalProperties": false, "properties": { "suppressionType": { "enum": [ "Policy" ], "type": "string" } }, "required": [ "suppressionType" ], "type": "object" }, "ResourcesSuppressionLegacy": { "additionalProperties": false, "properties": { "resources": { "items": { "properties": { "accountId": { "type": "string" }, "resourceId": { "type": "string" } }, "required": [ "resourceId", "accountId" ], "type": "object" }, "type": "array" }, "suppressionType": { "enum": [ "Resources" ], "type": "string" } }, "required": [ "suppressionType", "resources" ], "type": "object" }, "TagsSuppression": { "additionalProperties": false, "properties": { "suppressionType": { "enum": [ "Tags" ], "type": "string" }, "tags": { "items": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "value", "key" ], "type": "object" }, "type": "array" } }, "required": [ "suppressionType", "tags" ], "type": "object" }, "TagsSuppressionData": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "creationDate": { "type": "string" }, "id": { "type": "string" }, "policyId": { "type": "string" }, "suppressionType": { "enum": [ "Tags" ], "type": "string" }, "tags": { "items": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "value", "key" ], "type": "object" }, "type": "array" } }, "required": [ "id", "policyId", "comment", "suppressionType", "tags" ], "type": "object" } } }