Initial TCA commit into DCAEGEN2
[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": [ "VNF", "VM" ]
30           },
31           "target": {
32             "type": "string",
33             "enum": [ "generic-vnf.vnf-id", "vserver.vserver-name" ]
34           },
35           "AAI": {"anyOf": [
36             {"generic-vnf.vnf-id": {
37               "type": "string"
38             }}, 
39             {"vserver.vserver-name" : {
40               "type": "string"
41             }}]
42           },
43           "from": {
44             "type": "string",
45             "enum": [ "DCAE" ]
46           },
47           "policyScope": {
48             "type": "string"
49           },
50           "policyName": {
51             "type": "string"
52           },
53           "policyVersion": {
54             "type": "string"
55           },
56           "closedLoopEventStatus": {
57             "type": "string",
58             "enum": [ "ONSET" ]
59           }
60
61         }
62    }
63 }