{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"title" : "ManagedArea",
	"type" : "object",
	"additionalProperties" : true,
	"description" : "Version v1 - This Object represent the ManagedArea on the client.",
	"properties" : {
		"area_type" : {
			"$ref" : "/resources/schema/adm/v1/AreaType.json",
			"description" : "Type of the area"
		},

		"layers" : {
			"type" : "array",
			"items" : {
				"$ref" : "/resources/schema/adm/v1/Layer.json",
				"description" : "Every element of the array is of type Layer"
			},
			
			"description" : "Array of layers being managed under this area and their info."
		},

		"area" : {
			"$ref" : "/resources/schema/adm/v1/Area.json",
			"description" : "Area that is being managed, this is the Current area/bounding box value"
		}
		
	},

	"required" : 
	[
		"area_type",
		"layers",
		"area"
	]
}