id: https://joinedcontext.com/models/praha/praha-mesto/views/o4skujqulerujig44bteetjkalme6iof
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:
  OnStreetParking:
    name: OnStreetParking
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/OnStreetParking
    exact_mappings:
      - sdm:OnStreetParking
    slots:
      - location
      - name
      - category
      - parkingZone
      - tariff
      - totalSpotNumber
      - parkingGroups
      - dataProvider
      - source
    slot_usage:
      category:
        name: category
        slot_uri: sdm:category
        range: StreetParkingCategory
        multivalued: true
        annotations:
          label:
            tag: label
            value:
              sk: Kategória
              cs: Kategorie
              en: Category
              de: Kategorie
          ngsi_ld_kind: Property
          upstream_source: https://github.com/smart-data-models/dataModel.Transportation
        description: "The Smart Data Models category: public and tracked for a PID vehicle in service; for an OnStreetParking what the section or bay is for (forResidents and onlyWithPermit in the blue resident zone RES, feeCharged and forResidents in the purple mixed zone MIX, feeCharged and shortTerm in the orange visitor zone VIS, forDisabled for a ZTP/P bay, with onlyWithPermit when it is reserved for one registration plate, forLoadUnload for a delivery bay and onlyWithPermit for a special reserved bay)."
    annotations:
      label:
        tag: label
        value:
          sk: Parkovanie na ulici
          cs: Parkování na ulici
          en: On-street parking
          de: Parken am Straßenrand
      upstream_source: https://github.com/smart-data-models/dataModel.Parking
    description: "One street parking area of the city: a section of the paid parking zones (zóny placeného stání) with its zone, tariff and spaces, or a reserved bay for ZTP/P card holders, deliveries or a special purpose, as TSK hl. m. Prahy maps them on the IPR geoportal."
  ParkingGroup:
    name: ParkingGroup
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/ParkingGroup
    exact_mappings:
      - sdm:ParkingGroup
    slots:
      - location
      - name
      - refParkingSite
      - totalSpotNumber
      - dataProvider
      - source
    annotations:
      label:
        tag: label
        value:
          sk: Úsek parkovania
          cs: Úsek parkování
          en: Parking segment
          de: Parkabschnitt
      upstream_source: https://github.com/smart-data-models/dataModel.Parking
    description: One street segment of a paid parking zone with its spaces, a group of spaces inside the paid parking section whose tariff it follows.
slots:
  category:
    name: category
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/category
    exact_mappings:
      - sdm:category
    range: VehicleCategory
    multivalued: true
    annotations:
      label:
        tag: label
        value:
          sk: Kategória
          cs: Kategorie
          en: Category
          de: Kategorie
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: "The Smart Data Models category: public and tracked for a PID vehicle in service; for an OnStreetParking what the section or bay is for (forResidents and onlyWithPermit in the blue resident zone RES, feeCharged and forResidents in the purple mixed zone MIX, feeCharged and shortTerm in the orange visitor zone VIS, forDisabled for a ZTP/P bay, with onlyWithPermit when it is reserved for one registration plate, forLoadUnload for a delivery bay and onlyWithPermit for a special reserved bay)."
  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.
  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.
  parkingGroups:
    name: parkingGroups
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/parkingGroups
    exact_mappings:
      - jc:parkingGroups
    range: ParkingGroup
    multivalued: true
    inlined: false
    inverse: refParkingSite
    annotations:
      label:
        tag: label
        value:
          sk: Úseky ulíc
          cs: Úseky ulic
          en: Street segments
          de: Straßenabschnitte
      ngsi_ld_kind: Relationship
    description: The street segments (ParkingGroup) of this paid parking section, computed from their refParkingSite and never stored.
  parkingZone:
    name: parkingZone
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/parkingZone
    exact_mappings:
      - jc:parkingZone
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Parkovacia zóna
          cs: Parkovací zóna
          en: Parking zone
          de: Parkzone
      ngsi_ld_kind: Property
    description: The paid parking zone of the section as TSK codes it, RES (blue, residents), MIX (purple, mixed) or VIS (orange, visitors).
  refParkingSite:
    name: refParkingSite
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/refParkingSite
    exact_mappings:
      - sdm:refParkingSite
    range: OnStreetParking
    required: true
    inlined: false
    inverse: parkingGroups
    annotations:
      label:
        tag: label
        value:
          sk: Parkovací úsek
          cs: Parkovací úsek
          en: Parking section
          de: Parkabschnitt
      ngsi_ld_kind: Relationship
      upstream_source: https://github.com/smart-data-models/dataModel.Parking
    description: The paid parking section (OnStreetParking) whose tariff this segment of a street follows.
  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.
  tariff:
    name: tariff
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/tariff
    exact_mappings:
      - jc:tariff
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Tarifa
          cs: Tarif
          en: Tariff
          de: Tarif
      ngsi_ld_kind: Property
    description: The section's tariff as TSK writes it, days, hours and price, such as Po-Ne 08:00-19:59 300Kč/hod (max. 75 Kč).
  totalSpotNumber:
    name: totalSpotNumber
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/totalSpotNumber
    exact_mappings:
      - sdm:totalSpotNumber
    range: integer
    annotations:
      label:
        tag: label
        value:
          sk: Počet miest
          cs: Počet míst
          en: Total spaces
          de: Stellplätze gesamt
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Parking
    description: The number of cars the car park, the street parking section or bay or the street segment holds.
enums:
  StreetParkingCategory:
    name: StreetParkingCategory
    description: "The OnStreetParking `category` values the Prague parking layers map to, a subset of the Smart Data Model's enum."
    permissible_values:
      feeCharged:
        text: feeCharged
        description: Parking is paid by the time parked (MIX, VIS).
      forDisabled:
        text: forDisabled
        description: A bay for a ZTP/P card holder.
      forLoadUnload:
        text: forLoadUnload
        description: A delivery bay (zásobování).
      forResidents:
        text: forResidents
        description: Residents of the zone with a parking permit (RES, MIX).
      onlyWithPermit:
        text: onlyWithPermit
        description: A permit is needed (RES residents, a bay reserved for one plate, a special bay).
      shortTerm:
        text: shortTerm
        description: Short-term visitor parking (VIS).
  VehicleCategory:
    name: VehicleCategory
    permissible_values:
      public:
        text: public
        description: A public transport vehicle.
      tracked:
        text: tracked
        description: A vehicle whose position its operator tracks.
