

{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"MeetupName",
	"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_NAME"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["MeetUpName"]
		},
		"action":{
			"type": "string",
			"description": "Log CLICK when a user taps to add name;Log BACK when user decides to go back instead of adding a name"
		},
		"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"
		},
		"group_name":{
			"type":"string",
			"description":"meet up name when action=CLICK"
		}
	},
	"required":[
	 	"log_context",
	        "event_name",
        	"schema_definition",	
		"action",
		"trigger"
	]
}