Add regex-based data URL validation for images, compute binary size from base64 for accurate 10MB limit, enforce datetime strings with offset for start/end fields, and derive CalendarEvent from the AI response item type to eliminate field duplication.