$ cd ../
JSON to TypeScript & Zod Schema
Infer strong TypeScript interfaces, type definitions, or Zod validation schemas from JSON data.
export interface UserResponse {
id: string;
username: string;
email: string;
isActive: boolean;
profile: UserResponseProfile;
roles: string[];
metadata: UserResponseMetadata;
}
export interface UserResponseMetadata {
lastLogin: string;
ipAddress: string;
}
export interface UserResponseProfile {
fullName: string;
avatarUrl: string;
bio: string;
followersCount: number;
}