TruncatedResult
Тип: object
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
exit_code | Нет | integer / null | |
head | Да | string | |
original_bytes | Да | integer / null | |
source_type | Нет | string | enum: ["text","json"]default: "text" |
tail | Да | string | |
type | Да | string | const: "truncated_text"default: "truncated_text" |
JSON Schema
json
{
"properties": {
"exit_code": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Exit Code"
},
"head": {
"title": "Head",
"type": "string"
},
"original_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Original Bytes"
},
"source_type": {
"default": "text",
"enum": [
"text",
"json"
],
"title": "Source Type",
"type": "string"
},
"tail": {
"title": "Tail",
"type": "string"
},
"type": {
"const": "truncated_text",
"default": "truncated_text",
"title": "Type",
"type": "string"
}
},
"required": [
"head",
"tail",
"original_bytes",
"type"
],
"title": "TruncatedResult",
"type": "object"
}