{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "allOf": [{ "$ref": "core#/definitions/room_event" }], "properties": { "content": { "type": "object", "properties": { "call_id": { "type": "string", "description": "The ID of the call this event relates to." }, "candidates": { "type": "array", "description": "Array of objects describing the candidates.", "items": { "type": "object", "properties": { "sdpMid": { "type": "string", "description": "The SDP media type this candidate is intended for." }, "sdpMLineIndex": { "type": "number", "description": "The index of the SDP 'm' line this candidate is intended for." }, "candidate": { "type": "string", "description": "The SDP 'a' line of the candidate." } }, "required": ["candidate", "sdpMLineIndex", "sdpMid"] } }, "version": { "type": "integer", "description": "The version of the VoIP specification this messages adheres to. This specification is version 0." } }, "required": ["call_id", "candidates", "version"] }, "type": { "type": "string", "enum": ["m.call.candidates"] } } }