# JSON Type Map Check

> JSON Type Map Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-18).

Validates top-level fields of a JSON object against caller-declared type names, returning counts, normalized values, and a versioned deterministic result contract.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-type-map-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-type-map-check-8d69ad88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jn8hzFvQWTeAddYZq9mXQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability json-type-map-check-8d69ad88 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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…

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-type-map-check-8d69ad88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
