{
	"type" : "object",
	"$schema" : "http://json-schema.org/draft-06/schema",
	"title" : "Lobby protocol: activateGameRoom",
	"description" : "Sent by client when player wants to activate a game room",
	"required" : [ "type", "hostAccountID", "roomType" ],
	"additionalProperties" : false,

	"properties" : {
		"type" :
		{
			"type" : "string",
			"const" : "activateGameRoom"
		},
		"hostAccountID" :
		{
			"type" : "string",
			"description" : "Account ID that hosts match server that player wants to activate"
		},
		"roomType" :
		{
			"type" : "string",
			"enum" : [ "public", "private" ],
			"description" : "Room type to use for activation"
		},
		"playerLimit" :
		{
			"type" : "number",
			"minimum" : 1,
			"maximum" : 8,
			"description" : "Maximum number of players that can enter this room"
		},
	}
}
