{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"AppDeactivated",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v4 .. App Deactivated object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v4/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["APP_DEACTIVATED"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["AppDeactivated"]
		},
		"trigger":{
			"$ref":"/resources/schema/analytics/client/v4/type/AppDeactivatedTriggerType.json",
			"description":"Action that caused the application to be deactivated. This could be a user action or external action like a phone call that causes the app to be sent to background"
		},
		"caused_by":{
			"type":"string",
			"description":"A short description of the action that caused the app to be deactivated"
		}
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"trigger",
		"caused_by"
	]
}