From fad08b9ed8b024aa0be848adc6e64b1f3c00c308 Mon Sep 17 00:00:00 2001
From: zulfiqar <sana.zulfiqar@xflowresearch.com>
Date: Mon, 8 Mar 2021 13:35:27 +0100
Subject: [PATCH] updated schema

---
 ...formationAvailableNotification.schema.json | 30 +++++++------------
 1 file changed, 10 insertions(+), 20 deletions(-)

diff --git a/SOL005/NSPerformanceManagement-API/schemas/PerformanceInformationAvailableNotification.schema.json b/SOL005/NSPerformanceManagement-API/schemas/PerformanceInformationAvailableNotification.schema.json
index ea16ab93..0c22f94e 100644
--- a/SOL005/NSPerformanceManagement-API/schemas/PerformanceInformationAvailableNotification.schema.json
+++ b/SOL005/NSPerformanceManagement-API/schemas/PerformanceInformationAvailableNotification.schema.json
@@ -4,8 +4,9 @@
   "required": [
     "id",
     "notificationType",
-    "subscriptionId",
     "timeStamp",
+    "pmJobId",
+    "objectType",
     "objectInstanceId",
     "_links"
   ],
@@ -18,15 +19,19 @@
       "description": "Discriminator for the different notification types. Shall be set to \"PerformanceInformationAvailableNotification\" for this notification type.\n",
       "type": "string"
     },
-    "subscriptionId": {
-      "description": "An identifier with the intention of being globally unique.\n",
-      "type": "string"
-    },
     "timeStamp": {
       "description": "Date-time stamp.  Representation: String formatted according to IETF RFC 3339.\n",
       "type": "string",
       "format": "date-time"
     },
+    "pmJobId": {
+      "description": "Identifier of the PM job for which performance information is available.\n",
+      "type": "string"
+    },
+    "objectType": {
+      "description": "Type of the measured object.\n",
+      "type": "string"
+    },
     "objectInstanceId": {
       "description": "An identifier with the intention of being globally unique.\n",
       "type": "string"
@@ -35,25 +40,10 @@
       "description": "Links to resources related to this notification.\n",
       "type": "object",
       "required": [
-        "subscription",
         "pmJob",
         "performanceReport"
       ],
       "properties": {
-        "subscription": {
-          "description": "This type represents a link to a resource.\n",
-          "type": "object",
-          "required": [
-            "href"
-          ],
-          "properties": {
-            "href": {
-              "description": "URI of the referenced resource.\n",
-              "type": "string",
-              "format": "url"
-            }
-          }
-        },
         "objectInstance": {
           "description": "This type represents a link to a resource.\n",
           "type": "object",
-- 
GitLab