{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "EntityDetailListItem",
    "type": "object",
    "additionalProperties": false,
    "description": "TAnalytics-v1 .. List Item for Entity or Place details list",
    "properties": {
        "entity_id": {
            "type": "string",
            "description": "Identifier of the Entity associated with the item in the list"
        },
        "entity_type": {
            "type": "string",
            "description": "Whether the result was a POI or Address or AD."
        },
        "entity_lat": {
            "type": "number",
            "description": "Latitude of the entity"
        },
        "entity_lon": {
            "type": "number",
            "description": "Longitude of the entity."
        },
        "distance": {
            "type": "number",
            "description": "Distance of the entity from current location."
        },
        "address": {
            "type": "string",
            "description": "Address of the place if not an entity."
        },
        "category_id": {
            "type": "string",
            "description": "Identifier of the Category associated with the item in the list"
        }
    },
    "required": [
        "entity_id"
    ]
}