"id": "https://hel.fi/models/helsinki/helsinki/views/dhiw4735mzyvwkrmszljpxcvvgv32q33"
"name": "helsinki"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "geojson":
    "prefix_prefix": "geojson"
    "prefix_reference": "https://purl.org/geojson/vocab#"
  "jc":
    "prefix_prefix": "jc"
    "prefix_reference": "https://joinedcontext.com/models/"
  "schema":
    "prefix_prefix": "schema"
    "prefix_reference": "http://schema.org/"
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "Alert":
    "name": "Alert"
    "class_uri": "sdm:Alert"
    "slots":
      - "location"
      - "name"
      - "description"
      - "category"
      - "subCategory"
      - "alertSource"
      - "effect"
      - "cause"
      - "severity"
      - "address"
      - "dateIssued"
      - "validFrom"
      - "validTo"
      - "refRoute"
      - "refStop"
      - "unknownReference"
      - "source"
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "One road work or traffic announcement of Fintraffic in the capital region, or one service alert of HSL with the lines and stops it affects."
"slots":
  "address":
    "name": "address"
    "slot_uri": "schema:address"
    "range": "uriorcurie"
    "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": "The postal address as the source publishes it, field by field (Smart Data Models' common PostalAddress); a field the source leaves out is absent, never guessed from a line of text."
  "alertSource":
    "name": "alertSource"
    "slot_uri": "sdm:alertSource"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "Who raised the alert, Fintraffic or HSL."
  "category":
    "name": "category"
    "slot_uri": "sdm:category"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "The alert's domain; traffic for everything Fintraffic and HSL publish."
  "cause":
    "name": "cause"
    "slot_uri": "jc:cause"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "Why an HSL service alert is in force, as GTFS-RT names it, such as CONSTRUCTION or MAINTENANCE."
  "dateIssued":
    "name": "dateIssued"
    "slot_uri": "sdm:dateIssued"
    "range": "datetime"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "When the situation was published."
  "description":
    "name": "description"
    "slot_uri": "schema:description"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "LanguageProperty"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/description"
    "description": "A short description, per language."
  "effect":
    "name": "effect"
    "slot_uri": "jc:effect"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "What an HSL service alert does to the service, as GTFS-RT names it, such as DETOUR or REDUCED_SERVICE."
  "location":
    "name": "location"
    "slot_uri": "geojson:geometry"
    "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": "schema:name"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "LanguageProperty"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/name"
    "description": "The name, per language."
  "refRoute":
    "name": "refRoute"
    "slot_uri": "jc:refRoute"
    "range": "uriorcurie"
    "multivalued": true
    "inlined": false
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
      "on_delete":
        "tag": "on_delete"
        "value": "set-null"
    "description": "The lines an HSL service alert affects, each a GtfsRoute of this space."
  "refStop":
    "name": "refStop"
    "slot_uri": "jc:refStop"
    "range": "uriorcurie"
    "multivalued": true
    "inlined": false
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
      "on_delete":
        "tag": "on_delete"
        "value": "set-null"
    "description": "The stops an HSL service alert affects, each a GtfsStop of this space."
  "severity":
    "name": "severity"
    "slot_uri": "sdm:severity"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "How much the alert matters, informational, medium or high (GTFS-RT INFO, WARNING, SEVERE)."
  "source":
    "name": "source"
    "slot_uri": "sdm:source"
    "range": "uri"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zdroj\", \"cs\": \"Zdroj\", \"fi\": \"L\\u00e4hde\", \"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 service the entity was read from."
  "subCategory":
    "name": "subCategory"
    "slot_uri": "sdm:subCategory"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "The Smart Data Models code of the alert, roadWorks for a Fintraffic road work. Left out where no code fits: a Fintraffic traffic announcement and an HSL service alert."
  "unknownReference":
    "name": "unknownReference"
    "slot_uri": "jc:unknownReference"
    "range": "string"
    "multivalued": true
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "What an HSL service alert names that this space holds no entity for, as `route:<id>` or `stop:<id>`, kept as text rather than as a relationship that would point at nothing."
  "validFrom":
    "name": "validFrom"
    "slot_uri": "sdm:validFrom"
    "range": "datetime"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "When the situation starts."
  "validTo":
    "name": "validTo"
    "slot_uri": "sdm:validTo"
    "range": "datetime"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Alert"
    "description": "When the situation ends; absent while open-ended."
