

{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"MeetUpTime",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. MeetUpTime object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["MEETUP_TIME"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["MeetUpTime"]
		},
		"action":{
			"type": "string",
			"description": "Log SELECT when user adds a time;Log CLICK when a user taps to add time;Log BACK when user decides to go back instead of adding a time"
		},
		"trigger":{
			"type":"string",
			"description":"Log MEETUP_SUMMARY when an existing meetup 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"
		},
		"meetup_time":{
			"type":"string",
			"description":"meet up time when action=SELECT"
		}
	},
	"required":[
	 	"log_context",
	        "event_name",
        	"schema_definition",	
		"action",
		"trigger"
	]
}