id: https://joinedcontext.com/models/praha/praha-mesto/views/cvlxwa7u3ea4vtbnvhvnojt7by5gkrhx
name: praha-mesto
title: Prague city data
description: "What the Prague city space carries side by side (DM-01, DM-61): the nextbike docking stations and what they hold now, ČHMÚ's hourly air quality at the city's stations, the city districts, the schools, cultural venues, public toilets and sorted-waste points of the city's geoportal (IPR Praha), the park-and-ride car parks and how full they are now, the monitored sorted-waste containers and their fill level and the PID vehicles in service (Golemio), the PID ticket points, the parks, green areas and trees of the shared green register (IPR Praha), and the city budget line by line. One model, one space, one public endpoint. Where Smart Data Models has the class, its IRI is cited rather than minted (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
      - address
      - startDate
      - endDate
      - workState
      - workCategory
      - trafficImpact
      - contractingAuthority
      - dataProvider
      - source
    slot_usage:
      location:
        name: location
        slot_uri: geojson:geometry
        range: string
        required: true
        annotations:
          ngsi_ld_kind: GeoProperty
          upstream_source: ETSI NGSI-LD core context v1.8
        description: Where the entity is, as GeoJSON geometry.
    annotations:
      label:
        tag: label
        value:
          sk: Práce na ulici
          cs: Práce na ulici
          en: City work
          de: Baustelle
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: "One work or event that occupies a Prague street, as the city's opravujeme.to service lists it for drivers: what and where, from when until when, its state, how hard it restricts traffic and who invests in it. The responsible people, their phones and e-mails and the contractor are left out, and so are the free-text restrictions, which name contact people."
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 Smart Data Models PostalAddress: the street address as the publisher writes it, one line, in `streetAddress`, and the city and country every Prague source shares."
  contractingAuthority:
    name: contractingAuthority
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/contractingAuthority
    exact_mappings:
      - sdm:contractingAuthority
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Investor
          cs: Investor
          en: Contracting authority
          de: Auftraggeber
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The work's investor, a public body, utility or company; left out when it does not read as an organisation, because a private investor is a person.
  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ľ údajov
          cs: Poskytovatel dat
          en: Data provider
          de: Datenanbieter
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: Who publishes the data the entity was read from, with the credit its licence asks for, as an application shows it beside the data.
  endDate:
    name: endDate
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/endDate
    exact_mappings:
      - schema:endDate
    range: datetime
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Dátum konca
          cs: Datum konce
          en: End date
          de: Enddatum
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: When the work on the street is planned to end, in Europe/Prague time.
  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: LanguageProperty
      upstream_source: https://schema.org/name
    description: The name, per language, as the publisher writes it.
  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
          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
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Dátum začiatku
          cs: Datum začátku
          en: Start date
          de: Beginndatum
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: When the work on the street starts, as the opravujeme.to record gives it in Europe/Prague time.
  trafficImpact:
    name: trafficImpact
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/trafficImpact
    exact_mappings:
      - jc:trafficImpact
    range: TrafficImpact
    annotations:
      label:
        tag: label
        value:
          sk: Dopad na dopravu
          cs: Dopad na dopravu
          en: Traffic impact
          de: Verkehrsbeeinträchtigung
      ngsi_ld_kind: Property
    description: How hard the work restricts traffic, opravujeme.to's colour as a word (minor green, moderate yellow, severe red).
  workCategory:
    name: workCategory
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/workCategory
    exact_mappings:
      - jc:workCategory
    range: WorkCategory
    annotations:
      label:
        tag: label
        value:
          sk: Druh stavby
          cs: Druh stavby
          en: Work category
          de: Bauart
      ngsi_ld_kind: Property
    description: What occupies the street, as opravujeme.to classes it (construction, cultural, sport, others).
  workState:
    name: workState
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/workState
    exact_mappings:
      - sdm:workState
    range: WorkState
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Stav stavby
          cs: Stav stavby
          en: Work state
          de: Baustatus
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: Where the work stands, in the Smart Data Model's terms (planned, open, completed).
enums:
  TrafficImpact:
    name: TrafficImpact
    permissible_values:
      minor:
        text: minor
        description: Little restriction, opravujeme.to's green.
      moderate:
        text: moderate
        description: Lanes or turns closed, opravujeme.to's yellow.
      severe:
        text: severe
        description: A street or ramp closed, opravujeme.to's red.
  WorkCategory:
    name: WorkCategory
    permissible_values:
      construction:
        text: construction
        description: Construction or repair work (CONSTRUCTION).
      cultural:
        text: cultural
        description: A cultural event on the street (CULTURAL).
      other:
        text: other
        description: Anything else (OTHERS).
      sport:
        text: sport
        description: A sports event on the street (SPORT).
  WorkState:
    name: WorkState
    description: "The CityWork `workState` values opravujeme.to's states map to, a subset of the Smart Data Model's enum."
    permissible_values:
      completed:
        text: completed
        description: Finished (DONE).
      open:
        text: open
        description: Under way now (ACTIVE).
      planned:
        text: planned
        description: Announced and not started yet (FUTURE).
