Indietro

#json-schema

2 APIs con questa etichetta

Schema Mock API

Genera dati mock realistici da uno Schema JSON. Invia qualsiasi Schema JSON e ottieni dati che vi si conformano — rispettando tipi, formati (email, uuid, date-time, uri, ipv4 e altro), minimo/massimo, lunghezza delle stringhe e pattern, enum, campi obbligatori, e oggetti e array annidati. Richiedi un singolo oggetto o un array fino a 100 elementi. Aggiungi una parola chiave "faker" su una proprietà (es. "faker":"person.fullName" o "commerce.product") per ottenere valori realistici specifici alimentati da Faker. A differenza dei generatori di dati fittizi a entità fissa, la forma è interamente guidata dal tuo schema — perfetto per il mocking di API, fixture di test, popolamento di database, prototipazione e test di contratto. Generazione locale pura — nessuna chiave, nessun servizio di terze parti, istantanea. Live. 2 endpoint. Distinto dalla validazione di Schema JSON e dalle entità di dati fittizi preconfezionate.

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