diff options
author | Bruno Sakoto <bruno.sakoto@bell.ca> | 2021-05-18 16:02:30 -0400 |
---|---|---|
committer | Renu Kumari <renu.kumari@bell.ca> | 2021-06-08 10:29:15 -0400 |
commit | f549c7c144512d98f5cdb847d172193a0cad9358 (patch) | |
tree | 68dcad8d5129237ec52517cf3188ca963c5b7cf8 /cps-events/src/test/resources | |
parent | c37678a3eb62685d32a1581729e2a4e26002bffc (diff) |
Add json schema for events
Issue-ID: CPS-348
Issue-ID: CPS-373
Change-Id: Ia0d31f6393e90cb0d5370ca6a78dfbe8817545ae
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Diffstat (limited to 'cps-events/src/test/resources')
-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 |