{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "DRGAlert",
	"type": "object",
	"additionalProperties": false,
	"description": "TAnalytics-v2 .. DRG Alert event",
	"properties": {
		"log_context": {
			"$ref": "/resources/schema/analytics/client/v2/LogContext.json",
			"description": "Required Log Context Reference"
		},
		"event_name": {
			"type": "string",
			"enum": [
				"DRG_ALERT"
			]
		},
		"schema_definition": {
			"type": "string",
			"enum": [
				"DRGAlert"
			]
		},
		"source": {
			"type": "string",
			"description": "If alert was triggered during active guidance, log ACTIVE_GUIDANCE"
		},
		"caused_by": {
			"$ref": "/resources/schema/analytics/client/v2/DeviationCauseType.json",
			"description": "If type is TRAFFIC_INCIDENT then log the reason here"
		},
		"type": {
			"type": "string",
			"description": "Required ..Type of the alert"
		},
		"interaction_method": {
			"$ref": "/resources/schema/analytics/client/v2/InteractionMethodValues.json",
			"description": "for each user interaction log the interation method"
		}
	},
	"required": [
		"log_context",
		"event_name",
		"type"
	]
}