Files
call-center/contracts/events/call.recording.ready.json
T

15 lines
539 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CallRecordingReady",
"type": "object",
"required": ["event", "call_id", "recording_path", "duration_seconds", "created_at"],
"properties": {
"event": { "const": "call.recording.ready" },
"call_id": { "type": "string" },
"interaction_id": { "type": ["string", "null"] },
"recording_path": { "type": "string" },
"duration_seconds": { "type": "integer", "minimum": 0 },
"created_at": { "type": "string", "format": "date-time" }
}
}