Bogus vs JSON Schema Faker
Bogus
github.comJSON Schema Faker
json-schema-faker.js.orgSide by side
| Figure | Bogus | JSON Schema Faker |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Test Data Generation Tools | 8.1 (#4) | 7.9 (#6) |
| License | The repository includes a license file for the project. | The site identifies the project as MIT licensed. |
| Purpose | Bogus is a fake data generator for C#, F#, and VB.NET, ported from faker.js. | JSON Schema Faker generates valid JSON data from JSON Schema definitions. |
Plans
In their own words
Bogus
Bogus is a fake data generator for C#, F#, and VB.NET, adapted from faker.js. It creates synthetic data for loading databases, user interfaces, and applications during testing. Its documented data generators cover addresses, commerce, companies, databases, dates, finance, names, and internet data; JSON is listed as a supported format. Multiple locales are available, with English used when a locale-specific data set is missing. Developers can seed the randomizer for repeatable output and define object-generation rules with `Faker`, including strict mode, custom instantiation, and completion callbacks. The project also documents a Faker facade and direct use of DataSets. Bogus is distributed as a NuGet package, installed with `Install-Package Bogus`. Minimum requirements are .NET Standard 1.3, .NET Standard 2.0, or .NET Framework 4.0. The package is free, and deployment is self-hosted. Its page offers a Premium license as a way to support the project but gives no price for it.
JSON Schema Faker
JSON Schema Faker generates synthetic JSON data from JSON Schema definitions. It supports JSON Schema 2019-09 and 2020-12, and a numeric seed can make results repeatable. The `jsf` command can read schema files, save generated JSON to a file, and produce multiple items as an array. Reference support includes `$ref` resolution with cycle detection, adjustable recursion depth, and remote reference resolution. Built-in generators cover formats such as email, date-time, URI, IP addresses, and UUID; regex patterns are supported through an AST-based string generator. Users can register custom formats and keyword generators, with optional extensions for faker.js and chance.js. YAML output requires the YAML package through an extension. The project runs in Node.js and browsers and is built for Bun and Node.js. It is self-hosted and open source under the MIT License, with zero production dependencies. The listed plan costs nothing. One constraint: synchronous generation works only when schemas resolve without I/O; asynchronous resolvers or extensions cause it to throw.