{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CallTransferred",
  "type": "object",
  "required": ["event", "call_id", "created_at"],
  "properties": {
    "event": { "const": "call.transferred" },
    "call_id": { "type": "string" },
    "interaction_id": { "type": ["string", "null"] },
    "target_type": { "type": ["string", "null"], "enum": ["extension", "queue_code", null] },
    "target_value": { "type": ["string", "null"] },
    "target_extension": { "type": ["string", "null"] },
    "actor_user": { "type": ["string", "null"] },
    "created_at": { "type": "string", "format": "date-time" }
  }
}
