{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/iot-security-api-policy-recommendation-structure.json", "name": "PolicyRecommendation", "description": "PolicyRecommendation schema from Palo Alto Networks IoT Security API", "type": "object", "properties": { "id": { "type": "string", "description": "Unique recommendation identifier." }, "deviceid": { "type": "string", "description": "Device identifier the recommendation applies to." }, "profile": { "type": "string", "description": "Device profile the recommendation applies to." }, "source_zone": { "type": "string", "description": "Recommended source security zone." }, "destination_zone": { "type": "string", "description": "Recommended destination security zone." }, "applications": { "type": "array", "description": "Recommended allowed applications.", "items": { "type": "string" } }, "services": { "type": "array", "description": "Recommended allowed services and ports.", "items": { "type": "string" } }, "action": { "type": "string", "description": "Recommended policy action.", "enum": [ "allow", "deny", "alert" ] }, "confidence": { "type": "float", "description": "Confidence score for the recommendation." }, "description": { "type": "string", "description": "Human-readable recommendation description." } } }