summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/avc-event-schema-1.0.0.json
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/avc-event-schema-1.0.0.json')
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/avc-event-schema-1.0.0.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/avc-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/avc-event-schema-1.0.0.json
new file mode 100644
index 0000000000..d24ec2c737
--- /dev/null
+++ b/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/avc-event-schema-1.0.0.json
@@ -0,0 +1,56 @@
+{
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-schema:1.0.0",
+ "$ref": "#/definitions/AvcEvent",
+ "definitions": {
+ "AvcEvent": {
+ "javaType": "org.onap.cps.ncmp.events.avc.ncmp_to_client.AvcEvent",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/Data"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "title": "AvcEvent"
+ },
+ "Data": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "attributeValueChange": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Avc"
+ }
+ }
+ },
+ "required": [
+ "avc"
+ ],
+ "title": "Data"
+ },
+ "Avc": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "attributeName": {
+ "type": "string"
+ },
+ "oldAttributeValue": {
+ "type": "string"
+ },
+ "newAttributeValue": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "attributeName"
+ ],
+ "title": "avc"
+ }
+ }
+} \ No newline at end of file