1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/config/schemas/lobbyProtocol/operationFailed.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"
}
}
}