{
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "description": "This type represents a VNF instance.\n",
  "required": [
    "id",
    "vnfdId",
    "vnfProvider",
    "vnfProductName",
    "vnfSoftwareVersion",
    "vnfdVersion",
    "vnfPkgId",
    "instantiationState"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "An identifier with the intention of being globally unique.\n"
    },
    "vnfInstanceName": {
      "type": "string",
      "description": "Name of the VNF instance. This attribute can be modified with the PATCH method.\n"
    },
    "vnfInstanceDescription": {
      "type": "string",
      "description": "Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n"
    },
    "vnfdId": {
      "type": "string",
      "description": "An identifier with the intention of being globally unique.\n"
    },
    "vnfProvider": {
      "type": "string",
      "description": "Provider of the VNF and the VNFD. The value is copied from the VNFD.\n"
    },
    "vnfProductName": {
      "type": "string",
      "description": "Name to identify the VNF Product. The value is copied from the VNFD.\n"
    },
    "vnfSoftwareVersion": {
      "type": "string",
      "description": "A Version.\n"
    },
    "vnfdVersion": {
      "type": "string",
      "description": "A Version.\n"
    },
    "vnfPkgId": {
      "type": "string",
      "description": "An identifier with the intention of being globally unique.\n"
    },
    "vnfConfigurableProperties": {
      "type": "object",
      "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"
    },
    "vimConnectionInfo": {
      "type": "array",
      "description": "Information about VIM connections to be used for managing the resources for the VNF instance. This attribute shall only be supported and present if VNF-related resource management in direct mode is applicable. This attribute can be modified with the PATCH method.\n",
      "items": {
        "type": "object",
        "description": "This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM.\n",
        "required": [
          "id",
          "vimType"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "An identifier with the intention of being globally unique.\n"
          },
          "vimId": {
            "type": "string",
            "description": "An identifier with the intention of being globally unique.\n"
          },
          "vimType": {
            "type": "string",
            "description": "Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \"interfaceInfo\" and \"accessInfo\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003.\n"
          },
          "interfaceInfo": {
            "type": "object",
            "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"
          },
          "accessInfo": {
            "type": "object",
            "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"
          },
          "extra": {
            "type": "object",
            "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"
          }
        }
      }
    },
    "instantiationState": {
      "type": "string",
      "enum": [
        "NOT_INSTANTIATED",
        "INSTANTIATED"
      ],
      "description": "The instantiation state of the VNF.\n"
    },
    "instantiatedVnfInfo": {
      "type": "object",
      "description": "Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n",
      "required": [
        "flavourId",
        "vnfState"
      ],
      "properties": {
        "flavourId": {
          "type": "string",
          "description": "An identifier that is unique within a VNF descriptor.\n"
        },
        "vnfState": {
          "type": "string",
          "enum": [
            "STARTED",
            "STOPPED"
          ]
        },
        "scaleStatus": {
          "type": "array",
          "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",
          "items": {
            "type": "object",
            "required": [
              "aspectId",
              "scaleLevel"
            ],
            "properties": {
              "aspectId": {
                "type": "string",
                "description": "An identifier that is unique within a VNF descriptor.\n"
              },
              "scaleLevel": {
                "type": "integer",
                "description": "Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n"
              }
            }
          }
        },
        "extCpInfo": {
          "type": "array",
          "description": "Information about the external CPs exposed by the VNF instance.\n",
          "minItems": 1,
          "items": {
            "type": "object",
            "required": [
              "id",
              "cpdId"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
              },
              "cpdId": {
                "type": "string",
                "description": "An identifier that is unique within a VNF descriptor.\n"
              },
              "cpProtocolInfo": {
                "type": "array",
                "description": "Network protocol information for this CP.\n",
                "items": {
                  "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \n",
                  "required": [
                    "layerProtocol"
                  ],
                  "properties": {
                    "layerProtocol": {
                      "type": "string",
                      "enum": [
                        "IP_OVER_ETHERNET"
                      ],
                      "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n"
                    },
                    "ipOverEthernet": {
                      "type": "object",
                      "description": "This type represents information about a network address that has been assigned. \n",
                      "required": [
                        "macAddress"
                      ],
                      "properties": {
                        "macAddress": {
                          "type": "string",
                          "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                          "format": "MAC"
                        },
                        "ipAddresses": {
                          "type": "array",
                          "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
                          "items": {
                            "type": "object",
                            "required": [
                              "type"
                            ],
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "IPV4",
                                  "IPV6"
                                ],
                                "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n"
                              },
                              "addresses": {
                                "type": "array",
                                "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
                                "items": {
                                  "type": "string",
                                  "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",
                                  "format": "IP"
                                }
                              },
                              "isDynamic": {
                                "type": "boolean",
                                "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"
                              },
                              "addressRange": {
                                "type": "object",
                                "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
                                "required": [
                                  "minAddress",
                                  "maxAddress"
                                ],
                                "properties": {
                                  "minAddress": {
                                    "type": "string",
                                    "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",
                                    "format": "IP"
                                  },
                                  "maxAddress": {
                                    "type": "string",
                                    "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",
                                    "format": "IP"
                                  }
                                }
                              },
                              "subnetId": {
                                "type": "string",
                                "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",
                                "format": "IP"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "extLinkPortId": {
                "type": "string",
                "description": "An identifier with the intention of being globally unique.\n"
              }
            }
          }
        },
        "extVirtualLinkInfo": {
          "type": "array",
          "description": "Information about the external VLs the VNF instance is connected to.\n",
          "items": {
            "type": "object",
            "required": [
              "id",
              "resourceHandle"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier with the intention of being globally unique.\n"
              },
              "resourceHandle": {
                "type": "object",
                "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                "required": [
                  "vimConnectionId",
                  "resourceId"
                ],
                "properties": {
                  "vimConnectionId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceProviderId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceId": {
                    "type": "string",
                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                  },
                  "vimLevelResourceType": {
                    "type": "string",
                    "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                  }
                }
              },
              "extLinkPorts": {
                "type": "array",
                "description": "Link ports of this VL.\n",
                "items": {
                  "type": "object",
                  "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",
                  "required": [
                    "id",
                    "resourceHandle"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "An identifier with the intention of being globally unique.\n"
                    },
                    "resourceHandle": {
                      "type": "object",
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                      "required": [
                        "vimConnectionId",
                        "resourceId"
                      ],
                      "properties": {
                        "vimConnectionId": {
                          "type": "string",
                          "description": "An identifier with the intention of being globally unique.\n"
                        },
                        "resourceProviderId": {
                          "type": "string",
                          "description": "An identifier with the intention of being globally unique.\n"
                        },
                        "resourceId": {
                          "type": "string",
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                        },
                        "vimLevelResourceType": {
                          "type": "string",
                          "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                        }
                      }
                    },
                    "cpInstanceId": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    }
                  }
                }
              }
            }
          }
        },
        "extManagedVirtualLinkInfo": {
          "type": "array",
          "description": "External virtual links the VNF instance is connected to.\n",
          "items": {
            "type": "object",
            "required": [
              "id",
              "vnfVirtualLinkDescId"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier with the intention of being globally unique.\n"
              },
              "vnfVirtualLinkDescId": {
                "type": "string",
                "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
              },
              "networkResource": {
                "type": "object",
                "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                "required": [
                  "vimConnectionId",
                  "resourceId"
                ],
                "properties": {
                  "vimConnectionId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceProviderId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceId": {
                    "type": "string",
                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                  },
                  "vimLevelResourceType": {
                    "type": "string",
                    "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                  }
                }
              },
              "vnfLinkPorts": {
                "type": "array",
                "description": "Link ports of this VL.\n",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "resourceHandle"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    },
                    "resourceHandle": {
                      "type": "object",
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                      "required": [
                        "vimConnectionId",
                        "resourceId"
                      ],
                      "properties": {
                        "vimConnectionId": {
                          "type": "string",
                          "description": "An identifier with the intention of being globally unique.\n"
                        },
                        "resourceProviderId": {
                          "type": "string",
                          "description": "An identifier with the intention of being globally unique.\n"
                        },
                        "resourceId": {
                          "type": "string",
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                        },
                        "vimLevelResourceType": {
                          "type": "string",
                          "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                        }
                      }
                    },
                    "cpInstanceId": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    }
                  }
                }
              }
            }
          }
        },
        "monitoringParameters": {
          "type": "array",
          "description": "Active monitoring parameters.\n",
          "items": {
            "type": "object",
            "required": [
              "id",
              "value",
              "timeStamp"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier that is unique within a VNF descriptor.\n"
              },
              "name": {
                "type": "string",
                "description": "Human readable name of the monitoring parameter, as defined in the VNFD.\n"
              },
              "value": {
                "type": "object",
                "description": "Value of the monitoring parameter known to the VNFM (e.g. obtained for autoscaling purposes). The type of the \"value\" attribute (i.e. scalar, structure (Object in JSON), or array (of scalars, arrays or structures/Objects)) is assumed to be defined in an external measurement specification.\n"
              },
              "timeStamp": {
                "type": "string",
                "description": "Represents the point in time when the measurement has been performed, as known to the VNFM. Should be formatted according to ETF RFC 3339.\n"
              }
            }
          }
        },
        "localizationLanguage": {
          "type": "string",
          "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"
        },
        "vnfcResourceInfo": {
          "type": "array",
          "description": "Information about the virtualised compute and storage resources used by the VNFCs of the VNF instance.\n",
          "items": {
            "type": "object",
            "description": "This type represents the information on virtualised compute and storage resources used by a VNFC in a VNF instance.\n",
            "required": [
              "id",
              "vduId",
              "computeResource"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
              },
              "vduId": {
                "type": "string",
                "description": "An identifier that is unique within a VNF descriptor.\n"
              },
              "computeResource": {
                "type": "object",
                "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                "required": [
                  "vimConnectionId",
                  "resourceId"
                ],
                "properties": {
                  "vimConnectionId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceProviderId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceId": {
                    "type": "string",
                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                  },
                  "vimLevelResourceType": {
                    "type": "string",
                    "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                  }
                }
              },
              "storageResourceIds": {
                "type": "array",
                "description": "References to the VirtualStorage resources. The value refers to a VirtualStorageResourceInfo item in the VnfInstance.\n",
                "items": {
                  "type": "string",
                  "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                }
              },
              "reservationId": {
                "type": "string",
                "description": "An identifier with the intention of being globally unique.\n"
              },
              "vnfcCpInfo": {
                "type": "array",
                "description": "CPs of the VNFC instance. Shall be present when that particular CP of the VNFC instance is associated to an external CP of the VNF instance. May be present otherwise.\n",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "cpdId"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    },
                    "cpdId": {
                      "type": "string",
                      "description": "An identifier that is unique within a VNF descriptor.\n"
                    },
                    "vnfExtCpId": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    },
                    "cpProtocolInfo": {
                      "type": "array",
                      "description": "Network protocol information for this CP.\n",
                      "items": {
                        "description": "This type describes the protocol layer(s) that a CP uses together with protocol-related information, like addresses. \n",
                        "required": [
                          "layerProtocol"
                        ],
                        "properties": {
                          "layerProtocol": {
                            "type": "string",
                            "enum": [
                              "IP_OVER_ETHERNET"
                            ],
                            "description": "The identifier of layer(s) and protocol(s) associated to the network address information.  Permitted values: IP_OVER_ETHERNET This attribute allows to signal the addition of further types of layer and protocol in future versions of the present document in a backwards-compatible way. In the current version of the present document, only IP over Ethernet is supported.\n"
                          },
                          "ipOverEthernet": {
                            "type": "object",
                            "description": "This type represents information about a network address that has been assigned. \n",
                            "required": [
                              "macAddress"
                            ],
                            "properties": {
                              "macAddress": {
                                "type": "string",
                                "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                                "format": "MAC"
                              },
                              "ipAddresses": {
                                "type": "array",
                                "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "type"
                                  ],
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "IPV4",
                                        "IPV6"
                                      ],
                                      "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n"
                                    },
                                    "addresses": {
                                      "type": "array",
                                      "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
                                      "items": {
                                        "type": "string",
                                        "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",
                                        "format": "IP"
                                      }
                                    },
                                    "isDynamic": {
                                      "type": "boolean",
                                      "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"
                                    },
                                    "addressRange": {
                                      "type": "object",
                                      "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
                                      "required": [
                                        "minAddress",
                                        "maxAddress"
                                      ],
                                      "properties": {
                                        "minAddress": {
                                          "type": "string",
                                          "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",
                                          "format": "IP"
                                        },
                                        "maxAddress": {
                                          "type": "string",
                                          "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",
                                          "format": "IP"
                                        }
                                      }
                                    },
                                    "subnetId": {
                                      "type": "string",
                                      "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",
                                      "format": "IP"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "vnfLinkPortId": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "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"
              }
            }
          }
        },
        "virtualLinkResourceInfo": {
          "type": "array",
          "description": "Information about the virtualised network resources used by the VLs of the VNF instance.\n",
          "items": {
            "type": "object",
            "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",
            "required": [
              "id",
              "vnfVirtualLinkDescId",
              "networkResource"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
              },
              "vnfVirtualLinkDescId": {
                "type": "string",
                "description": "An identifier that is unique within a VNF descriptor.\n"
              },
              "networkResource": {
                "type": "object",
                "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                "required": [
                  "vimConnectionId",
                  "resourceId"
                ],
                "properties": {
                  "vimConnectionId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceProviderId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceId": {
                    "type": "string",
                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                  },
                  "vimLevelResourceType": {
                    "type": "string",
                    "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                  }
                }
              },
              "reservationId": {
                "type": "string",
                "description": "An identifier with the intention of being globally unique.\n"
              },
              "vnfLinkPorts": {
                "type": "array",
                "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",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "resourceHandle"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    },
                    "resourceHandle": {
                      "type": "object",
                      "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                      "required": [
                        "vimConnectionId",
                        "resourceId"
                      ],
                      "properties": {
                        "vimConnectionId": {
                          "type": "string",
                          "description": "An identifier with the intention of being globally unique.\n"
                        },
                        "resourceProviderId": {
                          "type": "string",
                          "description": "An identifier with the intention of being globally unique.\n"
                        },
                        "resourceId": {
                          "type": "string",
                          "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                        },
                        "vimLevelResourceType": {
                          "type": "string",
                          "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                        }
                      }
                    },
                    "cpInstanceId": {
                      "type": "string",
                      "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "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"
              }
            }
          }
        },
        "virtualStorageResourceInfo": {
          "type": "array",
          "description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n",
          "items": {
            "type": "object",
            "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n",
            "required": [
              "id",
              "virtualStorageDescId",
              "storageResource"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n"
              },
              "virtualStorageDescId": {
                "type": "string",
                "description": "An identifier that is unique within a VNF descriptor.\n"
              },
              "storageResource": {
                "type": "object",
                "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
                "required": [
                  "vimConnectionId",
                  "resourceId"
                ],
                "properties": {
                  "vimConnectionId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceProviderId": {
                    "type": "string",
                    "description": "An identifier with the intention of being globally unique.\n"
                  },
                  "resourceId": {
                    "type": "string",
                    "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n"
                  },
                  "vimLevelResourceType": {
                    "type": "string",
                    "description": "Type of the resource in the scope of the VIM or the resource provider.\n"
                  }
                }
              },
              "reservationId": {
                "type": "string",
                "description": "An identifier with the intention of being globally unique.\n"
              },
              "metadata": {
                "type": "object",
                "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"
              }
            }
          }
        }
      }
    },
    "metadata": {
      "type": "object",
      "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"
    },
    "extensions": {
      "type": "object",
      "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"
    },
    "_links": {
      "type": "object",
      "description": "Links to resources related to this resource.\n",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "indicators": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "instantiate": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "terminate": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "scale": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "scaleToLevel": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "changeFlavour": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "heal": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "operate": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        },
        "changeExtConn": {
          "type": "object",
          "description": "This type represents a link to a resource.\n",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "URI of the referenced resource.\n",
              "format": "url"
            }
          }
        }
      }
    }
  }
}