An event is an occurrence that people may attend.
The Event class should have properties for:
name
1st Session of the 41st Parliament
description
Parliament convened on June 2, 2011, with the election of Andrew Scheer as Speaker, followed the next day with the Speech from the Throne.
start date and time
June 2nd, 2011
end date and time
September 13, 2013
location
House of Commons
status
Confirmed
identifier
1
classification
the organization responsible for the event
Parliament of Canada
attendees
Members of Parliament
parent event
41st Parliament
Dublin Core, Schema.org and NEPOMUK Calendar Ontology terms are retained from the inventory of terms.
According to Schema.org, an event can be organized and attended by either people or organizations; in this data specification, only organizations can organize events, and only people can attend events.
Term | Mapping | Definition |
---|---|---|
Event | schema:Event |
An occurrence that people may attend |
name | schema:name |
The event's name |
description | schema:description |
The event's description |
start time | schema:startDate |
The time at which the event starts |
end time | schema:endDate |
The time at which the event ends |
location | schema:location |
The event's location |
status | schema:eventStatus |
The event's status |
identifier | dcterms:identifier |
An issued identifier, e.g. an Open Civic Data Division Identifier |
classification | ncal:categories |
The event's category |
organization | schema:organizer |
The organization organizing the event |
attendee | schema:attendee |
A person attending the event |
parent event | schema:superEvent |
An event that this event is a part of |
JSON differences from other RDF serializations:
location
property is a string, instead of a schema:Place
or schema:PostalAddress
.status
is used instead of eventStatus
, as the class name prefix is unnecessary and inconsistent with all other properties.status
property is a string, instead of a schema:EventStatusType
.identifiers
is used instead of identifier
and is serialized as an array of identifier objects.classification
is used instead of categories
, to be consistent with the Organization class.organization
is used instead of organizer
, to be consistent with the Membership class.attendees
is used instead of attendee
, to agree with the grammatical number of other properties.parent
is used instead of superEvent
, due to its popularity among ORMs.Implementations may use values from outside the following lists.
The following is a copy of RFC 5545 (iCalendar)’s code list.
cancelled
confirmed
tentative
The following is a copy of Schema.org’s EventStatusType enumeration.
cancelled
postponed
rescheduled