{
	"type" : "object",
	"$schema" : "http://json-schema.org/draft-06/schema",
	"title" : "Lobby protocol: clientRegister",
	"description" : "Sent by client when player attempts to create a new account",
	"required" : [ "type", "displayName", "language", "version" ],
	"additionalProperties" : false,

	"properties" : {
		"type" :
		{
			"type" : "string",
			"const" : "clientRegister"
		},
		"displayName" :
		{
			"type" : "string",
			"description" : "Desired name of a new account"
		},
		"language" :
		{
			"type" : "string",
			"description" : "Language of client, see lib/Languages.h for full list"
		},
		"version" :
		{
			"type" : "string",
			"description" : "Version of client, e.g. 1.5.0"
		}
	}
}
