Event type

Use cases and requirements

The EventType model should have properties for:

name

Identifer.

Types

Sub-types are used to distinguish between events from different sources:

  • EventType
    • PropertyEventType
    • StreetEventType

Properties

Term Mapping Definition
id   Unique identifer.
name schema:name Identifer for the EventType.

Serialisation

  {
  "@id": "http://example.com/event-types/2",
  "@type": "EventType",
  "id": "2",
  "name": "NOT PRESENTED"
}
  
  <?xml version="1.0" encoding="UTF-8"?>
<event-type>
  <href>http://example.com/event-types/2</href>
  <type>EventType</type>
  <id>2</id>
  <name>NOT PRESENTED</name>
</event-type>