{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "CheckForUpdateResult",
	"type" : "object",
	"additionalProperties" : true,
	"description" : "Version v1 - This Object represent the CheckForUpdateResult information.",
	"properties" : {
		"update_type" : {
			"$ref" : "/resources/schema/adm/v1/UpdateType.json",
			"description" : "Type of Update"
		},
		
		"layer_type" : {
			"type" : "string",
			"description" : "Type of the layer"
		},
		
		"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"
	]
}
