interface Root {
id: number;
name: string;
email: string;
isActive: boolean;
role: string;
metadata: Metadata;
projects: ProjectsItem[];
}
interface ProjectsItem {
id: number;
name: string;
status: string;
tags: string[];
}
interface Metadata {
createdAt: string;
lastLogin: string;
preferences: Preferences;
}
interface Preferences {
theme: string;
notifications: boolean;
}Share JSON to Types with your team. Runs 100% in the browser.