summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/src/main/resources
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-10-16 13:51:05 +0000
committerGerrit Code Review <gerrit@onap.org>2023-10-16 13:51:05 +0000
commit624f04c03146e002bab2ca88e55b7f586c6e1aff (patch)
treecf5d768c44c637d335f18658670ef226a50a2ccd /cps-ncmp-events/src/main/resources
parent694b13a129ea1b070aad3a95fe1f19917136bc96 (diff)
parent7aae9b8af2c82336882d0ae864b970b1885a63a8 (diff)
Merge "Add withTrustLevel condition to CmHandle Query API"
Diffstat (limited to 'cps-ncmp-events/src/main/resources')
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json
new file mode 100644
index 0000000000..e1796fbc73
--- /dev/null
+++ b/cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "$id": "urn:cps:org.onap.cps.ncmp.events:device-trust-level-event-schema:1.0.0",
+ "$ref": "#/definitions/DeviceTrustLevel",
+ "definitions": {
+ "DeviceTrustLevel" : {
+ "description": "The payload for device trust level event.",
+ "type": "object",
+ "javaType": "org.onap.cps.ncmp.events.trustlevel.DeviceTrustLevel",
+ "properties": {
+ "data": {
+ "type": "object",
+ "properties": {
+ "trustLevel": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "trustLevel"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "data"
+ ]
+ }
+ }
+} \ No newline at end of file