aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/src/main/resources/schemas/trustlevel/device-trust-level-event-schema-1.0.0.json
blob: e1796fbc7395f3092373216b08f321d4c4634414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
      ]
    }
  }
}