Commit 02075b8e authored by Jason Fox's avatar Jason Fox
Browse files

Add type-scoped context to Notifications

parent 583b1022
Loading
Loading
Loading
Loading
+30 −9
Original line number Diff line number Diff line
@@ -57,7 +57,21 @@ Such definition has been tested using [i.19].
        "contextSourceUptime": "ngsi-ld:contextSourceUptime"
      }
    },
    "ContextSourceNotification": "ngsi-ld:ContextSourceNotification",
    "ContextSourceNotification": {
      "@id": "ngsi-ld:ContextSourceNotification",
      "@context": {
        "data": "ngsi-ld:data",
        "notifiedAt": {
          "@id": "ngsi-ld:notifiedAt",
          "@type": "DateTime"
        },
        "subscriptionId": {
          "@id": "ngsi-ld:subscriptionId",
          "@type": "@id"
        },
        "triggerReason": "ngsi-ld:triggerReason"
      }
    },
    "ContextSourceRegistration": "ngsi-ld:ContextSourceRegistration",
    "Date": "ngsi-ld:Date",
    "DateTime": "ngsi-ld:DateTime",
@@ -122,7 +136,20 @@ Such definition has been tested using [i.19].
    "MultiLineString": "geojson:MultiLineString",
    "MultiPoint": "geojson:MultiPoint",
    "MultiPolygon": "geojson:MultiPolygon",
    "Notification": "ngsi-ld:Notification",
    "Notification": {
      "@id": "ngsi-ld:Notification",
      "@context": {
        "data": "ngsi-ld:data",
        "notifiedAt": {
          "@id": "ngsi-ld:notifiedAt",
          "@type": "DateTime"
        },
        "subscriptionId": {
          "@id": "ngsi-ld:subscriptionId",
          "@type": "@id"
        }
      }
    },
    "Point": "geojson:Point",
    "Polygon": "geojson:Polygon",
    "Property": "ngsi-ld:Property",
@@ -160,7 +187,6 @@ Such definition has been tested using [i.19].
      "@type": "DateTime"
    },
    "csf": "ngsi-ld:csf",
    "data": "ngsi-ld:data",
    "dataset": {
      "@id": "ngsi-ld:hasDataset",
      "@container": "@index"
@@ -486,10 +512,6 @@ Such definition has been tested using [i.19].
      "@id": "ngsi-ld:stddev",
      "@container": "@list"
    },
    "subscriptionId": {
      "@id": "ngsi-ld:subscriptionId",
      "@type": "@id"
    },
    "subscriptionName": "ngsi-ld:subscriptionName",
    "success": {
      "@id": "ngsi-ld:success",
@@ -523,7 +545,6 @@ Such definition has been tested using [i.19].
    "timesFailed": "ngsi-ld:timesFailed",
    "timesSent": "ngsi-ld:timesSent",
    "title": "http://purl.org/dc/terms/title",
    "triggerReason": "ngsi-ld:triggerReason",
    "unchanged": "ngsi-ld:unchanged",
    "unitCode": "ngsi-ld:unitCode",
    "updated": "ngsi-ld:updated",