{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"AppActivated",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. App Activated object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["APP_ACTIVATED"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["AppActivated"]
		},
		"trigger":{
			"$ref":"/resources/schema/analytics/client/v2/AppActivatedTriggerType.json",
			"description":"Required Entry point from which the app was launched. If a user launced the app from a Facebook link, the trigger would be FB"
		},
		"launch_type":{
			"$ref":"/resources/schema/analytics/client/v2/AppLaunchType.json",
			"description":"Required .. If it's a new user log as FTUE. For an existing user launching the app, log as SUBSEQUENT. Log as FOREGROUND if app was activated from the  background."
		},
		"display_screen":{
			"$ref":"/resources/schema/analytics/client/v2/LaunchDisplayType.json",
			"description":"Required .. The screen displayed on app activation. This would be different depending on whether the user launched the app from a shortcut, background or meetup link"
		},
		"number_of_listed_items":{
			"type":"number",
			"description":" "
		}
		
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"trigger",
		"launch_type",
		"display_screen"
	]
}