Skip to content

TextResult ​

Type: object

FieldRequiredTypeDescription and constraints
exit_codeNointeger / null
original_bytesYesinteger / null
textYesstring
typeYesstringconst: "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"
}

All schemas · HTTP API