{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "OTAGetUpdateResult",
	"type" : "object",
	"additionalProperties" : true,
	"description" : "Version v1 - This Object represent the GetUpdateNotifyResult information.",
	"properties" : {
		"update_type" : {
			"$ref" : "/resources/schema/adm/v1/UpdateType.json",
			"description" : "Type of Update"
		},
		
		"layer_type" : {
			"type" : "string",
			"description" : "Type of the layer"
		},

		"area_type": {
			"$ref": "/resources/schema/adm/v1/AreaType.json",
			"description": "Supported values:</br></br>1.HOME_AREA</br>2.DESTINATION_AREA</br>3.COMMON_AREA</br>"
		},
		
		"version" : {
			"$ref" : "/resources/schema/adm/v1/Version.json",
			"description" : "data Version this Update belongs to"
		},
				
		"total_update_size_in_bytes": {
			"type": "integer",
			"description": "Total Update Size to download"
		},
		
		"free_space_needed_in_mb": {
			"type": "integer",
			"description": "Free space needed to install this update"
		},
						
		"data_packages" : {
			"type" : "array",
			"items" : {
				"$ref" : "/resources/schema/adm/v1/DataPackage.json",
				"description" : "Every element of the array is of type DataPackage"
			},
			
			"description" : "Array of DataPackage if available. This is not filled for Check Update call. Only Get Updates will include this information "
		},
				
		"metadata": {
			"$ref" : "/resources/schema/adm/v1/Metadata.json",
			"description" : "Metadata returned from the service to help with get update request"						
		}
		
	},

	"required" : 
	[
		"update_type",
		"layer_type"
	]
}
