"id": "https://joinedcontext.com/models/barcelona/barcelona/views/32aelhvdzllfb2swtwko6b7fo3rkjumr"
"name": "barcelona"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "AdministrativeArea":
    "name": "AdministrativeArea"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/AdministrativeArea"
    "slots":
      - "location"
      - "name"
      - "districtCode"
      - "divisionLevel"
      - "refParentDistrict"
      - "neighbourhoods"
      - "cityWorks"
      - "pedestrianCrossings"
      - "dataProvider"
      - "source"
    "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 (10) or barri (73) of Barcelona, its outline and its code, as the Smart Data Model extension AdministrativeArea (PointOfInterest base)."
"slots":
  "cityWorks":
    "name": "cityWorks"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/cityWorks"
    "range": "uriorcurie"
    "multivalued": true
    "inlined": false
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Stavebn\\u00e9 pr\\u00e1ce\", \"cs\": \"Stavebn\\u00ed pr\\u00e1ce\", \"en\": \"City works\", \"de\": \"Bauarbeiten\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
    "description": "The works that lie in this district only, computed from their refDistrict and never stored."
  "dataProvider":
    "name": "dataProvider"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/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."
  "districtCode":
    "name": "districtCode"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/districtCode"
    "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 city's own two-digit code of the area: the district number 01..10, or for a barri its number 01..73, which runs across the whole city."
  "divisionLevel":
    "name": "divisionLevel"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/divisionLevel"
    "range": "DivisionLevel"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u00darove\\u0148 \\u010dlenenia\", \"cs\": \"\\u00darove\\u0148 \\u010dlen\\u011bn\\u00ed\", \"en\": \"Division level\", \"de\": \"Gliederungsebene\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "Which of the city's two divisions the area belongs to."
  "location":
    "name": "location"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/location"
    "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": "https://uri.etsi.org/ngsi-ld/default-context/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 city publishes it, in Catalan (a station, an event, a facility, a street section and its stretch, a street address, a district or barri, a work, a tourist flat by its register number)."
  "neighbourhoods":
    "name": "neighbourhoods"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/neighbourhoods"
    "range": "AdministrativeArea"
    "multivalued": true
    "inlined": false
    "inverse": "refParentDistrict"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u0160tvrte\", \"cs\": \"\\u010ctvrti\", \"en\": \"Neighbourhoods\", \"de\": \"Stadtviertel\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
    "description": "The barris of this district, computed from their refParentDistrict and never stored."
  "pedestrianCrossings":
    "name": "pedestrianCrossings"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/pedestrianCrossings"
    "range": "uriorcurie"
    "multivalued": true
    "inlined": false
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Priechody pre chodcov\", \"cs\": \"P\\u0159echody pro chodce\", \"en\": \"Pedestrian crossings\", \"de\": \"Fu\\u00dfg\\u00e4nger\\u00fcberwege\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
    "description": "The crossings in this barri, computed from their refNeighbourhood and never stored."
  "refParentDistrict":
    "name": "refParentDistrict"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/refParentDistrict"
    "range": "AdministrativeArea"
    "inlined": false
    "inverse": "neighbourhoods"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Nadraden\\u00fd obvod\", \"cs\": \"Nad\\u0159azen\\u00fd obvod\", \"en\": \"Parent district\", \"de\": \"\\u00dcbergeordneter Bezirk\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
      "on_delete":
        "tag": "on_delete"
        "value": "restrict"
    "description": "The district a barri belongs to."
  "source":
    "name": "source"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/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 file or the Open Data BCN dataset the entity was read from."
"enums":
  "DivisionLevel":
    "name": "DivisionLevel"
    "permissible_values":
      "district":
        "text": "district"
        "description": "A district (districte), 10 of them."
      "neighbourhood":
        "text": "neighbourhood"
        "description": "A barri, 73 of them, each inside one district."
