Cloudmersive · Schema

PdfToLinesWithLocationResult

Response from an OCR to lines with location operation. Includes the confience rating and converted text result, along with the locations of the lines in the pages.

BarcodesConversionDocumentsImage RecognitionNatural-LanguageOCRProcessingValidationVirus Scanning

Properties

Name Type Description
Successful boolean True if successful, false otherwise
OcrPages array OCR results for each page
View JSON Schema on GitHub

JSON Schema

cloudmersive-pdf-to-lines-with-location-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-pdf-to-lines-with-location-result-schema.json",
  "title": "PdfToLinesWithLocationResult",
  "description": "Response from an OCR to lines with location operation.  Includes the confience rating and converted text result, along with the locations of the lines in the pages.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-pdfocr-api-openapi.yml#/components/schemas/PdfToLinesWithLocationResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if successful, false otherwise",
      "type": "boolean"
    },
    "OcrPages": {
      "description": "OCR results for each page",
      "type": "array",
      "items": {
        "$ref": "#/$defs/OcrPageResultWithLinesWithLocation"
      }
    }
  },
  "$defs": {
    "OcrLineElement": {
      "description": "A contiguous line of text in an OCR document",
      "type": "object",
      "properties": {
        "LineText": {
          "description": "Text of the line",
          "type": "string"
        },
        "Words": {
          "description": "Word objects in the line",
          "type": "array",
          "items": {
            "$ref": "#/$defs/OcrWordElement"
          }
        }
      }
    },
    "OcrPageResultWithLinesWithLocation": {
      "description": "OCR results of a page, including lines of text and their location",
      "type": "object",
      "properties": {
        "PageNumber": {
          "format": "int32",
          "description": "Page number of the page that was OCR-ed, starting with 1 for the first page in the PDF file",
          "type": "integer"
        },
        "Successful": {
          "description": "True if successful, false otherwise",
          "type": "boolean"
        },
        "Lines": {
          "description": "Word elements in the image",
          "type": "array",
          "items": {
            "$ref": "#/$defs/OcrLineElement"
          }
        }
      }
    },
    "OcrWordElement": {
      "description": "A single word in an OCR document",
      "type": "object",
      "properties": {
        "WordText": {
          "description": "Text of the word",
          "type": "string"
        },
        "LineNumber": {
          "format": "int32",
          "description": "Line number of the word",
          "type": "integer"
        },
        "WordNumber": {
          "format": "int32",
          "description": "Index of the word in the line",
          "type": "integer"
        },
        "XLeft": {
          "format": "int32",
          "description": "X location of the left edge of the word in pixels",
          "type": "integer"
        },
        "YTop": {
          "format": "int32",
          "description": "Y location of the top edge of the word in pixels",
          "type": "integer"
        },
        "Width": {
          "format": "int32",
          "description": "Width of the word in pixels",
          "type": "integer"
        },
        "Height": {
          "format": "int32",
          "description": "Height of the word in pixels",
          "type": "integer"
        },
        "ConfidenceLevel": {
          "format": "double",
          "description": "Confidence level of the machine learning result; possible values are 0.0 (lowest accuracy) - 1.0 (highest accuracy)",
          "type": "number"
        },
        "BlockNumber": {
          "format": "int32",
          "description": "Index of the containing block",
          "type": "integer"
        },
        "ParagraphNumber": {
          "format": "int32",
          "description": "Index of the containing paragraph",
          "type": "integer"
        },
        "PageNumber": {
          "format": "int32",
          "description": "Index of the containing page",
          "type": "integer"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudmersive-pdf-to-lines-with-location-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.