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/ncmp/avc/ncmp-in-event-schema-1.0.0.json | |
parent | d2e5a379840ceac8ae798546b3abf40f678d9f3a (diff) | |
parent | 4b6efbbe9fa905a3ee4bc6e7ae5ced2ddd079fb8 (diff) |
Merge "RTD update related to event schemas"
Diffstat (limited to 'docs/schemas/ncmp/avc/ncmp-in-event-schema-1.0.0.json')
-rw-r--r-- | docs/schemas/ncmp/avc/ncmp-in-event-schema-1.0.0.json | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/docs/schemas/ncmp/avc/ncmp-in-event-schema-1.0.0.json b/docs/schemas/ncmp/avc/ncmp-in-event-schema-1.0.0.json new file mode 100644 index 0000000000..d4e8519956 --- /dev/null +++ b/docs/schemas/ncmp/avc/ncmp-in-event-schema-1.0.0.json @@ -0,0 +1,73 @@ +{ + "$id": "urn:cps:org.onap.ncmp.events.subscription:1.0.0", + "$ref": "#/definitions/NcmpInEvent", + "$schema": "https://json-schema.org/draft/2019-09/schema", + "definitions": { + "NcmpInEvent": { + "description": "The payload for subscription merge event.", + "javaType": "org.onap.cps.ncmp.impl.cmnotificationsubscription_1_0_0.client_to_ncmp.NcmpInEvent", + "properties": { + "data": { + "properties": { + "subscriptionId": { + "description": "The subscription details.", + "type": "string" + }, + "predicates": { + "type": "array", + "description": "Additional values to be added into the subscription", + "items": { + "type": "object", + "properties": { + "targetFilter": { + "description": "CM Handles to be targeted by the subscription", + "type": "array", + "items": { + "type": "string" + } + }, + "scopeFilter": { + "type": "object", + "properties": { + "datastore": { + "description": "Datastore which is to be used by the subscription", + "type": "string", + "enum": ["ncmp-datastore:passthrough-operational", "ncmp-datastore:passthrough-running"] + }, + "xpathFilter": { + "description": "Filter to be applied to the CM Handles through this event", + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "xpathFilter" + ] + } + }, + "additionalProperties": false, + "required": [ + "targetFilter" + ] + }, + "additionalProperties": false + } + }, + "required": [ + "subscriptionId" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false, + "required": [ + "data" + ] + } + } +}
\ No newline at end of file |