layout | title | id |
---|---|---|
class |
Event | Popolo |
event |
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:
- The value of the
location
property is a string, instead of aschema:Place
orschema:PostalAddress
. - The term
status
is used instead ofeventStatus
, as the class name prefix is unnecessary and inconsistent with all other properties. - The value of the
status
property is a string, instead of aschema:EventStatusType
. - The term
identifiers
is used instead ofidentifier
and is serialized as an array of identifier objects. - The term
classification
is used instead ofcategories
, to be consistent with the Organization class. - The term
organization
is used instead oforganizer
, to be consistent with the Membership class. - The term
attendees
is used instead ofattendee
, to agree with the grammatical number of other properties. - The term
parent
is used instead ofsuperEvent
, 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