summaryrefslogtreecommitdiffstats
path: root/cps-events/src/test/resources/event-v1.json
diff options
context:
space:
mode:
Diffstat (limited to 'cps-events/src/test/resources/event-v1.json')
-rw-r--r--cps-events/src/test/resources/event-v1.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/cps-events/src/test/resources/event-v1.json b/cps-events/src/test/resources/event-v1.json
new file mode 100644
index 0000000000..753426a60a
--- /dev/null
+++ b/cps-events/src/test/resources/event-v1.json
@@ -0,0 +1,34 @@
+{
+ "schema": "urn:cps:org.onap.cps:data-updated-event-schema:v1",
+ "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",
+ "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"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}