mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
22 lines
507 B
JSON
22 lines
507 B
JSON
{
|
|
"type" : "object",
|
|
"$schema" : "http://json-schema.org/draft-06/schema",
|
|
"title" : "Lobby protocol: operationFailed",
|
|
"description" : "Sent by server whenever operation requested by client fails",
|
|
"required" : [ "type", "reason" ],
|
|
"additionalProperties" : false,
|
|
|
|
"properties" : {
|
|
"type" :
|
|
{
|
|
"type" : "string",
|
|
"const" : "operationFailed"
|
|
},
|
|
"reason" :
|
|
{
|
|
"type" : "string",
|
|
"description" : "Human-readable description of reason behind operation failure, in English"
|
|
}
|
|
}
|
|
}
|