legivel · Schema

RenderJsonDelivery

The answer to `output: "json"`: the document and the numbers that describe it.

MarkdownPDFConversionSoftware-as-a-Service

Properties

Name Type Description
pdf string The document, Base64-encoded.
pages integer Pages in the document.
bytes integer Length of the decoded document in bytes.
sha256 string The SHA-256 of the exact bytes delivered, in lower-case hexadecimal. The document is hashed after any seal is applied, so the digest is of the file as saved.
signed boolean Whether a seal was applied and confirmed.
standards array The PDF standards the document meets, such as `PDF/A-4f` and `PDF/UA-2`. Empty when it claims none.
warnings array What the converter did about the requested standards, or why it left one out. Empty when there is nothing to report.
language string The document language the tagged PDF records, as a BCP 47 tag such as `en-GB`. Absent when the PDF is not tagged.
language_source string Where `language` came from: `document` for the request's `language` or the front matter, `detected` for the main language of the text, `default` for `en` when the text does not show its language clear
View JSON Schema on GitHub

JSON Schema

legivel-com-render-json-delivery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/legivel-com/json-schema/legivel-com-render-json-delivery-schema.json",
  "title": "RenderJsonDelivery",
  "description": "The answer to `output: \"json\"`: the document and the numbers that describe it.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/legivel-com-openapi.json#/components/schemas/RenderJsonDelivery",
  "type": "object",
  "properties": {
    "pdf": {
      "type": "string",
      "contentEncoding": "base64",
      "contentMediaType": "application/pdf",
      "description": "The document, Base64-encoded."
    },
    "pages": {
      "type": "integer",
      "minimum": 1,
      "description": "Pages in the document."
    },
    "bytes": {
      "type": "integer",
      "minimum": 0,
      "description": "Length of the decoded document in bytes."
    },
    "sha256": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$",
      "description": "The SHA-256 of the exact bytes delivered, in lower-case hexadecimal. The document is hashed after any seal is applied, so the digest is of the file as saved."
    },
    "signed": {
      "type": "boolean",
      "description": "Whether a seal was applied and confirmed."
    },
    "standards": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The PDF standards the document meets, such as `PDF/A-4f` and `PDF/UA-2`. Empty when it claims none."
    },
    "warnings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StandardsWarning"
      },
      "description": "What the converter did about the requested standards, or why it left one out. Empty when there is nothing to report."
    },
    "language": {
      "type": "string",
      "maxLength": 63,
      "description": "The document language the tagged PDF records, as a BCP 47 tag such as `en-GB`. Absent when the PDF is not tagged."
    },
    "language_source": {
      "type": "string",
      "enum": [
        "document",
        "detected",
        "default"
      ],
      "description": "Where `language` came from: `document` for the request's `language` or the front matter, `detected` for the main language of the text, `default` for `en` when the text does not show its language clearly. Absent with `language`."
    }
  },
  "required": [
    "pdf",
    "pages",
    "bytes",
    "sha256",
    "signed",
    "standards",
    "warnings"
  ],
  "additionalProperties": false,
  "$defs": {
    "StandardsWarning": {
      "type": "object",
      "title": "StandardsWarning",
      "description": "One thing the converter did about a PDF standard, or why it left one out. The documentation lists each code with its fix.",
      "properties": {
        "code": {
          "type": "string",
          "pattern": "^[a-z_]{1,64}$",
          "description": "The stable name of the warning, as `X-Legivel-Warnings` lists it."
        },
        "message": {
          "type": "string",
          "description": "One sentence of English that may be reworded at any time."
        },
        "detail": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer",
              "minimum": 0,
              "description": "How often the warning applied in the document."
            }
          },
          "required": [
            "count"
          ],
          "additionalProperties": false,
          "description": "What the converter counted, where it counts."
        }
      },
      "required": [
        "code",
        "message"
      ],
      "additionalProperties": false
    }
  }
}

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/legivel-com-render-json-delivery"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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