{
  "type": "array",
  "items": 
  {
	"description": "This type represents the information of a VNF snapshot package.\n",
	"type": "object",
	"required": [
		"id",
		"name",
		"isFullSnapshot",
		"state",
		"isCancelPending",
		"_links"
	],
	"properties": {
		"id": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"vnfSnapshotPkgUniqueId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"name": {
			"description": "A string defined in IETF RFC 8259.\n",
			"type": "string"
		},
		"checksum": {
			"description": "Cheksum description\n",
			"type": "string"
		},
		"createdAt": {
			"description": "Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
			"type": "string",
			"format": "date-time"
		},
		"vnfSnapshotId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"vnfcSnapshotInfoIds": {
			"description": "Identifiers of information held by the VNFM about specific VNFC snapshots part  of the VNF snapshot and contained in the VNF snapshot package. This identifier  is allocated by the VNFM during the VNF snapshot creation.\nNOTE: The attribute shall not be present before the VNF snapshot package content  has been uploaded or built. Otherwise, this attribute shall be present unless it  has been requested to be excluded per attribute selector.\n",
			"type": "object",
			"items": {
				"description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
				"type": "string"
			}
		},
		"isFullSnapshot": {
			"description": "The Boolean is a data type having two values (true and false).\n",
			"type": "boolean"
		},
		"vnfdInfo": {
			"description": "This type represents the VNFD which is contained in a VNF snapshot package.\n",
			"type": "object",
			"required": [
				"avnfdId",
				"vnfdPath",
				"checksum",
				"isEncrypted"
			],
			"properties": {
				"avnfdId": {
					"description": "An identifier with the intention of being globally unique.\n",
					"type": "string"
				},
				"vnfdPath": {
					"description": "A string defined in IETF RFC 8259.\n",
					"type": "string"
				},
				"checksum": {
					"description": "Cheksum description\n",
					"type": "string"
				},
				"isEncrypted": {
					"description": "The Boolean is a data type having two values (true and false).\n",
					"type": "boolean"
				}
			}
		},
		"vnfsr": {
			"description": "This type represents the VNF snapshot record which is contained in a VNF snapshot package.\n",
			"type": "object",
			"required": [
				"recordPath",
				"checksum",
				"isEncrypted"
			],
			"properties": {
				"recordPath": {
					"description": "A string defined in IETF RFC 8259.\n",
					"type": "string"
				},
				"checksum": {
					"description": "Cheksum description\n",
					"type": "string"
				},
				"isEncrypted": {
					"description": "The Boolean is a data type having two values (true and false).\n",
					"type": "boolean"
				}
			}
		},
		"vnfcSnapshotImages": {
			"description": "Information about VNF snapshot artifacts that are VNFC snapshot images. Every local and  external snapshot image shall be included. No other artifacts shall be included.\nNOTE: The attribute shall not be present before the VNF snapshot package content  has been uploaded or built. Otherwise, this attribute shall be present unless it  has been requested to be excluded per attribute selector.\n",
			"type": "object",
			"items": {
				"description": "This type represents an artifact contained in a VNF snapshot package which  represents a snapshot image.\n",
				"type": "object",
				"required": [
					"id",
					"name",
					"checksum",
					"isEncrypted",
					"vnfcInstanceId",
					"containerFormat",
					"diskFormat",
					"createdAt",
					"minDisk",
					"minRam",
					"size"
				],
				"properties": {
					"id": {
						"description": "An identifier that is unique within a limited local scope other than above listed identifiers, such as within a complex data structure or within a request-response pair. Representation: string of variable length.\n",
						"type": "string"
					},
					"name": {
						"description": "A string defined in IETF RFC 8259.\n",
						"type": "string"
					},
					"checksum": {
						"description": "Cheksum description\n",
						"type": "string"
					},
					"isEncrypted": {
						"description": "The Boolean is a data type having two values (true and false).\n",
						"type": "boolean"
					},
					"vnfcInstanceId": {
						"description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
						"type": "string"
					},
					"containerFormat": {
						"description": "Container format indicates whether the snapshot image is in a file format that  also contains metadata about the actual snapshot.\nPermitted values: - AKI: a kernel image format - AMI: a machine image format - ARI: a ramdisk image format - BARE: the image does not have a container or metadata envelope - DOCKER: docker container format - OVA: OVF package in a tarfile - OVF: OVF container format\nNOTE: The list of permitted values was taken from \"Container formats\" in [i.5] (OpenStack® documentation: \"Disk and container formats for images\").\n",
						"type": "string",
						"enum": [
							"AKI",
							"AMI",
							"ARI",
							"BARE",
							"DOCKER",
							"OVA",
							"OVF"
						]
					},
					"diskFormat": {
						"description": "Disk format of a snapshot image is the format of the underlying disk image.\nPermitted values: - AKI: a kernel image format - AMI: a machine image format - ARI: a ramdisk image format - ISO: an archive format for the data contents of an optical disc, such as CD-ROM - QCOW2: a common disk image format, which can expand dynamically and supports copy on write - RAW: an unstructured disk image format - VDI: a common disk image format - VHD: a common disk image format - VHDX: enhanced version of VHD format - VMDK: a common disk image format\nNOTE: The list of permitted values was adapted from \"Disk formats\" in [i.5] (OpenStack® documentation: \"Disk and container formats for images\").\n",
						"type": "string",
						"enum": [
							"AKI",
							"AMI",
							"ARI",
							"ISO",
							"QCOW2",
							"RAW",
							"VDI",
							"VHD",
							"VHDX",
							"VMDK"
						]
					},
					"createdAt": {
						"description": "Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
						"type": "string",
						"format": "date-time"
					},
					"minDisk": {
						"description": "Unsigned integer number\n",
						"type": "integer",
						"minimum": 0
					},
					"minRam": {
						"description": "Unsigned integer number\n",
						"type": "integer",
						"minimum": 0
					},
					"size": {
						"description": "Unsigned integer number\n",
						"type": "integer",
						"minimum": 0
					},
					"userMetadata": {
						"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 keyvalue pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259. In the following example, a list of key-value pairs with four keys (\"aString\", \"aNumber\", \"anArray\" and \"anObject\") is provided to illustrate that the values associated with different keys can be of different type.\n",
						"type": "object"
					},
					"imagePath": {
						"description": "A string defined in IETF RFC 8259.\n",
						"type": "string"
					},
					"imageUri": {
						"description": "String formatted according to IETF RFC 3986.\n",
						"type": "string"
					}
				}
			}
		},
		"additionalArtifacts": {
			"description": "Information about VNF snapshot artifacts that are not VNFC snapshot images.\nNOTE: The attribute shall not be present before the VNF snapshot package content  has been uploaded or built. Otherwise, this attribute shall be present unless it  has been requested to be excluded per attribute selector.\n",
			"type": "object",
			"items": {
				"description": "This type represents an artifact other than a software image which is contained in  a VNF snapshot package.\n",
				"type": "object",
				"required": [
					"checksum",
					"isEncrypted"
				],
				"properties": {
					"artifactPath": {
						"description": "A string defined in IETF RFC 8259.\n",
						"type": "string"
					},
					"artifactUri": {
						"description": "String formatted according to IETF RFC 3986.\n",
						"type": "string"
					},
					"checksum": {
						"description": "Cheksum description\n",
						"type": "string"
					},
					"isEncrypted": {
						"description": "The Boolean is a data type having two values (true and false).\n",
						"type": "boolean"
					},
					"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 keyvalue pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259. In the following example, a list of key-value pairs with four keys (\"aString\", \"aNumber\", \"anArray\" and \"anObject\") is provided to illustrate that the values associated with different keys can be of different type.\n",
						"type": "object"
					}
				}
			}
		},
		"state": {
			"description": "State of the VNF snapshot package.  Permitted values: - CREATED: the VNF snapshot package information has been created. - BUILDING: the VNF snapshot package is being built. - UPLOADING: the VNF snapshot package is being uploaded. - EXTRACTING: the VNF snapshot package’s content is being extracted. - AVAILABLE: the VNF snapshot package is available (i.e., build or upload is completed). - ERROR: failure during the VNF snapshot package building, uploading or processing. - ERROR_EXTRACTING: failure during the VNF snapshot package extraction task.\n",
			"type": "string",
			"enum": [
				"CREATED",
				"BUILDING",
				"UPLOADING",
				"EXTRACTING",
				"AVAILABLE",
				"ERROR",
				"ERROR_EXTRACTING"
			]
		},
		"isCancelPending": {
			"description": "The Boolean is a data type having two values (true and false).\n",
			"type": "boolean"
		},
		"failureDetails": {
			"description": "Failure details associated to current error state of the VNF snapshot package state. If \"state\" is \"ERROR\" or \"ERROR_EXTRACTING\", this attribute shall be present unless  it has been requested to be excluded via an attribute selector.\n",
			"type": "object",
			"required": [
				"errorType",
				"details"
			],
			"properties": {
				"errorType": {
					"description": "Type of error, when the failure happened (building, upload, processing, extracting).\nPermitted values: - BUILD_ERROR - UPLOAD_ERROR - PROCESS_ERROR - CANCELLED - EXTRACTION_ERROR\n",
					"type": "string",
					"enum": [
						"BUILD_ERROR",
						"UPLOAD_ERROR",
						"PROCESS_ERROR",
						"CANCELLED",
						"EXTRACTION_ERROR"
					]
				},
				"details": {
					"description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n",
					"type": "object",
					"required": [
						"status",
						"detail"
					],
					"properties": {
						"type": {
							"description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n",
							"type": "string",
							"format": "URI"
						},
						"title": {
							"description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type.  It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n",
							"type": "string"
						},
						"status": {
							"description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n",
							"type": "integer"
						},
						"detail": {
							"description": "A human-readable explanation specific to this occurrence of the problem.\n",
							"type": "string"
						},
						"instance": {
							"description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n",
							"type": "string",
							"format": "URI"
						}
					}
				}
			}
		},
		"userDefinedData": {
			"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 keyvalue pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259. In the following example, a list of key-value pairs with four keys (\"aString\", \"aNumber\", \"anArray\" and \"anObject\") is provided to illustrate that the values associated with different keys can be of different type.\n",
			"type": "object"
		},
		"_links": {
			"description": "Links to resources related to this resource.\n",
			"type": "object",
			"required": [
				"self",
				"packageContent"
			],
			"properties": {
				"self": {
					"description": "This type represents a link to a resource using an absolute URI.\n",
					"type": "object",
					"required": [
						"href"
					],
					"properties": {
						"href": {
							"description": "String formatted according to IETF RFC 3986.\n",
							"type": "string"
						}
					}
				},
				"packageContent": {
					"description": "This type represents a link to a resource using an absolute URI.\n",
					"type": "object",
					"required": [
						"href"
					],
					"properties": {
						"href": {
							"description": "String formatted according to IETF RFC 3986.\n",
							"type": "string"
						}
					}
				}
			}
		}
	}
  }
}