import z from "zod";

export const signPetitionSchema = z.object({
    email: z.string(),
    name: z.string().trim().min(1).max(30).nullable(),
    comment: z.string().trim().min(10).max(10_000).nullable(),
})

export const signedPetitionSchema = signPetitionSchema.extend({
    id: z.uuid(),
})
