{
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "PredictiveCards",
    "type" : "object",
    "additionalProperties" : false,
    "description" : "TAnalytics-v2 .. Log when a click on a destination renders the Details page for the Address or POI",
    "properties" : {
        "log_context" : {
            "$ref" : "/resources/schema/analytics/client/v2/LogContext.json",
            "description" : "Required Log Context Reference"
        },
        "event_name" : {
            "type" : "string",
            "enum" : [
                "PREDICTIVE_CARDS"
            ]
        },
        "schema_definition" : {
            "type" : "string",
            "enum" : [
                "PredictiveCards"
            ]
        },
        "start_engine_id" : {
            "type" : "string",
            "description" : "Required Identifier of the start engine"
        },
        "route_id" : {
            "type" : "string",
            "description" : "Optional - if it's a guided navigation, then log the route_id for the trip"
        },
        "impression_id" : {
            "type" : "string",
            "description" : "The Identifier of the Impression associated with the place"
        },
        "request_id" : {
            "type" : "string",
            "description" : "Unique id for each response received from the server"
        },
        "predictive_card_list" : {
            "type" : "array",
			"items": {
				"$ref": "/resources/schema/analytics/client/v2/PredictiveListItem.json"
			},        
		"description": "Required List of dest_lat, dest_lon, entity_id, label, confidence, status etc"
		}
    },
    "required" : [
        "log_context",
        "event_name",
        "start_engine_id",
        "impression_id",
        "predictive_card_list",
        "request_id"
    ]
}