diff options
author | 2025-03-03 13:48:48 +0000 | |
---|---|---|
committer | 2025-03-03 13:48:48 +0000 | |
commit | 5a0ac4617333a70d7409ca08910db1bb9a217a37 (patch) | |
tree | 42dc413d969c9cecc32e250af4011941576e7c90 /docs/schemas/dmi | |
parent | d2e5a379840ceac8ae798546b3abf40f678d9f3a (diff) | |
parent | 4b6efbbe9fa905a3ee4bc6e7ae5ced2ddd079fb8 (diff) |
Merge "RTD update related to event schemas"
Diffstat (limited to 'docs/schemas/dmi')
-rw-r--r-- | docs/schemas/dmi/cm-events/avc-event-schema-1.0.0.json | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/docs/schemas/dmi/cm-events/avc-event-schema-1.0.0.json b/docs/schemas/dmi/cm-events/avc-event-schema-1.0.0.json new file mode 100644 index 0000000000..474520d142 --- /dev/null +++ b/docs/schemas/dmi/cm-events/avc-event-schema-1.0.0.json @@ -0,0 +1,88 @@ +{ + "$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": { + "Edit": { + "additionalProperties": false, + "properties": { + "edit-id": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "target": { + "type": "string" + }, + "value": { + "type": "object", + "existingJavaType": "java.lang.Object" + } + }, + "required": [ + "edit-id", + "operation", + "target" + ] + }, + "AvcEvent": { + "description": "The payload for AVC event.", + "type": "object", + "javaType": "org.onap.cps.ncmp.events.avc1_0_0.AvcEvent", + "properties": { + "data": { + "description": "The AVC event content compliant with RFC8641 format", + "type": "object", + "additionalProperties": false, + "properties": { + "push-change-update": { + "type": "object", + "additionalProperties": false, + "properties": { + "datastore-changes": { + "type": "object", + "additionalProperties": false, + "properties": { + "ietf-yang-patch:yang-patch": { + "type": "object", + "additionalProperties": false, + "properties": { + "patch-id": { + "type": "string" + }, + "edit": { + "type": "array", + "items": { + "$ref": "#/definitions/Edit" + } + } + }, + "required": [ + "patch-id", + "edit" + ] + } + }, + "required": [ + "ietf-yang-patch:yang-patch" + ] + } + }, + "required": [ + "datastore-changes" + ] + } + }, + "required": [ + "push-change-update" + ] + } + }, + "required": [ + "data" + ], + "additionalProperties": false + } + } +}
\ No newline at end of file |