# helsinki

`https://hel.fi/models/helsinki/helsinki/views/dhiw4735mzyvwkrmszljpxcvvgv32q33`

## Alert

One road work or traffic announcement of Fintraffic in the capital region, or one service alert of HSL with the lines and stops it affects.

| Slot | Range | Kind | Required | Multivalued | Description |
|---|---|---|---|---|---|
| location | string | GeoProperty | no | no | Where the entity is, as GeoJSON geometry. |
| name | string | LanguageProperty | no | no | The name, per language. |
| description | string | LanguageProperty | no | no | A short description, per language. |
| category | string | Property | no | no | The alert's domain; traffic for everything Fintraffic and HSL publish. |
| subCategory | string | Property | no | no | The Smart Data Models code of the alert, roadWorks for a Fintraffic road work. Left out where no code fits: a Fintraffic traffic announcement and an HSL service alert. |
| alertSource | string | Property | no | no | Who raised the alert, Fintraffic or HSL. |
| effect | string | Property | no | no | What an HSL service alert does to the service, as GTFS-RT names it, such as DETOUR or REDUCED\_SERVICE. |
| cause | string | Property | no | no | Why an HSL service alert is in force, as GTFS-RT names it, such as CONSTRUCTION or MAINTENANCE. |
| severity | string | Property | no | no | How much the alert matters, informational, medium or high \(GTFS-RT INFO, WARNING, SEVERE\). |
| address | uriorcurie | Property | no | no | The postal address as the source publishes it, field by field \(Smart Data Models' common PostalAddress\); a field the source leaves out is absent, never guessed from a line of text. |
| dateIssued | datetime | Property | no | no | When the situation was published. |
| validFrom | datetime | Property | no | no | When the situation starts. |
| validTo | datetime | Property | no | no | When the situation ends; absent while open-ended. |
| refRoute | uriorcurie | Relationship | no | yes | The lines an HSL service alert affects, each a GtfsRoute of this space. |
| refStop | uriorcurie | Relationship | no | yes | The stops an HSL service alert affects, each a GtfsStop of this space. |
| unknownReference | string | Property | no | yes | What an HSL service alert names that this space holds no entity for, as \`route:\<id\>\` or \`stop:\<id\>\`, kept as text rather than as a relationship that would point at nothing. |
| source | uri | Property | no | no | The open-data service the entity was read from. |
