diff --git a/docs/tutorial/DataNotification.md b/docs/tutorial/DataNotification.md index 3538a17f451ff50057462374c536621cf3fd2981..27183f0f99a769c45d7b89c94b440e793629772e 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:1234", + "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_3","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)