{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "CompliancePolicy", "description": "CompliancePolicy schema from Palo Alto Networks Prisma Cloud Compute API", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-cloud-compute-api-compliance-policy-schema.json", "type": "object", "properties": { "rules": { "type": "array", "description": "Ordered list of compliance policy rules.", "items": { "type": "object", "properties": { "name": { "type": "string" }, "collections": { "type": "array", "items": { "type": "string" } }, "effect": { "type": "string", "enum": [ "ignore", "alert", "block" ] }, "condition": { "type": "object", "properties": { "checks": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "Compliance check ID." }, "block": { "type": "boolean" } } } } } } } } } } }