Follow-up to #16. Event now carries notes, all-day status, event status, organizer, and attendees (0.9.0 and 0.10.0), but recurrence rules are still dropped in init(_ event: EKEvent).
schema.org models this as eventSchedule with a Schedule value: repeatFrequency, byDay, byMonth, byMonthDay, repeatCount, startDate, endDate, exceptDate, and scheduleTimezone. EKRecurrenceRule maps onto most of that: frequency and interval become an ISO 8601 duration for repeatFrequency, daysOfTheWeek becomes byDay, monthsOfTheYear becomes byMonth, daysOfTheMonth becomes byMonthDay, and recurrenceEnd becomes either repeatCount or endDate. Set positions, daysOfTheYear, and weeksOfTheYear have no schema.org equivalent.
Open questions: whether to add a full Schedule type or something narrower, and what to do with rules that don't fit.
Follow-up to #16.
Eventnow carries notes, all-day status, event status, organizer, and attendees (0.9.0 and 0.10.0), but recurrence rules are still dropped ininit(_ event: EKEvent).schema.org models this as
eventSchedulewith aSchedulevalue:repeatFrequency,byDay,byMonth,byMonthDay,repeatCount,startDate,endDate,exceptDate, andscheduleTimezone.EKRecurrenceRulemaps onto most of that:frequencyandintervalbecome an ISO 8601 duration forrepeatFrequency,daysOfTheWeekbecomesbyDay,monthsOfTheYearbecomesbyMonth,daysOfTheMonthbecomesbyMonthDay, andrecurrenceEndbecomes eitherrepeatCountorendDate. Set positions,daysOfTheYear, andweeksOfTheYearhave no schema.org equivalent.Open questions: whether to add a full
Scheduletype or something narrower, and what to do with rules that don't fit.