{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/sase-multitenant-notifications-api-notif-profile-structure.json", "name": "NotifProfile", "description": "NotifProfile schema from Multi-Tenant Notifications API", "type": "object", "properties": { "id": { "type": "string", "description": "Notification Profile Id" }, "profileName": { "type": "string", "description": "Notification Profile Name" }, "description": { "type": "string", "description": "Notification Profile Description" }, "opState": { "type": "string", "description": "Notification Profile Operational State", "enum": [ "ENABLED", "DISABLED" ] }, "status": { "type": "string", "description": "Notification Profile Status" }, "tenantList": { "type": "array", "description": "Input Tenant List", "items": { "type": "string" } }, "excludeTenantList": { "type": "array", "description": "List of excluded tenants", "items": { "type": "string" } }, "notifTypeDetails": { "type": "array", "description": "Notification Type Detail", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Notification Type", "enum": [ "INCIDENTS", "UPGRADES", "ANNOUNCEMENTS" ] }, "notifCategoryList": { "type": "array", "description": "List of notification type categories", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Notification type category name" }, "bestPractice": { "type": "boolean", "description": "Best practice flag for category" }, "subCategoryList": { "type": "array", "description": "List of notification type sub-categories", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Notification type sub-category name" }, "bestPractice": { "type": "boolean", "description": "Best practice flag for sub-category" }, "needLicense": { "type": "boolean", "description": "Need license flag for sub-category" } }, "required": [ "name", "bestPractice", "needLicense" ] } } }, "required": [ "name", "bestPractice", "subCategoryList" ] } } }, "required": [ "type", "notifCategoryList" ] } }, "notifChannels": { "type": "array", "description": "Notification Channel List", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Notification channel name" }, "type": { "type": "string", "description": "Notification channel type", "enum": [ "EMAIL", "WEBHOOK" ] }, "emailChannelDetails": { "type": "object", "description": "Email channel details", "additionalProperties": { "type": "object", "properties": { "emails": { "type": "array", "description": "List of emails", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Email owner name" }, "emailId": { "type": "string", "description": "Email id" } }, "required": [ "name", "emailId" ] } } }, "required": [ "emails" ] } }, "webhookChannelDetails": { "type": "object", "description": "Webhook channel details", "additionalProperties": { "type": "object", "properties": { "urls": { "type": "array", "description": "List of Webhook URLs - do not include token in the URL", "items": { "type": "string" } }, "authType": { "type": "string", "description": "Webhook Authentication Type", "enum": [ "NO_AUTH", "TOKEN" ] }, "token": { "type": "string", "description": "Webhook token value" } }, "required": [ "urls", "authType", "token" ] } }, "template": { "type": "object", "description": "Channel output template", "properties": { "name": { "type": "string", "description": "Output channel template name" }, "templateJson": { "type": "string", "description": "JSON describing the output channel template" } } } }, "required": [ "name", "type" ] } }, "successTenant": { "type": "array", "description": "List of child tenants that got the incident profile", "items": { "type": "string" } }, "failureTenant": { "type": "array", "description": "List of child tenants that didn't get the incident profile", "items": { "type": "string" } } }, "required": [ "profileName", "opState", "status", "tenantList", "notifTypeDetails", "notifChannels" ] }