Add support for ABATED alerts within CDAP TCA
[dcaegen2/analytics/tca.git] / dpo / tcaOutput.json
1 {
2   "self": {
3     "name": "TCA Alert Definition",
4     "version": "1.0.0",
5     "description": "The format of the output event from TCA"
6   },
7   "dataformatversion": "1.0.0",
8   "jsonschema": {
9     "name": "TCA Alert",
10     "version": "1.0.0",
11     "properties": {
12       "closedLoopControlame": {
13         "type": "string"
14       },
15       "version": {
16         "type": "string"
17       },
18       "requestID": {
19         "type": "string"
20       },
21       "closedLoopAlarmStart": {
22         "type": "string"
23       },
24       "closedLoopEventClient": {
25         "type": "string"
26       },
27       "target_type": {
28         "type": "string",
29         "enum": [
30           "VNF",
31           "VM"
32         ]
33       },
34       "target": {
35         "type": "string",
36         "enum": [
37           "generic-vnf.vnf-id",
38           "vserver.vserver-name"
39         ]
40       },
41       "AAI": {
42         "anyOf": [
43           {
44             "generic-vnf.vnf-id": {
45               "type": "string"
46             }
47           },
48           {
49             "vserver.vserver-name": {
50               "type": "string"
51             }
52           }
53         ]
54       },
55       "from": {
56         "type": "string",
57         "enum": [
58           "DCAE"
59         ]
60       },
61       "policyScope": {
62         "type": "string"
63       },
64       "policyName": {
65         "type": "string"
66       },
67       "policyVersion": {
68         "type": "string"
69       },
70       "closedLoopEventStatus": {
71         "type": "string",
72         "enum": [
73           "ONSET"
74         ]
75       }
76     }
77   }
78 }