export interface Root { id: number; name: string; email: string; active: boolean; roles: string[]; profile: Profile; } export interface Profile { age: number; city: string; }