{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"RemoveDestination",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. Remove Destination object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["REMOVE_DESTINATION"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["RemoveDestination"]
		},
		"action":{
			"$ref":"/resources/schema/analytics/client/v2/RemoveDestActionType.json",
            		"description" : "Whether they removed the destination or not"
		},
		"trigger":{
			"$ref":"/resources/schema/analytics/client/v2/RemoveDestinationTrigger.json",
			"description":"Required .. Log AddStop when user adds a stop during navigation. Log Cancel if user cancels the result returned without adding the stop. Log DeleteStop when user removes the detour after adding the stop."
		},
		"entity_id":{
			"type":"string",
			"description":"Entity ID of the POI added or deleted"
		},
		"parent_route_id":{
			"type":"string",
			"description":"Required .. LogID of the original route"
		},
		"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",
		"action",
		"trigger",
		"entity_id",
		"parent_route_id"
	]
}