...
Code Block | ||
---|---|---|
| ||
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "$id": "urn:cps:org.onap.cps.ncmp.events._3gpp:notify-changes-schema:1.0.0", "type": "object", "javaType": "org.onap.cps.ncmp.events._3gpp.NotifyChangesWrapper", "properties": { "CmNotificationTypes": { "$ref": "#/components/schemas/CmNotificationTypes" }, "SourceIndicator": { "$ref": "#/components/schemas/SourceIndicator" }, "Operation": { "$ref": "#/components/schemas/Operation" }, "Insert": { "$ref": "#/components/schemas/Insert" }, "NotifyCreateChangeEventNotifyCreateEvent": { "$ref": "#/definitions/NotifyCreateChangeEventNotifyCreateEvent" }, "NotifyDeleteChangeEventNotifyDeleteEvent": { "$ref": "#/definitions/NotifyDeleteChangeEventNotifyDeleteEvent" }, "NotifyAttributeValueChangeEvent": { "$ref": "#/definitions/NotifyAttributeValueChangeEvent" }, "NotifyChangesEvent": { "$ref": "#/definitions/NotifyChangesEvent" } }, "definitions": { "NotifyCreateChangeEventNotifyCreateEvent": { "$id": "urn:cps:org.onap.cps.ncmp.events._3gpp:notify-create-change-event-schema:1.0.0", "description": "The payload of notifyMOICreation event", "type": "object", "javaType": "org.onap.cps.ncmp.events._3gpp.NotifyCreateChangeEventNotifyCreateEvent", "properties": { "href": { "type": "string" }, "notificationId": { "type": "integer" }, "notificationType": { "$ref": "#/components/schemas/CmNotificationTypes", "const": "notifyMOICreation" }, "eventTime": { "type": "string", "existingJavaType": "java.time.LocalDateTime", "format": "date-time" }, "systemDN": { "type": "string" }, "correlatedNotifications": { "type": "array", "items": { "$ref": "#/components/schemas/CorrelatedNotification" } }, "additionalText": { "type": "string" }, "sourceIndicator": { "$ref": "#/components/schemas/SourceIndicator" }, "attributeList": { "$ref": "#/components/schemas/AttributeNameValuePairSet" } }, "required": [ "href", "notificationId", "notificationType", "eventTime", "systemDN" ], "additionalProperties": false }, "NotifyDeleteChangeEventNotifyDeleteEvent": { "$id": "urn:cps:org.onap.cps.ncmp.events._3gpp:notify-delete-change-event-schema:1.0.0", "description": "The payload of notfifyMOIDeletionnotifyMOIDeletion event", "type": "object", "javaType": "org.onap.cps.ncmp.events._3gpp.NotifyDeleteChangeEventNotifyDeleteEvent", "properties": { "href": { "type": "string" }, "notificationId": { "type": "integer" }, "notificationType": { "$ref": "#/components/schemas/CmNotificationTypes", "const": "notifyMOIDeletion" }, "eventTime": { "type": "string", "existingJavaType": "java.time.LocalDateTime", "format": "date-time" }, "systemDN": { "type": "string" }, "correlatedNotifications": { "type": "array", "items": { "$ref": "#/components/schemas/CorrelatedNotification" } }, "additionalText": { "type": "string" }, "sourceIndicator": { "$ref": "#/components/schemas/SourceIndicator" }, "attributeList": { "$ref": "#/components/schemas/AttributeNameValuePairSet" } }, "required": [ "href", "notificationId", "notificationType", "eventTime", "systemDN" ], "additionalProperties": false }, "NotifyAttributeValueChangeEvent": { "$id": "urn:cps:org.onap.cps.ncmp.events._3gpp:notify-attribute-value-change-event-schema:1.0.0", "description": "The payload of notfifyMOIAttributeValueChangesnotifyMOIAttributeValueChanges event", "type": "object", "javaType": "org.onap.cps.ncmp.events._3gpp.NotifyAttributeValueChangeEvent", "properties": { "href": { "type": "string" }, "notificationId": { "type": "integer" }, "notificationType": { "$ref": "#/components/schemas/CmNotificationTypes", "const": "notifyMOIAttributeValueChanges" }, "eventTime": { "type": "string", "existingJavaType": "java.time.LocalDateTime", "format": "date-time" }, "systemDN": { "type": "string" }, "correlatedNotifications": { "type": "array", "items": { "$ref": "#/components/schemas/CorrelatedNotification" } }, "additionalText": { "type": "string" }, "sourceIndicator": { "$ref": "#/components/schemas/SourceIndicator" }, "attributeListValueChanges": { "$ref": "#/components/schemas/AttributeValueChangeSet" } }, "required": [ "href", "notificationId", "notificationType", "eventTime", "systemDN", "attributeListValueChanges" ], "additionalProperties": false }, "NotifyChangesEvent": { "$id": "urn:cps:org.onap.cps.ncmp.events._3gpp:notify-changes-event-schema:1.0.0", "description": "The payload of notfifyMOIChangesnotifyMOIChanges event", "type": "object", "javaType": "org.onap.cps.ncmp.events._3gpp.NotifyChangesEvent", "properties": { "href": { "type": "string" }, "notificationId": { "type": "integer" }, "notificationType": { "$ref": "#/components/schemas/CmNotificationTypes", "const": "notifyMOIChanges" }, "eventTime": { "type": "string", "existingJavaType": "java.time.LocalDateTime", "format": "date-time" }, "systemDN": { "type": "string" }, "moiChanges": { "type": "array", "items": { "$ref": "#/components/schemas/MoiChange" } } }, "required": [ "href", "notificationId", "notificationType", "eventTime", "systemDN", "moiChanges" ], "additionalProperties": false } }, "components": { "schemas": { "AttributeNameValuePairSet": { "existingJavaType": "java.util.Map", "type": "object", "description": "The key of this map is the attribute name, and the value the attribute value.", "minProperties": 1 }, "AttributeValueChangeSet": { "type": "array", "items": { "$ref": "#/components/schemas/AttributeNameValuePairSet" }, "description": "The first array item contains the attribute name value pairs with the new values, and the second array item the attribute name value pairs with the optional old values.", "minItems": 1, "maxItems": 2 }, "CmNotificationTypes": { "type": "string", "enum": [ "notifyMOICreation", "notifyMOIDeletion", "notifyMOIAttributeValueChanges", "notifyEvent", "notifyMOIChanges" ] }, "SourceIndicator": { "type": "string", "enum": [ "RESOURCE_OPERATION", "MANAGEMENT_OPERATION", "SON_OPERATION", "UNKNOWN" ] }, "CorrelatedNotification": { "type": "object", "properties": { "source": { "type": "string" }, "notificationIds": { "type": "array", "items": { "type": "integer" } } }, "additionalProperties": false, "required": [ "source", "notificationIds" ] }, "Operation": { "type": "string", "enum": [ "add", "remove", "replace" ] }, "Insert": { "type": "string", "enum": [ "before", "after" ] }, "MoiChange": { "type": "object", "properties": { "notificationId": { "type": "integer" }, "correlatedNotifications": { "type": "array", "items": { "$ref": "#/components/schemas/CorrelatedNotification" } }, "additionalText": { "type": "string" }, "sourceIndicator": { "$ref": "#/components/schemas/SourceIndicator" }, "op": { "$ref": "#/components/schemas/Operation" }, "path": { "type": "string" }, "insert": { "$ref": "#/components/schemas/Insert" }, "value": { "type": "any" }, "oldValue": { "type": "any" } }, "additionalProperties": false, "required": [ "notificationId", "op", "path" ] } } }, "additionalProperties": false } |
...