id: https://hel.fi/models/helsinki/helsinki/views/gv24bicwway4foznuszsagmzydzk3e2z
name: helsinki
title: Helsinki city context
description: "What the Helsinki demonstration space carries side by side (DM-01, DM-09): the events of the city's Linked Events register, the HSL city bike docking stations, the HSL buses of four trunk lines, HSL's stops, stations, lines and their shapes, the city's news, Fintraffic's road weather stations and its traffic alerts, FMI's air quality stations, and the city's open registers: its services (libraries, health stations, swimming halls, beaches, schools), the beach water sensors, parking areas and zones, the permits for digging, traffic arrangements and events on public areas, and its district division. One model, one space, four endpoints that each publish a slice of it. The IRIs are Smart Data Models' and ETSI's, cited rather than minted, so a reader who knows those vocabularies reads the same terms here (DM-04, DM-16)."
license: https://joinedcontext.com/licenses/cc-by-4.0
prefixes:
  geojson: https://purl.org/geojson/vocab#
  schema: http://schema.org/
  sdm: https://smartdatamodels.org/
default_prefix: sdm
default_range: string
imports:
  - linkml:types
classes:
  ServiceRequest:
    name: ServiceRequest
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/ServiceRequest
    exact_mappings:
      - sdm:service_requests
    slots:
      - location
      - service_request_id
      - status
      - description
      - service_code
      - service_name
      - status_notes
      - agency_responsible
      - requested_datetime
      - updated_datetime
      - expected_datetime
      - address_string
      - source
    slot_usage:
      description:
        name: description
        slot_uri: schema:description
        range: string
        annotations:
          label:
            tag: label
            value:
              sk: Popis
              cs: Popis
              en: Description
              de: Beschreibung
          ngsi_ld_kind: Property
          upstream_source: https://schema.org/description
        description: "The report as the reporter wrote it, in the language they wrote it in (`@none`)."
      status:
        name: status
        slot_uri: sdm:status
        range: ServiceRequestStatus
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Stav
              cs: Stav
              en: Status
              de: Status
          ngsi_ld_kind: Property
          upstream_source: https://github.com/smart-data-models/dataModel.Transportation
        description: open while the city handles the report (PROCESSING), closed once it has answered (READY).
    annotations:
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: One report of the City of Helsinki's feedback system (Open311 GeoReport v2, the Issue Reporting API) that the city published. Smart Data Models names the type service_requests; the space names it ServiceRequest like its other types, with the model's attribute names. The reporter's name, e-mail, phone and photos are never read.
slots:
  address_string:
    name: address_string
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/address_string
    exact_mappings:
      - sdm:address_string
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Miesto
          cs: Místo
          en: Place
          de: Ort
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: The street or place the reporter named, as written, for example Malminkatu.
  agency_responsible:
    name: agency_responsible
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/agency_responsible
    exact_mappings:
      - sdm:agency_responsible
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Zodpovedný útvar
          cs: Odpovědný útvar
          en: Responsible unit
          de: Zuständige Stelle
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: The city unit handling the report, when the feedback system names one.
  description:
    name: description
    slot_uri: http://purl.org/dc/terms/description
    exact_mappings:
      - schema:description
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Popis
          cs: Popis
          en: Description
          de: Beschreibung
      ngsi_ld_kind: Property
      upstream_source: https://schema.org/description
    description: "A description, one string in the source's language (Smart Data Models `description`)."
  expected_datetime:
    name: expected_datetime
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/expected_datetime
    exact_mappings:
      - sdm:expected_datetime
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Očakávané vybavenie
          cs: Očekávané vyřízení
          en: Expected resolution
          de: Voraussichtliche Erledigung
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: When the city expects to have handled the report, if it says.
  location:
    name: location
    slot_uri: https://uri.etsi.org/ngsi-ld/location
    exact_mappings:
      - geojson:geometry
    range: string
    annotations:
      ngsi_ld_kind: GeoProperty
      upstream_source: ETSI NGSI-LD core context v1.8
    description: Where the entity is, as GeoJSON geometry.
  requested_datetime:
    name: requested_datetime
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/requested_datetime
    exact_mappings:
      - sdm:requested_datetime
    range: datetime
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Podané
          cs: Podáno
          en: Filed at
          de: Eingereicht am
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: When the report was filed, ISO 8601 in UTC.
  service_code:
    name: service_code
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/service_code
    exact_mappings:
      - sdm:service_code
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Kód oblasti
          cs: Kód oblasti
          en: Sector code
          de: Bereichscode
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: The feedback system's code of the sector the report is filed under, for example 2809.
  service_name:
    name: service_name
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/service_name
    exact_mappings:
      - sdm:service_name
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Oblasť
          cs: Oblast
          en: Sector
          de: Bereich
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: The sector's name in English, read from the feedback system's services list, for example City environment.
  service_request_id:
    name: service_request_id
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/service_request_id
    exact_mappings:
      - sdm:service_request_id
    range: string
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Číslo podnetu
          cs: Číslo podnětu
          en: Report number
          de: Meldungsnummer
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: "The number the city's feedback system gives the report (Open311 `service_request_id`)."
  source:
    name: source
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/source
    exact_mappings:
      - sdm:source
    range: uri
    annotations:
      label:
        tag: label
        value:
          sk: Zdroj
          cs: Zdroj
          fi: Lähde
          en: Source
          de: Quelle
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: The open-data service the entity was read from.
  status:
    name: status
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/status
    exact_mappings:
      - sdm:status
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Stav
          cs: Stav
          en: Status
          de: Status
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: A bike station's working while it rents and takes returns, otherwise outOfService; a park and ride site's open, closed or closedAbnormal (Fintraffic LIIPI's IN_OPERATION, INACTIVE or TEMPORARILY_CLOSED, EXCEPTIONAL_SITUATION).
  status_notes:
    name: status_notes
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/status_notes
    exact_mappings:
      - sdm:status_notes
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Odpoveď mesta
          cs: Odpověď města
          en: City reply
          de: Antwort der Stadt
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: The city's answer or note on the report, as published.
  updated_datetime:
    name: updated_datetime
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/updated_datetime
    exact_mappings:
      - sdm:updated_datetime
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Naposledy zmenené
          cs: Naposledy změněno
          en: Last changed
          de: Zuletzt geändert
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.IssueTracking
    description: When the report last changed, ISO 8601 in UTC.
enums:
  ServiceRequestStatus:
    name: ServiceRequestStatus
    description: Open311's two report states, as Smart Data Models' service_requests names them.
    permissible_values:
      closed:
        text: closed
        description: The city has answered the report (READY).
      open:
        text: open
        description: The city is handling the report (the feedback system's PROCESSING).
