{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "Autosuggest",
	"type": "object",
	"additionalProperties": false,
	"description": "Analytics-v2 .. Autosuggest object",
	"properties": {
		"log_context": {
			"$ref": "/resources/schema/analytics/client/v2/LogContext.json",
			"description": "Required Log Context Reference"
		},
		"event_name": {
			"type": "string",
			"enum": ["AUTOSUGGEST"]
		},
		"schema_definition": {
			"type": "string",
			"enum": ["Autosuggest"]
		},
		"term": {
			"type": "string",
			"description": "Required .. The string entered in Onebox at which point a suggestion was made."
		},
		"type": {
			"$ref": "/resources/schema/analytics/client/v2/AutosuggestType.json",
			"description": "Required .. Autosuggest type whether a result of Did you mean/Did you mean address."
		},
		"suggestion_list": {
			"type": "array",
			"items": {
				"$ref": "/resources/schema/analytics/client/v2/SearchListItem.json"
			},
			"uniqueItems": true,
			"description": "Required List consisting of impression_id, entity_id, category_id, term and type. Will be empty if no result in autosuggest"
		},
		"transaction_id": {
			"type": "string",
			"description": "The transaction ID for the request"
		},
		"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",
		"term",
		"type",
		"suggestion_list"
	]
}