{"$id":"https://events-schemas.twilio.com/VideoInsights.ParticipantSummaryApi/2","$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"definitions":{"Browser":{"additionalProperties":false,"description":"Participant browser metadata","properties":{"name":{"description":"Browser name","type":"string"},"version":{"description":"Version of the browser","type":"string"}},"type":"object"},"Device":{"additionalProperties":false,"description":"Participant device metadata","properties":{"architecture":{"description":"System architecture for the device","type":"string"},"manufacturer":{"description":"Identifier for the device manufacturer","type":"string"},"model":{"description":"Model of the device","type":"string"}},"type":"object"},"Geo":{"additionalProperties":false,"description":"Participant location coordinates","properties":{"lat":{"description":"Latitude","type":"number"},"lon":{"description":"Longitude","type":"number"}},"type":"object"},"LocationInfo":{"additionalProperties":false,"description":"Participant location metadata","properties":{"city":{"description":"The user's city","type":"string"},"country":{"description":"The user's country","type":"string"},"country_iso_code":{"description":"The user's country ISO code","type":"string"},"geo":{"$ref":"#/definitions/Geo"},"subdivision":{"description":"The user's country subdivision, such as state, province, or locality","type":"string"}},"type":"object"},"ParticipantDetectedIssues":{"additionalProperties":false,"description":"Issues experienced by the participant","properties":{"details":{"description":"Array of issues the participant experienced.","items":{"$ref":"#/definitions/ParticipantIssueDetails"},"type":"array"}},"required":["details"],"type":"object"},"ParticipantIssueDetails":{"additionalProperties":false,"description":"Participant issue","properties":{"issue_type":{"default":"unknown","description":"The type of issue the participant experienced.","type":"string"},"properties":{"$ref":"#/definitions/ParticipantIssueProperties"},"severity":{"default":"unknown","description":"The severity of issue the participant experienced.","type":"string"}},"required":["issue_type","severity"],"type":"object"},"ParticipantIssueProperties":{"additionalProperties":false,"description":"Participant issue properties","properties":{"direction":{"default":"unknown","description":"The video/audio direction","type":"string"},"track_sid":{"description":"The unique identifier for the track","type":"string"},"track_type":{"default":"unknown","description":"The type of track","type":"string"}},"required":["direction","track_type"],"type":"object"},"ParticipantPublisherInfo":{"additionalProperties":false,"description":"Participant publisher metadata","properties":{"browser":{"$ref":"#/definitions/Browser"},"device":{"$ref":"#/definitions/Device"},"ip_location":{"$ref":"#/definitions/LocationInfo"},"name":{"default":"","description":"SDK type","type":"string"},"platform":{"$ref":"#/definitions/Platform"},"sdk_version":{"default":"","description":"SDK version","type":"string"}},"type":"object"},"Platform":{"additionalProperties":false,"description":"Participant platform metadata","properties":{"name":{"description":"Platform name","type":"string"},"version":{"description":"Platform version","type":"string"}},"type":"object"},"TrackCount":{"additionalProperties":false,"description":"Tracks metadata from the participant","properties":{"audio":{"default":0,"description":"Number of audio tracks from the participant","type":"integer"},"data":{"default":0,"description":"Number of data tracks from the participant","type":"integer"},"video":{"default":0,"description":"Number of video tracks from the participant","type":"integer"}},"required":["audio","video","data"],"type":"object"}},"description":"Video room participant summary","examples":[{"account_sid":"AC0000000000000000000000000000001","codecs":["VP8"],"detected_issues":{"details":[{"issue_type":"packet_loss","properties":{"direction":"outgoing","track_sid":"MT0000000000000000000000000000001","track_type":"localVideoTrack"},"severity":"high"}]},"duration_sec":60,"end_reason":"disconnected_via_api","join_time":"2025-01-01T00:00:00.000Z","leave_time":"2025-01-01T00:01:00.000Z","media_region":"us1","participant_identity":"00000000-0000-0000-0000-000000000001","participant_sid":"PA0000000000000000000000000000001","processing_state":"complete","publisher_info":{"browser":{"name":"Electron","version":"28.2.0"},"device":{"architecture":"amd64","manufacturer":"Unknown","model":"Other"},"ip_location":{"city":"Barcelona","country":"Spain","country_iso_code":"ES","geo":{"lat":40.83885,"lon":-74.04568},"subdivision":"Catalunya"},"name":"twilio-video.js","platform":{"name":"Windows","version":"10"},"sdk_version":"2.28.1"},"recording_duration_sec":60,"room_name":"My room","room_sid":"RM0000000000000000000000000000001","room_type":"go","signaling_region":"us1","status":"in_progress","tracks":{"audio":1,"data":0,"video":1}}],"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"},"detected_issues":{"$ref":"#/definitions/ParticipantDetectedIssues"},"duration_sec":{"description":"Amount of time in seconds the participant was in the room","type":"integer"},"end_reason":{"default":"unknown","description":"Reason the participant left the room","type":"string"},"join_time":{"description":"When the participant joined the room in ISO 8601 format","format":"date-time","type":"string"},"leave_time":{"description":"When the participant left the room in ISO 8601 format","format":"date-time","type":"string"},"media_region":{"default":"unknown","description":"Region of Twilio media servers for the room","type":"string"},"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","type":"string"},"processing_state":{"default":"unknown","description":"resource state. in-progress indicates that more details may be appended to the resource. complete indicates no further information will be added.","type":"string"},"publisher_info":{"$ref":"#/definitions/ParticipantPublisherInfo"},"recording_duration_sec":{"description":"Combined amount of recorded seconds for participants in the room","type":"integer"},"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"},"signaling_region":{"default":"unknown","description":"The Twilio region where signaling was handled","type":"string"},"status":{"default":"unknown","description":"Status of the room","type":"string"},"tracks":{"$ref":"#/definitions/TrackCount"}},"required":["participant_sid","participant_identity","room_sid","room_name","room_type","account_sid","join_time","leave_time","status","processing_state","media_region","signaling_region","codecs","end_reason"],"title":"VideoParticipantSummaryApi","type":"object"}