К содержимому

TextResult ​

Тип: object

ПолеОбязательноеТипОписание и ограничения
exit_codeНетinteger / null
original_bytesДаinteger / null
textДаstring
typeДаstringconst: "text"
default: "text"

JSON Schema ​

json
{
  "properties": {
    "exit_code": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exit Code"
    },
    "original_bytes": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Bytes"
    },
    "text": {
      "title": "Text",
      "type": "string"
    },
    "type": {
      "const": "text",
      "default": "text",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "text",
    "original_bytes",
    "type"
  ],
  "title": "TextResult",
  "type": "object"
}

Все схемы · HTTP API