{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"NavEdges",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v3 .. Nav Edges object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v3/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["NAV_EDGES"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["NavEdges"]
		},
		"trigger":{
			"$ref":"/resources/schema/analytics/client/v3/ProbeTriggerType.json",
			"description":"Required .. If user is driving in follow me mode,log FOLLOW_ME. If user is driving in nav mode or switches to nav mode, log GUIDED_NAV. If user is in guided nav mode and deviates, log DEVIATION"
		},
		"start_engine_id":{
			"type":"string",
			"description":"Required .. Log id of the START_ENGINE event preceding the navigation"
		},
		"route_id":{
			"type":"string",
			"description":"If a guided navigation, then log the route_id for the trip. If in follow-me mode then route_id will not be applicable"
		},
		"travelled_edge_id_list":{
			"type" : "array",
			"items" : {
			    "$ref" : "/resources/schema/analytics/client/v3/EdgeListItem.json"
			},
			"minItems" : 1,
			"description" : "Required List of edge IDs traversed while navigating"
		},
		"recommended_edge_id_list":{
			"type" : "array",
			"items" : {
			    "$ref" : "/resources/schema/analytics/client/v3/EdgeListItem.json"
			},
			"description" : "List of edge IDs originally recommended for the deviation segment. This list would be populated only in case a deviation occurs."
		}		
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"start_engine_id",
		"trigger",
		"route_id",
		"travelled_edge_id_list",
		"recommended_edge_id_list"
	]
}