{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CommandExecResponse",
  "description": "Final buffered result for `command/exec`.",
  "type": "object",
  "required": [
    "exitCode",
    "stderr",
    "stdout"
  ],
  "properties": {
    "exitCode": {
      "description": "Process exit code.",
      "type": "integer",
      "format": "int32"
    },
    "stderr": {
      "description": "Buffered stderr capture.\n\nEmpty when stderr was streamed via `command/exec/outputDelta`.",
      "type": "string"
    },
    "stdout": {
      "description": "Buffered stdout capture.\n\nEmpty when stdout was streamed via `command/exec/outputDelta`.",
      "type": "string"
    }
  }
}