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