This commit is contained in:
Amruth Pillai
2026-01-26 12:38:37 +01:00
parent 1e814a77cc
commit 429618d5f8
3 changed files with 20 additions and 29 deletions
+2 -2
View File
@@ -61,13 +61,13 @@ export const customFieldSchema = z.object({
id: z.string().describe("The unique identifier for the custom field. Usually generated as a UUID."),
icon: iconSchema,
text: z.string().describe("The text to display for the custom field."),
link: z.url().or(z.literal("")).describe("If the custom field should be a link, the URL to link to.").catch(""),
link: z.string().describe("If the custom field should be a link, the URL to link to.").catch(""),
});
export const basicsSchema = z.object({
name: z.string().describe("The full name of the author of the resume."),
headline: z.string().describe("The headline of the author of the resume."),
email: z.email().or(z.literal("")).describe("The email address of the author of the resume."),
email: z.string().describe("The email address of the author of the resume."),
phone: z.string().describe("The phone number of the author of the resume."),
location: z.string().describe("The location of the author of the resume."),
website: urlSchema.describe("The website of the author of the resume."),