{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"PanMap",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. Pan Map object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["PAN_MAP"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["PanMap"]
		},
		"display_screen":{
			"$ref":"/resources/schema/analytics/client/v2/MapDisplayScreenType.json",
			"description":"Required .. The screen displayed when panning the map"
		},
		"zoom_level":{
			"type":"number",
			"description":"Required .. Zoom level of map view."
		},
		"centroid_lat":{
			"type":"number",
			"description":"Required .. Centroid Latitude"
		},
		"centroid_lon":{
			"type":"number",
			"description":"Required .. Centroid Longitude"
		},
		"entity_id":{
			"type":"string",
			"description":"EntityID of the place if on PlaceDetails page"
		},
		"search_id":{
			"type":"string",
			"description":"LogID of Search that led to the result if Details page"
		},
		"map_style":{
			"$ref":"/resources/schema/analytics/client/v2/MapStyleType.json",
			"description":"Whether 3D or 2D selected only if user changed it."
		},
		"interaction_method": {
			"$ref": "/resources/schema/analytics/client/v2/InteractionMethodValues.json",
			"description": "for each user interaction log the interation method"
		}
		
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"display_screen",
		"zoom_level",
		"centroid_lat",
		"centroid_lon"
	]
}