{ "type": "object", "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", "properties": { "call_id": { "type": "string", "description": "The ID of the call this event relates to." }, "answer": { "type": "object", "title": "Answer", "description": "The session description object", "properties": { "type": { "type": "string", "enum": ["answer"], "description": "The type of session description." }, "sdp": { "type": "string", "description": "The SDP text of the session description." } }, "required": ["type", "sdp"] }, "version": { "type": "string", "description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0" }, "party_id": { "type": "string", "description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " } }, "required": ["call_id", "answer", "version", "party_id"] }, "type": { "type": "string", "enum": ["m.call.answer"] } } }