data

JSON Schema generator

Create and generate a nested JSON Schema Draft 2020-12 contract by inferring field types and required fields from representative JSON, CSV, TSV, JSON Lines, or YAML records, with equivalent CSV/TSV numeric and null inference, input evidence, and non-enforcing observed bounds.

Price: $0.025 USDC via x402 exact payment on Base and Solana.

post/v1/data/schema

Request

  • Base URL: https://apiacre.com
  • URL: https://apiacre.com/v1/data/schema
  • Auth: none required

Request body

contentstring required
format'csv' | 'tsv' | 'json' | 'jsonl' | 'yaml' required

Source format; use jsonl for JSON Lines or NDJSON

root_mode'records' | 'preserve'

Keep the compatible array-of-records contract, or preserve the JSON/YAML root shape

Response

Successful Response

request_idstring required
servicestring required
versionstring
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.