id: https://joinedcontext.com/models/bbsk/bbsk-registre/views/nkojudgn32ub5upzjuu74xm52svhtwpy
name: bbsk-registre
title: Registers of the Banská Bystrica region
description: "What the region's register space carries side by side (DM-01, DM-61): the outlines of its 13 districts and 516 municipalities, the organisations the region founded, the hospitals, the social services run by public bodies, and the bridges of the road network, each read from the region's own open-data portal (opendata.bbsk.sk). 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/
  sdm-cpsv: https://smartdatamodels.org/dataModel.CPSV-AP/
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."
  PublicOrganization:
    name: PublicOrganization
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/PublicOrganization
    exact_mappings:
      - sdm-cpsv:PublicOrganization
    slots:
      - location
      - name
      - preferredLabel
      - spatial
      - alternateName
      - legalId
      - organizationCategory
      - address
      - refMunicipality
      - dataProvider
      - source
    annotations:
      upstream_source: https://github.com/smart-data-models/dataModel.CPSV-AP
    description: "One organisation the region founded: a secondary school, a social-care home, a theatre, a museum or an office. The FIWARE Smart Data Model CPSV-AP PublicOrganization."
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 register publishes it, field by field (Smart Data Models' common PostalAddress); a field the register leaves out is absent, never guessed.
  alternateName:
    name: alternateName
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/alternateName
    exact_mappings:
      - schema:alternateName
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Skrátený názov
          cs: Zkrácený název
          en: Short name
          de: Kurzname
      ngsi_ld_kind: Property
      upstream_source: https://schema.org/alternateName
    description: The shorter name the organisation goes by, when it differs from the official one.
  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.
  legalId:
    name: legalId
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/legalId
    exact_mappings:
      - jc:legalId
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: IČO
          cs: IČO
          en: Company ID
          de: Firmennummer
      ngsi_ld_kind: Property
    description: The body's identification number (IČO) in the Slovak register of legal persons.
  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 as the publisher writes it, in Slovak; a string, as every Smart Data Model's `name` is."
  organizationCategory:
    name: organizationCategory
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/organizationCategory
    exact_mappings:
      - jc:organizationCategory
    range: OrganizationCategory
    required: true
    annotations:
      label:
        tag: label
        value:
          sk: Oblasť
          cs: Oblast
          en: Field
          de: Bereich
      ngsi_ld_kind: Property
    description: The field the region founded the organisation for.
  preferredLabel:
    name: preferredLabel
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/preferredLabel
    exact_mappings:
      - sdm-cpsv:preferredLabel
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Úradný názov
          cs: Úřední název
          en: Official name
          de: Amtlicher Name
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.CPSV-AP
    description: The organisation's official name, as CPSV-AP's PublicOrganization requires it.
  refMunicipality:
    name: refMunicipality
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/refMunicipality
    exact_mappings:
      - jc:refMunicipality
    range: uriorcurie
    inlined: false
    annotations:
      label:
        tag: label
        value:
          sk: Obec
          cs: Obec
          en: Municipality
          de: Gemeinde
      ngsi_ld_kind: Relationship
      on_delete: restrict
    description: The municipality 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
          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.
  spatial:
    name: spatial
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/spatial
    exact_mappings:
      - sdm-cpsv:spatial
    range: string
    multivalued: true
    annotations:
      label:
        tag: label
        value:
          sk: Obec
          cs: Obec
          en: Municipality
          de: Gemeinde
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.CPSV-AP
    description: The municipality the organisation is in, by name, as CPSV-AP's PublicOrganization requires it.
enums:
  OrganizationCategory:
    name: OrganizationCategory
    permissible_values:
      culture:
        text: culture
        description: A theatre, a museum, a gallery, a library or an education centre (kultúra).
        annotations:
          label:
            tag: label
            value:
              sk: kultúra
              cs: kultura
              en: culture
              de: Kultur
      office:
        text: office
        description: An office or an agency of the region (úrad).
        annotations:
          label:
            tag: label
            value:
              sk: úrad
              cs: úřad
              en: office
              de: Amt
      school:
        text: school
        description: A secondary school or a school facility (školy).
        annotations:
          label:
            tag: label
            value:
              sk: školstvo
              cs: školství
              en: education
              de: Bildung
      socialCare:
        text: socialCare
        description: A social-care facility (sociálne).
        annotations:
          label:
            tag: label
            value:
              sk: sociálne služby
              cs: sociální služby
              en: social care
              de: Sozialwesen
