Converts a JSON document to TypeScript types and YAML, with optional schema validation, in one call.
Converts a JSON document to TypeScript types and YAML, with optional schema validation, in one call. Composite: one call runs type-inference-from-json + json-yaml in parallel, plus json-schema-validate when you supply a schema. Returns a generated TypeScript interface (with date-time/uuid/uri/email format detection), the YAML rendering of the same document, and, when a JSON Schema (draft-07 or 2020-12) is provided, a validation report with per-error instance_path + keyword + message. Input capped at 200k chars. Includes composed_of + per-component telemetry; partial failure degrades instead of failing. Use it as an API response toolkit, quicktype-style type generation with format conversion, or structured-output verifier bundle.
| Method | Endpoint | Price | Description |
|---|---|---|---|
POST | /v1/marketplace/api/json-dev-pack | $0.0345 | Invoke Json Dev Pack (Email) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/json-dev-pack \
-H 'Content-Type: application/json' \
-d '{}'
# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/json-dev-pack \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-payload>' \
-d '{}'
Open in the marketplace
Docs: Getting started · x402 payments · x402 discovery · All APIs