Commit fad08b9e authored by Sana Zulfiqar's avatar Sana Zulfiqar Committed by Giacomo Bernini
Browse files

updated schema

parent 30ca2392
Loading
Loading
Loading
Loading
+10 −20
Original line number Original line Diff line number Diff line
@@ -4,8 +4,9 @@
  "required": [
  "required": [
    "id",
    "id",
    "notificationType",
    "notificationType",
    "subscriptionId",
    "timeStamp",
    "timeStamp",
    "pmJobId",
    "objectType",
    "objectInstanceId",
    "objectInstanceId",
    "_links"
    "_links"
  ],
  ],
@@ -18,15 +19,19 @@
      "description": "Discriminator for the different notification types. Shall be set to \"PerformanceInformationAvailableNotification\" for this notification type.\n",
      "description": "Discriminator for the different notification types. Shall be set to \"PerformanceInformationAvailableNotification\" for this notification type.\n",
      "type": "string"
      "type": "string"
    },
    },
    "subscriptionId": {
      "description": "An identifier with the intention of being globally unique.\n",
      "type": "string"
    },
    "timeStamp": {
    "timeStamp": {
      "description": "Date-time stamp.  Representation: String formatted according to IETF RFC 3339.\n",
      "description": "Date-time stamp.  Representation: String formatted according to IETF RFC 3339.\n",
      "type": "string",
      "type": "string",
      "format": "date-time"
      "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": {
    "objectInstanceId": {
      "description": "An identifier with the intention of being globally unique.\n",
      "description": "An identifier with the intention of being globally unique.\n",
      "type": "string"
      "type": "string"
@@ -35,25 +40,10 @@
      "description": "Links to resources related to this notification.\n",
      "description": "Links to resources related to this notification.\n",
      "type": "object",
      "type": "object",
      "required": [
      "required": [
        "subscription",
        "pmJob",
        "pmJob",
        "performanceReport"
        "performanceReport"
      ],
      ],
      "properties": {
      "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": {
        "objectInstance": {
          "description": "This type represents a link to a resource.\n",
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "type": "object",