Fixes discrepancies and missing params in JSON models
[osm/MON.git] / osm_mon / core / models / notify_alarm.json
index 52f3107..62efa50 100644 (file)
 {
   "schema_version": { "type": "string" },
   "schema_type": { "type": "string" },
-  "definitions":
+  "notify_details":
   {
-    "notify_details":
-    {
-      "alarm_uuid": { "type": "string" },
-      "resource_uuid": { "type": "string" },
-      "description": { "type": "string" },
-      "tenant_uuid": { "type": "string" },
-      "vim_type": { "type": "string" },
-      "severity": { "type" : "string" },
-      "status": { "type": "string" },
-      "start_date": { "type": "string" },
-      "update_date": { "type": "string" },
-      "cancel_date": { "type": "string" }
-    },
-    "required": [ "schema_version",
-                  "schema_type",
-                  "alarm_uuid",
-                  "resource_uuid",
-                  "vim_type",
-                  "severity",
-                  "status",
-                  "start_date" ]
-  }
-}
\ No newline at end of file
+    "alarm_uuid": { "type": "string" },
+    "description": { "type": "string" },
+    "severity": { "type" : "string" },
+    "status": { "type": "string" },
+    "operation": { "type": "string" },
+    "threshold_value": { "type": "string" },
+    "metric_name": { "type": "string" },
+    "ns_id": { "type": "string"},
+    "vnf_member_index": { "type": "integer"},
+    "vdu_name": { "type": "string"},
+    "start_date": { "type": "string" },
+    "update_date": { "type": "string" },
+    "cancel_date": { "type": "string" }
+  },
+  "required": [ "schema_version",
+                "schema_type",
+                "alarm_uuid",
+                "resource_uuid",
+                "severity",
+                "status",
+                "start_date" ]
+}