{ "$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-suppression-create-schema.json", "title": "SuppressionCreate", "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/SuppressionCreate", "anyOf": [ { "$ref": "#/$defs/ResourcesSuppressionCreate" }, { "$ref": "#/$defs/PolicySuppressionCreate" }, { "$ref": "#/$defs/AccountsSuppressionCreate" }, { "$ref": "#/$defs/TagsSuppressionCreate" }, { "$ref": "#/$defs/LicenseSuppressionCreate" }, { "$ref": "#/$defs/PackageSuppressionCreate" } ], "$defs": { "AccountsSuppressionCreate": { "additionalProperties": false, "properties": { "accountIds": { "items": { "type": "string" }, "type": "array" }, "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "origin": { "type": "string" }, "suppressionType": { "enum": [ "Accounts" ], "type": "string" } }, "required": [ "comment", "origin", "suppressionType", "accountIds" ], "type": "object" }, "LicenseSuppressionCreate": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "licenseTypes": { "items": { "type": "string" }, "type": "array" }, "origin": { "type": "string" }, "suppressionType": { "enum": [ "LicenseType" ], "type": "string" } }, "required": [ "comment", "origin", "suppressionType", "licenseTypes" ], "type": "object" }, "PackageLang": { "enum": [ "nodejs", "ruby", "python", "jar", "dotNet", "go", "os" ], "type": "string" }, "PackageSuppressionCreate": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "origin": { "type": "string" }, "packages": { "items": { "properties": { "language": { "$ref": "#/$defs/PackageLang" }, "packageName": { "type": "string" }, "version": { "type": "string" } }, "required": [ "language", "version", "packageName" ], "type": "object" }, "type": "array" }, "suppressionType": { "enum": [ "PackageLicense" ], "type": "string" } }, "required": [ "comment", "origin", "suppressionType", "packages" ], "type": "object" }, "PolicySuppressionCreate": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "origin": { "type": "string" }, "suppressionType": { "enum": [ "Policy" ], "type": "string" } }, "required": [ "comment", "origin", "suppressionType" ], "type": "object" }, "ResourcesSuppressionCreate": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "origin": { "type": "string" }, "resources": { "items": { "properties": { "accountId": { "type": "string" }, "id": { "type": "string" } }, "required": [ "id", "accountId" ], "type": "object" }, "type": "array" }, "suppressionType": { "enum": [ "Resources" ], "type": "string" } }, "required": [ "comment", "origin", "suppressionType", "resources" ], "type": "object" }, "TagsSuppressionCreate": { "additionalProperties": false, "properties": { "comment": { "type": "string" }, "expirationTime": { "format": "double", "type": "number" }, "origin": { "type": "string" }, "suppressionType": { "enum": [ "Tags" ], "type": "string" }, "tags": { "items": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "value", "key" ], "type": "object" }, "type": "array" } }, "required": [ "comment", "origin", "suppressionType", "tags" ], "type": "object" } } }