Event

The Event interface represents occurrences or happenings at specific times within the Cadastry Chain system. It extends the base Document interface and provides a structure for describing various types of events.

Key Properties

The Event interface includes the following record properties:

PropertyTypeDescription
type'event'The type identifier for event records
nameStringFieldThe name of the event (required)
eventObjectEvent-specific properties (see below)

Event Properties

PropertyTypeDescription
startDateTimeDateFieldThe start date and time of the event (optional)
endDateTimeDateFieldThe end date and time of the event (optional)
durationStringFieldThe duration of the event (optional)
timezoneStringFieldThe timezone in which the event takes place (optional)
isRecurringBooleanFieldIndicates whether this is a recurring event (optional)
recurrenceRuleStringFieldThe recurrence rule for recurring events (optional)

Usage

Events can be used to represent a wide variety of occurrences, such as:

  • Meetings
  • Conferences
  • Exhibitions
  • Concerts
  • Deadlines
  • Holidays

The flexible structure allows for both simple one-time events and complex recurring events to be represented within the system.

Recurrence Rules

For recurring events, the recurrenceRule field can be used to define recurring patterns. When the isRecurring field is set to true, the recurrenceRule specifies how the event repeats.

The Event interface provides a comprehensive structure for representing temporal data within the Cadastry Chain system, allowing for detailed scheduling and temporal relationship modeling.