"id": "https://joinedcontext.com/models/barcelona/barcelona/views/esbxdrr7snorjsp7uus2luihr6vl5vv6"
"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":
  "AirQualityObserved":
    "name": "AirQualityObserved"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/AirQualityObserved"
    "slots":
      - "location"
      - "name"
      - "dateObserved"
      - "pm10"
      - "pm25"
      - "no2"
      - "o3"
      - "so2"
      - "co"
      - "no"
      - "nox"
      - "blackCarbon"
      - "stationCode"
      - "address"
      - "areaServed"
      - "dataProvider"
      - "source"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Meranie kvality ovzdu\\u0161ia\", \"cs\": \"M\\u011b\\u0159en\\u00ed kvality ovzdu\\u0161\\u00ed\", \"en\": \"Air quality reading\", \"de\": \"Luftqualit\\u00e4tsmessung\"}"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Environment"
    "description": "One air-quality station of Barcelona and its hourly means."
  "Any":
    "class_uri": "linkml:Any"
    "description": "Any value: an inlined object whose class this view does not show."
"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, the facility or the charging point is, as the city publishes it, field by field (Smart Data Models' common PostalAddress); a field the source leaves out is absent."
  "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."
  "blackCarbon":
    "name": "blackCarbon"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/blackCarbon"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "Black carbon, the hour's mean at the station. A property of this model: the Smart Data Model AirQualityObserved names no black carbon attribute. The city's file gives it in ng/m³ under a µg/m³ label; the pipeline divides by 1000."
  "co":
    "name": "co"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/co"
    "range": "float"
    "unit":
      "ucum_code": "mg/m3"
    "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": "Carbon monoxide, the hour's mean at the station, in mg/m³ as the city measures it."
  "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, 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":
      "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)."
  "no":
    "name": "no"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/no"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Nitrogen monoxide, the hour's mean at the station."
  "no2":
    "name": "no2"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/no2"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Nitrogen dioxide, the hour's mean at the station."
  "nox":
    "name": "nox"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/nox"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Nitrogen oxides (NO + NO2 as NO2), the hour's mean at the station."
  "o3":
    "name": "o3"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/o3"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Ozone, the hour's mean at the station."
  "pm10":
    "name": "pm10"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/pm10"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Particulate matter up to 10 µm, the hour's mean at the station."
  "pm25":
    "name": "pm25"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/pm25"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Particulate matter up to 2.5 µm, the hour's mean at the station."
  "so2":
    "name": "so2"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/so2"
    "range": "float"
    "unit":
      "ucum_code": "ug/m3"
    "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": "Sulphur dioxide, the hour's mean at the station."
  "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`)."
