{"uid":"cap_oSxDwFwFCkJ449YE22Ofb","slug":"bounty-engineer-json-contract-check-1855cc42","name":"Bounty Engineer JSON Contract Check","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/json-contract-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"value":{},"schema":{}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"json_contract_check","valid":false,"errors":[{"code":"type_mismatch","path":"/price","actual":"string","expected":["number"]}],"error_count":1,"limitations":["Strict supported JSON Schema subset. Unsupported keywords are rejected before charging; values are never coerced or repaired."],"value_sha256":"772e737f8e397529b1782a3320fed5eab462b2c0d43338b523b15574f9f45eda","errors_truncated":false,"parsed_from_text":false,"supported_keywords":["type","properties","required","additionalProperties","items","enum","const","minimum","maximum","minLength","maxLength","minItems","maxItems","uniqueItems","title","description","$schema"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lZRVsrbtEJEc_fAZGaESm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON value against a provided JSON Schema contract, returning typed errors with paths and codes without coercing or repairing the input.","exampleAgentPrompt":"Check whether this JSON value {\"price\": \"9.99\", \"quantity\": 3} is valid against the schema {\"type\": \"object\", \"properties\": {\"price\": {\"type\": \"number\"}, \"quantity\": {\"type\": \"integer\"}}, \"required\": [\"price\", \"quantity\"]} and tell me exactly which fields are wrong and why.","exampleUseCases":[{"title":"Agent output contract enforcement","prompt":"Before I store this tool call result, validate it against my expected response schema — here's the JSON value and the schema it must satisfy. I need to know every field that's the wrong type or missing."},{"title":"API integration pre-flight check","prompt":"I'm integrating with a third-party API and I want to make sure the payload I'm about to send matches their documented JSON contract. Can you run a strict schema check on my request body and list any violations?"},{"title":"Autonomous pipeline data gate","prompt":"My agent pipeline just produced this JSON output. Run it through a contract check against this schema and only let it proceed if it's fully valid — otherwise give me all the error codes and paths so I can fix them."}],"resultDescription":"Returns a JSON object with a boolean 'valid' flag, a list of typed errors (each with a code like 'type_mismatch', a path, actual and expected values), an error count, a SHA256 hash of the validated value, a flag indicating whether errors were truncated, and a list of limitations about supported JSON Schema keywords.","failureModes":["Unsupported JSON Schema keywords cause rejection before charging — endpoint returns an error listing the unsupported keyword","Malformed or unparseable JSON input may result in a failed parse without charge","Schema subset limitations may reject valid schemas using advanced keywords like 'anyOf', 'oneOf', or '$ref'","Empty or missing 'value' and 'schema' fields may return an error response"],"whenToPreferThis":"Choose this endpoint when you need strict, non-coercive JSON Schema validation with per-field error reporting for a supported subset of keywords. It is particularly well-suited for autonomous agents that need a deterministic contract gate — e.g. before persisting data, forwarding to downstream APIs, or confirming tool outputs. Prefer it over ad-hoc LLM-based validation when you need reproducible, hash-verifiable results with machine-readable error codes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:45.133Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-json-contract-check-1855cc42"}