{"uid":"cap_IdRZi6XV5-sjci32oMTN_","slug":"delx-commerce-json-type-map-check-81ca0e20","name":"Delx Commerce — JSON Type Map Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/json-type-map-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"types":{"type":"object","description":"Types supplied to JSON Type Map Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"object":{"type":"object","description":"Object supplied to JSON Type Map Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"passed":true,"failures":[]},"schema":"delx/util-json-type-map-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"04b5c6e2b354cdd3fe6afbe27e7ca522e20520811cbe9a470d58c6583a2c9824","external_calls":0},"operation":"data_batch:json_type_map_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DjDVyikMvxf-l18Q3egM3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that the values in a JSON object match expected types as defined by a caller-supplied type map, returning pass/fail and detailed failure list.","exampleAgentPrompt":"Check whether this JSON object matches the expected types — 'id' should be a number, 'name' a string, and 'active' a boolean — and tell me which fields fail if any.","exampleUseCases":[{"title":"API response type validation","prompt":"I'm getting JSON back from an external API and I need to confirm that 'userId' is a number, 'email' is a string, and 'verified' is a boolean before I pass it downstream — can you run a type map check on this object for me?"},{"title":"ETL pipeline data quality gate","prompt":"Before I write these records to the database, validate that each incoming JSON object has 'price' as a number, 'sku' as a string, and 'inStock' as a boolean — flag any that don't match."},{"title":"Agent tool output verification","prompt":"My sub-agent just returned a JSON payload and I want to make sure 'confidence' is a number, 'label' is a string, and 'metadata' is an object before I continue — can you type-check it against those expected types?"}],"resultDescription":"Returns a result object with a 'passed' boolean and a 'failures' array listing any fields whose types did not match expectations. Also includes a status string ('pass'/'fail'), an evidence block with the SHA-256 hash of the input and a flag confirming no data is retained, and the operation name for auditability.","failureModes":["Object or types map exceeds 128 properties limit — request rejected","Malformed input JSON — parse error returned","Type mismatch detected — 'passed' is false and 'failures' array is populated with offending fields","Payment not included or insufficient USDC — HTTP 402 returned before processing","Network timeout or service unavailability — no result returned"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call type validation of a JSON object against a caller-defined type map without setting up a full JSON Schema validator or registering for a service. It is ideal for agent pipelines that need verifiable, tamper-evident validation with an input hash in the evidence record, and where no data retention is acceptable. Prefer it over heavier schema validation services when the type structure is simple and auditability (SHA-256 evidence) matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:39:05.439Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-type-map-check-81ca0e20"}