Upgrade event schema to support delete operation
[cps.git] / cps-events / src / test / resources / event-v2-with-additional-properties.json
1 {
2   "schema": "urn:cps:org.onap.cps:data-updated-event-schema:v2",
3   "id": "77b8f114-4562-4069-8234-6d059ff742ac",
4   "source": "urn:cps:org.onap.cps",
5   "type": "org.onap.cps.data-updated-event",
6   "content": {
7     "observedTimestamp": "2020-12-01T00:00:00.000+0000",
8     "dataspaceName": "my-dataspace",
9     "schemaSetName": "bookstore-schemaset",
10     "anchorName": "chapters",
11     "operation" : "CREATE",
12     "additionalField" : "value",
13     "data": {
14       "test:bookstore":{
15         "bookstore-name": "Chapters",
16         "categories": [
17           {
18             "code": "01",
19             "name": "SciFi",
20             "books": [
21               {
22                 "authors": [
23                   "Iain M. Banks"
24                 ],
25                 "lang": "en",
26                 "price": 895,
27                 "pub_year": "1994",
28                 "title": "Feersum Endjinn"
29               }
30             ]
31           }
32         ]
33       }
34     }
35   }
36 }