import { z } from 'zod'; export const KeysSchema = z.enum(['osago', 'kasko', 'fingap']); export const RowSchema = z.object({ insCost: z.number(), insTerm: z.number().nullable(), insuranceCompany: z.string().nullable(), insured: z.number().nullable(), key: KeysSchema, policyType: z.string(), }); export const InsuranceSchema = z.object({ values: z.object({ fingap: RowSchema, kasko: RowSchema, osago: RowSchema, }), });