{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"Route",
	"type":"object",
	"additionalProperties":false,
	"description":"TAnalytics-v1",
	"properties":{
		"Intent":{
			"enum":[
				"RouteRequest",
				"Deviation",
				"Waypoint",
				"ResumeRoute",
				"ResumeFromWP"
			],
			"description":"Required Intent of the Route Generation"
		},
		"TrafficVendor":{
			"type":"string",
			"description":"Required Traffic Flow Vendor Name"
		},
		"TrafficIncidentVendor":{
			"type":"string",
			"description":"Required Traffic Incident Vendor Name"
		},
		"OriginLat":{
			"type":"number",
			"description":"Required Latitude of origin"
		},
		"OriginLon":{
			"type":"number",
			"description":"Required Longitude of origin"
		},
		"DestLat":{
			"type":"number",
			"description":"Required Latitude of destination"
		},
		"DestLon":{
			"type":"number",
			"description":"Longitude of destination"
		},
		"EntityID":{
			"type":"string",
			"description":"Optional Entity ID of the destination that was chosen"
		},
		"IID":{
			"type":"string",
			"description":"Optional Impression ID of the chosen destination POI from SRP"
		},
		"Position":{
			"type":"number",
			"description":"Optional Position Number of POI on SRP"
		},
		"Distance":{
			"type":"number",
			"description":"Optional distance to travel, returned by routing API"
		},
		"ETA":{
			"type":"number",
			"description":"Optional estimated arrival time, returned by routing API"
		},
		"Mode":{
			"enum":[
				"AUTOMOBILE",
				"PEDESTRIAN"
			],
			"description":"The route type selected in Route Options"
		},
		"AvoidHighway":{
			"type":"boolean",
			"description":"Route option setting for Highway"
		},
		"AvoidTolls":{
			"type":"boolean",
			"description":"Route option setting for Tolls"
		},
		"AvoidFerries":{
			"type":"boolean",
			"description":"Route option setting for Ferries"
		},
		"AvoidCarpoolLanes":{
			"type":"boolean",
			"description":"Route option setting for Carpool Lanes"
		},
		"VoiceDirections":{
			"type":"boolean",
			"description":"Route option setting for Voice Directions"
		},
		"VoiceTraffic":{
			"type":"boolean",
			"description":"Route option setting for Voice Traffic"
		},
		"ShareETA":{
			"type":"boolean",
			"description":"Route setting for whether ETA is shared or not"
		},
		"TrafficIncidents":{
			"type":"number",
			"description":"The number of traffic incidents displayed on the route"
		},
		"RoutePosition":{
			"type":"number",
			"description":"The position of the route displayed on the screen from left to right"
		},
		"DestType":{
			"enum":[
				"Home",
				"Work",
				"POI",
				"Address"
			],
			"description":"Type of destination on how the route calculation was initiated"
		},
		"SearchID":{
			"type":"string",
			"description":"The LogID of the Search that resulted in the Route Calculation"
		},
		"CouponID":{
			"type":"string",
			"description":"The LogID of the Coupon selection that resulted in the Route Calculation"
		},
		"ParentSearchID":{
			"type":"string",
			"description":"The LogID of the original Search for the entire trip"
		},
		"ParentRouteID":{
			"type":"string",
			"description":"The LogID of the original route for the entire trip"
		}

	},
	"required":[
		"Intent",
		"TrafficVendor",
		"TrafficIncidentVendor",
		"OriginLat",
		"OriginLon",
		"DestLat",
		"DestLon",
		"Mode",
		"AvoidHighway",
		"AvoidTolls",
		"AvoidFerries",
		"AvoidCarpoolLanes",
		"VoiceDirections",
		"VoiceTraffic",
		"ShareETA",
		"RoutePosition",
		"ParentRouteID"
	]
}