Nanonets · Schema

Nanonets Prediction

Top-level prediction object returned by the Nanonets OCR API.

Artificial IntelligenceOCRDocument AIIntelligent Document ProcessingData ExtractionWorkflow-AutomationComputer-VisionNo-Code

Properties

Name Type Description
id string Unique identifier for the prediction.
label string Label name corresponding to a field or table header configured in the model.
label_id string Unique identifier for the label as defined in the model.
type string Indicates whether the prediction is a field or a table header.
xmin number Left edge of the bounding box.
ymin number Top edge of the bounding box.
xmax number Right edge of the bounding box.
ymax number Bottom edge of the bounding box.
score number Confidence score from the model.
ocr_text string Predicted value associated with the label.
status string Status of the predicted label (typically 'correctly_predicted').
validation_status string Present and equal to 'failed' when an approval rule did not pass; absent on success.
validation_message string Reason a label-level validation rule failed.
page_no integer Zero-indexed page number in the document.
cells array Cell predictions when this prediction is a table.
View JSON Schema on GitHub

JSON Schema

nanonets-prediction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nanonets/refs/heads/main/json-schema/nanonets-prediction-schema.json",
  "title": "Nanonets Prediction",
  "description": "Top-level prediction object returned by the Nanonets OCR API.",
  "type": "object",
  "required": ["id", "label"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the prediction."
    },
    "label": {
      "type": "string",
      "description": "Label name corresponding to a field or table header configured in the model."
    },
    "label_id": {
      "type": "string",
      "description": "Unique identifier for the label as defined in the model."
    },
    "type": {
      "type": "string",
      "enum": ["field", "table"],
      "description": "Indicates whether the prediction is a field or a table header."
    },
    "xmin": { "type": "number", "description": "Left edge of the bounding box." },
    "ymin": { "type": "number", "description": "Top edge of the bounding box." },
    "xmax": { "type": "number", "description": "Right edge of the bounding box." },
    "ymax": { "type": "number", "description": "Bottom edge of the bounding box." },
    "score": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Confidence score from the model."
    },
    "ocr_text": {
      "type": "string",
      "description": "Predicted value associated with the label."
    },
    "status": {
      "type": "string",
      "description": "Status of the predicted label (typically 'correctly_predicted')."
    },
    "validation_status": {
      "type": "string",
      "enum": ["failed"],
      "description": "Present and equal to 'failed' when an approval rule did not pass; absent on success."
    },
    "validation_message": {
      "type": "string",
      "description": "Reason a label-level validation rule failed."
    },
    "page_no": {
      "type": "integer",
      "description": "Zero-indexed page number in the document."
    },
    "cells": {
      "type": "array",
      "description": "Cell predictions when this prediction is a table.",
      "items": {
        "type": "object",
        "required": ["id", "row", "col"],
        "properties": {
          "id": { "type": "string" },
          "row": { "type": "integer" },
          "col": { "type": "integer" },
          "label": { "type": "string" },
          "label_id": { "type": "string" },
          "xmin": { "type": "number" },
          "ymin": { "type": "number" },
          "xmax": { "type": "number" },
          "ymax": { "type": "number" },
          "score": { "type": "number", "minimum": 0, "maximum": 1 },
          "text": { "type": "string" },
          "verification_status": { "type": "string" },
          "status": { "type": "string" },
          "failed_validation": { "type": "string" }
        }
      }
    }
  }
}

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/nanonets-prediction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.