{"name":"json-dev-pack","description":"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.","price":"$0.03","method":"POST","input_schema":{"properties":{"json":{"type":["string","object","array"],"description":"JSON sample: a JSON string or a pre-parsed object/array. Max 200,000 chars stringified."},"schema":{"type":"object","description":"Optional JSON Schema (draft-07 or 2020-12) to validate the sample against."}},"required":["json"]},"input_example":{"json":{"id":7,"name":"Ada","joined_at":"2025-01-02T03:04:05Z"},"schema":{"type":"object","required":["id"]}},"output_example":{"types":{"format":"typescript","types":"export interface Root {\n  id: number;\n  name: string;\n  joined_at: string;\n}\n"},"yaml":{"target":"yaml","output":"id: 7\nname: Ada\njoined_at: 2025-01-02T03:04:05Z\n"},"validation":{"valid":true,"error_count":0},"composed_of":["type-inference-from-json","json-yaml","json-schema-validate"],"components":[{"name":"type-inference-from-json","ok":true,"ms":3},{"name":"json-yaml","ok":true,"ms":2},{"name":"json-schema-validate","ok":true,"ms":4}],"degraded":false},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}