{
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "TRAFFIC",
    "type" : "object",
    "additionalProperties" : false,
    "description" : "TAnalytics-v2 .. When any traffic incident report by any provider is triggered, except for route calculation",
    "properties" : {
        "log_context" : {
            "$ref" : "/resources/schema/analytics/client/v2/LogContext.json",
            "description" : "Required Log Context Reference"
        },
	"event_name":{
	    "type": "string",
	    "enum": ["TRAFFIC"]		
	},
	"schema_definition":{
	    "type": "string",
	    "enum": ["Traffic"]
	},
        "trigger" : {
            "type" : "string",
            "description" : "Optional trigger that activated the traffic event"
        },
        "flow_vendor" : {
            "type" : "string",
            "description" : "Required name of the traffice vendor"
        },
        "incident_vendor" : {
            "type" : "string",
            "description" : "Required name of the traffice incident vendor"
        },
        "incident_count" : {
            "type" : "string",
            "description" : "Optional number of the traffic incidents"
        },
        "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",
        "flow_vendor",
        "incident_vendor"
    ]
}