{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/benchling/json-schema/AppSessionCreate.json",
"title": "AppSessionCreate",
"additionalProperties": false,
"properties": {
"appId": {
"nullable": false,
"type": "string"
},
"messages": {
"default": [],
"description": "An array of `SessionMessage` describing the current session state.\n",
"items": {
"$ref": "#/components/schemas/AppSessionMessageCreate"
},
"nullable": false,
"type": "array"
},
"name": {
"description": "The name of the session. Length must be between 3-100 chars. Value is required and immutable once set.",
"maxLength": 100,
"minLength": 3,
"nullable": false,
"type": "string"
},
"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,
"nullable": false,
"type": "integer"
}
},
"required": [
"appId",
"name",
"timeoutSeconds"
],
"type": "object"
}