Skip to content

Event

A comprehensive system for representing various types of events including single dates, date ranges, and custom events.

Defines the different types of events that can be represented

Value Description
singleDate A single date (and possible time)
dateRange A period of time with a start and end date
other Other event type (e.g., a recurring event)

A JSON example of this model.

"singleDate"
VersionChangesSchema
0.1.0
  • Added EventType enum
EventType.yaml

The Event union represents all possible event types.

Sub-type Description
SingleDateEvent A single date (and possible time)
DateRangeEvent A period of time with a start and end date
OtherEvent Other event type (e.g., a recurring event)

A JSON example of this model.

{
"name": "Opportunity close date",
"eventType": "singleDate",
"date": "2024-12-31",
"time": "17:00:00",
"description": "Opportunity closes for all applications"
}

Base model for all events with common properties

Property Type Required Description
name string Yes Human-readable name of the event
eventType EventType Yes Type of event (singleDate, dateRange, or other)
description string No Description of what this event represents

A JSON example of this model.

{
"name": "string",
"eventType": "singleDate",
"description": "string"
}
VersionChangesSchema
0.1.0
  • Added EventBase model
EventBase.yaml

Represents an event that has a specific date (and optional time) associated with it.

Property Type Required Description
name string Yes Human-readable name of the event
eventType EventType.singleDate Yes Must be “singleDate”
date isoDate Yes Date of the event in ISO 8601 format: YYYY-MM-DD
time isoTime No Time of the event in ISO 8601 format: HH:MM:SS
description string No Description of what this event represents

A JSON example of this model.

{
"name": "Opportunity close date",
"eventType": "singleDate",
"date": "2024-12-31",
"time": "17:00:00",
"description": "Opportunity closes for all applications"
}
VersionChangesSchema
0.1.0
  • Added SingleDateEvent model
SingleDateEvent.yaml

Represents an event that spans a period of time with start and end dates (and optional times).

Property Type Required Description
name string Yes Human-readable name of the event
eventType EventType.dateRange Yes Must be “dateRange”
startDate isoDate Yes Start date in ISO 8601 format: YYYY-MM-DD
startTime isoTime No Start time in ISO 8601 format: HH:MM:SS
endDate isoDate Yes End date in ISO 8601 format: YYYY-MM-DD
endTime isoTime No End time in ISO 8601 format: HH:MM:SS
description string No Description of what this event represents

A JSON example of this model.

{
"name": "Application period",
"eventType": "dateRange",
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"endTime": "17:00:00",
"description": "Primary application period for the grant opportunity"
}
VersionChangesSchema
0.1.0
  • Added DateRangeEvent model
DateRangeEvent.yaml

Represents custom events that don’t fit the single date or date range patterns.

Property Type Required Description
name string Yes Human-readable name of the event
eventType EventType.other Yes Must be “other”
details string No Details of the event’s timeline
description string No Description of what this event represents

A JSON example of this model.

{
"name": "Info sessions",
"eventType": "other",
"details": "Every other Tuesday at 10:00 AM during the application period",
"description": "Info sessions for the opportunity"
}
VersionChangesSchema
0.1.0
  • Added OtherEvent model
OtherEvent.yaml