{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"App",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v3 .. App object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v3/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["APP"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["App"]
		},
		"trigger":{
			"$ref":"/resources/schema/analytics/client/v3/AppTriggerType.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"
		},
		"caused_by":{
			"type":"string",
			"description":"A short description of the action that caused the app to be activated"
		},
		"display_screen":{
			"$ref":"/resources/schema/analytics/client/v3/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"
		},
		"app_status":{
			"type": "string",
			"description": "The current status of the app whether active or inactive",
			"enum": ["ACTIVATED", "DEACTIVATED"]
		}
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"trigger",
		"caused_by",
		"display_screen"
	]
}