summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json')
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json b/cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json
new file mode 100644
index 0000000000..407551f4fd
--- /dev/null
+++ b/cps-ncmp-events/src/main/resources/schemas/dmidataavc/avc-event-schema-v1.json
@@ -0,0 +1,24 @@
+{
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-schema:v1",
+ "$ref": "#/definitions/AvcEvent",
+ "definitions": {
+ "AvcEvent": {
+ "description": "The payload for AVC event.",
+ "type": "object",
+ "javaType" : "org.onap.cps.ncmp.events.avc.v1.AvcEvent",
+ "properties": {
+ "event": {
+ "description": "The AVC event content.",
+ "type": "object",
+ "existingJavaType": "java.lang.Object",
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "event"
+ ],
+ "additionalProperties": false
+ }
+ }
+} \ No newline at end of file