aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-11-02 20:36:35 +0000
committerGerrit Code Review <gerrit@onap.org>2023-11-02 20:36:35 +0000
commit3920e2841fb0a5712c9fb438b1fc63f5214d1093 (patch)
tree47a0222bcb437d9ea458f937a82228590e6cb909
parentf41dd3b24da2cc956c3d6e27fc14e409f11c65c0 (diff)
parent9d5f2dd2137fbf3b8502b2c158007afac90b5b12 (diff)
Merge "Add trust level notification schema"
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/attribute-value-change-event-schema-1.0.0.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/attribute-value-change-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/attribute-value-change-event-schema-1.0.0.json
new file mode 100644
index 000000000..9dee00e21
--- /dev/null
+++ b/cps-ncmp-events/src/main/resources/schemas/ncmpdataavc/attribute-value-change-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:attribute-value-change-event-schema:1.0.0",
+ "$ref": "#/definitions/AttributeValueChangeEvent",
+ "definitions": {
+ "AttributeValueChangeEvent": {
+ "javaType": "org.onap.cps.ncmp.events.avc.ncmp_to_client.AttributeValueChangeEvent",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/Data"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "title": "AttributeValueChangeEvent"
+ },
+ "Data": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "attributeValueChange": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AttributeValueChange"
+ }
+ }
+ },
+ "required": [
+ "attributeValueChange"
+ ],
+ "title": "Data"
+ },
+ "AttributeValueChange": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "attributeName": {
+ "type": "string"
+ },
+ "oldAttributeValue": {
+ "type": "string"
+ },
+ "newAttributeValue": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "attributeName"
+ ],
+ "title": "AttributeValueChange"
+ }
+ }
+} \ No newline at end of file