{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Traffic",
    "type": "object",
    "additionalProperties": false,
    "description": "TAnalytics-v3 .. When any traffic incident report by any provider is triggered, except for route calculation",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v3/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/v3/InteractionMethodValues.json",
            "description": "for each user interaction log the interation method"
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition",
        "trigger",
        "flow_vendor",
        "incident_vendor",
        "incident_count"
    ]
}