Merge "Undo manipulation of YangResource string as this is now handled correctly...
[cps.git] / cps-events / src / test / resources / event-v1.json
1 {
2   "schema": "urn:cps:org.onap.cps:data-updated-event-schema:v1",
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     "data": {
12       "test:bookstore":{
13         "bookstore-name": "Chapters",
14         "categories": [
15           {
16             "code": "01",
17             "name": "SciFi",
18             "books": [
19               {
20                 "authors": [
21                   "Iain M. Banks"
22                 ],
23                 "lang": "en",
24                 "price": 895,
25                 "pub_year": "1994",
26                 "title": "Feersum Endjinn"
27               }
28             ]
29           }
30         ]
31       }
32     }
33   }
34 }