Back

#json-schema

2 APIs with this tag

Schema Mock API

Generate realistic mock data from a JSON Schema. Send any JSON Schema and get back data that conforms to it — honouring types, formats (email, uuid, date-time, uri, ipv4 and more), minimum/maximum, string length and patterns, enums, required fields, and nested objects and arrays. Ask for a single object or an array of up to 100. Add a "faker" keyword on a property (e.g. "faker":"person.fullName" or "commerce.product") to get specific realistic values powered by Faker. Unlike fixed-entity fake-data generators, the shape is entirely driven by your schema — perfect for API mocking, test fixtures, database seeding, prototyping and contract testing. Pure local generation — no key, no third-party service, instant. Live. 2 endpoints. Distinct from JSON Schema validation and from canned mock-data entities.

api.oanor.com/schemamock-api

JSON Types API

Infer a schema or types from a sample JSON document — the fastest way to get a contract out of an example API response. Pass a JSON sample and the schema endpoint returns a JSON Schema (Draft 2020-12) with detected types, required keys, array item schemas merged across elements, and recognised string formats (email, uri, uuid, date-time, date, ipv4); the typescript endpoint returns ready-to-paste TypeScript interfaces with named nested interfaces, typed arrays, unions for mixed-shape array elements and structural de-duplication. Supply the sample inline via ?json=, as a query parameter, or as a request body. Everything is computed locally with no network calls, so it is fast and deterministic. Built for scaffolding types from real API responses, generating validation schemas, documentation, contract testing and code generation. A JSON type/schema inferer — distinct from JSON-Schema validation (jsonschema), JSON pretty-printing and conversion (json), and JSON diff/patch (jsondiff). No upstream key, no cache.

api.oanor.com/jsontypes-api