"id": "https://joinedcontext.com/models/barcelona/barcelona/views/hptanmkb42cdhkwvjminrm7mn4ejx4ah"
"name": "barcelona"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "linkml":
    "prefix_prefix": "linkml"
    "prefix_reference": "https://w3id.org/linkml/"
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "Any":
    "class_uri": "linkml:Any"
    "description": "Any value: an inlined object whose class this view does not show."
  "EVChargingStation":
    "name": "EVChargingStation"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/EVChargingStation"
    "slots":
      - "location"
      - "name"
      - "address"
      - "dateObserved"
      - "capacity"
      - "socketNumber"
      - "availableCapacity"
      - "socketType"
      - "allowedVehicleType"
      - "status"
      - "network"
      - "operator"
      - "openingHours"
      - "source"
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "One public charging point of the Endolla Barcelona network run by B:SM, its ports, socket kinds and how many are free now, every five minutes (Open Data BCN informacio-punts-recarrega-electric, which carries the port states of estat-ports-recarrega-electric too)."
"slots":
  "address":
    "name": "address"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/address"
    "range": "Any"
    "inlined": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Adresa\", \"cs\": \"Adresa\", \"en\": \"Address\", \"de\": \"Adresse\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/data-models/blob/master/common-schema.json"
    "description": "Where the station, the well, the event, the facility, the charging point or the street furniture is, as the city publishes it, field by field (Smart Data Models' common PostalAddress); a field the source leaves out is absent."
  "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)."
  "availableCapacity":
    "name": "availableCapacity"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/availableCapacity"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Vo\\u013en\\u00e9 z\\u00e1suvky\", \"cs\": \"Voln\\u00e9 z\\u00e1suvky\", \"en\": \"Free sockets\", \"de\": \"Freie Anschl\\u00fcsse\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The ports free now (port status AVAILABLE); never more than capacity."
  "capacity":
    "name": "capacity"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/capacity"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Kapacita\", \"cs\": \"Kapacita\", \"en\": \"Capacity\", \"de\": \"Kapazit\\u00e4t\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "How many vehicles the charging point charges at once, one per port the city lists; how many guests a tourist flat's licence admits (its places)."
  "dateObserved":
    "name": "dateObserved"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/dateObserved"
    "range": "datetime"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u010cas merania\", \"cs\": \"\\u010cas m\\u011b\\u0159en\\u00ed\", \"en\": \"Observed at\", \"de\": \"Messzeitpunkt\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Environment"
    "description": "The end of the period the entity's newest readings cover, UTC: the hour of an air-quality mean, the local day of a weather station's values, the day of a well's reading, a traffic state's report, a charging point's newest port change."
  "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)."
  "network":
    "name": "network"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/network"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Sie\\u0165\", \"cs\": \"S\\u00ed\\u0165\", \"en\": \"Network\", \"de\": \"Netz\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The brand of the charging network (Endolla Barcelona)."
  "openingHours":
    "name": "openingHours"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/openingHours"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Otv\\u00e1racie hodiny\", \"cs\": \"Otev\\u00edrac\\u00ed doba\", \"en\": \"Opening hours\", \"de\": \"\\u00d6ffnungszeiten\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/openingHours"
    "description": "When the charging point may be used, in schema.org's syntax (Mo-Su 00:00-24:00)."
  "operator":
    "name": "operator"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/operator"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Prev\\u00e1dzkovate\\u013e\", \"cs\": \"Provozovatel\", \"en\": \"Operator\", \"de\": \"Betreiber\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "Who runs the charging point (Barcelona de Serveis Municipals S.A.)."
  "socketNumber":
    "name": "socketNumber"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/socketNumber"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Po\\u010det z\\u00e1suviek\", \"cs\": \"Po\\u010det z\\u00e1suvek\", \"en\": \"Sockets\", \"de\": \"Anschl\\u00fcsse\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The ports of the charging point."
  "socketType":
    "name": "socketType"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/socketType"
    "range": "SocketType"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Typ z\\u00e1suvky\", \"cs\": \"Typ z\\u00e1suvky\", \"en\": \"Socket type\", \"de\": \"Steckertyp\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The kinds of socket, in Smart Data Models' words: CCS_TYPE_2 is CCS/SAE, CHADEMO CHAdeMO, MENNEKES and a wall outlet over 3.7 kW Type2, a wall outlet up to 3.7 kW Wall_Euro."
  "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."
  "status":
    "name": "status"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/status"
    "range": "ChargingStationStatus"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Stav\", \"cs\": \"Stav\", \"en\": \"Status\", \"de\": \"Status\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The state of the charging point from its ports: working while one is free, full when none is free and one charges, outOfService when every port is out of order, unavailable or unknown."
"enums":
  "ChargingStationStatus":
    "name": "ChargingStationStatus"
    "description": "The EVChargingStation `status` values the port states map to, a subset of the Smart Data Model's enum."
    "permissible_values":
      "full":
        "text": "full"
        "description": "No port free and at least one IN_USE."
      "outOfService":
        "text": "outOfService"
        "description": "Every port OUT_OF_ORDER, UNAVAILABLE or UNKNOWN."
      "working":
        "text": "working"
        "description": "At least one port AVAILABLE."
  "SocketType":
    "name": "SocketType"
    "description": "The EVChargingStation `socketType` values the Endolla connector types map to, a subset of the Smart Data Model's enum."
    "permissible_values":
      "CCS/SAE":
        "text": "CCS/SAE"
        "description": "CCS_TYPE_2, the combined DC socket."
      "CHAdeMO":
        "text": "CHAdeMO"
        "description": "CHADEMO."
      "Type2":
        "text": "Type2"
        "description": "MENNEKES, and a WALL_OUTLET above 3.7 kW (the 22 kW AC outlets)."
      "Wall_Euro":
        "text": "Wall_Euro"
        "description": "A WALL_OUTLET up to 3.7 kW, the household socket."
