import { z } from "zod/v4"; import { BrandInputSchema } from "../api/domain/brand.aggregate"; export type { BrandInput } from "../api/domain/brand.aggregate"; export { BrandInputSchema }; export const BrandSchema = z.strictObject({ id: z.uuid(), name: z.string().min(1).max(100), active: z.boolean(), builtin: z.boolean(), }); export const BrandsResponseSchema = z.strictObject({ brands: z.array(BrandSchema) }); export const BrandResponseSchema = z.strictObject({ brand: BrandSchema }); export type BrandDTO = z.infer;