# Dayweave ICS File Validator (iCalendar) > Check an .ics calendar file against RFC 5545 and preview the next dates of every event. Paste the text of an .ics file: the validator checks its structure (BEGIN/END, content lines, folding, CRLF), required properties (VERSION, PRODID, UID, DTSTAMP), duplicates, time zones without VTIMEZONE, dates, durations and recurrence rules, and lists every event with its time zone and next occurrences — the same reader Dayweave uses for its calendar import. Part of usefulweb.site (https://usefulweb.site/). Part of [Dayweave](https://dayweave.usefulweb.site/) (ownerApp: dayweave). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://dayweaveicsvalidator.usefulweb.site/ (interactive tool at https://dayweaveicsvalidator.usefulweb.site/tool) - JSON API: POST https://dayweaveicsvalidator.usefulweb.site/api/v1/calculate with a JSON object of inputs (schema: https://dayweaveicsvalidator.usefulweb.site/api/v1/tool) - OpenAPI: https://dayweaveicsvalidator.usefulweb.site/openapi.json - MCP (Streamable HTTP): https://dayweaveicsvalidator.usefulweb.site/mcp - tool `dayweave_ics_validator` ## Inputs - ics (textarea): Calendar file text (.ics) - timeZone (text): Time zone for floating times and the preview - from (text): Preview occurrences from (YYYY-MM-DD) - nextCount (number): Occurrences per event ## Method - Lines are unfolded (a line starting with a space or tab continues the previous one) and split into NAME;PARAM=value:VALUE content lines; components must nest with matching BEGIN/END. - Errors: missing VCALENDAR, VERSION:2.0 or PRODID, VEVENT without UID or DTSTAMP, single-value properties given twice, unreadable dates, DTEND before DTSTART, DTEND together with DURATION, recurrence rules outside the supported subset. Warnings: LF-only line ends, lines over 75 octets, TZIDs without VTIMEZONE, repeated UIDs, cancelled events and changed single occurrences (RECURRENCE-ID). - Times with Z are UTC; TZID times use that IANA zone (or the X-LIC-LOCATION of a VTIMEZONE with a Windows name); floating times are read in the zone you choose. The preview expands each event with the Dayweave recurrence engine.