{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"CommuteAlertReceived",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. Commute Alert Received object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["COMMUTE_ALERT_RECEIVED"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["CommuteAlertReceived"]
		},
		"type":{
			"$ref":"/resources/schema/analytics/client/v2/CommuteAlertType.json",
			"description":"Required .. Whether HomeToWork alert or WorkToHome alert received."
		},
		"entity_id":{
			"type":"string",
			"description":"Required .. EntityID of destination."
		},
		"eta":{
			"type":"number",
			"description":"Required .. Calculated ETA for which the alert was received."
		},
		"number_of_incidents":{
			"type":"number",
			"description":"The number of traffic incidents displayed on the route."
		}
		
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"type",
		"entity_id",
		"eta"
	]
}