{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "EmailAttachment", "description": "EmailAttachment schema from Palo Alto Networks Email DLP API", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/email-dlp-api-email-attachment-schema.json", "type": "object", "properties": { "filename": { "type": "string", "description": "Attachment filename." }, "content_type": { "type": "string", "description": "MIME content type of the attachment." }, "size": { "type": "integer", "description": "Attachment size in bytes." }, "has_matches": { "type": "boolean", "description": "Whether the attachment contained data pattern matches." }, "match_count": { "type": "integer", "description": "Number of data pattern matches in the attachment." }, "patterns_matched": { "type": "array", "items": { "type": "string" }, "description": "Names of data patterns that matched in the attachment." } } }