From 221b4cd7d8379b7fd8b653b14296c8d789d70600 Mon Sep 17 00:00:00 2001
From: Vaishali Mangwani <vmangwani@slb.com>
Date: Tue, 15 Mar 2022 13:56:16 +0000
Subject: [PATCH] Update DataNotification.md - added deletionType in delete
 event

---
 docs/tutorial/DataNotification.md | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/docs/tutorial/DataNotification.md b/docs/tutorial/DataNotification.md
index 3538a17f4..f113327fe 100644
--- a/docs/tutorial/DataNotification.md
+++ b/docs/tutorial/DataNotification.md
@@ -69,6 +69,18 @@ A sample output is shown below. Please note the "name" of the topic. This is req
                 "op": "update",
                 "previousVersionKind": "common:petrel:regularheightfieldsurface:1.0.0"
             },
+            {
+                "id": "common:abc:123",
+                "kind": "common:petrel:regularheightfieldsurface:1.0.0",
+                "op": "delete",
+                "deletionType": "soft"
+            },
+            {
+                "id": "common:abc:123",
+                "kind": "common:petrel:regularheightfieldsurface:1.0.0",
+                "op": "delete",
+                "deletionType": "hard"
+            }
             ...
         ]
     },
@@ -453,7 +465,8 @@ The sample message for record change notification looks like this:
 [ 
   {"id":"record_id_1","kind":"kind1","op":"create","recordUpdated":"false"},
   {"id":"record_id_1","kind":"kind1","op":"create","recordUpdated":"true"},
-  {"id":"record_id_2","kind":"kind2","op":"delete"}
+  {"id":"record_id_2","kind":"kind2","op":"delete","deletionType":"soft"},
+  {"id":"record_id_2","kind":"kind2","op":"delete","deletionType":"hard"}
   ...
 ]
 ```
@@ -646,4 +659,4 @@ properties:
 - There is no filtering applied on messages (such as based on the kind etc.) at the moment in OSDU. All the messages will be pushed to consumers. 
 - Updates to existing records are notified as `create` event with attribute `recordUpdated` set to true.
 
-[Back to Table of Contents](#TOC)
\ No newline at end of file
+[Back to Table of Contents](#TOC)
-- 
GitLab