id: https://joinedcontext.com/models/praha/praha-mesto/views/e6sryswazw3lcgip7tngpeoampsoai6z
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/
  schema: http://schema.org/
  sdm: https://smartdatamodels.org/
default_prefix: sdm
default_range: string
imports:
  - linkml:types
classes:
  WasteContainer:
    name: WasteContainer
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/WasteContainer
    exact_mappings:
      - sdm:WasteContainer
    slots:
      - location
      - name
      - containerCode
      - wasteKind
      - fillingLevel
      - nextActuationDeadline
      - dateModified
      - refWasteContainerIsle
      - dataProvider
      - source
    annotations:
      label:
        tag: label
        value:
          sk: Kontajner na odpad
          cs: Kontejner na odpad
          en: Waste container
          de: Abfallbehälter
      upstream_source: https://github.com/smart-data-models/dataModel.WasteManagement
    description: One sorted-waste container of the city with its next collection, and how full it is where a sensor reads it.
  WasteContainerIsle:
    name: WasteContainerIsle
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/WasteContainerIsle
    exact_mappings:
      - sdm:WasteContainerIsle
    slots:
      - location
      - name
      - stationCode
      - accessRestriction
      - refDistrict
      - wasteContainers
      - dataProvider
      - source
    annotations:
      label:
        tag: label
        value:
          sk: Kontajnerové stanovište
          cs: Kontejnerové stání
          en: Waste container site
          de: Containerstandort
      upstream_source: https://github.com/smart-data-models/dataModel.WasteManagement
    description: One sorted-waste collection point of the city, where its containers stand.
slots:
  accessRestriction:
    name: accessRestriction
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/accessRestriction
    exact_mappings:
      - jc:accessRestriction
    range: WasteAccess
    annotations:
      label:
        tag: label
        value:
          sk: Prístup
          cs: Přístup
          en: Access
          de: Zugang
      ngsi_ld_kind: Property
    description: Who may use the collection point.
  containerCode:
    name: containerCode
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/containerCode
    exact_mappings:
      - jc:containerCode
    range: string
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Číslo kontajnera
          cs: Číslo kontejneru
          en: Container number
          de: Containernummer
      ngsi_ld_kind: Property
    description: The container's number in the city's waste register (KSNKO).
  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.
  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: Posledná zmena
          cs: Poslední změna
          en: Last modified
          de: Zuletzt geändert
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: When the publisher's station, counter or sensor last reported the values beside it, or when the publisher last edited the record.
  fillingLevel:
    name: fillingLevel
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/fillingLevel
    exact_mappings:
      - sdm:fillingLevel
    range: float
    annotations:
      label:
        tag: label
        value:
          sk: Naplnenosť
          cs: Naplněnost
          en: Filling level
          de: Füllstand
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.WasteManagement
    description: How full the container was at its sensor's last reading, 0 empty to 1 full.
  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.
  nextActuationDeadline:
    name: nextActuationDeadline
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/nextActuationDeadline
    exact_mappings:
      - sdm:nextActuationDeadline
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Najbližší odvoz
          cs: Příští svoz
          en: Next collection
          de: Nächste Leerung
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.WasteManagement
    description: The end of the day the container is next emptied, as the city's waste register plans it.
  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 city district the record lies in.
  refWasteContainerIsle:
    name: refWasteContainerIsle
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/refWasteContainerIsle
    exact_mappings:
      - sdm:refWasteContainerIsle
    range: WasteContainerIsle
    required: true
    inlined: false
    inverse: wasteContainers
    annotations:
      label:
        tag: label
        value:
          sk: Stanovište
          cs: Stanoviště
          en: Collection point
          de: Sammelplatz
      ngsi_ld_kind: Relationship
      on_delete: restrict
      upstream_source: https://github.com/smart-data-models/dataModel.WasteManagement
    description: The collection point the container stands at.
  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.
  stationCode:
    name: stationCode
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/stationCode
    exact_mappings:
      - jc:stationCode
    range: string
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Číslo stanovišťa
          cs: Číslo stanoviště
          en: Collection point number
          de: Nummer des Sammelplatzes
      ngsi_ld_kind: Property
    description: The collection point's number in the city's waste register, such as 0022/ 001, or the ČHMÚ weather station's WIGOS id, such as 0-20000-0-11518.
  wasteContainers:
    name: wasteContainers
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/wasteContainers
    exact_mappings:
      - jc:wasteContainers
    range: WasteContainer
    multivalued: true
    inlined: false
    inverse: refWasteContainerIsle
    annotations:
      label:
        tag: label
        value:
          sk: Kontajnery
          cs: Kontejnery
          en: Containers
          de: Container
      ngsi_ld_kind: Relationship
    description: The containers at this collection point, computed from their refWasteContainerIsle and never stored.
  wasteKind:
    name: wasteKind
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/wasteKind
    exact_mappings:
      - jc:wasteKind
    range: WasteKind
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Druh odpadu
          cs: Druh odpadu
          en: Waste type
          de: Abfallart
      ngsi_ld_kind: Property
    description: What the container takes, as the city's waste register sorts it.
enums:
  WasteAccess:
    name: WasteAccess
    permissible_values:
      public:
        text: public
        description: Anyone may use it (volně).
      residents:
        text: residents
        description: Only the residents of the house may use it (obyvatelům domu).
  WasteKind:
    name: WasteKind
    permissible_values:
      beverageCartons:
        text: beverageCartons
        description: Beverage cartons (nápojové kartony).
      clearGlass:
        text: clearGlass
        description: Clear glass (čiré sklo).
      colouredGlass:
        text: colouredGlass
        description: Coloured glass (barevné sklo).
      edibleOil:
        text: edibleOil
        description: Edible fats and oils (jedlé tuky a oleje).
      electronics:
        text: electronics
        description: Small electrical appliances (elektrozařízení).
      metal:
        text: metal
        description: Metal (kovy).
      mixedRecyclables:
        text: mixedRecyclables
        description: Paper, plastic and cartons in one container (multikomoditní sběr).
      paper:
        text: paper
        description: Paper (papír).
      plastic:
        text: plastic
        description: Plastic (plast).
