{"uid":"cap_Jn8hzFvQWTeAddYZq9mXQ","slug":"json-type-map-check-8d69ad88","name":"JSON Type Map Check","description":"JSON Type Map Check: JSON Type Map Check checks top-level fields against caller-declared JSON type names from bounded caller-supplied values without an external provider. Call JSON Type Map Check before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Type Map Check as versioned deterministic JSON. Price: $0.001 USDC via x…","url":"https://api.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_bY8bl4SSnac0Ei_EsAC0R","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 top-level fields of a JSON object against caller-declared type names, returning counts, normalized values, and a versioned deterministic result contract.","exampleAgentPrompt":"Before passing this plan object to the downstream executor, check that its top-level fields match my declared types — 'taskId' should be a string, 'retries' a number, and 'enabled' a boolean.","exampleUseCases":[{"title":"Pre-flight check before downstream tool","prompt":"I'm about to hand this structured result object to a payment processor that has a strict schema — can you validate its top-level fields against my declared types first? 'amount' should be number, 'currency' string, 'confirmed' boolean."},{"title":"Agent output type verification","prompt":"My agent just produced this JSON output. Before I log it, check that 'userId' is a string, 'score' is a number, and 'active' is a boolean — flag anything that doesn't match."},{"title":"Batch plan type compliance check","prompt":"Here's the batch plan my orchestrator generated. Validate that 'batchId' is a string, 'stepCount' is a number, and 'dryRun' is a boolean before we execute it."}],"resultDescription":"A versioned deterministic JSON result containing per-field validation findings, counts of passing and failing fields, normalized field values, and a versioned result contract confirming which fields matched or violated the declared types.","failureModes":["Object or types map exceeds 128 top-level properties — request rejected","Malformed JSON in object or types input — parse error returned","Undeclared type names in the types map — unknown type finding returned","Payment not included or insufficient — x402 payment required response","Network timeout before validation completes"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, deterministic, in-memory type check of a JSON object's top-level fields against caller-declared type names before handing structured data to a downstream tool with a strict contract. Prefer it over full JSON Schema validation when you only need top-level type compliance checking with counts and normalized values, without retaining data or calling an external validator.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:42:24.752Z","isFirstParty":false,"canonicalSlug":"json-type-map-check-8d69ad88"}