Invalid props fail the build
A date that is not ISO 8601 and a currency that is not ISO 4217: the component throws with page, component and fields instead of rendering.
Invalid props fail the build
examples/invalid-event.astro---
import { EventSchema } from '@casoon/astro-structured-data/components';
---
<!-- Invalid on purpose: the build stops instead of emitting broken JSON-LD. -->
<EventSchema
name="Tech Meetup Berlin"
startDate="15.06.2026"
attendanceMode="Offline"
locationName="Hub Berlin"
price={10}
priceCurrency="euro"
/>[astro-structured-data] <EventSchema> on /events/meetup/ received invalid props:
✖ Invalid input
→ at startDate
✖ Must be an ISO 4217 currency code like "EUR"
→ at priceCurrency