"id": "https://joinedcontext.com/models/barcelona/barcelona/views/skxp72estsqe7ftaazudrtwhutdvrkq4"
"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."
  "WeatherObserved":
    "name": "WeatherObserved"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/WeatherObserved"
    "slots":
      - "location"
      - "name"
      - "dateObserved"
      - "temperature"
      - "maxTemperature"
      - "minTemperature"
      - "relativeHumidity"
      - "atmosphericPressure"
      - "precipitation"
      - "windSpeed"
      - "windDirection"
      - "gustSpeed"
      - "solarRadiation"
      - "stationCode"
      - "altitude"
      - "address"
      - "areaServed"
      - "dataProvider"
      - "source"
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "One Meteocat weather station in Barcelona and its newest day's values."
"slots":
  "address":
    "name": "address"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/address"
    "range": "Any"
    "inlined": true
    "annotations":
      "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 or the facility is, as the city publishes it, field by field (Smart Data Models' common PostalAddress); a field the source leaves out is absent."
  "altitude":
    "name": "altitude"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/altitude"
    "range": "float"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The station's height above sea level in metres, as the weather service lists it. A fixed property of the station, written without a unit code so its rows are never read as a measurement stamped on receipt."
  "areaServed":
    "name": "areaServed"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/areaServed"
    "range": "string"
    "annotations":
      "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 neighbourhood (barri) the station or well is in, as the city names it."
  "atmosphericPressure":
    "name": "atmosphericPressure"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/atmosphericPressure"
    "range": "float"
    "unit":
      "ucum_code": "hPa"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's mean air pressure at the station's height (not reduced to sea level)."
  "dataProvider":
    "name": "dataProvider"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/dataProvider"
    "range": "string"
    "annotations":
      "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."
  "dateObserved":
    "name": "dateObserved"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/dateObserved"
    "range": "datetime"
    "required": true
    "annotations":
      "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."
  "gustSpeed":
    "name": "gustSpeed"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/gustSpeed"
    "range": "float"
    "unit":
      "ucum_code": "m/s"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's strongest gust at 10 m."
  "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."
  "maxTemperature":
    "name": "maxTemperature"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/maxTemperature"
    "range": "float"
    "unit":
      "ucum_code": "Cel"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The day's highest air temperature at the station. A property of this model: the Smart Data Model WeatherObserved names only the mean."
  "minTemperature":
    "name": "minTemperature"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/minTemperature"
    "range": "float"
    "unit":
      "ucum_code": "Cel"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The day's lowest air temperature at the station. A property of this model: the Smart Data Model WeatherObserved names only the mean."
  "name":
    "name": "name"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/name"
    "range": "string"
    "annotations":
      "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."
  "precipitation":
    "name": "precipitation"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/precipitation"
    "range": "float"
    "unit":
      "ucum_code": "mm"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's precipitation, in millimetres (litres per square metre)."
  "relativeHumidity":
    "name": "relativeHumidity"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/relativeHumidity"
    "range": "float"
    "unit":
      "ucum_code": "1"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's mean relative humidity, as a fraction (0.57 is 57 %)."
  "solarRadiation":
    "name": "solarRadiation"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/solarRadiation"
    "range": "float"
    "unit":
      "ucum_code": "W/m2"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's mean global solar irradiance: the day's irradiation the city gives in MJ/m², times 10^6 / 86400."
  "source":
    "name": "source"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/source"
    "range": "uri"
    "annotations":
      "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."
  "stationCode":
    "name": "stationCode"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/stationCode"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The station's code in the network that runs it: the Catalan air-quality network (XVPCA, the city's codi_eoi, such as `8019043`), the Meteocat weather network (such as `D5`) or the Catalan water agency's well register (ACA, such as `08019-0148`)."
  "temperature":
    "name": "temperature"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/temperature"
    "range": "float"
    "unit":
      "ucum_code": "Cel"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's mean air temperature at the station."
  "windDirection":
    "name": "windDirection"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/windDirection"
    "range": "float"
    "unit":
      "ucum_code": "deg"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's mean wind direction at 10 m, in degrees from north."
  "windSpeed":
    "name": "windSpeed"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/windSpeed"
    "range": "float"
    "unit":
      "ucum_code": "m/s"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Weather"
    "description": "The day's mean wind speed at 10 m."
