Validate JSON data against a bounded JSON Schema Draft 2020-12 contract for nested objects
Validate JSON data against a bounded JSON Schema Draft 2020-12 contract for nested objects, arrays, required properties, types, enums, formats, lengths, patterns, and numeric bounds; return deterministic instance and schema JSON Pointers, explicit error truncation, input hashes, and no remote reference resolution.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-31
updated
Provider
apiacre.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"check_formats": true,
"instance": {
"name": "Ada",
"score": "98"
},
"max_errors": 25,
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"name": {
"minLength": 1,
"type": "string"
},
"score": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"name",
"score"
],
"type": "object"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"data": {
"errorCount": 1,
"errorCountExact": true,
"errors": [
{
"instancePath": "/score",
"keyword": "type",
"kind": "instance",
"message": "'98' is not of type 'integer'",
"schemaPath": "/properties/score/type"
}
],
"errorsReturned": 1,
"errorsTruncated": false,
"instance": {
"sha256": "43d117eb76b608a0d05820c70320889a6577ff85446e00412b6e6487c1559149",
"utf8Bytes": 27
},
"instanceValid": false,
"schema": {
"declaredDialect": "https://json-schema.org/draft/2020-12/schema",
"dialect": "https://json-schema.org/draft/2020-12/schema",
"remoteReferencesAllowed": false,
"sha256": "9565a3dfc9aaadfaf2b3163f433b954d7d91246b6c225c11a8c16fe42ae841e4",
"utf8Bytes": 224
},
"schemaValid": true,
"valid": false,
"validation": {
"draft": "2020-12",
"engine": "python-jsonschema",
"engineVersion": "4.26.0",
"formatChecking": true,
"maxErrors": 25
}
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [
{
"method": "POST",
"path": "/v1/data/schema",
"reason": "Infer the rejected instance's observed Draft 2020-12 shape for comparison wit...",
"service": "data.schema",
"title": "JSON Schema generator"
}
],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.schema-validate",
"version": "1"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"check_formats": {
"type": "boolean"
},
"instance": {},
"max_errors": {
"type": "integer"
},
"schema": {
"type": "object"
}
},
"required": [
"schema",
"instance"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"errorCount": {
"type": "integer"
},
"errorCountExact": {
"type": "boolean"
},
"errors": {
"items": {
"type": "object"
},
"type": "array"
},
"errorsReturned": {
"type": "integer"
},
"errorsTruncated": {
"type": "boolean"
},
"instance": {
"type": "object"
},
"instanceValid": {
"type": [
"boolean",
"null"
]
},
"schema": {
"type": "object"
},
"schemaValid": {
"type": "boolean"
},
"valid": {
"type": "boolean"
},
"validation": {
"type": "object"
}
},
"type": "object"
},
"meta": {
"properties": {
"cached": {
"type": "boolean"
},
"duration_ms": {
"type": "integer"
},
"next_actions": {
"items": {
"type": "object"
},
"type": "array"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"duration_ms",
"cached",
"sources",
"warnings",
"next_actions"
],
"type": "object"
},
"request_id": {
"type": "string"
},
"service": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"request_id",
"service",
"version",
"data",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://apiacre.com/v1/data/schema-validate" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://apiacre.com/v1/data/schema-validate");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://apiacre.com/v1/data/schema-validate")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/2587.json, and this resource appears in /discovery/resources and /discovery/search.