Commit 2f115802 authored by Mudassar Khan's avatar Mudassar Khan Committed by Giacomo Bernini
Browse files

editorial changes: Reformatted the json schemas

parent e18d07af
Loading
Loading
Loading
Loading
+37 −11
Original line number Diff line number Diff line
{
  "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n",
  "type": "object",
  "required": ["id", "callbackUri", "verbosity", "_links"],
  "required": [
    "id",
    "callbackUri",
    "verbosity",
    "_links"
  ],
  "properties": {
    "id": {
      "description": "An identifier with the intention of being globally unique.\n",
@@ -18,20 +23,28 @@
            {
              "oneOf": [
                {
                  "required": ["vnfdId"]
                  "required": [
                    "vnfdId"
                  ]
                },
                {
                  "required": ["vnfProductsFromProviders"]
                  "required": [
                    "vnfProductsFromProviders"
                  ]
                }
              ]
            },
            {
              "oneOf": [
                {
                  "required": ["vnfInstanceIds"]
                  "required": [
                    "vnfInstanceIds"
                  ]
                },
                {
                  "required": ["vnfInstanceNames"]
                  "required": [
                    "vnfInstanceNames"
                  ]
                }
              ]
            }
@@ -50,7 +63,9 @@
              "type": "array",
              "items": {
                "type": "object",
                "required": ["vnfProvider"],
                "required": [
                  "vnfProvider"
                ],
                "properties": {
                  "vnfProvider": {
                    "description": "Name of the VNF provider to match.\n",
@@ -61,7 +76,9 @@
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": ["vnfProductName"],
                      "required": [
                        "vnfProductName"
                      ],
                      "properties": {
                        "vnfProductName": {
                          "description": "Name of the VNF product to match.\n",
@@ -72,7 +89,9 @@
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": ["vnfSoftwareVersion"],
                            "required": [
                              "vnfSoftwareVersion"
                            ],
                            "properties": {
                              "vnfSoftwareVersion": {
                                "description": "A version.\n",
@@ -172,17 +191,24 @@
    "verbosity": {
      "description": "The enumeration LcmOpOccNotificationVerbosityType provides values to control the verbosity of LCM operation occurrence notifications. * FULL: This signals a full notification which contains all change details. * SHORT:  This signals a short notification which omits large-volume change details to reduce the size of data to\n          be sent via the notification mechanism.\n",
      "type": "string",
      "enum": ["FULL", "SHORT"]
      "enum": [
        "FULL",
        "SHORT"
      ]
    },
    "_links": {
      "description": "Links to resources related to this resource.\n",
      "type": "object",
      "required": ["self"],
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "description": "This type represents a link to a resource using an absolute URI.\n",
          "type": "object",
          "required": ["href"],
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "String formatted according to IETF RFC 3986.\n",
+37 −11
Original line number Diff line number Diff line
@@ -3,7 +3,12 @@
  "items": {
    "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n",
    "type": "object",
    "required": ["id", "callbackUri", "verbosity", "_links"],
    "required": [
      "id",
      "callbackUri",
      "verbosity",
      "_links"
    ],
    "properties": {
      "id": {
        "description": "An identifier with the intention of being globally unique.\n",
@@ -20,20 +25,28 @@
              {
                "oneOf": [
                  {
                    "required": ["vnfdId"]
                    "required": [
                      "vnfdId"
                    ]
                  },
                  {
                    "required": ["vnfProductsFromProviders"]
                    "required": [
                      "vnfProductsFromProviders"
                    ]
                  }
                ]
              },
              {
                "oneOf": [
                  {
                    "required": ["vnfInstanceIds"]
                    "required": [
                      "vnfInstanceIds"
                    ]
                  },
                  {
                    "required": ["vnfInstanceNames"]
                    "required": [
                      "vnfInstanceNames"
                    ]
                  }
                ]
              }
@@ -52,7 +65,9 @@
                "type": "array",
                "items": {
                  "type": "object",
                  "required": ["vnfProvider"],
                  "required": [
                    "vnfProvider"
                  ],
                  "properties": {
                    "vnfProvider": {
                      "description": "Name of the VNF provider to match.\n",
@@ -63,7 +78,9 @@
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": ["vnfProductName"],
                        "required": [
                          "vnfProductName"
                        ],
                        "properties": {
                          "vnfProductName": {
                            "description": "Name of the VNF product to match.\n",
@@ -74,7 +91,9 @@
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": ["vnfSoftwareVersion"],
                              "required": [
                                "vnfSoftwareVersion"
                              ],
                              "properties": {
                                "vnfSoftwareVersion": {
                                  "description": "A version.\n",
@@ -174,17 +193,24 @@
      "verbosity": {
        "description": "The enumeration LcmOpOccNotificationVerbosityType provides values to control the verbosity of LCM operation occurrence notifications. * FULL: This signals a full notification which contains all change details. * SHORT:  This signals a short notification which omits large-volume change details to reduce the size of data to\n          be sent via the notification mechanism.\n",
        "type": "string",
        "enum": ["FULL", "SHORT"]
        "enum": [
          "FULL",
          "SHORT"
        ]
      },
      "_links": {
        "description": "Links to resources related to this resource.\n",
        "type": "object",
        "required": ["self"],
        "required": [
          "self"
        ],
        "properties": {
          "self": {
            "description": "This type represents a link to a resource using an absolute URI.\n",
            "type": "object",
            "required": ["href"],
            "required": [
              "href"
            ],
            "properties": {
              "href": {
                "description": "String formatted according to IETF RFC 3986.\n",
+38 −12
Original line number Diff line number Diff line
{
  "description": "This type represents a subscription related to notifications about VNF lifecycle changes.\n",
  "type": "object",
  "required": ["id", "callbackUri", "verbosity", "_links"],
  "required": [
    "id",
    "callbackUri",
    "verbosity",
    "_links"
  ],
  "properties": {
    "id": {
      "description": "An identifier with the intention of being globally unique.\n",
@@ -18,20 +23,28 @@
            {
              "oneOf": [
                {
                  "required": ["vnfdId"]
                  "required": [
                    "vnfdId"
                  ]
                },
                {
                  "required": ["vnfProductsFromProviders"]
                  "required": [
                    "vnfProductsFromProviders"
                  ]
                }
              ]
            },
            {
              "oneOf": [
                {
                  "required": ["vnfInstanceIds"]
                  "required": [
                    "vnfInstanceIds"
                  ]
                },
                {
                  "required": ["vnfInstanceNames"]
                  "required": [
                    "vnfInstanceNames"
                  ]
                }
              ]
            }
@@ -50,7 +63,9 @@
              "type": "array",
              "items": {
                "type": "object",
                "required": ["vnfProvider"],
                "required": [
                  "vnfProvider"
                ],
                "properties": {
                  "vnfProvider": {
                    "description": "Name of the VNF provider to match.\n",
@@ -61,7 +76,9 @@
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": ["vnfProductName"],
                      "required": [
                        "vnfProductName"
                      ],
                      "properties": {
                        "vnfProductName": {
                          "description": "Name of the VNF product to match.\n",
@@ -72,7 +89,9 @@
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": ["vnfSoftwareVersion"],
                            "required": [
                              "vnfSoftwareVersion"
                            ],
                            "properties": {
                              "vnfSoftwareVersion": {
                                "description": "A version.\n",
@@ -172,17 +191,24 @@
    "verbosity": {
      "description": "The enumeration LcmOpOccNotificationVerbosityType provides values to control the verbosity of LCM operation occurrence notifications. * FULL: This signals a full notification which contains all change details. * SHORT:  This signals a short notification which omits large-volume change details to reduce the size of data to\n          be sent via the notification mechanism.\n",
      "type": "string",
      "enum": ["FULL", "SHORT"]
      "enum": [
        "FULL",
        "SHORT"
      ]
    },
    "_links": {
      "description": "Links to resources related to this resource.\n",
      "type": "object",
      "required": ["self"],
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "description": "This type represents a link to a resource using an absolute URI.\n",
          "type": "object",
          "required": ["href"],
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "String formatted according to IETF RFC 3986.\n",
+16 −5
Original line number Diff line number Diff line
@@ -17,7 +17,9 @@
    "notificationType": {
      "description": "Discriminator for the different notification types. Shall be set to \"VnfIdentifierCreationNotification\" for this notification type.\n",
      "type": "string",
      "enum": ["VnfIdentifierCreationNotification"]
      "enum": [
        "VnfIdentifierCreationNotification"
      ]
    },
    "subscriptionId": {
      "description": "An identifier with the intention of being globally unique.\n",
@@ -35,12 +37,17 @@
    "_links": {
      "description": "This type represents the links to resources that a notification can contain.\n",
      "type": "object",
      "required": ["vnfInstance", "subscription"],
      "required": [
        "vnfInstance",
        "subscription"
      ],
      "properties": {
        "vnfInstance": {
          "description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
          "type": "object",
          "required": ["href"],
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "String formatted according to IETF RFC 3986.\n",
@@ -51,7 +58,9 @@
        "subscription": {
          "description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
          "type": "object",
          "required": ["href"],
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "String formatted according to IETF RFC 3986.\n",
@@ -62,7 +71,9 @@
        "vnfLcmOpOcc": {
          "description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
          "type": "object",
          "required": ["href"],
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "String formatted according to IETF RFC 3986.\n",
+181 −51

File changed.

Preview size limit exceeded, changes collapsed.

Loading