{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"PersistentLocation",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. Persistent Location object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["PERSISTENT_LOCATION"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["PersistentLocation"]
		},
		"action":{
			"$ref":"/resources/schema/analytics/client/v2/ClickActionType.json",
			"description":"Required .. Tap on Home or Work or Back"
		},
		"type":{
			"$ref":"/resources/schema/analytics/client/v2/PersistentLocationType.json",
			"description":"Required .. Type of persistent location"
		},
		"label":{
			"type": "string",
			"description":"Label of the location given by the user. Would be different from type if custom label."
		},
		"destination_id":{
			"type": "string",
			"description":"If it’s a server provided key destination then send associated destination id"
		},
		"impression_id":{
            "type": "string",
            "description":"If it’s a server provided key destination then unique id for each impression"
        },
        "address":{
            "type": "string",
            "description":"Address string of the persistant location"
        },
		"interaction_method": {
			"$ref": "/resources/schema/analytics/client/v2/InteractionMethodValues.json",
			"description": "for each user interaction log the interation method"
		}
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"action",
		"type"
	]
}