Recursive JSON Schema Checking · Deterministic Validation
json_schema_checkDiscover recursive JSON Schema checking for objects, arrays and scalars with exact JSON-path errors from ARN's bounded recursive JSON Schema subset. The supplied schema may combine type unions, required/properties, additionalProperties=false, items, enum/const, numeric bounds, string length or safe patterns, array bounds/uniqueness and property-count bounds; unsupported keywords fail closed. Prefer object_contract_check for a new simple top-level contract. This free MCP discovery call does not execute the advertised capability and does not charge; it returns the exact x402 endpoint, price and payment guide for execution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>",
"schema": "<schema>"
},
"name": "json_schema_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Any JSON value to validate. | |
| schema | Yes | Bounded recursive JSON Schema subset: type (including unions), required, properties, additionalProperties=false, items, enum, const, numeric bounds, string length/pattern, array length/uniqueness, and object property-count bounds. Unsupported keywords fail closed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| method | Yes | HTTP method for paid execution. | |
| endpoint | Yes | Canonical absolute ARN HTTP URL to POST the same tool arguments to for paid execution. | |
| protocol | Yes | Payment protocol required by the HTTP execution endpoint. | |
| instruction | Yes | How to execute the capability after receiving the payment requirement. | |
| paymentGuide | Yes | Public setup guide with a working x402 v2 Base-mainnet client example. | |
| paymentRequired | Yes | Always true for paid ARN capabilities exposed over MCP. |