JSON Schema Validator - Bulk JSON Draft 7, 2019-09, 2020-12
Pricing
from $1.00 / 1,000 documents validated
JSON Schema Validator - Bulk JSON Draft 7, 2019-09, 2020-12
Checks JSON documents against a JSON Schema (Draft 7, 2019-09 or 2020-12). Get a clear pass or fail, the error path and a plain message. Offline, no API key. $0.001 per document checked. Works from Apify MCP and the API.
Pricing
from $1.00 / 1,000 documents validated
Rating
0.0
(0)
Developer
Tidy Byte Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 minutes ago
Last modified
Categories
Features
Share
Check JSON documents against a JSON Schema (Draft 7, 2019-09 or 2020-12). Get a clear pass or fail, the error path and a plain message. Offline, no API key. $0.001 per document checked. Works from Apify MCP and the API.
Also searched as: ES: validar JSON Schema / PT: validar JSON Schema / DE: JSON Schema validieren / FR: valider un schéma JSON / JA: JSON Schema検証
Example
Schema:
{"type": "object","required": ["id", "email"],"properties": {"id": {"type": "integer"},"email": {"type": "string", "format": "email"}}}
Documents we checked:
[{"id": 1, "email": "ada@example.com"},{"id": "x", "email": "not-an-email"}]
Output from an actual run:
- First document:
validtrue, 0 errors. - Second document:
validfalse, 2 errors:'not-an-email' is not a 'email'(pathemail) and'x' is not of type 'integer'(pathid).
Output
Each result is one row in the dataset (download it as JSON, CSV or Excel). These are the fields from a real run on the example input:
valid(true/false). Example:true.errorCount(number). Example:0.errors(list).source(text). Example:paste.label(text). Example:line-1.
Use it from an AI agent (Apify MCP)
An AI agent in Claude, Cursor or any client with the Apify MCP server can find this Actor by searching for "JSON Schema Validator" and call it as tidybytetools/json-schema-validator. Input and output are plain JSON. Example input:
{"schemaText": "{\n \"type\": \"object\",\n \"properties\": {\n \"name\": { \"type\": \"string\" },\n \"age\": { \"type\": \"integer\", \"minimum\": 0 }\n },\n \"required\": [\"name\"]\n}","documentsText": "{\"name\": \"Ann\", \"age\": 32}\n{\"name\": \"Bob\", \"age\": -2}\n{\"age\": 10}"}
The run returns the dataset rows described above.
Integrations: API, webhooks, n8n, Make and Zapier
Run it and get the results in one call. Save your input as input.json:
{"schemaText": "{\n \"type\": \"object\",\n \"properties\": {\n \"name\": { \"type\": \"string\" },\n \"age\": { \"type\": \"integer\", \"minimum\": 0 }\n },\n \"required\": [\"name\"]\n}","documentsText": "{\"name\": \"Ann\", \"age\": 32}\n{\"name\": \"Bob\", \"age\": -2}\n{\"age\": 10}"}
curl -X POST "https://api.apify.com/v2/acts/tidybytetools~json-schema-validator/run-sync-get-dataset-items" \-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d @input.json
Python:
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("tidybytetools/json-schema-validator").call(run_input={...}) # same fields as input.jsonitems = client.dataset(run["defaultDatasetId"]).list_items().items
Webhook when a run finishes. Open the Actor's Integrations tab, or create one with the API (POST https://api.apify.com/v2/webhooks):
{"eventTypes": ["ACTOR.RUN.SUCCEEDED", "ACTOR.RUN.FAILED"],"condition": {"actorId": "XjM1LvOXb8ZvSx57U"},"requestUrl": "https://your-server.example/apify-hook"}
Your server gets the run ID and dataset ID, then reads GET https://api.apify.com/v2/datasets/{datasetId}/items.
No-code: use the official Apify app in n8n ("Run an Actor and get dataset"), Make or Zapier, pick tidybytetools/json-schema-validator, and paste the same input.
AI agents (MCP): add https://mcp.apify.com/?tools=tidybytetools/json-schema-validator to Claude, Cursor or any MCP client.
Safe to retry: it only reads what you send it and changes nothing on other sites, and bad or missing fields come back as clear warnings instead of a crash.
FAQ
How much does it cost? See the price on this page. It is pay per event. Get a clear pass or fail, the error path and a plain message. Offline, no API key. $0.001 per document checked.
What if I send nothing? It runs a small example so you can see the output.
Can an AI agent use it? Yes. It works from the Apify MCP server and the Apify API.
Website and local versions
- Website — Tidy Byte Tools product page
What it does
- Checks one or many JSON documents against a schema you paste or load from a link.
- Accepts one JSON value, a JSON array, or JSON Lines.
- Tells you if each document passed, and if not, the field path and a plain error message.
- Supports Draft 7, 2019-09 and 2020-12, or reads the draft from
$schema. - Works offline. No API key is needed.
Price
You pay $0.001 per document checked, whether it passed or failed. If the schema itself is not valid, we stop and do not charge for documents. There is no start fee from us. Apify adds its normal small platform cost. Set a max cost for the run and we stop there. We never charge for work we did not save.
How to use
- Paste a JSON Schema, or add a schema file link.
- Paste JSON documents or add file links.
- Click Start, or call this Actor from Apify MCP or the API.
- Get one result row per document in the Output tab.
Input
- JSON Schema: Paste the schema.
- Or a schema file link: Used if you do not paste a schema.
- JSON documents: One JSON value, a JSON array of values, or JSON Lines.
- Document file links: Links to JSON or JSON Lines files.
- Schema draft: Auto, Draft 7, 2019-09, or 2020-12.
Example (before and after)
Before: a JSON Schema and one or more JSON documents (or JSON Lines). After: one row per document with a clear pass or fail, the error path, and a plain message. A bad schema fails the run and is not charged.
Good to know
- This checks structure and types in the schema. It is not a live test of a website or API.
- Format checks such as
emailanddate-timeuse the usual JSON Schema format rules. - We report up to 50 errors per document. The error count still shows the full number.
- Files up to 50 MB each.
- Your data is only used for your run.
- Made by Tidy Byte Tools. Questions? Open an issue on this Actor's page.
More tools from Tidy Byte Tools
These Actors work well together:
- PDF Table Extractor — PDF tables to CSV, Excel and JSON. $0.003 per page with a table.
- PDF, Word and Web Page to Markdown — Clean Markdown and RAG chunks. $0.003 per file.
- HTML Table Extractor — Web tables to CSV and JSON. $0.0005 per data row.
- Broken Link Checker — Check site and sitemap links. $0.001 per link.
- Markdown Chunker for RAG — Split Markdown by headings. $0.0001 per chunk.
- CSV and Excel Data Cleaner — Dedupe and fix dates, emails and phones. $0.0005 per clean row.
- JSON to CSV Converter — Flatten nested JSON for spreadsheets. $0.0001 per row.
- CSV Encoding Fixer and Splitter — Fix garbled letters like é and split big files. $0.01 per file.
- Phone Number Validator — Check and format numbers offline. $0.001 per number.
- LLM Token Counter — Offline token and cost estimates for GPT, Claude and Gemini. $0.0005 per unique text.
Free local tools (no Apify account needed): pdf-table-pull-lite, doc2md-lite, link-check-lite, md-chunk-lite, json-shaper-lite.
Website: https://tidybytetools.com. All Actors: apify.com/tidybytetools.