clientRegister.json 711 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: clientRegister",
  5. "description" : "Sent by client when player attempts to create a new account",
  6. "required" : [ "type", "displayName", "language", "version" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "clientRegister"
  13. },
  14. "displayName" :
  15. {
  16. "type" : "string",
  17. "description" : "Desired name of a new account"
  18. },
  19. "language" :
  20. {
  21. "type" : "string",
  22. "description" : "Language of client, see lib/Languages.h for full list"
  23. },
  24. "version" :
  25. {
  26. "type" : "string",
  27. "description" : "Version of client, e.g. 1.5.0"
  28. }
  29. }
  30. }