# json-schema-faker/json-schema-faker

JSON-Schema + fake data generators

Repository: https://github.com/json-schema-faker/json-schema-faker
Canonical: https://ross.abutalabs.com/products/json-schema-faker
Homepage: http://json-schema-faker.js.org/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-01T07:34:04+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 83, longevity 100
- inputs: {"age_days": 4348, "days_push": 32, "days_rel": 32, "gap_med": 48, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3448, forks 344 (observed 2026-08-28T04:08:05.222153+00:00)

## What it is
A JavaScript library that generates valid, realistic fake JSON data from JSON Schema definitions, supporting JSON Schema 2019-09 and 2020-12. It offers seeded deterministic output, $ref resolution, custom formats and extensions, and a CLI, with zero production dependencies.

## Use cases
- generate fake JSON data from a JSON schema
- create mock API responses for testing
- generate realistic test fixtures from schemas
- seeded deterministic JSON data generation
- mock JSON payloads for unit tests
- generate sample data matching a schema for demos

## When to choose
- you need test or mock data that conforms to a JSON Schema
- you want deterministic, reproducible fake data via seeds
- you need $ref, composition keywords, or regex pattern support
- you want a zero-dependency library usable in Node.js, Bun, or browsers

## When to avoid
- you need fake data without an existing JSON Schema
- you need locale-specific realistic data beyond faker/chance extensions
- you need non-JSON formats like CSV or XML

## Facets
- artifact type: library
- maturity: active
- function: data-generation, mocking, testing, json
- domain: developer-tools, testing, apis
- platform: bun, browser, cli, cross-platform
- tags: json-schema, fake-data, test-data, faker, mock-data, seeded-random, nodejs

## Member repositories
- json-schema-faker/json-schema-faker (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.222153+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:36.082033+00:00, confidence not recorded.
  - readme: https://github.com/json-schema-faker/json-schema-faker (fetched 2026-08-28T04:08:05.222153+00:00, sha a50c4a1b2465)
  - homepage: http://json-schema-faker.js.org/ (fetched 2026-08-29T09:31:35.416543+00:00, sha 3c41e22e2c04)
  - registry_npm: https://registry.npmjs.org/json-schema-faker (fetched 2026-08-29T09:31:35.426454+00:00, sha 52dce5d182cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
