import { z } from "zod"

export const personUpdateSchema = z.object({
    firstName: z.string().optional(),
    surname: z.string().optional(),
    middleName: z.string().optional(),
    sexCode: z.string().optional(),
    personRef: z.string().optional(),
    personTag: z.string().optional(),
    fatherName: z.string().optional(),
    motherName: z.string().optional(),
    countryCode: z.string().optional(),
    nationalIdentityId: z.string().optional(),
    birthPlace: z.string().optional(),
    birthDate: z.string().optional(),
    taxNo: z.string().optional().optional(),
    birthname: z.string().optional().optional(),
    expiryStarts: z.string().optional().optional(),
    expiryEnds: z.string().optional().optional(),
});

export type PeopleUpdate = z.infer<typeof personUpdateSchema>;
