Add support for ABATED alerts within CDAP TCA
[dcaegen2/analytics/tca.git] / dpo / tcaOutput.json
index 03c836f..3f2e16b 100644 (file)
@@ -1,63 +1,78 @@
 {
-    "self": {
-        "name": "TCA Alert Definition",
-        "version": "1.0.0",
-        "description": "The format of the output event from TCA"
-    },
-    "dataformatversion": "1.0.0",
-    "jsonschema": {
-        "name": "TCA Alert",
-        "version": "1.0.0",
-        "properties": {
-          "closedLoopControlame": {
-            "type": "string"
-          },
-          "version": {
-            "type": "string"
-          },
-          "requestID": {
-            "type": "string"
-          },
-          "closedLoopAlarmStart": {
-            "type": "string"
-          },
-          "closedLoopEventClient": {
-            "type": "string"
-          },
-          "target_type": {
-            "type": "string",
-            "enum": [ "VNF", "VM" ]
-          },
-          "target": {
-            "type": "string",
-            "enum": [ "generic-vnf.vnf-id", "vserver.vserver-name" ]
-          },
-          "AAI": {"anyOf": [
-            {"generic-vnf.vnf-id": {
+  "self": {
+    "name": "TCA Alert Definition",
+    "version": "1.0.0",
+    "description": "The format of the output event from TCA"
+  },
+  "dataformatversion": "1.0.0",
+  "jsonschema": {
+    "name": "TCA Alert",
+    "version": "1.0.0",
+    "properties": {
+      "closedLoopControlame": {
+        "type": "string"
+      },
+      "version": {
+        "type": "string"
+      },
+      "requestID": {
+        "type": "string"
+      },
+      "closedLoopAlarmStart": {
+        "type": "string"
+      },
+      "closedLoopEventClient": {
+        "type": "string"
+      },
+      "target_type": {
+        "type": "string",
+        "enum": [
+          "VNF",
+          "VM"
+        ]
+      },
+      "target": {
+        "type": "string",
+        "enum": [
+          "generic-vnf.vnf-id",
+          "vserver.vserver-name"
+        ]
+      },
+      "AAI": {
+        "anyOf": [
+          {
+            "generic-vnf.vnf-id": {
               "type": "string"
-            }}, 
-            {"vserver.vserver-name" : {
-              "type": "string"
-            }}]
-          },
-          "from": {
-            "type": "string",
-            "enum": [ "DCAE" ]
-          },
-          "policyScope": {
-            "type": "string"
+            }
           },
-          "policyName": {
-            "type": "string"
-          },
-          "policyVersion": {
-            "type": "string"
-          },
-          "closedLoopEventStatus": {
-            "type": "string",
-            "enum": [ "ONSET" ]
+          {
+            "vserver.vserver-name": {
+              "type": "string"
+            }
           }
-
-        }
-   }
-}
\ No newline at end of file
+        ]
+      },
+      "from": {
+        "type": "string",
+        "enum": [
+          "DCAE"
+        ]
+      },
+      "policyScope": {
+        "type": "string"
+      },
+      "policyName": {
+        "type": "string"
+      },
+      "policyVersion": {
+        "type": "string"
+      },
+      "closedLoopEventStatus": {
+        "type": "string",
+        "enum": [
+          "ONSET"
+        ]
+      }
+    }
+  }
+}