{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "OTACheckForUpdateResult",
	"type" : "object",
	"additionalProperties" : true,
	"description" : "Version v1 - This Object represent the CheckForUpdateNotifyResult 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"
		},
				
		"free_space_needed_in_mb": {
			"type": "integer",
			"description": "Free space needed to install this update"
		},
		
		"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"
	]
}
