export type ParticipantData = { content: Record; pageInstructions?: object[]; }; export type ErrorResponse = { response: { data: { errorDetails?: { erroneousInputOutputFieldInPage: string; }[]; }; }; }; export interface Participant { data: { content: { pyParticipants: { ID: string; classID: string; links: Record; [key: string]: unknown; }[]; }; }; } export interface ParticipantRole { ID: string; name: string; links: Record; }