{
  "description": "This type represents a response for Query NS operation.  It shall comply with the provisions defined in Table 6.5.2.10-1.\n",
  "type": "object",
  "required": [
    "id",
    "nsInstanceName",
    "nsInstanceDescription",
    "nsdId",
    "nsdInfoId",
    "nsState",
    "_links"
  ],
  "properties": {
    "id": {
      "description": "An identifier with the intention of being globally unique.\n",
      "type": "string"
    },
    "nsInstanceName": {
      "description": "Human readable name of the NS instance.\n",
      "type": "string"
    },
    "nsInstanceDescription": {
      "description": "Human readable description of the NS instance.\n",
      "type": "string"
    },
    "nsdId": {
      "description": "An identifier with the intention of being globally unique.\n",
      "type": "string"
    },
    "nsdInfoId": {
      "description": "An identifier with the intention of being globally unique.\n",
      "type": "string"
    },
    "flavourId": {
      "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
      "type": "string"
    },
    "vnfInstance": {
      "description": "Information on constituent VNF(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "This type represents a VNF instance. Clause B.3.2 of ETSI GS NFV-SOL 003 [4] provides examples illustrating the relationship among the different run-time information elements (CP, VL and link ports) used to represent the connectivity of a VNF.\n",
        "type": "object",
        "required": [
          "id",
          "vnfdId",
          "vnfProvider",
          "vnfProductName",
          "vnfSoftwareVersion",
          "vnfdVersion",
          "vnfPkgId",
          "instantiationState"
        ],
        "properties": {
          "id": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "vnfInstanceName": {
            "description": "Name of the VNF instance. Modifications to this attribute can be requested using the \"ModifyVnfInfoData\" structure.\n",
            "type": "string"
          },
          "vnfInstanceDescription": {
            "description": "Human-readable description of the VNF instance. Modifications to this attribute can be requested using the \"ModifyVnfInfoData\" structure.\n",
            "type": "string"
          },
          "vnfdId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "vnfProvider": {
            "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n",
            "type": "string"
          },
          "vnfProductName": {
            "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n",
            "type": "string"
          },
          "vnfSoftwareVersion": {
            "description": "A Version. Representation: string of variable length.\n",
            "type": "string"
          },
          "vnfdVersion": {
            "description": "A Version. Representation: string of variable length.\n",
            "type": "string"
          },
          "vnfPkgId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "vnfConfigurableProperties": {
            "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
            "type": "object"
          },
          "vimId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "instantiationState": {
            "description": "The instantiation state of the VNF.\n",
            "type": "string",
            "enum": [
              "NOT_INSTANTIATED",
              "INSTANTIATED"
            ]
          },
          "instantiatedVnfInfo": {
            "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n",
            "type": "object",
            "required": [
              "flavourId",
              "vnfState",
              "extCpInfo"
            ],
            "properties": {
              "flavourId": {
                "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                "type": "string"
              },
              "vnfState": {
                "type": "string",
                "enum": [
                  "STARTED",
                  "STOPPED"
                ]
              },
              "scaleStatus": {
                "description": "Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n",
                "type": "array",
                "items": {
                  "required": [
                    "aspectId",
                    "scaleLevel"
                  ],
                  "type": "object",
                  "properties": {
                    "aspectId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "scaleLevel": {
                      "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n",
                      "type": "integer"
                    }
                  }
                }
              },
              "maxScaleLevels": {
                "description": "Maximum allowed scale levels of the VNF, one entry per aspect. This attribute shall be present if the VNF supports scaling.\n",
                "type": "array",
                "items": {
                  "required": [
                    "aspectId",
                    "scaleLevel"
                  ],
                  "type": "object",
                  "properties": {
                    "aspectId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "scaleLevel": {
                      "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n",
                      "type": "integer"
                    }
                  }
                }
              },
              "extCpInfo": {
                "description": "Information about the external CPs exposed by the VNF instance. When trunking is enabled, the list of entries includes both, external CPs corresponding to parent ports of a trunk, and external CPs associated to sub-ports of a trunk.\n",
                "type": "array",
                "minItems": 1,
                "items": {
                  "description": "This type represents information about an external CP of a VNF. It shall comply  with the provisions defined in Table 6.5.3.70-1.\n",
                  "type": "object",
                  "required": [
                    "id",
                    "cpdId"
                  ],
                  "oneOf": [
                    {
                      "required": [
                        "associatedVnfcCpId"
                      ]
                    },
                    {
                      "required": [
                        "associatedVnfVirtualLinkId"
                      ]
                    }
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                      "type": "string"
                    },
                    "cpdId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "cpConfigId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "cpProtocolInfo": {
                      "description": "Network protocol information for this CP.\n",
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "description": "This type describes the protocol layer(s) that a CP or SAP uses together with protocol-related information, like addresses. It shall comply with the provisions defined in Table 6.5.3.58-1.\n",
                        "type": "object",
                        "required": [
                          "layerProtocol",
                          "ipOverEthernet"
                        ],
                        "properties": {
                          "layerProtocol": {
                            "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET See note.\n",
                            "type": "string",
                            "enum": [
                              "IP_OVER_ETHERNET"
                            ]
                          },
                          "ipOverEthernet": {
                            "description": "This type represents information about a network address that has been assigned. It shall comply with the provisions defined in Table 6.5.3.18-1.\n",
                            "type": "object",
                            "anyOf": [
                              {
                                "required": [
                                  "macAddress"
                                ]
                              },
                              {
                                "required": [
                                  "ipAddresses"
                                ]
                              }
                            ],
                            "properties": {
                              "macAddress": {
                                "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                                "type": "string",
                                "format": "MAC"
                              },
                              "segmentationId": {
                                "description": "Identification of the network segment to which the Cp instance connects to. If the Cp instance represents a subport in a trunk, \"segmentationId\" shall be present. Otherwise it shall not be present. Depending on the NFVI networking infrastructure, the \"segmentationId\" may indicate the actual network segment value (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an identifier used between the application and the NFVI networking infrastructure to identify the network sub-interface of the trunk port in question. In the latter case the NFVI infrastructure will map this local \"segmentationId\" to whatever \"segmentationId\" is actually used by the NFVI’s transport technology.\n",
                                "type": "string"
                              },
                              "ipAddresses": {
                                "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "type"
                                  ],
                                  "oneOf": [
                                    {
                                      "required": [
                                        "addresses"
                                      ]
                                    },
                                    {
                                      "required": [
                                        "addressRange"
                                      ]
                                    }
                                  ],
                                  "properties": {
                                    "type": {
                                      "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                                      "type": "string",
                                      "enum": [
                                        "IPV4",
                                        "IPV6"
                                      ]
                                    },
                                    "addresses": {
                                      "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
                                      "type": "array",
                                      "items": {
                                        "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                        "type": "string",
                                        "format": "IP"
                                      }
                                    },
                                    "isDynamic": {
                                      "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                                      "type": "boolean"
                                    },
                                    "addressRange": {
                                      "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
                                      "type": "object",
                                      "required": [
                                        "minAddress",
                                        "maxAddress"
                                      ],
                                      "properties": {
                                        "minAddress": {
                                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                          "type": "string",
                                          "format": "IP"
                                        },
                                        "maxAddress": {
                                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                          "type": "string",
                                          "format": "IP"
                                        }
                                      }
                                    },
                                    "subnetId": {
                                      "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                      "type": "string"
                                    }
                                  }
                                }
                              },
                              "type": {
                                "description": "The type of the IP addresses\n",
                                "type": "string",
                                "enum": [
                                  "PV4",
                                  "PV6"
                                ]
                              },
                              "addresses": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              },
                              "isDynamic": {
                                "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                                "type": "boolean"
                              },
                              "addressRange": {
                                "description": "An IP address range used, e.g. in case of egress connections. See note.\n",
                                "type": "object",
                                "required": [
                                  "minAddress",
                                  "maxAddress"
                                ],
                                "properties": {
                                  "minAddress": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  },
                                  "maxAddress": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  }
                                }
                              },
                              "minAddress": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              },
                              "maxAddress": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              },
                              "subnetId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "extLinkPortId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "metadata": {
                      "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                      "type": "object"
                    },
                    "associatedVnfcCpId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "associatedVnfVirtualLinkId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    }
                  }
                }
              },
              "extVirtualLinkInfo": {
                "description": "Information about the external VLs the VNF instance is connected to.\n",
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "resourceHandle"
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "resourceHandle": {
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                      "type": "object",
                      "required": [
                        "resourceId"
                      ],
                      "properties": {
                        "vimId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceProviderId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceId": {
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                          "type": "string"
                        },
                        "vimLevelResourceType": {
                          "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                          "type": "string"
                        }
                      }
                    },
                    "extLinkPorts": {
                      "description": "Link ports of this VL.\n",
                      "type": "array",
                      "items": {
                        "description": "This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL. \n",
                        "type": "object",
                        "required": [
                          "id",
                          "resourceHandle"
                        ],
                        "properties": {
                          "id": {
                            "description": "An identifier with the intention of being globally unique.\n",
                            "type": "string"
                          },
                          "resourceHandle": {
                            "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                            "type": "object",
                            "required": [
                              "resourceId"
                            ],
                            "properties": {
                              "vimId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceProviderId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              },
                              "vimLevelResourceType": {
                                "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                                "type": "string"
                              }
                            }
                          },
                          "cpInstanceId": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "currentVnfExtCpData": {
                      "description": "This type represents configuration information for external CPs created from a CPD.\n",
                      "type": "object",
                      "required": [
                        "cpdId"
                      ],
                      "properties": {
                        "cpdId": {
                          "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                          "type": "string"
                        },
                        "cpConfig": {
                          "description": "Map of instance data that need to be configured on the CP instances created from the respective CPD. The key of the map which identifies the individual VnfExtCpConfig entries is managed by the API consumer. The entries shall be applied by the VNFM according to the rules of JSON Merge Patch (see IETF RFC 7396). The map entry value shall be set to \"null\" in order to delete a \"VnfExtCpConfig\" entry identified by a particular key value from the map, i.e. for the disconnection of an existing external CP instance addressed by cpInstanceId in the deleted map entry from a particular external virtual link, and deletion of that instance in case it represents a subport. Deleting the last key from the map removes the affected instance of the \"VnfExtCpData\" structure from its parent data structure. Within one VNF instance, all VNFC instances created from a particular VDU have the same external connectivity. Thus, given a particular value of the “cpdId’ attribute, there shall be one “cpConfig” entry for each VNFC instance that has been or can be created from a VDU which includes a CPD identified by the “cpdId” attribute. If the cpConfig represents a subport in a trunk, all “cpConfig” entries in this list shall have the same segmentationId, which means they are connected to the same set of external VLs via the trunk.\n",
                          "type": "object",
                          "additionalProperties": {
                            "description": "This type represents an externally provided link port or network address information per instance of an external connection point. In case a link port is provided, the VNFM shall use that link port when connecting the external CP to the external VL. In a link port is not provided, the VNFM shall create a link port on the external VL, and use that link port to connect the external CP to the external VL.\n",
                            "type": "object",
                            "anyOf": [
                              {
                                "required": [
                                  "linkPortId"
                                ]
                              },
                              {
                                "required": [
                                  "cpProtocolData"
                                ]
                              }
                            ],
                            "properties": {
                              "parentCpConfigId": {
                                "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                                "type": "string"
                              },
                              "linkPortId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "cpProtocolData": {
                                "description": "Parameters for configuring the network protocols on the link port that connects the CP to a VL. The following conditions apply to the attributes \"linkPortId\" and \"cpProtocolData\": * At least one of the \"linkPortId\" and \"cpProtocolData\" attributes\n  shall be present for a to-be-created external CP instance or an\n  existing external CP instance.\n* If the \"linkPortId\" attribute is absent, the VNFM shall create a\n  link port.\n* If the \"cpProtocolData\" attribute is absent, the \"linkPortId\"\n  attribute shall be provided referencing a pre-created link port,\n  and the VNFM can use means outside the scope of the present\n  document to obtain the pre-configured address information for the\n  connection point from the resource representing the link port.\n* If both \"cpProtocolData\" and \"linkportId\" are provided, the API\n  consumer shall ensure that the cpProtocolData can be used with the\n  pre-created link port referenced by \"linkPortId\".\n",
                                "type": "array",
                                "items": {
                                  "description": "This type represents network protocol data.\n",
                                  "type": "object",
                                  "required": [
                                    "layerProtocol"
                                  ],
                                  "properties": {
                                    "layerProtocol": {
                                      "description": "Identifier of layer(s) and protocol(s). Permitted values: IP_OVER_ETHERNET.\n",
                                      "type": "string",
                                      "enum": [
                                        "IP_OVER_ETHERNET"
                                      ]
                                    },
                                    "ipOverEthernet": {
                                      "description": "This type represents network address data for IP over Ethernet.\n",
                                      "type": "object",
                                      "anyOf": [
                                        {
                                          "required": [
                                            "ipAddresses"
                                          ]
                                        },
                                        {
                                          "required": [
                                            "macAddress"
                                          ]
                                        }
                                      ],
                                      "properties": {
                                        "macAddress": {
                                          "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                                          "type": "string",
                                          "format": "MAC"
                                        },
                                        "segmentationId": {
                                          "description": "Identification of the network segment to which the Cp instance connects to. If the Cp instance represents a subport in a trunk, \"segmentationId\" shall be present. Otherwise it shall not be present. Depending on the NFVI networking infrastructure, the \"segmentationId\" may indicate the actual network segment value (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an identifier used between the application and the NFVI networking infrastructure to identify the network sub-interface of the trunk port in question. In the latter case the NFVI infrastructure will map this local \"segmentationId\" to whatever \"segmentationId\" is actually used by the NFVI’s transport technology.\n",
                                          "type": "string"
                                        },
                                        "ipAddresses": {
                                          "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n",
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "required": [
                                              "type"
                                            ],
                                            "oneOf": [
                                              {
                                                "required": [
                                                  "fixedAddresses"
                                                ]
                                              },
                                              {
                                                "required": [
                                                  "numDynamicAddresses"
                                                ]
                                              },
                                              {
                                                "required": [
                                                  "addressRange"
                                                ]
                                              }
                                            ],
                                            "properties": {
                                              "type": {
                                                "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                                                "type": "string",
                                                "enum": [
                                                  "IPV4",
                                                  "IPV6"
                                                ]
                                              },
                                              "fixedAddresses": {
                                                "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
                                                "type": "array",
                                                "items": {
                                                  "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                                  "type": "string",
                                                  "format": "IP"
                                                }
                                              },
                                              "numDynamicAddresses": {
                                                "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
                                                "type": "integer"
                                              },
                                              "addressRange": {
                                                "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n",
                                                "type": "object",
                                                "required": [
                                                  "minAddress",
                                                  "maxAddress"
                                                ],
                                                "properties": {
                                                  "minAddress": {
                                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                                    "type": "string",
                                                    "format": "IP"
                                                  },
                                                  "maxAddress": {
                                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                                    "type": "string",
                                                    "format": "IP"
                                                  }
                                                }
                                              },
                                              "subnetId": {
                                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                                "type": "string"
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "extManagedVirtualLinkInfo": {
                "description": "External virtual links the VNF instance is connected to. It is possible to have several ExtManagedVirtualLinkInfo for the same VNF internal VL in case of a multi-site VNF spanning several VIMs. The set of ExtManagedVirtualLinkInfo corresponding to the same VNF internal VL shall indicate so by referencing to the same VnfVirtualLinkDesc and externally-managed multi-site VL instance (refer to clause 6.5.3.59).\n",
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "vnfVirtualLinkDescId"
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vnfVirtualLinkDescId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "networkResource": {
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                      "type": "object",
                      "required": [
                        "resourceId"
                      ],
                      "properties": {
                        "vimId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceProviderId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceId": {
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                          "type": "string"
                        },
                        "vimLevelResourceType": {
                          "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                          "type": "string"
                        }
                      }
                    },
                    "vnfLinkPorts": {
                      "description": "Link ports of this VL.\n",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "resourceHandle"
                        ],
                        "properties": {
                          "id": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "resourceHandle": {
                            "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                            "type": "object",
                            "required": [
                              "resourceId"
                            ],
                            "properties": {
                              "vimId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceProviderId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              },
                              "vimLevelResourceType": {
                                "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                                "type": "string"
                              }
                            }
                          },
                          "cpInstanceId": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "cpInstanceType": {
                            "description": "Type of the CP instance that is identified by cpInstanceId. Shall be present if \"cpInstanceId\" is present, and shall be absent otherwise. Permitted values: * VNFC_CP: The link port is connected to a VNFC CP * EXT_CP: The link port is associated to an external CP.\n",
                            "type": "string",
                            "enum": [
                              "VNFC_CP",
                              "EXT_CP"
                            ]
                          }
                        }
                      }
                    },
                    "extManagedMultisiteVirtualLinkId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    }
                  }
                }
              },
              "monitoringParameters": {
                "description": "Performance metrics tracked by the VNFM (e.g. for  auto-scaling purposes) as identified by the VNF  provider in the VNFD.\n",
                "type": "array",
                "items": {
                  "description": "This type represents a monitoring parameter that is tracked by the VNFM, for example,  for auto-scaling purposes. It shall comply with the provisions defined in Table 6.5.3.69-1.\n",
                  "type": "object",
                  "required": [
                    "id",
                    "performanceMetric"
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "name": {
                      "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n",
                      "type": "string"
                    },
                    "performanceMetric": {
                      "description": "Performance metric that is monitored. This attribute shall contain the related  \"Measurement Name\" value as defined in clause 7.2 of ETSI GS NFV-IFA 027.\n",
                      "type": "string"
                    }
                  }
                }
              },
              "localizationLanguage": {
                "description": "Information about localization language of the VNF (includes e.g. strings in the VNFD). The localization languages supported by a VNF can be declared in the VNFD, and localization language selection can take place at instantiation time. The value shall comply with the format defined in IETF RFC 5646.\n",
                "type": "string"
              },
              "vnfcResourceInfo": {
                "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n",
                "type": "array",
                "items": {
                  "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n",
                  "type": "object",
                  "required": [
                    "id",
                    "vduId",
                    "computeResource"
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vduId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "computeResource": {
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                      "type": "object",
                      "required": [
                        "resourceId"
                      ],
                      "properties": {
                        "vimId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceProviderId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceId": {
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                          "type": "string"
                        },
                        "vimLevelResourceType": {
                          "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                          "type": "string"
                        }
                      }
                    },
                    "storageResourceIds": {
                      "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n",
                      "type": "array",
                      "items": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      }
                    },
                    "reservationId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vnfcCpInfo": {
                      "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is exposed as an external CP of the VNF instance or is connected to an external CP of the VNF instance. A VNFC CP is \"connected to\" an external CP if the VNFC CP is connected to an internal VL that exposes an external CP. A VNFC CP is \"exposed as\" an external CP if it is connected directly to an external VL. May be present otherwise.\n",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "cpdId"
                        ],
                        "properties": {
                          "id": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "cpdId": {
                            "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                            "type": "string"
                          },
                          "vnfExtCpId": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "cpProtocolInfo": {
                            "description": "Network protocol information for this CP. May be omitted if the VNFC CP is exposed as an external CP. The information can be omitted because it is already available as part of the external CP information.\n",
                            "type": "array",
                            "items": {
                              "description": "This type describes the protocol layer(s) that a CP or SAP uses together with protocol-related information, like addresses. It shall comply with the provisions defined in Table 6.5.3.58-1.\n",
                              "type": "object",
                              "required": [
                                "layerProtocol",
                                "ipOverEthernet"
                              ],
                              "properties": {
                                "layerProtocol": {
                                  "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET See note.\n",
                                  "type": "string",
                                  "enum": [
                                    "IP_OVER_ETHERNET"
                                  ]
                                },
                                "ipOverEthernet": {
                                  "description": "This type represents information about a network address that has been assigned. It shall comply with the provisions defined in Table 6.5.3.18-1.\n",
                                  "type": "object",
                                  "anyOf": [
                                    {
                                      "required": [
                                        "macAddress"
                                      ]
                                    },
                                    {
                                      "required": [
                                        "ipAddresses"
                                      ]
                                    }
                                  ],
                                  "properties": {
                                    "macAddress": {
                                      "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                                      "type": "string",
                                      "format": "MAC"
                                    },
                                    "segmentationId": {
                                      "description": "Identification of the network segment to which the Cp instance connects to. If the Cp instance represents a subport in a trunk, \"segmentationId\" shall be present. Otherwise it shall not be present. Depending on the NFVI networking infrastructure, the \"segmentationId\" may indicate the actual network segment value (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an identifier used between the application and the NFVI networking infrastructure to identify the network sub-interface of the trunk port in question. In the latter case the NFVI infrastructure will map this local \"segmentationId\" to whatever \"segmentationId\" is actually used by the NFVI’s transport technology.\n",
                                      "type": "string"
                                    },
                                    "ipAddresses": {
                                      "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "required": [
                                          "type"
                                        ],
                                        "oneOf": [
                                          {
                                            "required": [
                                              "addresses"
                                            ]
                                          },
                                          {
                                            "required": [
                                              "addressRange"
                                            ]
                                          }
                                        ],
                                        "properties": {
                                          "type": {
                                            "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                                            "type": "string",
                                            "enum": [
                                              "IPV4",
                                              "IPV6"
                                            ]
                                          },
                                          "addresses": {
                                            "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
                                            "type": "array",
                                            "items": {
                                              "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                              "type": "string",
                                              "format": "IP"
                                            }
                                          },
                                          "isDynamic": {
                                            "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                                            "type": "boolean"
                                          },
                                          "addressRange": {
                                            "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
                                            "type": "object",
                                            "required": [
                                              "minAddress",
                                              "maxAddress"
                                            ],
                                            "properties": {
                                              "minAddress": {
                                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                                "type": "string",
                                                "format": "IP"
                                              },
                                              "maxAddress": {
                                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                                "type": "string",
                                                "format": "IP"
                                              }
                                            }
                                          },
                                          "subnetId": {
                                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                            "type": "string"
                                          }
                                        }
                                      }
                                    },
                                    "type": {
                                      "description": "The type of the IP addresses\n",
                                      "type": "string",
                                      "enum": [
                                        "PV4",
                                        "PV6"
                                      ]
                                    },
                                    "addresses": {
                                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                      "type": "string",
                                      "format": "IP"
                                    },
                                    "isDynamic": {
                                      "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                                      "type": "boolean"
                                    },
                                    "addressRange": {
                                      "description": "An IP address range used, e.g. in case of egress connections. See note.\n",
                                      "type": "object",
                                      "required": [
                                        "minAddress",
                                        "maxAddress"
                                      ],
                                      "properties": {
                                        "minAddress": {
                                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                          "type": "string",
                                          "format": "IP"
                                        },
                                        "maxAddress": {
                                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                          "type": "string",
                                          "format": "IP"
                                        }
                                      }
                                    },
                                    "minAddress": {
                                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                      "type": "string",
                                      "format": "IP"
                                    },
                                    "maxAddress": {
                                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                      "type": "string",
                                      "format": "IP"
                                    },
                                    "subnetId": {
                                      "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "vnfLinkPortId": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "metadata": {
                            "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                            "type": "object"
                          }
                        }
                      }
                    },
                    "metadata": {
                      "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                      "type": "object"
                    }
                  }
                }
              },
              "virtualLinkResourceInfo": {
                "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n",
                "type": "array",
                "items": {
                  "description": "This type represents the information that allows addressing a virtualised resource that is used by an internal VL instance in a VNF instance.\n",
                  "type": "object",
                  "required": [
                    "id",
                    "vnfVirtualLinkDescId",
                    "networkResource"
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vnfVirtualLinkDescId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "networkResource": {
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                      "type": "object",
                      "required": [
                        "resourceId"
                      ],
                      "properties": {
                        "vimId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceProviderId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceId": {
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                          "type": "string"
                        },
                        "vimLevelResourceType": {
                          "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                          "type": "string"
                        }
                      }
                    },
                    "reservationId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vnfLinkPorts": {
                      "description": "Links ports of this VL. Shall be present when the linkPort is used for external connectivity by the VNF (refer to VnfLinkPortInfo). May be present otherwise.\n",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "resourceHandle"
                        ],
                        "properties": {
                          "id": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "resourceHandle": {
                            "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                            "type": "object",
                            "required": [
                              "resourceId"
                            ],
                            "properties": {
                              "vimId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceProviderId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              },
                              "vimLevelResourceType": {
                                "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                                "type": "string"
                              }
                            }
                          },
                          "cpInstanceId": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "cpInstanceType": {
                            "description": "Type of the CP instance that is identified by cpInstanceId. Shall be present if \"cpInstanceId\" is present, and shall be absent otherwise. Permitted values: * VNFC_CP: The link port is connected to a VNFC CP * EXT_CP: The link port is associated to an external CP.\n",
                            "type": "string",
                            "enum": [
                              "VNFC_CP",
                              "EXT_CP"
                            ]
                          }
                        }
                      }
                    },
                    "metadata": {
                      "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                      "type": "object"
                    }
                  }
                }
              },
              "virtualStorageResourceInfo": {
                "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n",
                "type": "array",
                "items": {
                  "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n",
                  "type": "object",
                  "required": [
                    "id",
                    "virtualStorageDescId",
                    "storageResource"
                  ],
                  "properties": {
                    "id": {
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                      "type": "string"
                    },
                    "virtualStorageDescId": {
                      "description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
                      "type": "string"
                    },
                    "vnfdId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "storageResource": {
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                      "type": "object",
                      "required": [
                        "resourceId"
                      ],
                      "properties": {
                        "vimId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceProviderId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "resourceId": {
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                          "type": "string"
                        },
                        "vimLevelResourceType": {
                          "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                          "type": "string"
                        }
                      }
                    },
                    "reservationId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "metadata": {
                      "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                      "type": "object"
                    }
                  }
                }
              }
            }
          },
          "metadata": {
            "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
            "type": "object"
          },
          "extensions": {
            "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
            "type": "object"
          }
        }
      }
    },
    "pnfInfo": {
      "description": "Information on the PNF(s) that are part of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "This type represents the information about a PNF that is part of an NS instance.  It shall comply with the provisions defined in Table 6.5.3.13-1.\n",
        "type": "object",
        "required": [
          "pnfId",
          "pnfdId",
          "pnfdInfoId",
          "pnfProfileId"
        ],
        "properties": {
          "pnfId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "pnfName": {
            "description": "Name of the PNF.\n",
            "type": "string"
          },
          "pnfdId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "pnfdInfoId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "pnfProfileId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "cpInfo": {
            "description": "This type represents the information about the external CP of the PNF.  It shall comply with the provisions defined in Table 6.5.3.17-1.\n",
            "type": "object",
            "required": [
              "cpInstanceId",
              "cpdId"
            ],
            "properties": {
              "cpInstanceId": {
                "description": "An Identifier that is unique within respect to a PNF. Representation: string of variable length.\n",
                "type": "string"
              },
              "cpdId": {
                "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
                "type": "string"
              },
              "cpProtocolData": {
                "description": "Parameters for configuring the network protocols on the CP.\n",
                "type": "array",
                "items": {
                  "description": "This type represents network protocol data.\n",
                  "type": "object",
                  "required": [
                    "layerProtocol"
                  ],
                  "properties": {
                    "layerProtocol": {
                      "description": "Identifier of layer(s) and protocol(s). Permitted values: IP_OVER_ETHERNET.\n",
                      "type": "string",
                      "enum": [
                        "IP_OVER_ETHERNET"
                      ]
                    },
                    "ipOverEthernet": {
                      "description": "This type represents network address data for IP over Ethernet.\n",
                      "type": "object",
                      "anyOf": [
                        {
                          "required": [
                            "ipAddresses"
                          ]
                        },
                        {
                          "required": [
                            "macAddress"
                          ]
                        }
                      ],
                      "properties": {
                        "macAddress": {
                          "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                          "type": "string",
                          "format": "MAC"
                        },
                        "segmentationId": {
                          "description": "Identification of the network segment to which the Cp instance connects to. If the Cp instance represents a subport in a trunk, \"segmentationId\" shall be present. Otherwise it shall not be present. Depending on the NFVI networking infrastructure, the \"segmentationId\" may indicate the actual network segment value (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an identifier used between the application and the NFVI networking infrastructure to identify the network sub-interface of the trunk port in question. In the latter case the NFVI infrastructure will map this local \"segmentationId\" to whatever \"segmentationId\" is actually used by the NFVI’s transport technology.\n",
                          "type": "string"
                        },
                        "ipAddresses": {
                          "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n",
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "type"
                            ],
                            "oneOf": [
                              {
                                "required": [
                                  "fixedAddresses"
                                ]
                              },
                              {
                                "required": [
                                  "numDynamicAddresses"
                                ]
                              },
                              {
                                "required": [
                                  "addressRange"
                                ]
                              }
                            ],
                            "properties": {
                              "type": {
                                "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                                "type": "string",
                                "enum": [
                                  "IPV4",
                                  "IPV6"
                                ]
                              },
                              "fixedAddresses": {
                                "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
                                "type": "array",
                                "items": {
                                  "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                  "type": "string",
                                  "format": "IP"
                                }
                              },
                              "numDynamicAddresses": {
                                "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
                                "type": "integer"
                              },
                              "addressRange": {
                                "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n",
                                "type": "object",
                                "required": [
                                  "minAddress",
                                  "maxAddress"
                                ],
                                "properties": {
                                  "minAddress": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  },
                                  "maxAddress": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  }
                                }
                              },
                              "subnetId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "virtualLinkInfo": {
      "description": "Information on the VL(s) of the NS instance. This attribute shall be present if the nsState attribute value is INSTANTIATED and if the NS instance has specified connectivity.\n",
      "type": "array",
      "items": {
        "description": "This type specifies the information about an NS VL instance.  It shall comply with the provisions defined in Table 6.5.3.53-1\n",
        "type": "object",
        "required": [
          "id",
          "nsVirtualLinkDescId",
          "nsVirtualLinkProfileId"
        ],
        "properties": {
          "id": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsVirtualLinkDescId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsVirtualLinkProfileId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "resourceHandle": {
            "description": "Identifier(s) of the virtualised network resource(s) and/or multi-site connectivity service(s) realizing the VL instance. As an NS can include NFs deployed in NFVI PoPs under the control of several different VIMs, therefore deploying an NS VL can involve several VIMs, each allocating different virtualised network resources, as well as WIMs handling the connectivity in between the NFVI-PoPs in the form of multi-site connectivity services. When this NsVirtualLink is provided as an ExtVirtualLink as input of a VNF LCM operation, the id of the ExtVirtualLink shall be the same as the corresponding NsVirtualLink.\n",
            "type": "array",
            "items": {
              "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
              "type": "object",
              "required": [
                "resourceId"
              ],
              "properties": {
                "vimId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "resourceProviderId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "resourceId": {
                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                  "type": "string"
                },
                "vimLevelResourceType": {
                  "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                  "type": "string"
                }
              }
            }
          },
          "linkPort": {
            "description": "Link ports of the VL instance. Cardinality of zero indicates that no port has yet been created for the VL instance.\n",
            "type": "array",
            "items": {
              "description": "This type represents information about a link port of a VL instance. It shall comply with the provisions defined in Table 6.5.3.55-1.\n",
              "type": "object",
              "required": [
                "id",
                "resourceHandle"
              ],
              "properties": {
                "id": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "resourceHandle": {
                  "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                  "type": "object",
                  "required": [
                    "resourceId"
                  ],
                  "properties": {
                    "vimId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "resourceProviderId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "resourceId": {
                      "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                      "type": "string"
                    },
                    "vimLevelResourceType": {
                      "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                      "type": "string"
                    }
                  }
                },
                "nsCpHandle": {
                  "description": "Identifier of the CP/SAP instance to be connected to this link port. The value refers to a vnfExtCpInfo item in the VnfInstance, or a pnfExtCpInfo item in the PnfInfo, or a sapInfo item in the NS instance. There shall be at most one link port associated with any connection point instance.\n",
                  "type": "array",
                  "items": {
                    "description": "This type represents an identifier of the CP or SAP instance.  It shall comply with the provisions defined in Table 6.5.3.56-1.\n",
                    "type": "object",
                    "oneOf": [
                      {
                        "required": [
                          "vnfInstanceId",
                          "vnfExtCpInstanceId"
                        ]
                      },
                      {
                        "required": [
                          "pnfInfoId",
                          "pnfExtCpInstanceId"
                        ]
                      },
                      {
                        "required": [
                          "nsInstanceId",
                          "nsSapInstanceId"
                        ]
                      }
                    ],
                    "properties": {
                      "vnfInstanceId": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      },
                      "vnfExtCpInstanceId": {
                        "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                        "type": "string"
                      },
                      "pnfInfoId": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      },
                      "pnfExtCpInstanceId": {
                        "description": "An Identifier that is unique within respect to a PNF. Representation: string of variable length.\n",
                        "type": "string"
                      },
                      "nsInstanceId": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      },
                      "nsSapInstanceId": {
                        "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "vnffgInfo": {
      "description": "Information on the VNFFG(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "Information on the VNFFG(s) of the NS instance.\n",
        "type": "object",
        "required": [
          "id",
          "vnffgdId",
          "vnfInstanceId",
          "pnfInfoId"
        ],
        "properties": {
          "id": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "vnffgdId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "vnfInstanceId": {
            "description": "Identifier(s) of the constituent VNF instance(s) of this VNFFG instance.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "pnfdInfoId": {
            "description": "Identifier(s) of the constituent PNF instance(s) of this VNFFG instance.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "nsVirtualLinkInfoId": {
            "description": "Identifier(s) of the constituent VL instance(s) of this VNFFG instance.\n",
            "type": "array",
            "items": {
              "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
              "type": "string"
            }
          },
          "nsCpHandle": {
            "description": "Identifiers of the CP instances attached to the constituent VNFs and PNFs or the SAP instances of the VNFFG. See note.\n",
            "type": "array",
            "items": {
              "description": "This type represents an identifier of the CP or SAP instance.  It shall comply with the provisions defined in Table 6.5.3.56-1.\n",
              "type": "object",
              "oneOf": [
                {
                  "required": [
                    "vnfInstanceId",
                    "vnfExtCpInstanceId"
                  ]
                },
                {
                  "required": [
                    "pnfInfoId",
                    "pnfExtCpInstanceId"
                  ]
                },
                {
                  "required": [
                    "nsInstanceId",
                    "nsSapInstanceId"
                  ]
                }
              ],
              "properties": {
                "vnfInstanceId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "vnfExtCpInstanceId": {
                  "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                  "type": "string"
                },
                "pnfInfoId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "pnfExtCpInstanceId": {
                  "description": "An Identifier that is unique within respect to a PNF. Representation: string of variable length.\n",
                  "type": "string"
                },
                "nsInstanceId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "nsSapInstanceId": {
                  "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "sapInfo": {
      "description": "Information on the SAP(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "This type represents an SAP instance. It shall comply with the provisions defined in Table 6.5.3.67-1.\n",
        "type": "object",
        "required": [
          "id",
          "sapdId",
          "sapName",
          "sapProtocolInfo"
        ],
        "properties": {
          "id": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          },
          "sapdId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "sapName": {
            "description": "Human readable name for the SAP instance.\n",
            "type": "string"
          },
          "description": {
            "description": "Human readable description for the SAP instance.\n",
            "type": "string"
          },
          "sapProtocolInfo": {
            "description": "Network protocol information for this SAP.\n",
            "type": "array",
            "items": {
              "description": "This type describes the protocol layer(s) that a CP or SAP uses together with protocol-related information, like addresses. It shall comply with the provisions defined in Table 6.5.3.58-1.\n",
              "type": "object",
              "required": [
                "layerProtocol",
                "ipOverEthernet"
              ],
              "properties": {
                "layerProtocol": {
                  "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET See note.\n",
                  "type": "string",
                  "enum": [
                    "IP_OVER_ETHERNET"
                  ]
                },
                "ipOverEthernet": {
                  "description": "This type represents information about a network address that has been assigned. It shall comply with the provisions defined in Table 6.5.3.18-1.\n",
                  "type": "object",
                  "anyOf": [
                    {
                      "required": [
                        "macAddress"
                      ]
                    },
                    {
                      "required": [
                        "ipAddresses"
                      ]
                    }
                  ],
                  "properties": {
                    "macAddress": {
                      "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                      "type": "string",
                      "format": "MAC"
                    },
                    "segmentationId": {
                      "description": "Identification of the network segment to which the Cp instance connects to. If the Cp instance represents a subport in a trunk, \"segmentationId\" shall be present. Otherwise it shall not be present. Depending on the NFVI networking infrastructure, the \"segmentationId\" may indicate the actual network segment value (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an identifier used between the application and the NFVI networking infrastructure to identify the network sub-interface of the trunk port in question. In the latter case the NFVI infrastructure will map this local \"segmentationId\" to whatever \"segmentationId\" is actually used by the NFVI’s transport technology.\n",
                      "type": "string"
                    },
                    "ipAddresses": {
                      "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "type"
                        ],
                        "oneOf": [
                          {
                            "required": [
                              "addresses"
                            ]
                          },
                          {
                            "required": [
                              "addressRange"
                            ]
                          }
                        ],
                        "properties": {
                          "type": {
                            "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                            "type": "string",
                            "enum": [
                              "IPV4",
                              "IPV6"
                            ]
                          },
                          "addresses": {
                            "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
                            "type": "array",
                            "items": {
                              "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                              "type": "string",
                              "format": "IP"
                            }
                          },
                          "isDynamic": {
                            "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                            "type": "boolean"
                          },
                          "addressRange": {
                            "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
                            "type": "object",
                            "required": [
                              "minAddress",
                              "maxAddress"
                            ],
                            "properties": {
                              "minAddress": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              },
                              "maxAddress": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              }
                            }
                          },
                          "subnetId": {
                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "type": {
                      "description": "The type of the IP addresses\n",
                      "type": "string",
                      "enum": [
                        "PV4",
                        "PV6"
                      ]
                    },
                    "addresses": {
                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                      "type": "string",
                      "format": "IP"
                    },
                    "isDynamic": {
                      "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                      "type": "boolean"
                    },
                    "addressRange": {
                      "description": "An IP address range used, e.g. in case of egress connections. See note.\n",
                      "type": "object",
                      "required": [
                        "minAddress",
                        "maxAddress"
                      ],
                      "properties": {
                        "minAddress": {
                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                          "type": "string",
                          "format": "IP"
                        },
                        "maxAddress": {
                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                          "type": "string",
                          "format": "IP"
                        }
                      }
                    },
                    "minAddress": {
                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                      "type": "string",
                      "format": "IP"
                    },
                    "maxAddress": {
                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                      "type": "string",
                      "format": "IP"
                    },
                    "subnetId": {
                      "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "nestedNsInstanceId": {
      "description": "Identifier of the nested NS(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "An identifier with the intention of being globally unique.\n",
        "type": "string"
      }
    },
    "vnfSnapshotInfoIds": {
      "description": "Identifier of information on VNF snapshots of VNF instances that are part of this NS instance.\n",
      "type": "array",
      "items": {
        "description": "An identifier with the intention of being globally unique.\n",
        "type": "string"
      }
    },
    "nsState": {
      "description": "The state of the NS instance. Permitted values: NOT_INSTANTIATED: The NS instance is terminated or not instantiated. INSTANTIATED: The NS instance is instantiated.\n",
      "type": "string",
      "enum": [
        "NOT_INSTANTIATED",
        "INSTANTIATED"
      ]
    },
    "monitoringParameter": {
      "description": "Performance metrics tracked by the NFVO (e.g. for auto-scaling purposes) as identified by the NS designer in the NSD.\n",
      "type": "array",
      "items": {
        "description": "This type represents a monitoring parameter that is tracked by the NFVO, for example,  for auto-scaling purposes. It shall comply with the provisions defined in Table 6.5.3.68-1.\n",
        "type": "object",
        "required": [
          "id",
          "performanceMetric"
        ],
        "properties": {
          "id": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "name": {
            "description": "Human readable name of the monitoring parameter, as defined in the NSD.\n",
            "type": "string"
          },
          "performanceMetric": {
            "description": "Performance metric that is monitored. This attribute shall contain the related  \"Measurement Name\" value as defined in clause 7.2 of ETSI GS NFV-IFA 027.\n",
            "type": "string"
          }
        }
      }
    },
    "nsScaleStatus": {
      "description": "Status of each NS scaling aspect declared in the applicable DF, how \"big\" the NS instance has been scaled w.r.t. that aspect. This attribute shall be present if the nsState attribute value is INSTANTIATED.\n",
      "type": "array",
      "items": {
        "description": "This type represents the target NS Scale level for each NS scaling aspect of the current deployment flavor.\n",
        "type": "object",
        "required": [
          "nsScalingAspectId",
          "nsScaleLevelId"
        ],
        "properties": {
          "nsScalingAspectId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsScaleLevelId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          }
        }
      }
    },
    "additionalAffinityOrAntiAffinityRule": {
      "description": "Information on the additional affinity or anti-affinity rule from NS instantiation operation. Shall not conflict with rules already specified in the NSD.\n",
      "type": "array",
      "items": {
        "description": "This type describes the additional affinity or anti-affinity rule applicable between the VNF instances to be instantiated in the NS instantiation operation request or between the VNF instances to be instantiated in the NS instantiation operation request and the existing VNF instances..\n",
        "type": "object",
        "required": [
          "affinityOrAntiAffiinty",
          "scope"
        ],
        "properties": {
          "vnfdId": {
            "description": "Reference to a VNFD. When the VNFD which is not used to instantiate VNF, it presents all VNF instances of this type as the subjects of the affinity or anti-affinity rule. The VNF instance which the VNFD presents is not necessary as a part of the NS to be instantiated.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "vnfProfileId": {
            "description": "Reference to a vnfProfile defined in the NSD. At least one VnfProfile which is used to instantiate VNF for the NS to be instantiated as the subject of the affinity or anti-affinity rule shall be present. When the VnfProfile which is not used to instantiate VNF, it presents all VNF instances of this type as the subjects of the affinity or anti-affinity rule. The VNF instance which the VnfProfile presents is not necessary as a part of the NS to be instantiated.\n",
            "type": "array",
            "items": {
              "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
              "type": "string"
            }
          },
          "vnfInstanceId": {
            "description": "Reference to the existing VNF instance as the subject of the affinity or anti-affinity rule. The existing VNF instance is not necessary as a part of the NS to be instantiated.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "affinityOrAntiAffiinty": {
            "description": "The type of the constraint. Permitted values: AFFINITY ANTI_AFFINITY.\n",
            "type": "string",
            "enum": [
              "AFFINITY",
              "ANTI_AFFINITY"
            ]
          },
          "scope": {
            "description": "Specifies the scope of the rule where the placement constraint applies. Permitted values: NFVI_POP ZONE ZONE_GROUP NFVI_NODE.\n",
            "type": "string",
            "enum": [
              "NFVI_POP",
              "ZONE",
              "ZONE_GROUP",
              "NFVI_NODE"
            ]
          }
        }
      }
    },
    "wanConnectionInfo": {
      "description": "Information about WAN related connectivity enabling multi-site VLs.\n",
      "type": "array",
      "items": {
        "description": "This type provides information about the connectivity to the WAN of network resources realizing a VL, e.g.,\nwhen the VL is deployed on several sites across a WAN. It shall comply with the provisions defined in table 6.5.3.90-1.\n",
        "type": "object",
        "required": [
          "wanConnectionInfoId"
        ],
        "oneOf": [
          {
            "required": [
              "nsVirtualLinkInfoId"
            ]
          },
          {
            "required": [
              "vnfVirtualLinkResourceInfoId"
            ]
          }
        ],
        "properties": {
          "wanConnectionInfoId": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsVirtualLinkInfoId": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          },
          "vnfVirtualLinkResourceInfoId": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          },
          "protocolInfo": {
            "description": "This type provides protocol specific information about the connectivity to the WAN of network resources realizing\na VL, e.g., when the VL is deployed on several sites and across a WAN, and the related multi-site connectivity\nservice (MSCS) enabling the connectivity through the WAN. This type supports providing information about both\npre-provisioned WAN connectivity realized by external entities to NFV-MANO but parts of such connectivity is known\nto the NFVO, as well as information about MSCS created under NFV-MANO responsibility (i.e., connectivity is realized\nwhen NFVO communicates with the WIM).  It shall comply with the provisions defined in table 6.5.3.91-1.\n",
            "type": "object",
            "properties": {
              "mscsInfo": {
                "description": "This type provides information about an already provisioned multi-site connectivity service (MSCS) deployed across a WAN. It shall comply with the provisions defined in Table 6.5.3.82-1.\n",
                "type": "object",
                "required": [
                  "mscsId",
                  "mscsType"
                ],
                "properties": {
                  "mscsId": {
                    "description": "An identifier with the intention of being globally unique.\n",
                    "type": "string"
                  },
                  "mscsName": {
                    "description": "Human readable name of the MSCS.\n",
                    "type": "string"
                  },
                  "mscsDescription": {
                    "description": "Human readable description of the MSCS.\n",
                    "type": "string"
                  },
                  "mscsType": {
                    "description": "The type of connectivity that is provided to the virtualized networks in the NFVI-PoP and characterizes the connectivity service across the WAN. Permitted values: -\tL2 -\tL3\n",
                    "type": "string",
                    "enum": [
                      "L2VPN",
                      "L3VPN"
                    ]
                  },
                  "mscsLayerProtocol": {
                    "description": "Type of underlying connectivity service and protocol associated to the MSCS. Permitted values are as listed below and restricted by the type of MSCS: -\tEVPN_BGP_MPLS: as specified in IETF RFC 7432. Only applicable for mscsType=\"L2\". - EVPN_VPWS: as specified in IETF RFC 8214. Only applicable for mscsType=\"L2\". -\tVPLS_BGP: as specified in IETF RFC 4761 and IETF RFC 6624. Only applicable for mscsType=\"L2\". -\tVPLS_LDP_L2TP: as specified in IETF RFC 4762. Only applicable for mscsType=\"L2\". -\tVPWS_LDP_L2TP: as specified in IETF RFC 6074. Only applicable for mscsType=\"L2\". -\tBGP_IP_VPN: BGP/MPLS based IP VPN as specified in IETF RFC 4364. Only applicable for mscsType=\"L3\".\n",
                    "type": "string",
                    "enum": [
                      "EVPN_BGP_MPLS",
                      "EVPN_VPWS",
                      "VPLS_BGP",
                      "VPLS_LDP",
                      "VPWS",
                      "BGP_IP_VPN"
                    ]
                  },
                  "siteAccessProtectionSchemes": {
                    "description": "Information to determine the proper MSCS endpoints configuration to fulfil certain resiliency/protection requirements, e.g., by considering certain availability and redundancy of connectivity service endpoints in between NFVI-PoP and WAN.\n",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "locationConstraints": {
                          "description": "This type represents location constraints for a VNF to be instantiated. The location constraints can be represented as follows: •\tas a country code •\tas a civic address combined with a country code •\tas an area, conditionally combined with a country code The LocationConstraints data type shall comply with the provisions defined in Table 6.5.3.21-1.\n",
                          "type": "object",
                          "properties": {
                            "countryCode": {
                              "description": "The two-letter ISO 3166 [29] country code in capital letters. Shall be present in case the \"area\" attribute is absent. May be absent if the \"area\" attribute is present. If both \"countryCode\" and \"area\" are present, no conflicts should exist between the values of these two attributes. In case of conflicts, the API producer (i.e. the NFVO) shall disregard parts of the geographic area signalled by \"area\" that are outside the boundaries of the country signalled by \"countryCode\". If \"countryCode\" is absent, it is solely the \"area\" attribute that defines the location constraint.\n",
                              "type": "string"
                            },
                            "civicAddressElement": {
                              "description": "Zero or more elements comprising the civic address. Shall be absent if the \"area\" attribute is present.\n",
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "caType",
                                  "caValue"
                                ],
                                "properties": {
                                  "caType": {
                                    "description": "Describe the content type of caValue. The value of caType shall comply with Section 3.4 of IETF RFC 4776 [13].\n",
                                    "type": "integer"
                                  },
                                  "caValue": {
                                    "description": "Content of civic address element corresponding to the caType. The format caValue shall comply with Section 3.4 of IETF RFC 4776 [13].\n",
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "area": {
                              "description": "Geographic area. Shall be absent if the \"civicAddressElement\" attribute is present. The content of this attribute shall follow the provisions for the \"Polygon\" geometry object as defined in IETF RFC 7946, for which the \"type\" member shall be set to the value \"Polygon\". If both \"countryCode\" and \"area\" are present, no conflicts should exist between the values of these two attributes. In case of conflicts, the API producer (i.e. the NFVO) shall disregard parts of the geographic area signalled by \"area\" that are outside the boundaries of the country signalled by \"countryCode\". If \"countryCode\" is absent, it is solely the \"area\" attribute that defines the location constraint.\n",
                              "type": "object"
                            }
                          }
                        },
                        "protectionScheme": {
                          "description": "Defines the protection scheme. Permitted values: -\tUNPROTECTED: to indicate no protection. -\tONE_TO_ONE: to indicate an active-passive access protection. -\tONE_PLUS_ONE: to indicate an active-active access protection. -\tONE_TO_N: to indicate an N active to 1 passive access protection.\n",
                          "type": "string",
                          "enum": [
                            "UNPROTECTED",
                            "ONE_TO_ONE",
                            "ONE_PLUS_ONE",
                            "ONE_TO_N"
                          ]
                        }
                      }
                    }
                  },
                  "mtuMscs": {
                    "description": "Maximum Transmission Unit (MTU) that can be forwarded over the MSCS (in bytes). Default value is \"1500\" (bytes).\n",
                    "type": "number"
                  },
                  "mscsEndpoints": {
                    "description": "Information about the MSCS endpoints of the MSCS.\n",
                    "type": "array",
                    "items": {
                      "description": "This type provides encapsulates information about an MSCS endpoint of the MSCS. It shall comply with the provisions defined in table 6.5.3.83-1.\n",
                      "type": "object",
                      "required": [
                        "mscsEndpointId",
                        "directionality",
                        "connectivityServiceEndpoinId"
                      ],
                      "properties": {
                        "mscsEndpointId": {
                          "description": "An identifier with the intention of being globally unique.\n",
                          "type": "string"
                        },
                        "directionality": {
                          "description": "Directionality of the data traffic in the context of the terminating MSCS endpoint from WAN’s perspective. Permitted values: -\tINBOUND: to indicate into the WAN. -\tOUTBOUND: to indicate from the WAN. -\tBOTH: to indicate bidirectional data traffic to/from the WAN.\n",
                          "type": "string",
                          "enum": [
                            "INBOUND",
                            "OUTBOUND",
                            "BOTH"
                          ]
                        },
                        "connectivityServiceEndpoinId": {
                          "description": "References the connectivity service endpoint configuration information applicable to support the MSCS endpoint. More than one connectivity service endpoint can be referred when endpoints are in LAG mode.\n",
                          "type": "array",
                          "items": {
                            "description": "An identifier with the intention of being globally unique.\n",
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "connectivityServiceEndpoints": {
                "description": "Configuration information about the network resources in the NFVI-PoP and their connectivity to the WAN.\n",
                "type": "array",
                "items": {
                  "description": "This type provides configuration data for the NFVI-PoP network gateway providing connectivity service endpoints. The connectivity service endpoints are used as endpoints by an MSCS. It shall comply with the provisions defined in Table 6.5.3.84-1.\n",
                  "type": "object",
                  "required": [
                    "connectivityServiceEndpointId",
                    "vimId"
                  ],
                  "properties": {
                    "connectivityServiceEndpointId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "vimId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "siteToWanLayer2ProtocolData": {
                      "description": "This type provides information about Layer 2 protocol specific information for the configuration of the NFVI-PoP network gateway to enable the stitching of the intra-site VN to the MSCS over the WAN. It shall comply with the provisions defined in Table 6.5.3.85-1.\n",
                      "type": "object",
                      "required": [
                        "layer2ConnectionInfo"
                      ],
                      "properties": {
                        "layer2ConnectionInfo": {
                          "description": "Layer 2 protocol parameters of the connectivity service endpoint (CSE).\n",
                          "type": "object",
                          "required": [
                            "connectionType",
                            "interfaceType",
                            "interfaceTagging",
                            "encapsulationType"
                          ],
                          "properties": {
                            "connectionType": {
                              "description": "The type of connection to be established on the connectivity service point. Permitted values: -\tCSE: defined by the characteristics of the existing referred connectivity service point. -\tAGGREGATE_CSE: create an aggregation of the connectivity service endpoints.\n",
                              "type": "string",
                              "enum": [
                                "CSE",
                                "AGGREGATE_CSE"
                              ]
                            },
                            "interfaceType": {
                              "description": "To indicate whether to create logical interfaces on the referred connectivity service endpoint or new aggregated connectivity service endpoint. Permitted values: -\tPARENT: use the mapped interface to the connectivity service endpoint as is, i.e., do not create logical interfaces. -\tLOGICAL: create logical interfaces.\n",
                              "type": "string",
                              "enum": [
                                "PARENT",
                                "LOGICAL"
                              ]
                            },
                            "interfaceTagging": {
                              "description": "The type of frames to forward on the connectivity service point. Permitted values: -\tUNTAGGED: an interface where frames are not tagged. -\tTAGGED: an interface configured to forward tagged frames (i.e., enabled for VLAN tagging).\n",
                              "type": "string",
                              "enum": [
                                "UNTAGGED",
                                "TAGGED"
                              ]
                            },
                            "encapsulationType": {
                              "description": "The type of encapsulation. If the interfaceTagging=\"TAGGED\", either \"VLAN\" or \"VXLAN\" shall be set. Permitted values: -\tETH: generic Ethernet encapsulation. -\tVLAN: encapsulation based on VLAN. -\tVXLAN: encapsulation based on VXLAN.\n",
                              "type": "string",
                              "enum": [
                                "ETH",
                                "VLAN",
                                "VXLAN"
                              ]
                            },
                            "vlanTaggingType": {
                              "description": "Type of encapsulation method for VLAN tagging. Shall be present if interfaceTagging=\"TAGGED\" and encapsulationType=\"VLAN\". Permitted values: -\tDOT1Q: used when packets on the CSE are encapsulated with one or a set of customer VLAN identifiers. -\tQINQ: used when packets on the CSE are encapsulated with multiple customer VLAN identifiers and a single\n  service VLAN identifier.\n- QINANY: used when packets on the CSE have no specific customer VLAN and a service VLAN identifier is used.\n",
                              "type": "string",
                              "enum": [
                                "DOT1Q",
                                "QINQ",
                                "QINANY"
                              ]
                            },
                            "wanSegmentIds": {
                              "description": "Segment identifiers to pass on the tagged interface. Shall be present if encapsulationType=\"VLAN\" or “VXLAN\".\n",
                              "type": "object",
                              "required": [
                                "wanSegmentIdValue"
                              ],
                              "properties": {
                                "wanSegmentIdValue": {
                                  "description": "Identifier of the network segment (e.g., VLAN id or VNI).\n",
                                  "type": "string"
                                },
                                "wanSegmentIdUpperRange": {
                                  "description": "Identifier of the upper range network segment, in case the \"wanSegmentIds\" is used to define a range.\n",
                                  "type": "string"
                                }
                              }
                            },
                            "vxlanConfig": {
                              "description": "Additional configuration needed when using VXLAN encapsulation. Shall be present if interfaceTagging=\"TAGGED\" and encapsulationType=\"VXLAN\".\n",
                              "type": "object",
                              "required": [
                                "peerMode"
                              ],
                              "properties": {
                                "peerMode": {
                                  "description": "Type of VXLAN access mode. Default value is \"STATIC\".\nPermitted values: -\tSTATIC -\tBGP_EVPN\n",
                                  "type": "string",
                                  "enum": [
                                    "STATIC",
                                    "BGP_EVPN"
                                  ]
                                },
                                "peers": {
                                  "description": "List of IP addresses of VTEP peers when using static mode.\n",
                                  "type": "array",
                                  "items": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  }
                                }
                              }
                            },
                            "lagInterfaceData": {
                              "description": "Information for setting up a LAG interface aggregating multiple connectivity service endpoints.\n",
                              "type": "object",
                              "required": [
                                "aggregatedEndpoints",
                                "lacpActivation",
                                "lacpConfig"
                              ],
                              "properties": {
                                "aggregatedEndpoints": {
                                  "description": "List of the connectivity service endpoints that are to be aggregated. Shall be present if connectionType=\"AGGREGATE_CSE\". In case of aggregating connectivity service endpoints, only one SiteToWanLayer2ProtocolData shall be provided for the whole set of aggregated endpoints.\n",
                                  "type": "array",
                                  "items": {
                                    "description": "An identifier with the intention of being globally unique.\n",
                                    "type": "string"
                                  }
                                },
                                "lacpActivation": {
                                  "description": "Indicates whether to activate LACP on the interface. If \"TRUE\", the LACP is to be activated, or \"FALSE\" otherwise. Default value is \"FALSE\".\n",
                                  "type": "boolean"
                                },
                                "lacpConfig": {
                                  "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                                  "type": "object"
                                }
                              }
                            },
                            "layer2ControlProtocol": {
                              "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                              "type": "object"
                            }
                          }
                        },
                        "mtuL2": {
                          "description": "Maximum Transmission Unit (MTU) that can be forwarded at layer 2 (in bytes). Default value is \"1500\" (bytes).\n",
                          "type": "number"
                        },
                        "virtualRoutingAndForwarding": {
                          "description": "Configuration related to the L2 virtual routing and forwarding (MAC-VRF).\n",
                          "type": "object",
                          "required": [
                            "macVrfName"
                          ],
                          "properties": {
                            "macVrfName": {
                              "description": "Name (or identifier) of the MAC-VRF instance.\n",
                              "type": "string"
                            }
                          }
                        },
                        "forwardingConfig": {
                          "description": "Information related to the forwarding of the VN in the NFVI-PoP to the connectivity service endpoint, if information about the VN to \"stitch\" is already known. . by the OSS/BSS. Shall not be provided otherwise, in which case the NFVO will infer the forwarding configuration based on the NS VL, or external VL, or externally-managed VL provisioning.\n",
                          "type": "object",
                          "oneOf": [
                            {
                              "required": [
                                "networkResources"
                              ]
                            },
                            {
                              "required": [
                                "vnSegmentIds"
                              ]
                            }
                          ],
                          "properties": {
                            "networkResources": {
                              "description": "Reference to the VN resource to be forwarded into/from the MSCS. Either \"networkResources\" or \"vnSegmentsIds\" shall be provided, but not both.\n",
                              "type": "array",
                              "items": {
                                "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                                "type": "object",
                                "required": [
                                  "resourceId"
                                ],
                                "properties": {
                                  "vimId": {
                                    "description": "An identifier with the intention of being globally unique.\n",
                                    "type": "string"
                                  },
                                  "resourceProviderId": {
                                    "description": "An identifier with the intention of being globally unique.\n",
                                    "type": "string"
                                  },
                                  "resourceId": {
                                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                    "type": "string"
                                  },
                                  "vimLevelResourceType": {
                                    "description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "vnSegmentIds": {
                              "description": "Identifiers of the network segments of the VN resources to be forwarded into/from the MSCS.\n",
                              "type": "object",
                              "required": [
                                "vnSegmentIdValue"
                              ],
                              "properties": {
                                "vnSegmentIdValue": {
                                  "description": "Identifier of the network segment.\n",
                                  "type": "string"
                                },
                                "vnSegmentIdUpperRange": {
                                  "description": "Identifier of the upper range network segment, in case the \"vnSegmentIds\" is used to define a range.\n",
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "siteToWanLayer3ProtocolData": {
                      "description": "This type provides information about Layer 3 protocol specific information for the stitching of the intra-site VN to the multi-site connectivity service over the WAN. It shall comply with the provisions defined in Table 6.5.3.86-1.\n",
                      "type": "object",
                      "required": [
                        "routingInfo"
                      ],
                      "properties": {
                        "logicalInterfaceIpAddress": {
                          "description": "IP addressing information associated to a logical interface. Shall be present if the \"interfaceType\" of the SiteToWanLayer2ProtocolData is equal to \"LOGICAL\".\n",
                          "type": "object",
                          "required": [
                            "ipAddress",
                            "associatedSegmentId"
                          ],
                          "properties": {
                            "ipAddress": {
                              "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                              "type": "string",
                              "format": "IP"
                            },
                            "associatedSegmentId": {
                              "description": "The associated segment identifier that has triggered the creation of the logical interface. The value shall be one of the values listed in the \"wanSegmentIds\" of the \"siteToWanLayer2ProtocolData\".\n",
                              "type": "string"
                            }
                          }
                        },
                        "routingInfo": {
                          "description": "The routing information that is activated on the connectivity service endpoint. More than one \"routingInfo\" is allowed to enable stacking different routing protocols (e.g., one routing protocol for IPv4 and another one for IPv6).\n",
                          "type": "object",
                          "required": [
                            "routingProtocol",
                            "routingAddressFamily"
                          ],
                          "properties": {
                            "routingProtocol": {
                              "description": "The routing protocol that is activated on the connectivity service endpoint. Permitted values: -\tBGP: used for dynamic routing BGPv4. -\tRIP: used for dynamic routing RIPv2. -\tOSPF: used for dynamic routing (OSPF version 2 for IPv4; and OSPF version 3 for IPv6). -\tSTATIC: used for static routing. -\tDIRECT: used when the NFVI-PoP network is directly connected to the WAN provider network. -\tVRRP: used when the NFVI-PoP network is directly connected to the WAN provider network with virtual\n  router redundancy protocol support (VRRP).\n",
                              "type": "string",
                              "enum": [
                                "BGP",
                                "RIP",
                                "OSPF",
                                "STATIC",
                                "DIRECT",
                                "VRRP"
                              ]
                            },
                            "staticRouting": {
                              "description": "Defines a static route. It shall only be present if the routingProtocol=\"STATIC\".\n",
                              "type": "object",
                              "required": [
                                "ipVersion",
                                "ipPrefix",
                                "prefixSize",
                                "nextHop"
                              ],
                              "properties": {
                                "ipVersion": {
                                  "description": "The IP version applicable to the routing entry. Permitted values: -\tIPV4 -\tIPV6\n",
                                  "type": "string",
                                  "enum": [
                                    "IPV4",
                                    "IPV6"
                                  ]
                                },
                                "ipPrefix": {
                                  "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                  "type": "string",
                                  "format": "IP"
                                },
                                "prefixSize": {
                                  "description": "The IP prefix size.\n",
                                  "type": "number"
                                },
                                "nextHop": {
                                  "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                  "type": "string",
                                  "format": "IP"
                                }
                              }
                            },
                            "routingAddressFamily": {
                              "description": "The IP version applicable to the dynamic routing protocol. Shall be present for dynamic routing protocols. Permitted values: -\tIPV4 -\tIPV6\n",
                              "type": "string",
                              "enum": [
                                "IPV4",
                                "IPv6"
                              ]
                            },
                            "ospfRouting": {
                              "description": "Defines parameters for OSPF routing. It shall only be present if the routingProtocol=\"OSPF\".\n",
                              "type": "object",
                              "required": [
                                "areaId"
                              ],
                              "properties": {
                                "areaId": {
                                  "description": "The routing area identifier, e.g., a number or an IP address.\n",
                                  "type": "string"
                                }
                              }
                            },
                            "bgpRouting": {
                              "description": "Defines parameters for BGP routing. It shall only be present if the routingProtocol=\"BGP\".\n",
                              "type": "object",
                              "required": [
                                "bgpAs"
                              ],
                              "properties": {
                                "bgpAs": {
                                  "description": "The Autonomous System (AS) identification applicable to the BGP routing info entry.\n",
                                  "type": "object"
                                },
                                "bgpNeighbour": {
                                  "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                  "type": "string",
                                  "format": "IP"
                                },
                                "bgpAdditionalParam": {
                                  "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                                  "type": "object"
                                }
                              }
                            },
                            "routeMapsDistribution": {
                              "description": "Maps of routes that are permitted or denied for redistribution.\n",
                              "type": "object",
                              "required": [
                                "policy",
                                "sequence",
                                "matchAndSetRule"
                              ],
                              "properties": {
                                "policy": {
                                  "description": "The policy to apply to the route distribution.\nPermitted values: -\tPERMIT -\tDENY\n",
                                  "type": "string",
                                  "enum": [
                                    "PERMIT",
                                    "DENY"
                                  ]
                                },
                                "sequence": {
                                  "description": "Sequence or index number assigned to the route-map.\n",
                                  "type": "number"
                                },
                                "matchAndSetRule": {
                                  "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                                  "type": "object"
                                }
                              }
                            }
                          }
                        },
                        "mtuL3": {
                          "description": "Maximum Transmission Unit (MTU) that can be forwarded at layer 3 (in bytes). Default value is \"1500\" (bytes).\n",
                          "type": "number"
                        },
                        "virtualRoutingAndForwarding": {
                          "description": "Configuration related to the virtual routing and forwarding (VRF).\n",
                          "type": "object",
                          "required": [
                            "vrfName"
                          ],
                          "properties": {
                            "vrfName": {
                              "description": "Name (or identifier) of the VRF instance.\n",
                              "type": "string"
                            }
                          }
                        },
                        "bfdConfig": {
                          "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                          "type": "object"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "description": "Links to resources related to this resource.",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "nestedNsInstances": {
          "description": "Links to resources related to this notification.\n",
          "type": "array",
          "items": {
            "description": "This type represents a link to a resource.\n",
            "type": "object",
            "required": [
              "href"
            ],
            "properties": {
              "href": {
                "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
                "type": "string",
                "format": "url"
              }
            }
          }
        },
        "vnfSnapshotInfos": {
          "description": "Links to the VNF snapshots associated to VNF instances which are part of this NS instance.\n",
          "type": "array",
          "items": {
            "description": "This type represents a link to a resource.\n",
            "type": "object",
            "required": [
              "href"
            ],
            "properties": {
              "href": {
                "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
                "type": "string",
                "format": "url"
              }
            }
          }
        },
        "instantiate": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "terminate": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "update": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "scale": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "heal": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        }
      }
    }
  }
}