{
  "$ref": "#/definitions/CommandResult",
  "definitions": {
    "CommandResult": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "command_result"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "ok": {
          "type": "boolean"
        },
        "result": {},
        "error": {
          "type": "string",
          "maxLength": 4096
        }
      },
      "required": [
        "kind",
        "id",
        "ok"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
