id: https://hel.fi/models/helsinki/helsinki/views/wylttuwlfud5yxnwsersbiom4xuhd7jm
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#
  jc: https://joinedcontext.com/models/
  schema: http://schema.org/
  sdm: https://smartdatamodels.org/
default_prefix: sdm
default_range: string
imports:
  - linkml:types
classes:
  TrafficSignalJunction:
    name: TrafficSignalJunction
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/TrafficSignalJunction
    exact_mappings:
      - jc:TrafficSignalJunction
    slots:
      - location
      - name
      - signalKind
      - junctionNumber
      - status
      - description
      - dateModified
      - dataProvider
      - source
    slot_usage:
      status:
        name: status
        slot_uri: sdm:status
        range: TrafficSignalStatus
        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: inService, or underConstruction while the city still builds the signals (the layer's Rakenteilla).
    annotations:
      label:
        tag: label
        value:
          sk: Svetelná križovatka
          cs: Světelná křižovatka
          en: Traffic signal junction
          de: Ampelkreuzung
      upstream_source: https://github.com/marek-mraz/joinedcontext-deployment/blob/main/scripts/open-data/sdm/extensions/TrafficSignalJunction
    description: One junction or crossing of the city with traffic lights or warning lights, where it is, the streets that meet there, its installation number and whether it is in service or still being built, as the Smart Data Model extension TrafficSignalJunction (PointOfInterest base).
slots:
  dataProvider:
    name: dataProvider
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dataProvider
    exact_mappings:
      - sdm:dataProvider
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Poskytovateľ
          cs: Poskytovatel
          fi: Tarjoaja
          en: Provider
          de: Anbieter
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: Who publishes the data the entity was read from, as an application credits it beside the licence (CC BY 4.0 for every feed of this space).
  dateModified:
    name: dateModified
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dateModified
    exact_mappings:
      - sdm:dateModified
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Zmenené
          cs: Změněno
          fi: Muokattu
          en: Modified
          de: Geändert
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: When the publisher last changed the record, or the station last reported.
  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`)."
  junctionNumber:
    name: junctionNumber
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/junctionNumber
    exact_mappings:
      - jc:junctionNumber
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Číslo križovatky
          cs: Číslo křižovatky
          en: Junction number
          de: Knotennummer
      ngsi_ld_kind: Property
    description: The city's own number of the signal installation, as its controller cabinet shows it.
  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.
  name:
    name: name
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/name
    exact_mappings:
      - schema:name
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Názov
          cs: Název
          en: Name
          de: Name
      ngsi_ld_kind: Property
      upstream_source: https://schema.org/name
    description: "The name, one string in the source's language (Smart Data Models `name`)."
  signalKind:
    name: signalKind
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/signalKind
    exact_mappings:
      - jc:signalKind
    range: TrafficSignalKind
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Druh signalizácie
          cs: Druh signalizace
          en: Signal kind
          de: Signalart
      ngsi_ld_kind: Property
    description: "What the junction's signals are: full traffic lights, or warning lights that only flash to warn of a crossing, a tram or a fire station exit."
  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).
enums:
  TrafficSignalKind:
    name: TrafficSignalKind
    description: What signals a TrafficSignalJunction has.
    permissible_values:
      trafficLights:
        text: trafficLights
        description: Traffic lights that control the junction (liikennevalot).
        annotations:
          label:
            tag: label
            value:
              fi: Liikennevalot
              en: Traffic lights
      warningLights:
        text: warningLights
        description: Warning lights that flash before a crossing, a tram line or a fire station exit (varoitusvalot).
        annotations:
          label:
            tag: label
            value:
              fi: Varoitusvalot
              en: Warning lights
  TrafficSignalStatus:
    name: TrafficSignalStatus
    description: Whether a TrafficSignalJunction's signals work yet.
    permissible_values:
      inService:
        text: inService
        description: The signals are in service.
        annotations:
          label:
            tag: label
            value:
              fi: Käytössä
              en: In service
      underConstruction:
        text: underConstruction
        description: The city is still building the signals (rakenteilla).
        annotations:
          label:
            tag: label
            value:
              fi: Rakenteilla
              en: Under construction
