schemas/calendar library

Apple's calendar App Schemas, as typed annotations.

Annotate a class with an entity annotation, such as @CalendarAttendee(...), and its fields with @CalendarAttendeeField.<member>.

Classes

CalendarAttendee
Adopts Apple's calendar.attendee schema ("Attendee", iOS 27+, macOS 27+).
CalendarAttendeeField
Members of calendar.attendee, used as field annotations: @CalendarAttendeeField.person ….
CalendarAttendeeSchema
Marks members of calendar.attendee.
CalendarAttendeeType
calendar.attendeeType ("Attendee Type"), whose cases the app defines: put @CalendarAttendeeType() on a Dart enum, and each of its values becomes a case Siri can use.
CalendarCalendar
Adopts Apple's calendar.calendar schema ("Calendar", iOS 27+, macOS 27+).
CalendarCalendarField
Members of calendar.calendar, used as field annotations: @CalendarCalendarField.title ….
CalendarCalendarSchema
Marks members of calendar.calendar.
CalendarEvent
Adopts Apple's calendar.event schema ("Event", iOS 27+, macOS 27+).
CalendarEventField
Members of calendar.event, used as field annotations: @CalendarEventField.title ….
CalendarEventSchema
Marks members of calendar.event.
FixedCalendarCalendar
A fixed calendar.calendar instance, for schemas that require one.

Enums

CalendarAttendeeStatus
calendar.attendeeStatus ("Attendee Status").
CalendarEventSpan
calendar.eventSpan ("Event Occurrence").
CalendarEventStatus
calendar.eventStatus ("Event Status").