{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"TrafficDetails",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. Traffic Details object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["TRAFFIC_DETAILS"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["TrafficDetails"]
		},
		"action":{
			"$ref":"/resources/schema/analytics/client/v2/ClickActionType.json",
			"description":"Required .. Log Click when user clicks on a traffic incident to see the details. Log Close when user closes the popup."
		},
		"type":{
			"$ref":"/resources/schema/analytics/client/v2/TrafficIncidentType.json",
			"description":"Required .. The type of traffic incident like accident, construction, congestion, etc."
		},
		"description":{
			"type":"string",
			"description":"Required .. The description that was displayed."
		},
		"display_screen":{
			"$ref":"/resources/schema/analytics/client/v2/MapDisplayScreenType.json",
			"description":"Required .. Which screen the traffic incident was opened from."
		},
		"entity_id":{
			"type":"string",
			"description":"EntityID if clicked from PlaceDetails page."
		},
		"route_id":{
			"type":"string",
			"description":"RouteID for the route from which the traffic incident was clicked on if on the Routes page."
		},
		"search_id":{
			"type":"string",
			"description":"SearchID that resulted in the map displayed on which the incident was clicked on."
		}
		
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"action",
		"type",
		"description",
		"display_screen"
	]
}