{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "PredictiveCards",
    "type": "object",
    "additionalProperties": false,
    "description": "TAnalytics-v3 .. Log when a click on a destination renders the Details page for the Address or POI",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v3/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/v3/PredictiveListItem.json"
            },
            "description": "Required List of dest_lat, dest_lon, entity_id, label, confidence, status etc"
        },
        "display_screen": {
            "type": "string",
            "enum": ["PORCH_VIEW", "CLUSTER", "CSM"],
            "description": "This is for multi-screen tracking and will capture which screen predictive cards are being shown"
        }
    },
    "required": [
        "log_context",
        "event_name",
        "start_engine_id",
        "impression_id",
        "predictive_card_list",
        "request_id",
        "display_screen"
    ]
}