{"openapi":"3.1.0","info":{"title":"Paradym Partner Player","version":"1.0"},"paths":{"/partner/v1/agent/keys":{"post":{"tags":["partner player"],"summary":"Agent Key","description":"Redeem an owner's single-use delegation for its exact site, environment and scopes.","operationId":"agent_key_partner_v1_agent_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyName"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/assets/{asset_id}":{"put":{"tags":["partner player"],"summary":"Write Asset","description":"Register or update a playable archive edition on the authenticated site.","operationId":"write_asset_partner_v1_assets__asset_id__put","security":[{"ScopedBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9._~-]{1,150}$","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["partner player"],"summary":"Unpublish Asset","operationId":"unpublish_asset_partner_v1_assets__asset_id__delete","security":[{"ScopedBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/v1/playback-sessions":{"post":{"tags":["partner player"],"summary":"Launch","description":"Issue a one-minute launch grant after your server checks this viewer's access.","operationId":"launch_partner_v1_playback_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/playback-sessions/exchange":{"post":{"tags":["partner player"],"summary":"Exchange","description":"The hosted frame exchanges a single-use grant against the observed parent origin.","operationId":"exchange_partner_v1_playback_sessions_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/v1/playback-sessions/refresh":{"post":{"tags":["partner player"],"summary":"Refresh","description":"Renew the runtime lease and optionally persist the current edition's position.","operationId":"refresh_partner_v1_playback_sessions_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/playback-sessions/started":{"post":{"tags":["partner player"],"summary":"Started","description":"Count the first start only once per playback session.","operationId":"started_partner_v1_playback_sessions_started_post","responses":{"204":{"description":"Successful Response"}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/assets/{asset_id}/subtitles":{"get":{"tags":["partner player"],"summary":"List Tracks","operationId":"list_tracks_partner_v1_assets__asset_id__subtitles_get","security":[{"ScopedBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrackReceipt"},"title":"Response List Tracks Partner V1 Assets  Asset Id  Subtitles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["partner player"],"summary":"Add Track","operationId":"add_track_partner_v1_assets__asset_id__subtitles_post","security":[{"ScopedBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedTrackInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/v1/assets/{asset_id}/subtitles/{track_id}":{"put":{"tags":["partner player"],"summary":"Replace Track","operationId":"replace_track_partner_v1_assets__asset_id__subtitles__track_id__put","security":[{"ScopedBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedTrackInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["partner player"],"summary":"Remove Track","operationId":"remove_track_partner_v1_assets__asset_id__subtitles__track_id__delete","security":[{"ScopedBearer":[]}],"parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/v1/playback-sessions/subtitles/{track_id}":{"get":{"tags":["partner player"],"summary":"Read Track","operationId":"read_track_partner_v1_playback_sessions_subtitles__track_id__get","security":[{"ScopedBearer":[]}],"parameters":[{"name":"track_id","in":"path","required":true,"schema":{"type":"string","title":"Track Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/vtt":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/v1/assets":{"get":{"tags":["partner player"],"summary":"List Assets","operationId":"list_assets_partner_v1_assets_get","security":[{"ScopedBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/v1/rooms":{"post":{"tags":["partner player"],"summary":"Create Room","operationId":"create_room_partner_v1_rooms_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/playback-sessions/room":{"get":{"tags":["partner player"],"summary":"Get Room","operationId":"get_room_partner_v1_playback_sessions_room_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomState"}}}}},"security":[{"ScopedBearer":[]}]},"post":{"tags":["partner player"],"summary":"Control Room","operationId":"control_room_partner_v1_playback_sessions_room_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/playback-sessions/room/social":{"get":{"tags":["partner player"],"summary":"Social State","operationId":"social_state_partner_v1_playback_sessions_room_social_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ScopedBearer":[]}]},"post":{"tags":["partner player"],"summary":"Social Action","operationId":"social_action_partner_v1_playback_sessions_room_social_post","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Chat"},{"$ref":"#/components/schemas/React"},{"$ref":"#/components/schemas/NewPoll"},{"$ref":"#/components/schemas/Vote"},{"$ref":"#/components/schemas/ClosePoll"},{"$ref":"#/components/schemas/Moderate"},{"$ref":"#/components/schemas/ShareSubtitle"}],"title":"Body","discriminator":{"propertyName":"action","mapping":{"chat":"#/components/schemas/Chat","react":"#/components/schemas/React","poll":"#/components/schemas/NewPoll","vote":"#/components/schemas/Vote","close_poll":"#/components/schemas/ClosePoll","kick":"#/components/schemas/Moderate","transfer":"#/components/schemas/Moderate","share_subtitle":"#/components/schemas/ShareSubtitle"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/playback-sessions/voice":{"post":{"tags":["partner player"],"summary":"Voice Join","operationId":"voice_join_partner_v1_playback_sessions_voice_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ScopedBearer":[]}]},"delete":{"tags":["partner player"],"summary":"Voice Leave","operationId":"voice_leave_partner_v1_playback_sessions_voice_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/watch-party-launches":{"post":{"tags":["partner player"],"summary":"Create Handoff","description":"Create an owner-consented launch for a private fixed-video Paradym member party.","operationId":"create_handoff_partner_v1_watch_party_launches_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffHostInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffLaunchReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/watch-party-launches/guest/inspect":{"post":{"tags":["partner player"],"summary":"Inspect Guest Request","description":"Identify the exact edition to authorize before redeeming a member's guest request.","operationId":"inspect_guest_request_partner_v1_watch_party_launches_guest_inspect_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffRequestInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffRequestReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}},"/partner/v1/watch-party-launches/guest":{"post":{"tags":["partner player"],"summary":"Issue Guest Handoff","operationId":"issue_guest_handoff_partner_v1_watch_party_launches_guest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffGuestInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffLaunchReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ScopedBearer":[]}]}}},"components":{"schemas":{"AssetInput":{"properties":{"series_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1,"pattern":"\\S"},{"type":"null"}],"title":"Series Id"},"season_number":{"anyOf":[{"type":"integer","maximum":9999,"minimum":0},{"type":"null"}],"title":"Season Number"},"episode_number":{"anyOf":[{"type":"integer","maximum":99999,"minimum":0},{"type":"null"}],"title":"Episode Number"},"edition":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Edition"},"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"source_url":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Source Url"},"source_type":{"type":"string","enum":["mp4","hls"],"title":"Source Type"},"subtitles":{"items":{"$ref":"#/components/schemas/Subtitle"},"type":"array","maxItems":40,"title":"Subtitles"}},"additionalProperties":false,"type":"object","required":["title","source_type"],"title":"AssetInput"},"AssetReceipt":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"revision":{"type":"integer","title":"Revision"}},"type":"object","required":["asset_id","revision"],"title":"AssetReceipt"},"Chat":{"properties":{"action":{"type":"string","const":"chat","title":"Action"},"text":{"type":"string","maxLength":800,"minLength":1,"pattern":"\\S","title":"Text"}},"additionalProperties":false,"type":"object","required":["action","text"],"title":"Chat"},"ClosePoll":{"properties":{"action":{"type":"string","const":"close_poll","title":"Action"},"poll_id":{"type":"string","maxLength":36,"minLength":1,"title":"Poll Id"}},"additionalProperties":false,"type":"object","required":["action","poll_id"],"title":"ClosePoll"},"Episode":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"title":{"type":"string","title":"Title"},"season_number":{"type":"integer","title":"Season Number"},"episode_number":{"type":"integer","title":"Episode Number"}},"type":"object","required":["asset_id","title","season_number","episode_number"],"title":"Episode"},"ExchangeInput":{"properties":{"grant":{"type":"string","maxLength":180,"minLength":1,"format":"password","title":"Grant","writeOnly":true},"origin":{"type":"string","maxLength":512,"title":"Origin"}},"additionalProperties":false,"type":"object","required":["grant","origin"],"title":"ExchangeInput"},"GrantReceipt":{"properties":{"grant":{"type":"string","title":"Grant"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"embed_url":{"type":"string","title":"Embed Url"}},"type":"object","required":["grant","expires_at","embed_url"],"title":"GrantReceipt"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HandoffGuestInput":{"properties":{"origin":{"type":"string","maxLength":512,"title":"Origin"},"request":{"type":"string","maxLength":180,"minLength":1,"format":"password","title":"Request","writeOnly":true},"viewer_id":{"type":"string","maxLength":200,"minLength":1,"title":"Viewer Id"}},"additionalProperties":false,"type":"object","required":["origin","request","viewer_id"],"title":"HandoffGuestInput"},"HandoffHostInput":{"properties":{"origin":{"type":"string","maxLength":512,"title":"Origin"},"asset_id":{"type":"string","maxLength":150,"minLength":1,"title":"Asset Id"},"viewer_id":{"type":"string","maxLength":200,"minLength":1,"title":"Viewer Id"}},"additionalProperties":false,"type":"object","required":["origin","asset_id","viewer_id"],"title":"HandoffHostInput"},"HandoffLaunchReceipt":{"properties":{"launch_url":{"type":"string","title":"Launch Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["launch_url","expires_at"],"title":"HandoffLaunchReceipt"},"HandoffRequestInput":{"properties":{"origin":{"type":"string","maxLength":512,"title":"Origin"},"request":{"type":"string","maxLength":180,"minLength":1,"format":"password","title":"Request","writeOnly":true}},"additionalProperties":false,"type":"object","required":["origin","request"],"title":"HandoffRequestInput"},"HandoffRequestReceipt":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"revision":{"type":"integer","title":"Revision"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["asset_id","revision","expires_at"],"title":"HandoffRequestReceipt"},"KeyName":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"pattern":"\\S","title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"KeyName"},"KeyReceipt":{"properties":{"id":{"type":"string","title":"Id"},"site_id":{"type":"string","title":"Site Id"},"name":{"type":"string","title":"Name"},"environment":{"type":"string","enum":["test","live"],"title":"Environment"},"scopes":{"items":{"type":"string","enum":["assets:write","playback:issue","parties:launch"]},"type":"array","title":"Scopes"},"prefix":{"type":"string","title":"Prefix"},"actor":{"type":"string","title":"Actor"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","site_id","name","environment","scopes","prefix","actor","created_at","expires_at","last_used_at","revoked_at","deleted_at","secret"],"title":"KeyReceipt"},"LaunchInput":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Display Name"},"room_id":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Room Id"},"asset_id":{"type":"string","maxLength":150,"minLength":1,"title":"Asset Id"},"viewer_id":{"type":"string","maxLength":200,"minLength":1,"title":"Viewer Id"},"origin":{"type":"string","maxLength":512,"title":"Origin"}},"additionalProperties":false,"type":"object","required":["asset_id","viewer_id","origin"],"title":"LaunchInput"},"ManagedTrackInput":{"properties":{"language":{"type":"string","maxLength":35,"minLength":2,"pattern":"^[a-zA-Z0-9-]+$","title":"Language"},"label":{"type":"string","maxLength":100,"minLength":1,"title":"Label"},"filename":{"type":"string","maxLength":160,"minLength":1,"title":"Filename"},"content":{"type":"string","maxLength":262144,"minLength":1,"title":"Content"}},"additionalProperties":false,"type":"object","required":["language","label","filename","content"],"title":"ManagedTrackInput"},"Moderate":{"properties":{"action":{"type":"string","enum":["kick","transfer"],"title":"Action"},"member_id":{"type":"string","maxLength":36,"minLength":1,"title":"Member Id"}},"additionalProperties":false,"type":"object","required":["action","member_id"],"title":"Moderate"},"Navigation":{"properties":{"series_id":{"type":"string","title":"Series Id"},"current_asset_id":{"type":"string","title":"Current Asset Id"},"previous_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Asset Id"},"next_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Asset Id"},"episodes":{"items":{"$ref":"#/components/schemas/Episode"},"type":"array","title":"Episodes"}},"type":"object","required":["series_id","current_asset_id","previous_asset_id","next_asset_id","episodes"],"title":"Navigation"},"NewPoll":{"properties":{"action":{"type":"string","const":"poll","title":"Action"},"question":{"type":"string","maxLength":240,"minLength":1,"pattern":"\\S","title":"Question"},"options":{"items":{"type":"string","maxLength":120,"minLength":1},"type":"array","maxItems":6,"minItems":2,"title":"Options"}},"additionalProperties":false,"type":"object","required":["action","question","options"],"title":"NewPoll"},"PlaybackTrack":{"properties":{"url":{"type":"string","title":"Url"},"language":{"type":"string","title":"Language"},"label":{"type":"string","title":"Label"},"managed":{"type":"boolean","title":"Managed","default":false}},"type":"object","required":["url","language","label"],"title":"PlaybackTrack"},"React":{"properties":{"action":{"type":"string","const":"react","title":"Action"},"emoji":{"type":"string","enum":["👍","❤️","😂","🎉"],"title":"Emoji"}},"additionalProperties":false,"type":"object","required":["action","emoji"],"title":"React"},"RefreshInput":{"properties":{"sequence":{"anyOf":[{"type":"integer","maximum":2147483647,"minimum":1},{"type":"null"}],"title":"Sequence"},"playing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Playing"},"position_seconds":{"anyOf":[{"type":"number","maximum":2592000,"minimum":0},{"type":"null"}],"title":"Position Seconds"}},"additionalProperties":false,"type":"object","title":"RefreshInput"},"RoomCommand":{"properties":{"action":{"type":"string","enum":["play","pause","seek","end"],"title":"Action"},"position_seconds":{"type":"number","maximum":2592000,"minimum":0,"title":"Position Seconds"},"expected_version":{"type":"integer","minimum":1,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["action","position_seconds","expected_version"],"title":"RoomCommand"},"RoomCreated":{"properties":{"room_id":{"type":"string","title":"Room Id"}},"type":"object","required":["room_id"],"title":"RoomCreated"},"RoomInput":{"properties":{"asset_id":{"type":"string","maxLength":150,"minLength":1,"title":"Asset Id"},"host_viewer_id":{"type":"string","maxLength":200,"minLength":1,"title":"Host Viewer Id"}},"additionalProperties":false,"type":"object","required":["asset_id","host_viewer_id"],"title":"RoomInput"},"RoomState":{"properties":{"voice_available":{"type":"boolean","title":"Voice Available","default":false},"id":{"type":"string","title":"Id"},"role":{"type":"string","enum":["host","guest"],"title":"Role"},"paused":{"type":"boolean","title":"Paused"},"position_seconds":{"type":"number","title":"Position Seconds"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"version":{"type":"integer","title":"Version"},"ended":{"type":"boolean","title":"Ended"}},"type":"object","required":["id","role","paused","position_seconds","updated_at","version","ended"],"title":"RoomState"},"RuntimeReceipt":{"properties":{"source_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Expires At"},"runtime_expires_at":{"type":"string","format":"date-time","title":"Runtime Expires At"},"navigation":{"anyOf":[{"$ref":"#/components/schemas/Navigation"},{"type":"null"}]},"room":{"anyOf":[{"$ref":"#/components/schemas/RoomState"},{"type":"null"}]},"title":{"type":"string","title":"Title"},"source_url":{"type":"string","title":"Source Url"},"source_type":{"type":"string","enum":["mp4","hls"],"title":"Source Type"},"session_token":{"type":"string","title":"Session Token"},"position_seconds":{"type":"number","title":"Position Seconds"},"subtitles":{"items":{"$ref":"#/components/schemas/PlaybackTrack"},"type":"array","title":"Subtitles"}},"type":"object","required":["source_expires_at","runtime_expires_at","title","source_url","source_type","session_token","position_seconds","subtitles"],"title":"RuntimeReceipt"},"ShareSubtitle":{"properties":{"action":{"type":"string","const":"share_subtitle","title":"Action"},"track_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":1},{"type":"null"}],"title":"Track Id"}},"additionalProperties":false,"type":"object","required":["action","track_id"],"title":"ShareSubtitle"},"Subtitle":{"properties":{"url":{"type":"string","maxLength":4096,"title":"Url"},"language":{"type":"string","maxLength":35,"minLength":2,"pattern":"^[a-zA-Z0-9-]+$","title":"Language"},"label":{"type":"string","maxLength":100,"minLength":1,"title":"Label"}},"additionalProperties":false,"type":"object","required":["url","language","label"],"title":"Subtitle"},"TrackReceipt":{"properties":{"id":{"type":"string","title":"Id"},"language":{"type":"string","title":"Language"},"label":{"type":"string","title":"Label"},"revision":{"type":"integer","title":"Revision"}},"type":"object","required":["id","language","label","revision"],"title":"TrackReceipt"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Vote":{"properties":{"action":{"type":"string","const":"vote","title":"Action"},"poll_id":{"type":"string","maxLength":36,"minLength":1,"title":"Poll Id"},"option_index":{"type":"integer","maximum":5,"minimum":0,"title":"Option Index"}},"additionalProperties":false,"type":"object","required":["action","poll_id","option_index"],"title":"Vote"}},"securitySchemes":{"ScopedBearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"https://api.paradym.tv"}]}