diff options
author | Bruno Sakoto <bruno.sakoto@bell.ca> | 2021-06-10 14:04:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-06-10 14:04:20 +0000 |
commit | e3f7305a421e075eef97d4eefdd590ca95a2a4f6 (patch) | |
tree | f40914b103b28e1a6c6ea6caaeb34265da92b9a5 /cps-events/src/test/resources/bookstore-chapters.json | |
parent | 171f17003d3e130385de3cfda04f44447e421f61 (diff) | |
parent | f549c7c144512d98f5cdb847d172193a0cad9358 (diff) |
Merge "Add json schema for events"
Diffstat (limited to 'cps-events/src/test/resources/bookstore-chapters.json')
-rw-r--r-- | cps-events/src/test/resources/bookstore-chapters.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/cps-events/src/test/resources/bookstore-chapters.json b/cps-events/src/test/resources/bookstore-chapters.json new file mode 100644 index 0000000000..de46b71841 --- /dev/null +++ b/cps-events/src/test/resources/bookstore-chapters.json @@ -0,0 +1,34 @@ +{ + "schema": "urn:cps:org.onap.cps:data-updated-event-schema:1.1.0-SNAPSHOT", + "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": "bootstore-schemaset", + "anchorName": "chapters", + "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" + } + ] + } + ] + } + } + } +}
\ No newline at end of file |