{
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "PlaceDetails",
    "type" : "object",
    "additionalProperties" : false,
    "description" : "TAnalytics-v1 .. Log when a click on a destination renders the Details page for the Address or POI",
    "properties" : {
        "log_context" : {
            "$ref" : "/resources/schema/analytics/service/entity/v1/LogContext.json",
            "description" : "Required Log Context Reference"
        },
        "event_name" : {
            "type" : "string",
            "enum" : [
                "PLACE_DETAILS"
            ]
        },
        "schema_definition" : {
            "type" : "string",
            "enum" : [
                "PlaceDetails"
            ]
        },
        "trigger" : {
            "$ref" : "/resources/schema/analytics/service/entity/v1/DetailTriggerType.json",
            "description" : "Starting Point of the Search in the app"
        },
        "detail_level" : {
            "$ref" : "/resources/schema/analytics/service/entity/v1/DetailLevelType.json",
            "description" : "detail - for single look-up. basic - for batch look-up"
        },
        "entity_detail_list" : {
            "type" : "array",
            "items" : {
                "$ref" : "/resources/schema/analytics/service/entity/v1/EntityDetailListItem.json"
            },
            "uniqueItems" : true,
            "description" : "List of EntityIDs,entity type, facet, lat, lon, address, distance,etc. If no results returned, only the entity_id would be present."
        },
        "transaction_id" : {
            "type" : "string",
            "description" : "Required .. Search transaction ID for the request"
        }
    },
    "required" : [
        "log_context",
        "event_name",
        "schema_definition",
        "transaction_id"
    ]
}