{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/AppSessionUpdate.json",
  "title": "AppSessionUpdate",
  "additionalProperties": false,
  "description": "Update a session's messages or increase timeoutSeconds.",
  "properties": {
    "messages": {
      "description": "An array of `SessionMessage` describing the current session state.\n",
      "items": {
        "$ref": "#/components/schemas/AppSessionMessageCreate"
      },
      "maxItems": 10,
      "nullable": false,
      "type": "array"
    },
    "status": {
      "$ref": "#/components/schemas/AppSessionUpdateStatus"
    },
    "timeoutSeconds": {
      "description": "Timeout in seconds, a value between 1 second and 30 days. Once set, it can only be increased, not decreased.\n",
      "maximum": 2592000,
      "minimum": 1,
      "type": "integer"
    }
  },
  "type": "object"
}