JvD_Ericsson | 9d5f2dd | 2023-11-01 11:39:12 +0000 | [diff] [blame^] | 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
| 3 | "$id": "urn:cps:org.onap.cps.ncmp.events:attribute-value-change-event-schema:1.0.0", |
| 4 | "$ref": "#/definitions/AttributeValueChangeEvent", |
| 5 | "definitions": { |
| 6 | "AttributeValueChangeEvent": { |
| 7 | "javaType": "org.onap.cps.ncmp.events.avc.ncmp_to_client.AttributeValueChangeEvent", |
| 8 | "type": "object", |
| 9 | "additionalProperties": false, |
| 10 | "properties": { |
| 11 | "data": { |
| 12 | "$ref": "#/definitions/Data" |
| 13 | } |
| 14 | }, |
| 15 | "required": [ |
| 16 | "data" |
| 17 | ], |
| 18 | "title": "AttributeValueChangeEvent" |
| 19 | }, |
| 20 | "Data": { |
| 21 | "type": "object", |
| 22 | "additionalProperties": false, |
| 23 | "properties": { |
| 24 | "attributeValueChange": { |
| 25 | "type": "array", |
| 26 | "items": { |
| 27 | "$ref": "#/definitions/AttributeValueChange" |
| 28 | } |
| 29 | } |
| 30 | }, |
| 31 | "required": [ |
| 32 | "attributeValueChange" |
| 33 | ], |
| 34 | "title": "Data" |
| 35 | }, |
| 36 | "AttributeValueChange": { |
| 37 | "type": "object", |
| 38 | "additionalProperties": false, |
| 39 | "properties": { |
| 40 | "attributeName": { |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "oldAttributeValue": { |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "newAttributeValue": { |
| 47 | "type": "string" |
| 48 | } |
| 49 | }, |
| 50 | "required": [ |
| 51 | "attributeName" |
| 52 | ], |
| 53 | "title": "AttributeValueChange" |
| 54 | } |
| 55 | } |
| 56 | } |