{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "DRGRouteAction",
	"type": "object",
	"additionalProperties": false,
	"description": "TAnalytics-v3 .. DRG Alert event",
	"properties": {
		"log_context": {
			"$ref": "/resources/schema/analytics/client/v3/LogContext.json",
			"description": "Required Log Context Reference"
		},
		"event_name": {
			"type": "string",
			"enum": [
				"DRG_ROUTE_ACTION"
			]
		},
		"schema_definition": {
			"type": "string",
			"enum": [
				"DRGRouteAction"
			]
		},
		"action": {
			"type": "string",
			"enum": [
				"ACCEPT",
				"REJECT"
			],
			"description": "If alert was triggered during active guidance, log ACTIVE_GUIDANCE"
		},
		"edge_id": {
			"type": "string",
			"description": "First edge id of the recommended route."
		},
		"route_id": {
			"type": "string",
			"description": "Required .. Route ID of the current route"
		},
		"nav_mode": {
			"type": "string",
			"enum": ["SILENT",
				"ACTIVE"
			],
			"description": "This shows navigation mode."
		}
	},
	"required": [
		"log_context",
		"event_name",
		"schema_definition",
		"action",
		"edge_id",
		"nav_mode"
	]
}