{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Policy", "title": "Policy", "type": "object", "description": "An alerting policy that connects health rule violations and events to automated response actions.", "properties": { "id": { "type": "integer", "format": "int64", "description": "The internal numeric identifier for the policy." }, "name": { "type": "string", "description": "The name of the policy." }, "enabled": { "type": "boolean", "description": "Whether the policy is currently enabled." }, "executeActionsInBatch": { "type": "boolean", "description": "Whether to batch action execution." }, "actions": { "type": "array", "description": "The list of action references triggered by this policy.", "items": { "type": "object", "properties": { "actionName": { "type": "string", "description": "The name of the referenced action." }, "actionType": { "type": "string", "description": "The type of the referenced action." } } } }, "events": { "type": "object", "description": "The event filter configuration defining which events trigger this policy." }, "selectedEntityType": { "type": "string", "description": "The type of entity this policy applies to." } } }