Files
call-center/contracts/events/interaction.created.json
T

14 lines
502 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "InteractionCreated",
"type": "object",
"required": ["event", "interaction_id", "channel", "created_at"],
"properties": {
"event": { "const": "interaction.created" },
"interaction_id": { "type": "string" },
"channel": { "type": "string", "enum": ["voice", "telegram", "email", "webchat"] },
"queue_id": { "type": ["string", "null"] },
"created_at": { "type": "string", "format": "date-time" }
}
}