{
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "CardInteraction",
    "type" : "object",
    "additionalProperties" : false,
    "description" : "TAnalytics-v4 .. Log when a click on a destination renders the Details page for the Address or POI",
    "properties" : {
        "log_context" : {
            "$ref" : "/resources/schema/analytics/client/v4/LogContext.json",
            "description" : "Required Log Context Reference"
        },
        "event_name" : {
            "type" : "string",
            "enum" : [
                "CARD_INTERACTION"
            ]
        },
        "schema_definition" : {
            "type" : "string",
            "enum" : [
                "CardInteraction"
            ]
        },
        "action" : {
            "type" : "string",
            "$ref": "/resources/schema/analytics/client/v4/type/CardInteractionActionType.json",
            "description" : "The action that the user takes on the card"
        },
        "trigger" : {
            "$ref": "/resources/schema/analytics/client/v4/type/CardTriggerType.json",
            "description" : "What triggered this event. SYSTEM - when system decide to hide the card for any reason e.g. Auto-hide, user not following the predicted route etc. trigger_cause will have additional information on this. USER - When user explicitly triggers the event"
        },
        "trigger_cause" : {
            "type" : "string",
            "description" : "Any english description of cause of the trigger."
        },
        "impression_id" : {
            "type" : "string",
            "description" : "The identifier of the impression associated with an instance of cards displayed."
        },
        "predictive_card" : {
            "$ref": "/resources/schema/analytics/client/v4/item/PredictiveListItem.json",
            "description" : "All of the details associated with the predictive card selected. Structure of this is same as the one item in predictive_card_list array in predictive_cards event."
        },
        "interaction_method": {
            "$ref": "/resources/schema/analytics/client/v4/type/InteractionMethodValues.json",
            "description": "for each user interaction log the interation method"
        }
    },
    "required" : [
        "log_context",
        "event_name",
        "action",
        "trigger",
        "impression_id",
        "predictive_card"
    ]
}