Cloudmersive · Schema

DrawRectangleRequest

Request to draw one or more rectangles on a base image

BarcodesConversionDocumentsImage RecognitionNatural-LanguageOCRProcessingValidationVirus Scanning

Properties

Name Type Description
BaseImageBytes string Image to draw rectangles on, in bytes. You can also use the BaseImageUrl instead to supply image input as a URL
BaseImageUrl string Image to draw rectangles on, as an HTTP or HTTPS fully-qualified URL
RectanglesToDraw array Rectangles to draw on the image. Rectangles are drawn in index order.
View JSON Schema on GitHub

JSON Schema

cloudmersive-draw-rectangle-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-draw-rectangle-request-schema.json",
  "title": "DrawRectangleRequest",
  "description": "Request to draw one or more rectangles on a base image",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-edit-api-openapi.yml#/components/schemas/DrawRectangleRequest",
  "type": "object",
  "properties": {
    "BaseImageBytes": {
      "format": "byte",
      "description": "Image to draw rectangles on, in bytes.  You can also use the BaseImageUrl instead to supply image input as a URL",
      "type": "string"
    },
    "BaseImageUrl": {
      "description": "Image to draw rectangles on, as an HTTP or HTTPS fully-qualified URL",
      "type": "string"
    },
    "RectanglesToDraw": {
      "description": "Rectangles to draw on the image.  Rectangles are drawn in index order.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/DrawRectangleInstance"
      }
    }
  },
  "$defs": {
    "DrawRectangleInstance": {
      "description": "Rectangle instance to draw on an image",
      "type": "object",
      "properties": {
        "BorderColor": {
          "description": "Border Color to use - can be a hex value (with #) or HTML common color name.  Transparent colors are supported.",
          "type": "string"
        },
        "BorderWidth": {
          "format": "double",
          "description": "Width in pixels of the border.  Pass in 0 to draw a rectangle with no border",
          "type": "number"
        },
        "FillColor": {
          "description": "Fill Color to use - can be a hex value (with #) or HTML common color name.  Transparent colors are supported.  Leave blank to not fill the rectangle.",
          "type": "string"
        },
        "X": {
          "format": "double",
          "description": "Pixel location of the left edge of the rectangle location",
          "type": "number"
        },
        "Y": {
          "format": "double",
          "description": "Pixel location of the top edge of the rectangle location",
          "type": "number"
        },
        "Width": {
          "format": "double",
          "description": "Width in pixels of the rectangle",
          "type": "number"
        },
        "Height": {
          "format": "double",
          "description": "Height in pixels of the rectangle",
          "type": "number"
        }
      }
    }
  }
}

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-draw-rectangle-request"
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.