2015-05-18 16:54:17 +00:00
{
"type": "object",
2015-05-20 15:19:17 +00:00
"description": "Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.",
2015-05-18 16:54:17 +00:00
"allOf": [{
2015-12-07 13:53:48 +00:00
"$ref": "core-event-schema/room_event.yaml"
2015-05-18 16:54:17 +00:00
}],
"properties": {
"content": {
"type": "object",
"properties": {
"call_id": {
2015-05-20 15:19:17 +00:00
"type": "string",
"description": "The ID of the call this event relates to."
2015-05-18 16:54:17 +00:00
},
"version": {
2015-05-20 15:19:17 +00:00
"type": "integer",
"description": "The version of the VoIP specification this message adheres to. This specification is version 0."
2015-05-18 16:54:17 +00:00
}
},
"required": ["call_id", "version"]
},
"type": {
"type": "string",
"enum": ["m.call.hangup"]
}
}
}