"id": "https://joinedcontext.com/models/barcelona/barcelona/views/ackffz6oyybxux232kqfvklr4llwdeh4"
"name": "barcelona"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "OnStreetParking":
    "name": "OnStreetParking"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/OnStreetParking"
    "slots":
      - "location"
      - "name"
      - "category"
      - "allowedVehicleType"
      - "totalSpotNumber"
      - "zoneCode"
      - "tariffCode"
      - "source"
    "slot_usage":
      "category":
        "name": "category"
        "slot_uri": "sdm:category"
        "range": "StreetParkingCategory"
        "multivalued": true
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"Kateg\\u00f3ria\", \"cs\": \"Kategorie\", \"en\": \"Category\", \"de\": \"Kategorie\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
          "upstream_source":
            "tag": "upstream_source"
            "value": "https://github.com/smart-data-models/dataModel.TourismDestinations"
        "description": "An Event's main category first, one of the platform's fifteen event codes (music, theatre-dance, film, exhibition-museum, festival-fair, sport, outdoor-nature, education-talk, children-family, hobby-workshop, food-market, history-heritage, faith-tradition, health-wellness, community-civic), then the Smart Data Models category it falls under where one fits, read from the first words of the Catalan name and absent when no rule matches. A PointOfInterest's family in the city's facility register first (culture-leisure, sports, education, social-services, public-administration, markets-shopping, information-centres, religious-services, environment, animals-plants, cemeteries, media, utility-companies, restaurants), then the register's own kind in Catalan (Biblioteques, Poliesportius). An OnStreetParking's kind of regulated parking, from the section type (AZL blue zone, VM green zone, VR residents, DUM loading, BUS coaches)."
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Parking"
    "description": "One regulated surface parking section of B:SM (blue, green, residents, loading or coach zone), its curb lines, its places and its rate and timetable codes (Open Data BCN trams-aparcament-superficie)."
"slots":
  "allowedVehicleType":
    "name": "allowedVehicleType"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/allowedVehicleType"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Povolen\\u00e9 vozidl\\u00e1\", \"cs\": \"Povolen\\u00e1 vozidla\", \"en\": \"Allowed vehicles\", \"de\": \"Zugelassene Fahrzeuge\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Parking"
    "description": "What may park there, the section's own kind first; at a charging point, what its sockets serve (car for Type 2, CCS and CHAdeMO and for a car park's household sockets, motorcycle for the 3.6 kW household sockets)."
  "category":
    "name": "category"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/category"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Kateg\\u00f3ria\", \"cs\": \"Kategorie\", \"en\": \"Category\", \"de\": \"Kategorie\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.TourismDestinations"
    "description": "An Event's main category first, one of the platform's fifteen event codes (music, theatre-dance, film, exhibition-museum, festival-fair, sport, outdoor-nature, education-talk, children-family, hobby-workshop, food-market, history-heritage, faith-tradition, health-wellness, community-civic), then the Smart Data Models category it falls under where one fits, read from the first words of the Catalan name and absent when no rule matches. A PointOfInterest's family in the city's facility register first (culture-leisure, sports, education, social-services, public-administration, markets-shopping, information-centres, religious-services, environment, animals-plants, cemeteries, media, utility-companies, restaurants), then the register's own kind in Catalan (Biblioteques, Poliesportius). An OnStreetParking's kind of regulated parking, from the section type (AZL blue zone, VM green zone, VR residents, DUM loading, BUS coaches)."
  "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)."
  "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."
  "tariffCode":
    "name": "tariffCode"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/tariffCode"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"K\\u00f3d tarify\", \"cs\": \"K\\u00f3d tarifu\", \"en\": \"Tariff code\", \"de\": \"Tarifcode\"}"
    "description": "The B:SM rate (ID_TARIFA) and timetable (ID_HORARIO) codes of the section, joined as rate/timetable, kept as published (custom; Open Data BCN tarifes- and horaris-aparcament-superficie)."
  "totalSpotNumber":
    "name": "totalSpotNumber"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/totalSpotNumber"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Po\\u010det miest\", \"cs\": \"Po\\u010det m\\u00edst\", \"en\": \"Parking places\", \"de\": \"Stellpl\\u00e4tze\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Parking"
    "description": "The parking places of the section as B:SM counts them (PLACES)."
  "zoneCode":
    "name": "zoneCode"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/zoneCode"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Typ \\u00faseku\", \"cs\": \"Typ \\u00faseku\", \"en\": \"Section type\", \"de\": \"Abschnittstyp\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The section type as B:SM codes it (AZL, VM, VR, DUM, BUS), kept as published (custom)."
"enums":
  "StreetParkingCategory":
    "name": "StreetParkingCategory"
    "description": "The OnStreetParking `category` values the B:SM section types map to, a subset of the Smart Data Model's enum."
    "permissible_values":
      "blueZone":
        "text": "blueZone"
        "description": "AZL, the blue zone anyone parks in for a fee."
      "feeCharged":
        "text": "feeCharged"
        "description": "Parking costs by the time parked (AZL, VM, BUS)."
      "forLoadUnload":
        "text": "forLoadUnload"
        "description": "DUM, urban goods distribution."
      "forResidents":
        "text": "forResidents"
        "description": "VR, residents of the area only."
      "greenZone":
        "text": "greenZone"
        "description": "VM and VR, the green zone."
      "onlyWithPermit":
        "text": "onlyWithPermit"
        "description": "VR and DUM, a resident permit or the DUM app registration is needed."
