

{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"MeetUpPlace",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. MeetUpPlace object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["MEETUP_PLACE"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["MeetUpPlace"]
		},
		"action":{
			"type": "string",
			"description": "Log SELECT when user adds a location;Log CLICK when a user taps to add location;Log BACK when user decides to go back instead of adding a location"
		},
		"trigger":{
			"type":"string",
			"description":"Log MEETUP_SUMMARY when an existing meetup location is being edited;Log MEETUP_CREATE when a new meet up is being setup"
		},
		"user_type":{
			"type":"string",
			"description":"Log ORGANIZER when a new meet up is being created; or is being edited by the person who set up the meetup;Log PARTICIPANT when an existing meet up is being editec by a member other than ORGANIZER"
		},
		"group_id":{
			"type":"string",
			"description":"Unique group Id"
		},
		"meetup_id":{
			"type":"string",
			"description":"Unique meetup Id"
		},
		"entity_id":{
			"type":"string",
			"description":"Entity ID of the meet up"
		},
		"entity_address":{
			"type":"string",
			"description":"Address for the entity where meet up is created"
		},
		"category_id":{
			"type":"string",
			"description":"Category ID of the meet up location"
		},
		"category":{
			"type":"string",
			"description":"POI category like Coffee, Restaurants, Gas, ATM, etc."
		},
		"dest_lat":{
			"type":"number",
			"description":"Latitude of destination.  Sometimes entity ID lat long can be different from destination lat-long , ex: road located on opposite side of the edge"
		},
		"dest_lon":{
			"type":"number",
			"description":"Longitude of destination.  Sometimes entity ID lat long can be different from destination lat-long , ex: road located on opposite side of the edge"
		},
		"search_id":{
			"type":"string",
			"description":"Search ID from which the destination was chosen"
		}
	},
	"required":[
	 	"log_context",
	        "event_name",
        	"schema_definition",	
		"action",
		"trigger"
	]
}