matrix-spec/data/event-schemas/schema/m.call.answer.yaml

40 lines
1.2 KiB
YAML
Raw Normal View History

{
"type": "object",
2015-05-28 12:35:18 +02:00
"description": "This event is sent by the callee when they wish to answer the call.",
"allOf": [{
"$ref": "core-event-schema/room_event.yaml"
}],
"properties": {
"content": {
"type": "object",
"allOf": [{
"$ref": "core-event-schema/call_event.yaml"
}],
"properties": {
"answer": {
"type": "object",
"title": "Answer",
2015-05-20 18:40:14 +02:00
"description": "The session description object",
"properties": {
"type": {
"type": "string",
2015-05-20 17:19:17 +02:00
"enum": ["answer"],
2015-05-26 18:39:38 +02:00
"description": "The type of session description."
},
"sdp": {
2015-05-20 17:19:17 +02:00
"type": "string",
"description": "The SDP text of the session description."
}
},
"required": ["type", "sdp"]
}
},
"required": ["answer"]
},
"type": {
"type": "string",
"enum": ["m.call.answer"]
}
}
}