{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "CommandExecTerminalSize": {
      "description": "PTY size in character cells for `command/exec` PTY sessions.",
      "properties": {
        "cols": {
          "description": "Terminal width in character cells.",
          "format": "uint16",
          "minimum": 0.0,
          "type": "integer"
        },
        "rows": {
          "description": "Terminal height in character cells.",
          "format": "uint16",
          "minimum": 0.0,
          "type": "integer"
        }
      },
      "required": [
        "cols",
        "rows"
      ],
      "type": "object"
    }
  },
  "description": "Resize a running PTY-backed `command/exec` session.",
  "properties": {
    "processId": {
      "description": "Client-supplied, connection-scoped `processId` from the original `command/exec` request.",
      "type": "string"
    },
    "size": {
      "allOf": [
        {
          "$ref": "#/definitions/CommandExecTerminalSize"
        }
      ],
      "description": "New PTY size in character cells."
    }
  },
  "required": [
    "processId",
    "size"
  ],
  "title": "CommandExecResizeParams",
  "type": "object"
}