import { z } from "zod"; export const rssSchema = z .array( z.object({ title: z.string().describe("The title of the RSS feed item").optional(), link: z.string().describe("The link to the RSS feed item").optional(), creator: z.string().describe("The creator of the RSS feed item").optional(), content: z.string().describe("The content of the RSS feed item").optional(), pubDate: z.string().describe("The publication date of the RSS feed item").optional(), }), ) .describe("RSS feed items"); export type RssSchema = z.infer;