{
	"$schema" : "http://json-schema.org/draft-04/schema#",
	"additionalProperties" : false,
	"description" : "v1 of user login event",
	"properties" : {
		"session_id" : {
			"type" : "string",
			"description" : "ID of the login session"
		},

		"user_id" : {
			"type" : "string",
			"description" : "User ID at the time of login.  Remember that this ID might have changed after add_credentials call"
		},

		"utc_timestamp" : {
			"type" : "integer",
			"description" : "UTC timestamp at the time of login"
		},

		"credentials" : {
			"$ref" : "/resources/schema/data/user/dimension/v1/Credentials.json",
			"description" : "Credentials used to log-in for this event"
		},

		"application_id" : {
			"type" : "string",
			"description" : "Application ID used to log-in for this event"
		},

		"device_info" : {
			"$ref" : "/resources/schema/data/user/dimension/v1/DeviceInfo.json",
			"description" : "Information about the device used at the time of login"
		}
	},

	"required" : 
	[
		"session_id",
		"user_id",
		"utc_timestamp",
		"credentials",
		"application_id",
		"device_info"
	],

	"title" : "LoginEvent",
	"type" : "object"
}