id: https://hel.fi/models/helsinki/helsinki/views/rjktf6sxt7mdqgdc3cvyf56ezh6if6kh
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/
  linkml: https://w3id.org/linkml/
  schema: http://schema.org/
  sdm: https://smartdatamodels.org/
default_prefix: sdm
default_range: string
imports:
  - linkml:types
classes:
  Any:
    class_uri: linkml:Any
    description: "Any value: an inlined object whose class this view does not show."
  CityWork:
    name: CityWork
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/CityWork
    exact_mappings:
      - sdm:CityWork
    slots:
      - location
      - name
      - permitKind
      - workNumber
      - permitStatus
      - startDate
      - endDate
      - description
      - address
      - refDistrict
      - dataProvider
      - source
    slot_usage:
      endDate:
        name: endDate
        slot_uri: schema:endDate
        range: datetime
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Povolenie do
              cs: Povolení do
              en: Permit until
              de: Genehmigung bis
          ngsi_ld_kind: Property
          upstream_source: https://github.com/smart-data-models/dataModel.Event
        description: The last day the permit covers, to its last second Helsinki time (Smart Data Models CityWork endDate, a date-time).
      startDate:
        name: startDate
        slot_uri: schema:startDate
        range: datetime
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Povolenie od
              cs: Povolení od
              en: Permit from
              de: Genehmigung ab
          ngsi_ld_kind: Property
          upstream_source: https://github.com/smart-data-models/dataModel.Event
        description: The first day the permit covers, from midnight Helsinki time (Smart Data Models CityWork startDate, a date-time).
    annotations:
      label:
        tag: label
        value:
          sk: Práce v meste
          cs: Práce ve městě
          en: City works
          de: Bauarbeiten in der Stadt
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: "One permit of the city's public-area register: an excavation, a temporary traffic arrangement or an event, with every area it covers as one outline. The applicant and the contractor are left out, because they can name a person. The Smart Data Model of works that occupy the street; an event's permit covers its build and teardown on it."
slots:
  address:
    name: address
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/address
    exact_mappings:
      - schema:address
    range: Any
    inlined: true
    annotations:
      label:
        tag: label
        value:
          sk: Adresa
          cs: Adresa
          en: Address
          de: Adresse
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models/blob/master/common-schema.json
    description: 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.
  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).
  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`)."
  endDate:
    name: endDate
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/endDate
    exact_mappings:
      - schema:endDate
    range: datetime
    annotations:
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Event
    description: When the event ends; absent while the register does not say.
  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`)."
  permitKind:
    name: permitKind
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/permitKind
    exact_mappings:
      - jc:permitKind
    range: PermitKind
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Druh povolenia
          cs: Druh povolení
          en: Permit type
          de: Genehmigungsart
      ngsi_ld_kind: Property
    description: What the permit lets its holder do on the public area.
  permitStatus:
    name: permitStatus
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/permitStatus
    exact_mappings:
      - jc:permitStatus
    range: PermitStatus
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Stav povolenia
          cs: Stav povolení
          en: Permit status
          de: Genehmigungsstatus
      ngsi_ld_kind: Property
    description: Where the permitted work or event stands today.
  refDistrict:
    name: refDistrict
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/refDistrict
    exact_mappings:
      - jc:refDistrict
    range: uriorcurie
    inlined: false
    annotations:
      label:
        tag: label
        value:
          sk: Mestská časť
          cs: Městská část
          en: District
          de: Stadtbezirk
      ngsi_ld_kind: Relationship
      on_delete: restrict
    description: The district the record lies in.
  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.
  startDate:
    name: startDate
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/startDate
    exact_mappings:
      - schema:startDate
    range: datetime
    annotations:
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Event
    description: When the event starts, ISO 8601 with a time zone.
  workNumber:
    name: workNumber
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/workNumber
    exact_mappings:
      - sdm:workNumber
    range: string
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Číslo povolenia
          cs: Číslo povolení
          en: Permit number
          de: Genehmigungsnummer
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The application number the city's permit register gives the permit, such as KP1900206-23.
enums:
  PermitKind:
    name: PermitKind
    permissible_values:
      event:
        text: event
        description: An event held on a public area.
      excavation:
        text: excavation
        description: Digging on a street or a park.
      trafficArrangement:
        text: trafficArrangement
        description: A temporary change to traffic, such as a closed lane.
  PermitStatus:
    name: PermitStatus
    permissible_values:
      ongoing:
        text: ongoing
        description: The work or the event is going on.
      setup:
        text: setup
        description: The event's structures are being built.
      teardown:
        text: teardown
        description: The event's structures are being taken down.
      upcoming:
        text: upcoming
        description: Granted and not started.
