{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"RateApp",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v2 .. Rate App object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v2/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["RATE_APP"]		
		},
		"schema_definition":{
			"type": "string",
			"enum": ["RateApp"]
		},
		"action":{
			"$ref":"/resources/schema/analytics/client/v2/RateActionType.json",
			"description":"Required .. Whether user clicked on No or Remind Later or clicked on the option to rate the app."
		},
		"trigger":{
			"$ref":"/resources/schema/analytics/client/v2/ActivityTriggerType.json",
			"description":"Required .. Where the app rating was clicked from - whether prompted by app or a user action"
		},
		"description":{
			"type" : "string",
			"description":"The message shown to user in the prompt if trigger is APP_PROMPT."
		}
		
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"action",
		"trigger"
	]
}