{"$id":"https://events-schemas.twilio.com/VideoInsights.RoomSummaryApi/2","$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"definitions":{"RoomDetectedIssues":{"additionalProperties":false,"description":"Issues detected in a room","properties":{"details":{"description":"List of issues that occurred","items":{"$ref":"#/definitions/RoomIssueDetails"},"type":"array"}},"required":["details"],"type":"object"},"RoomIssueDetails":{"additionalProperties":false,"description":"Room issue","properties":{"issue_type":{"default":"unknown","description":"The type of issue the participant experienced.","type":"string"},"properties":{"$ref":"#/definitions/RoomIssueProperties"},"severity":{"default":"unknown","description":"The severity of issue the participant experienced.","type":"string"}},"required":["issue_type","severity"],"type":"object"},"RoomIssueProperties":{"additionalProperties":false,"description":"Detected issue that happened in the room","properties":{"directions":{"description":"The impacted audio/video direction","items":{"description":"The audio/video direction","type":"string"},"type":"array"},"participant_identity":{"description":"The application-defined string that uniquely identifies the participant within a Room","type":"string"},"participant_sid":{"description":"Unique identifier for the participant that was impacted by the issue","type":"string"}},"required":["directions"],"type":"object"}},"description":"https://www.twilio.com/docs/video/insights/api/room-summary-resource","examples":[{"account_sid":"AC0000000000000000000000000000001","codecs":["VP8"],"create_time":"2025-01-01T00:00:00.000Z","created_method":"api","detected_issues":{"details":[{"issue_type":"packet_loss","properties":{"directions":["outbound"],"participant_identity":"00000000-0000-0000-0000-000000000001","participant_sid":"PA0000000000000000000000000000001"},"severity":"high"}]},"duration_sec":248,"end_reason":"disconnected_via_api","end_time":"2025-01-01T00:15:00.000Z","max_concurrent_participants":2,"max_participants_allowed":4,"media_region":"us1","participants":4,"processing_state":"complete","recording_enabled":true,"room_name":"My room","room_sid":"RM0000000000000000000000000000001","room_type":"go","status":"in-progress","total_participant_duration_sec":465,"total_recording_duration_sec":464,"unique_participant_identities":2}],"properties":{"account_sid":{"description":"Account SID associated with this room","type":"string"},"codecs":{"description":"Video or Audio Codecs used by participants in the room","items":{"description":"Codec used by participants in the room","type":"string"},"type":"array"},"create_time":{"description":"Datetime when the room was created in ISO-8601 format","format":"date-time","type":"string"},"created_method":{"default":"unknown","description":"How the room was created","type":"string"},"detected_issues":{"$ref":"#/definitions/RoomDetectedIssues"},"duration_sec":{"description":"Total room duration from create time to end time","type":"integer"},"end_reason":{"default":"unknown","description":"Reason the room ended","type":"string"},"end_time":{"description":"Datetime when the room ended in ISO-8601 format","format":"date-time","type":"string"},"max_concurrent_participants":{"description":"Maximum number of participants allowed in the room at the same time allowed by the application settings","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"max_participants_allowed":{"description":"Max number of total participants allowed by the application settings","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"media_region":{"default":"unknown","description":"Region of Twilio media servers for the room","type":"string"},"participants":{"description":"Number of participants. May include duplicate identities for participants who left and rejoined","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"processing_state":{"default":"unknown","description":"Video Log Analyzer resource state. in-progress indicates that more details may be appended to the resource. complete indicates no further information will be added.","type":"string"},"recording_enabled":{"default":false,"description":"Boolean indicating if recording is enabled for the room","type":"boolean"},"room_name":{"description":"Description of the room","type":"string"},"room_sid":{"description":"Unique identifier for the room","type":"string"},"room_type":{"description":"The type of video room depending on size restrictions and technology implementations","type":"string"},"status":{"default":"unknown","description":"Status of the room","type":"string"},"total_participant_duration_sec":{"description":"Combined amount of participant time in the room","type":"integer"},"total_recording_duration_sec":{"description":"Combined amount of recorded seconds for participants in the room","type":"integer"},"unique_participant_identities":{"description":"Unique number of participant identities","maximum":2147483647,"minimum":-2147483648,"type":"integer"}},"required":["room_sid","room_name","room_type","account_sid","create_time","end_time","status","processing_state","created_method","end_reason","codecs","media_region","recording_enabled"],"title":"VideoRoomSummaryApi","type":"object"}