export interface BoxOverview { box: Box; virtual_boxes: { [id: string]: { participant: Participant, recordings: RecordingContent[], virtual_box: VirtualBox } }; } export interface Box { 'box': number; 'status': { '_type': string, 'value': string }; 'notes': null; 'start_time': { '_type': string, 'value': string }; 'alias': string; 'experiment': number; 'end_time': string; 'id': number; } export interface Participant { 'utc_offset_minutes': number; 'company_specific_id': string; 'group': number; 'id': number; 'recordings'?: RecordingContent[]; } export interface Recording { 'status': { '_type': string, 'value': string }; 'upload_time': null; 'device_assignment': number; 'box_allocation': number; 'notes': null; 'start_time': { '_type': string, 'value': string }; 'filename': string; 'applied_offset': number; 'end_time': { '_type': string, 'value': string }; 'id': number; 'requested_offset': number; 'md5': string; } export interface RecordingContent { // participant: Participant; device_type: DeviceType; device_recording: Recording; } export interface DeviceType { 'id': number; 'name': string; } export interface VirtualBox { 'status': { '_type': string, 'value': string }; 'start_time': { '_type': string, 'value': string }; 'end_time': { '_type': string, 'value': string }; 'participant': number; 'id': number; }