{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"LogContext",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v1 .. basic Log Context object for entity service",
	"properties":{
		"utc_timestamp":{
			"type":"integer",
			"description":"Required UTC timestamp in milliseconds for event/click"
		},
		"time_zone":{
			"$ref":"/resources/schema/analytics/service/entity/v1/TimeZoneType.json",
			"description":"Required User specific timestamp in milliseconds for event/click"
		},
		"log_id":{
			"type":"string",
			"description":"Required UUID of the log record"
		},
		"ad_id":{
			"type":"string",
			"description":"IDFA/Android-ID"
		},
		"reg_vid":{
			"type":"string",
			"description":"Registered Visitor ID - Currently known as internal UserID"
		},
		"custom_vid":{
			"type":"string",
			"description":"User ID as defined by the customer if available."
		},
		"app_id":{
			"type":"string",
			"description":"Application APP ID"
		},
		"platform":{
			"type":"string",
			"description":"Required..The client name. Eg: Nuance. "
		},
		"api_version":{
			"type":"string",
			"description":"Required..Version of the API invoked"
		},
		"api_key":{
			"type":"string",
			"description":"Required..API key client leverages to use our API"
		},
		"current_lat":{
			"type":"number",
			"description":"current latitude of the user"
		},
		"current_lon":{
			"type":"number",
			"description":"Current longitude of the user"
		},
		"status_code":{
			"type":"string",
			"description":"Status code returned in the response"
		},
		"status_message":{
			"type":"string",
			"description":"Status message returned in the response"
		},		
		"log_version":{
			"$ref":"/resources/schema/analytics/service/entity/v1/LogVersionType.json",
			"description":"Required version of the logging specs.  This one is V1"
		}
		
	},
	"required":[
		"utc_timestamp",
		"log_id",
		"platform",
		"api_version",
		"api_key",
		"log_version"
	]
	
}