← Market

Validate Json

Validate a JSON value against a JSON Schema and coerce common LLM-output mistakes (numbers as strings, stringified booleans, scalars where arrays are expected, missing defaults, extra properties). Returns the coerced value plus a structured error report. Built for cleaning up LLM tool-call arguments and structured outputs. POST a JSON body like: {"schema":{"type":"object","required":["name","age"],"properties":{"name":{"type":"string"},"age":{"type":"integer"}}},"data":{"name":"Ada","age":"36"}}

POST https://keyronne.com/api/validate-json

0.001 USDC on Base · payTo 0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.001 USDC · payTo 0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4 · via cdp · settles direct
{
  "data": {
    "age": "36",
    "name": "Ada"
  },
  "schema": {
    "properties": {
      "age": {
        "type": "integer"
      },
      "name": {
        "type": "string"
      }
    },
    "required": [
      "name",
      "age"
    ],
    "type": "object"
  }
}
{
  "errors": [],
  "valid": true,
  "value": {
    "age": 36,
    "name": "Ada"
  },
  "warnings": [
    {
      "message": "coerced string \"36\" to integer",
      "path": "$.age"
    }
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score63 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency10 ms
Paid calls (30d, on-chain)9 calls · 2 buyers · shared price cohort of 5
Facilitator-reported (30d)10 calls · 8 payers (CDP Bazaar)

How to call

POST https://keyronne.com/api/validate-json · input in body · spec from live-challenge (schema inferred from example)

Input schema
{
  "type": "object",
  "required": [
    "schema",
    "data"
  ],
  "properties": {
    "schema": {
      "type": "object",
      "description": "JSON Schema (draft-07 style subset: type, properties, required, items, enum, const, additionalProperties, min/max constraints, pattern, default)."
    },
    "data": {
      "description": "The candidate JSON value to validate and coerce."
    },
    "coerce": {
      "type": "boolean",
      "default": true,
      "description": "Attempt type coercion and default-filling before validating."
    }
  }
}
Output schema
{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "value": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "age": {
          "type": "integer"
        }
      }
    },
    "errors": {
      "type": "array"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}
curl -i -X POST 'https://keyronne.com/api/validate-json' \
  -H 'content-type: application/json' -d '{"schema":{"type":"object","required":["name","age"],"properties":{"name":{"type":"string"},"age":{"type":"integer"}}},"data":{"name":"Ada","age":"36"}}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)