import { z } from 'zod';
export const ProjectSchema = z.object({
id: z.string().uuid().optional(),
client_name: z.string().min(1),
project_name: z.string().min(1),
industry: z.enum([
'financial_services',
'healthcare',
'retail',
'manufacturing',
'technology',
'education',
'government',
'other'
]),
description: z.string().optional(),
status: z.enum(['draft', 'active', 'completed', 'archived']).default('draft'),
created_at: z.string().datetime().optional(),
updated_at: z.string().datetime().optional()
});
export type Project = z.infer<typeof ProjectSchema>;
export const ProjectCreateSchema = ProjectSchema.omit({
id: true,
created_at: true,
updated_at: true
});
export type ProjectCreate = z.infer<typeof ProjectCreateSchema>;