"id": "https://joinedcontext.com/models/barcelona/barcelona/views/nrejx2f5acew32ryrnslxvo23s3xmsxd"
"name": "barcelona"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "schema":
    "prefix_prefix": "schema"
    "prefix_reference": "http://schema.org/"
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "CityWork":
    "name": "CityWork"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/CityWork"
    "slots":
      - "location"
      - "name"
      - "description"
      - "workNumber"
      - "workState"
      - "workStateLabel"
      - "workCategory"
      - "startDate"
      - "endDate"
      - "contractingAuthority"
      - "tenderAmount"
      - "awardAmount"
      - "areaServed"
      - "territorialArea"
      - "refDistrict"
      - "seeAlso"
      - "dataProvider"
      - "source"
    "slot_usage":
      "endDate":
        "name": "endDate"
        "slot_uri": "schema:endDate"
        "range": "datetime"
        "required": true
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"D\\u00e1tum konca\", \"cs\": \"Datum konce\", \"en\": \"End date\", \"de\": \"Enddatum\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
          "upstream_source":
            "tag": "upstream_source"
            "value": "https://github.com/smart-data-models/dataModel.TourismDestinations"
        "description": "The last day, local midnight in Europe/Madrid: of an event (absent when the agenda gives none) or the planned last day of a work on the public space."
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "One work on Barcelona's public space, in execution, stopped or finished within 30 days, with its outline, its dates and its promoter. The constructor is left out."
"slots":
  "areaServed":
    "name": "areaServed"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/areaServed"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u0160tvr\\u0165\", \"cs\": \"\\u010ctvr\\u0165\", \"en\": \"Neighbourhood\", \"de\": \"Stadtviertel\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/data-models"
    "description": "Where the entity is as the city names it: the barri of a station, a well or a tourist flat, the place of a work (a street and number, a square, a park)."
  "awardAmount":
    "name": "awardAmount"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/awardAmount"
    "range": "float"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zmluvn\\u00e1 suma (EUR)\", \"cs\": \"Smluvn\\u00ed \\u010d\\u00e1stka (EUR)\", \"en\": \"Award amount (EUR)\", \"de\": \"Zuschlagsbetrag (EUR)\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The budget the work was awarded for, in euros."
  "contractingAuthority":
    "name": "contractingAuthority"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/contractingAuthority"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Investor\", \"cs\": \"Investor\", \"en\": \"Contracting authority\", \"de\": \"Auftraggeber\"}"
      "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 work's promoter, a public body, utility or company; left out when it may name a person."
  "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."
  "description":
    "name": "description"
    "slot_uri": "http://purl.org/dc/terms/description"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Popis\", \"cs\": \"Popis\", \"en\": \"Description\", \"de\": \"Beschreibung\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/description"
    "description": "The work's description as the city publishes it, in Catalan."
  "endDate":
    "name": "endDate"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/endDate"
    "range": "datetime"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"D\\u00e1tum konca\", \"cs\": \"Datum konce\", \"en\": \"End date\", \"de\": \"Enddatum\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.TourismDestinations"
    "description": "The last day, local midnight in Europe/Madrid: of an event (absent when the agenda gives none) or the planned last day of a work on the public space."
  "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)."
  "refDistrict":
    "name": "refDistrict"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/refDistrict"
    "range": "uriorcurie"
    "inlined": false
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Obvod\", \"cs\": \"Obvod\", \"en\": \"District\", \"de\": \"Bezirk\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
      "on_delete":
        "tag": "on_delete"
        "value": "restrict"
    "description": "The district the work lies in, when it lies in one district only."
  "seeAlso":
    "name": "seeAlso"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/seeAlso"
    "range": "uri"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Viac inform\\u00e1ci\\u00ed\", \"cs\": \"V\\u00edce informac\\u00ed\", \"en\": \"See also\", \"de\": \"Siehe auch\"}"
      "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 work's page on the city's works site."
  "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."
  "startDate":
    "name": "startDate"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/startDate"
    "range": "datetime"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"D\\u00e1tum za\\u010diatku\", \"cs\": \"Datum za\\u010d\\u00e1tku\", \"en\": \"Start date\", \"de\": \"Beginndatum\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.TourismDestinations"
    "description": "The first day, local midnight in Europe/Madrid: of an event (the agenda publishes the day, its hours sit in a free-text timetable) or of a work on the public space."
  "tenderAmount":
    "name": "tenderAmount"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/tenderAmount"
    "range": "float"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"S\\u00fa\\u0165a\\u017en\\u00e1 suma (EUR)\", \"cs\": \"Sout\\u011b\\u017en\\u00ed \\u010d\\u00e1stka (EUR)\", \"en\": \"Tender amount (EUR)\", \"de\": \"Ausschreibungsbetrag (EUR)\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The budget the work was put out to tender with, in euros."
  "territorialArea":
    "name": "territorialArea"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/territorialArea"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Dotknut\\u00e9 obvody\", \"cs\": \"Dot\\u010den\\u00e9 obvody\", \"en\": \"Districts touched\", \"de\": \"Betroffene Bezirke\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "Every district the work touches, by name, separated by \"; \"."
  "workCategory":
    "name": "workCategory"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/workCategory"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Druh stavby\", \"cs\": \"Druh stavby\", \"en\": \"Work category\", \"de\": \"Bauart\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The city's kind of work, in Catalan (Urbanització, Serveis, Clavegueram...)."
  "workNumber":
    "name": "workNumber"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/workNumber"
    "range": "string"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u010c\\u00edslo stavby\", \"cs\": \"\\u010c\\u00edslo stavby\", \"en\": \"Work number\", \"de\": \"Baunummer\"}"
      "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 city's code of the work, such as 05-2025G0074 (district, year, number)."
  "workState":
    "name": "workState"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/workState"
    "range": "WorkState"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Stav stavby\", \"cs\": \"Stav stavby\", \"en\": \"Work state\", \"de\": \"Baustatus\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "Where the work stands, in the Smart Data Model's terms."
  "workStateLabel":
    "name": "workStateLabel"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/workStateLabel"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Stav stavby (text mesta)\", \"cs\": \"Stav stavby (text m\\u011bsta)\", \"en\": \"Work state (city wording)\", \"de\": \"Baustatus (Wortlaut der Stadt)\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The work's state as the city writes it, in Catalan (En execució, Aturada, Finalitzada)."
"enums":
  "WorkState":
    "name": "WorkState"
    "description": "The Smart Data Model CityWork workState values the city's states map to."
    "permissible_values":
      "completed":
        "text": "completed"
        "description": "Finished (Finalitzada)."
      "open":
        "text": "open"
        "description": "In execution (En execució)."
      "other":
        "text": "other"
        "description": "Stopped (Aturada)."
