{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/spike-sh/main/json-schema/spike-sh-escalation-policy-schema.json", "title": "Spike.sh Escalation Policy", "description": "Schema for an escalation policy in Spike.sh.", "type": "object", "properties": { "_id": { "type": "string", "description": "Unique escalation policy identifier" }, "name": { "type": "string", "description": "Name of the escalation policy" }, "escalation": { "type": "array", "description": "Ordered list of escalation steps", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Type of escalation target (user, on-call, etc.)" }, "id": { "type": "string", "description": "ID of the escalation target" } } } }, "delay": { "type": "string", "description": "Delay between escalation steps" }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" } }, "required": ["_id", "name", "escalation"] }