{
	"type" : "object",
	"$schema" : "http://json-schema.org/draft-06/schema",
	"title" : "Lobby protocol: clientProxyLogin",
	"description" : "Sent by client when player attempt to connect to game room in proxy mode",
	"required" : [ "type", "accountID", "accountCookie", "gameRoomID" ],
	"additionalProperties" : false,

	"properties" : {
		"type" :
		{
			"type" : "string",
			"const" : "clientProxyLogin"
		},
		"accountID" :
		{
			"type" : "string",
			"description" : "ID of existing account to login with"
		},
		"accountCookie" :
		{
			"type" : "string",
			"description" : "Secret UUID for identification"
		},
		"gameRoomID" :
		{
			"type" : "string",
			"description" : "ID of game room to connect to"
		}
	}
}
