"id": "https://joinedcontext.com/models/bbsk/bbsk-registre/views/cx5p4ldnpyf2vzn6sjt4vjiykd3734t6"
"name": "bbsk-registre"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "geojson":
    "prefix_prefix": "geojson"
    "prefix_reference": "https://purl.org/geojson/vocab#"
  "jc":
    "prefix_prefix": "jc"
    "prefix_reference": "https://joinedcontext.com/models/"
  "schema":
    "prefix_prefix": "schema"
    "prefix_reference": "http://schema.org/"
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "AdministrativeArea":
    "name": "AdministrativeArea"
    "class_uri": "jc:AdministrativeArea"
    "slots":
      - "location"
      - "name"
      - "areaCode"
      - "divisionLevel"
      - "refParentArea"
      - "surfaceArea"
      - "isPartOf"
      - "dataProvider"
      - "source"
      - "childAreas"
      - "publicOrganizations"
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/marek-mraz/joinedcontext-deployment/blob/main/scripts/open-data/sdm/extensions/AdministrativeArea"
    "description": "One district (okres) or municipality (obec) of the region, its outline and its code, as the Smart Data Model extension AdministrativeArea (PointOfInterest base, T-4338)."
"slots":
  "areaCode":
    "name": "areaCode"
    "slot_uri": "jc:areaCode"
    "range": "string"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"K\\u00f3d \\u00fazemia\", \"cs\": \"K\\u00f3d \\u00fazem\\u00ed\", \"en\": \"Area code\", \"de\": \"Gebietscode\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The area's statistical code: LAU 1 (`SK0321`) for a district, LAU 2 (`SK0321508438`) for a municipality, the same codes the Statistical Office's cubes carry in `refArea`."
  "childAreas":
    "name": "childAreas"
    "slot_uri": "jc:childAreas"
    "range": "AdministrativeArea"
    "multivalued": true
    "inlined": false
    "inverse": "refParentArea"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Obce\", \"cs\": \"Obce\", \"en\": \"Municipalities\", \"de\": \"Gemeinden\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
    "description": "The municipalities of a district, computed from their refParentArea and never stored."
  "dataProvider":
    "name": "dataProvider"
    "slot_uri": "sdm:dataProvider"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Poskytovate\\u013e \\u00fadajov\", \"cs\": \"Poskytovatel dat\", \"en\": \"Data provider\", \"de\": \"Datenanbieter\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "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."
  "divisionLevel":
    "name": "divisionLevel"
    "slot_uri": "jc:divisionLevel"
    "range": "DivisionLevel"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u00darove\\u0148\", \"cs\": \"\\u00darove\\u0148\", \"en\": \"Level\", \"de\": \"Ebene\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "Which tier of the territorial division the area is."
  "isPartOf":
    "name": "isPartOf"
    "slot_uri": "jc:isPartOf"
    "range": "uri"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Dataset\", \"cs\": \"Datov\\u00e1 sada\", \"en\": \"Dataset\", \"de\": \"Datensatz\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The catalogue dataset the record belongs to, which tells the region's districts from its municipalities in one type (T-4523)."
  "location":
    "name": "location"
    "slot_uri": "geojson:geometry"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "GeoProperty"
      "upstream_source":
        "tag": "upstream_source"
        "value": "ETSI NGSI-LD core context v1.8"
    "description": "Where the entity is, as GeoJSON geometry."
  "name":
    "name": "name"
    "slot_uri": "schema:name"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"N\\u00e1zov\", \"cs\": \"N\\u00e1zev\", \"en\": \"Name\", \"de\": \"Name\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/name"
    "description": "The name as the publisher writes it, in Slovak; a string, as every Smart Data Model's `name` is (T-4523)."
  "publicOrganizations":
    "name": "publicOrganizations"
    "slot_uri": "jc:publicOrganizations"
    "range": "uriorcurie"
    "multivalued": true
    "inlined": false
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Organiz\\u00e1cie kraja\", \"cs\": \"Organizace kraje\", \"en\": \"Regional bodies\", \"de\": \"Einrichtungen der Region\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
    "description": "The organisations the region founded in this municipality, computed from their refMunicipality and never stored."
  "refParentArea":
    "name": "refParentArea"
    "slot_uri": "jc:refParentArea"
    "range": "AdministrativeArea"
    "inlined": false
    "inverse": "childAreas"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Okres\", \"cs\": \"Okres\", \"en\": \"District\", \"de\": \"Bezirk\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
      "on_delete":
        "tag": "on_delete"
        "value": "restrict"
    "description": "The district a municipality lies in; absent on a district."
  "source":
    "name": "source"
    "slot_uri": "sdm:source"
    "range": "uri"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zdroj\", \"cs\": \"Zdroj\", \"en\": \"Source\", \"de\": \"Quelle\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/data-models"
    "description": "The open-data service the entity was read from."
  "surfaceArea":
    "name": "surfaceArea"
    "slot_uri": "jc:surfaceArea"
    "range": "float"
    "unit":
      "ucum_code": "m2"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"V\\u00fdmera\", \"cs\": \"V\\u00fdm\\u011bra\", \"en\": \"Area\", \"de\": \"Fl\\u00e4che\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The area's surface as the cadastre states it."
"enums":
  "DivisionLevel":
    "name": "DivisionLevel"
    "permissible_values":
      "district":
        "text": "district"
        "description": "A district (okres), LAU 1."
      "municipality":
        "text": "municipality"
        "description": "A municipality or town (obec, mesto), LAU 2."
