

{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"MeetUpRSVP",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. MeetUpRSVP object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["MEETUP_RSVP"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["MeetUpRSVP"]
		},
		"action":{
			"type": "string",
			"description": "When the corresponding button on meet up RSVP page is pressed.  DISPLAY when the screen is shown: ACCEPT,BACK,DECLINE,DISPLAY,DRIVE,LETSGO"
		},
		"trigger":{
			"type":"string",
			"description":"Source how user got to the meet up RSVP page - whether from push notification or FTUE, etc::::FTUE,MEETUP,CHAT,PUSHNOTIFICATION,MAP,OTHER"
		},
		"user_type":{
			"type":"string",
			"description":"whether organizer or participant"
		},
		"group_id":{
			"type":"string",
			"description":"Unique group Id"
		},
		"meetup_id":{
			"type":"string",
			"description":"Unique meetup Id"
		},
		"status":{
			"type":"string",
			"description":"whether RSVP was SUCCESS or FAILURE; or whether display failed because meet up expired"
		},
		"caused_by":{
			"type":"string",
			"description":"reason for failure if any"
		}
	},
	"required":[
	 	"log_context",
	        "event_name",
        	"schema_definition",	
		"action",
		"trigger",
		"user_type",
		"group_id",
		"meetup_id"
	]
}