{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "DataPackage",
	"type" : "object",
	"additionalProperties" : true,
	"description" : "Version v1 - This Object represent the DataPackage information.",
	"properties" : {
		"size_in_bytes" : {
			"type" : "integer",
			"description" : "This parameter indicates the size of the package in bytes",
			"minimum" : 1,
			"maximum" : 536870912
		},

		"md5_checksum" : {
			"type" : "string",
			"description" : "The MD5 Hash (in hexadecimal format) for the file",
			"minLength" : 24
		},

		"secure_signature" : {
			"type" : "string",
			"description" : "The Base64 encoded encrypted signature of 'md5_checksum' attribute of the file",
			"minLength" : 4
		},

		"secure_signature_key_id" : {
			"type" : "string",
			"description" : "ID of the key used to create the secure signature.",
			"minLength" : 4
		},

		"download_url" : {
			"type" : "string",
			"description" : "The URL of the File/Part",
			"minLength" : 3
		}
	},

	"required" :
	[
		"size_in_bytes",
		"md5_checksum",
		"download_url"
	]
}
