diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2023-10-16 13:51:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-10-16 13:51:05 +0000 |
commit | 624f04c03146e002bab2ca88e55b7f586c6e1aff (patch) | |
tree | cf5d768c44c637d335f18658670ef226a50a2ccd /cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json | |
parent | 694b13a129ea1b070aad3a95fe1f19917136bc96 (diff) | |
parent | 7aae9b8af2c82336882d0ae864b970b1885a63a8 (diff) |
Merge "Add withTrustLevel condition to CmHandle Query API"
Diffstat (limited to 'cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json')
-rw-r--r-- | cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json | 30 |
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 |