diff --git a/ngsild-payloads/userDeletionSubscription.jsonld b/ngsild-payloads/userDeletionSubscription.jsonld new file mode 100644 index 0000000..e3328c5 --- /dev/null +++ b/ngsild-payloads/userDeletionSubscription.jsonld @@ -0,0 +1,23 @@ +{ + "id": "urn:ngsi-ld:Subscription:1f95dc0e-4b15-4a2f-83fc-243eb9234adc", + "type": "Subscription", + "entities": [ + { + "type": "UserProfile" + } + ], + "notificationTrigger": [ + "entityDeleted" + ], + "notification": { + "format": "keyValues", + "endpoint": { + "uri": "http://localhost:8080/userDeletionListener", + "accept": "application/json" + }, + "attributes": [ + "hasConsent", + "hasFluidMonitoring" + ] + } +} \ No newline at end of file